land-ts-mono
Skill by UKGovernmentBEIS
Lands a pull request in the inspect_ai repo that also needs a coordinated change in the ts-mono submodule. Use it when the check-schema-and-types CI job fails or a Python model change requires regenerating the OpenAPI spec and TypeScript types.
Install land-ts-mono
Built from the published package, never by AI.
git clone --depth 1 https://github.com/UKGovernmentBEIS/inspect_ai /tmp/inspect_ai && mkdir -p ~/.claude/skills && cp -r /tmp/inspect_ai/.agents/skills/land-ts-mono ~/.claude/skills/land-ts-monoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/UKGovernmentBEIS/inspect_ai /tmp/inspect_ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/inspect_ai/.agents/skills/land-ts-mono ~/.gemini/antigravity-cli/skills/land-ts-monoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI agent through landing a pull request in the inspect_ai repository that also needs a matching change in the ts-mono submodule. It covers cases where the check-schema-and-types CI job fails, or where a Python model change requires regenerating the OpenAPI spec and TypeScript types. It describes regeneration with python src/inspect_ai/_view/schema.py, the submodule checks, and a two-phase landing order.
The workflow pairs a ts-mono pull request with a gitlink bump in the main repo, then merges in a set order. It states that the ts-mono merge is a human-timed act, so the agent should not enable auto-merge there, and that the Python PR should use auto-merge once ts-mono lands. It also lists pitfalls such as submodule conflicts and stale generated schemas. It is written for developers and agents working in that repository who have push access to the relevant branches.
Written from the project's SKILL.md and checked against it.
What it can do
- Assess PR stateFinds the paired ts-mono branch and resumes a landing that is already in progress.
- Regenerate schema and typesRuns schema.py to rewrite the OpenAPI JSON and the generated TypeScript types.
- Sync sibling typesRegenerates duplicated types in the inspect_scout consumer when an existing shared type changes incompatibly.
- Two-phase landingOpens a ts-mono PR, bumps the gitlink in this repo, and cross-links both PRs.
- Endgame merge orderBumps the gitlink to merged ts-mono main, rebuilds the viewer bundle, and enables auto-merge on the Python PR.
- Conflict and push pitfallsExplains gitlink conflicts, stale schemas, and push access limits for organization forks.
What you need
- Python virtual environment with the repo installed
- pnpm installed for the ts-mono submodule
- Push access to the ts-mono and inspect_ai branches
- GitHub CLI (gh) for pull request operations
- git with submodule support
Try asking
- Fix the failing check-schema-and-types job on my pull request.
- Regenerate the OpenAPI spec and TypeScript types after my model change.
- Land my PR and its matching ts-mono submodule change in the right order.
Good to know
- Agents cannot merge the ts-mono PR. A human merges it.
- Auto-merge must never be enabled on the ts-mono PR.
- Maintainer edits do not work for PRs from organization-owned forks.
- submodule-on-main stays red until the ts-mono PR merges, which is expected.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/land-ts-mono/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to land-ts-mono
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
land-ts-mono: common questions
When should I use this skill?
Use it when check-schema-and-types is red, when a Python model feeding the type pipeline changes, or when a change must touch the ts-mono submodule.
Why does the merge order matter?
Once ts-mono merges, its main depends on Python changes that are not yet merged, which can block others who pull it. The skill makes everything else green first to keep that window short.
Does the skill merge the pull requests itself?
No. A human merges the ts-mono PR, and the Python PR is set to auto-merge once the remaining gate clears.
How do I install land-ts-mono?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is land-ts-mono free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is land-ts-mono safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to land-ts-mono?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
