Skip to content
Back to skills

Land

ASecurity

Use when reviewed run branches are ready to come home. Merges them into one integration branch (one ticket lands on its own), verifies the composed tree once, records the result and opens the PR.

  • 291 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsgonodegitdatabase

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add Eigenwise/eigenwise-toolshed --skill land --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Land?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Land
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eigenwise-land/badge)](https://www.skillsdirectory.com/skills/eigenwise-land)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: land
description: Use when reviewed run branches are ready to come home. Merges them into one integration branch (one ticket lands on its own), verifies the composed tree once, records the result and opens the PR.
---

# Land

Bring this session's reviewed branches home, prove the composition works, and record what git says. You land the work yourself, with no go-ahead question.

The project's own rules come first. When its instructions or skills cover branches, commits, pull requests, tracker updates or release notes, deliver through them and keep their approval steps.

The board is yours alone. Nothing that leaves this machine or that a colleague reads (a branch name, a commit or merge message, PR text, a tracker or PR comment, a committed file) names the board, a board id, this tool or its words (worker, scout, wave, brief). It speaks of the work in the project's terms: the tracker key where there is one, the behaviour that changed, how it was checked.

## Steps

1. **Collect.** `mcp__sidequest__board` lists tickets in `review` whose last review note is `review pass` or `review skipped`. Land only this session's: one the list marks `interrupted` or `running in another session` may be another session's that is still going: leave it, name it to the person in one line, and land it only when they name it.
2. **Integrate.** Commit your own pending edits for this story first. One ticket with its own branch lands on that branch, renamed the project's way first when an agent's host named it. More than one: create one integration branch from the branch the work ends up on as it is now (`<remote>/<branch>` after a `git fetch`, never a pull into the local one), named the project's way and carrying the tracker's issue key when the story has one, and merge each reviewed branch not stacked (step 7) into it with `--no-ff`, one at a time, each merge message saying what that work does. Without a remote, note on each ticket `landing from <branch> at <sha>`, its head now (`git rev-parse <branch>`). When the main checkout holds changes that are not this story's, leave it alone (never commit, stash or switch away from someone's work in progress) and do this step and the verify in the landing's worktree, a fresh one: `git worktree add --detach .claude/worktrees/land-<story> <ticket or default branch>`. On a board that builds in this checkout (`routing`: `worktrees` no or not asked yet) each build is a branch there on top of the last, merged in that order, and only this or a red verify below makes a worktree: add `.claude/worktrees/` to `.git/info/exclude` first unless it or the root `.gitignore` lists it.
3. **Read the diff stat.** Revert files no ticket asked for, or explain them in the PR. A story with more than one build ticket gets three reviews of its whole change once, when the reply to its last build ticket's review note says they are due, never at an earlier checkpoint: `references/three-reviews.md`.
4. **Verify once.** Read how checks run here first (`mcp__sidequest__board` view `routing` shows `checks` and `settings.verify`). Run that verify command on the landing branch, in the main checkout or step 2's worktree, never in one an agent used. Check out a branch an agent's worktree holds with `--detach`. When the landing moves or adds a submodule (a line with mode `160000` in `git diff --raw <target>...<landing branch>`, the target being the branch this landing ends up merged into, `<remote>/<branch>` with a remote), run `git submodule status --recursive` where you verify, with the landing checked out: a `+` or `-` before that path, or before one below it, means a folder is not at the commit the landing pins, and the verify would run on other code than the landing holds. Bringing it there (`git submodule update --init --recursive <path>`) is the person's to say: it moves their folder, or in a worktree writes to the git config their checkout shares. Without their word the verify is `not measured` for that reason, never a pass. A part that needs something only one checkout has (a file, a running service, a variable pointing at its own database) runs with it when you can give it to the checkout you verify in, stopping what you started afterwards; otherwise it is `not measured`, with why, never run against a shared default the project's notes rule out. A landing branch that carries code an `outside-code` ticket passed is verified only in a throwaway container, as `${CLAUDE_PLUGIN_ROOT}/skills/sidequest/references/outside-code.md` says, never on the host.
5. **Prove it for real.** When the proof needs a shared thing from `settings.shared`, land takes it: start no other ticket that uses it meanwhile. Make the running thing serve the landed code the way its `refresh` says: nothing for `auto`, the command, or for `ask` one request to the person with the exact steps. Never stop a process this session did not start: the running app is the person's. Run the story's proof against the landed result: the steps that reproduced the bug, or a walk through the feature the way a person will use it. More than one command: a scout does it, named the brief file `start` kept for a ticket of the story, unless the proof changes shared data: then run it yourself as one script that writes the old values down first and restores them. When nothing can check it for real, the result is `tested, not seen working`. Beside the proof, start the blind pass `${CLAUDE_PLUGIN_ROOT}/skills/plan/references/blind-passes.md` names for the words that go out, given what is written of the yes part by then.
6. **Record.** For each ticket, `mcp__sidequest__ticket`: a note starting `verify pass:`, or `verify not measured:` and why, also for one part not measured, then the merge commit sha and what the proof showed, then status `done`, only once its merge is on the landing branch, the verify passed or was not measured, and no judgement call of step 3 waits on the story. The move removes its run worktree when safe, names any kept and why, and prints any question now due: show it. One kept only for ignored files a check run wrote there: delete those and run step 7's command; any other ignored file is the person's. Never a plain `git worktree remove`: on Windows it deletes the main checkout's files behind a link.
7. **Deliver.** With a remote: push the integration branch and open a PR that says what changed, behaviour by behaviour, the decisions behind it and the verify result, based on the default branch unless the work is stacked. Patch each of those tickets, a stacked one too, with `pullRequest` set to the PR's address. Work whose branch holds a commit of a PR still open that the default branch lacks (the tracker says which) is stacked: it goes out by itself on top of that PR, never parked for that merge by your own choice, based on the topmost such PR's branch, with `Stacked on <address>` in its description, and name that PR to the person. Their wait is noted on the ticket. When the story's decisions hold the address of a step done before building, link it in the PR text. When others commit here too (`git shortlog -sne <default branch>` shows more than one author), stop at the open PR, or without a remote at the landed branch, and say that merging is theirs, unless a ticket's delivery rule or the project's own instructions say to merge. When only this person commits, merge it once it is green and not a draft, unless a merge deploys: then it is theirs too. Before any push to a branch that already has a PR, read its state: `gh pr view <branch> --json state,mergedAt`. Merged or closed: no push to that branch (the host may have deleted it, and a push recreates it with no PR). Branch from the default branch, bring the commit over, open a new PR under the same rules, and say so in one line. With no `gh`, the state cannot be read: say so and ask the person before pushing. A stacked PR stays unmerged until its base is the default branch; set it yourself when the PR beneath it merged and the host did not. Without a remote, the branch the work started from moves only through `node "${CLAUDE_PLUGIN_ROOT}/scripts/advance-branch.mjs" --branch=<branch> --seen=<the sha step 2 noted> --result=<landing head sha>`, run alone from the main checkout, both as full commit ids (`git rev-parse <landing branch>` gives the second): read `references/onto-the-branch.md` first, and record the sha it advanced to. It ends one of three ways, by exit code, and the page says what to do for each. Then, from the main checkout, run `node "${CLAUDE_PLUGIN_ROOT}/scripts/worktrees.mjs" --remove-safe` with one `--branch=<run branch>` per ticket you landed and `--worktree=<folder>` for the landing's worktree when you made one: a branch goes only once another branch or a remote holds its commits. When it keeps that worktree, say so and name its folder.

When the story has a path and `routing` shows `pullRequestDiagram` as yes or not asked yet, read `references/pull-request-diagram.md` before writing the PR text.

A ticket whose start log line carries a delivery rule lands the way it says; the one verify still runs on the result, and a local branch it names moves only through `advance-branch.mjs`.

**When a commit, a push or a pull request waits on their yes** (the project's rule, or words that go out under their name), write it on the ticket's `forYou.sayingYesTo`, in two steps. It states only what has finished, never what is still running or about to happen; when something changes after it was written, write that part again:

1. Once the proof has run: `changed`, `checked` so far, the `hunks` that carry the design.
2. When the review is back: `reviewFound` (a fail says what changes in what they read) and the words that go out (`commitMessage`, `pullRequestTitle`, `pullRequestDescription`), with the ticket `needs-you`, the question one short line starting with the verb (`Commit, push and open the pull request?`), what you did not act on (a review note) as `alsoYours`.
A clean checkout of theirs gets the change on the ticket's branch before the question, with the ticket's `branch` patched to it and the command back to where they were. One holding other work is left alone: give the folder.

Send the words stored on the ticket (its `ticket` view), never retyped: what they read is what goes out.

A board whose folder is not a git repository has its work in the repository each ticket's result names. Run every git command, and `scripts/worktrees.mjs` for the removal, in that repository, never in the board's folder. A ticket whose result names no repository has nothing to merge: run the checks, prove it, record it.

A story delivered in checkpoints keeps one integration branch, and with a remote one PR that stays a draft until the last checkpoint. At a checkpoint, start the result in the background and say where to look, or show the output.

## Rules

1. **Read the real exit code.** Unpiped: a pipe into `tail` reports its own exit code.
2. **When the verify runs tests, a pass needs one that ran and passed.** A filter that matches nothing, or every test skipped, also exits 0, and a count of tests alone shows neither. Output with no counts: read the runner's result files, or run it so it prints them. Still not seen: the note is `verify not measured: test counts not seen`, never a pass. A verify that runs no tests (a build, a type check, a linter) is read on its exit code.
3. **Rebuild generated output from source.** If the project builds artifacts, build them before verifying.
4. **Git is the record.** A ticket is landed when its commit is on the landing branch, checked with `git log`, never because a tool said ok.
5. **Never `git reset --hard` a branch that can hold unpushed merges.** The branch the work ends up on: locally only `advance-branch.mjs` moves it.
6. **CI on the pushed commit is the final word.** Read it after every push.
7. **Wait for the verify in the same turn**, for its completion notice when the host moves it to the background: a turn that ends while it runs can start the project's own hooks in the same checkout.

## When something goes wrong

On a merge conflict, a red verify or a red CI: stop merging. Say what you observed and the one next move, then take it if it is yours:

- a conflict between two tickets: file a `debug` ticket that resolves it, blocked by nothing, and run it;
- a red verify or red CI: when the verify ran in the main checkout, where a hook, an editor or another session could have been building, run it once more in the landing's worktree first (made as step 2 says when there is none). Green there, the verify passed: the first red was the other build's. Red there only for want of a file a fresh worktree lacks settles nothing: note `verify not measured:` and why. Any other red: check the base without the tickets, in the same place. A red base is said in one line and sends no ticket back; only a failure the base lacks counts. For one that counts, find which merge turned it red, note `verify fail: <what failed>` or `ci fail: <what failed>` on that ticket, and land the rest without it. Its first failure sends it back to `ready`. Its second of any kind stops it: fix it yourself when what is left is small and clear, else `needs-you` once with both findings, as the `run` skill says. No third run;
- a decision only the human can make: move the ticket to `needs-you` with the question and your recommended answer.

When `settings.verify` is empty, look for the project's own test command (package scripts, a Makefile, the CI config) and say which you used. Pick one that covers every language the tickets changed, and read what it runs: a wrapper that ignores errors (a make line starting with `-`, `|| true`) exits 0 on a red suite, so call what it wraps. When the full suite is slow or needs services you cannot start, run the tests for the changed areas and record the full suite as CI's. None at all: the note is `verify not measured:`, never a pass.

If the sidequest tools are missing, the mod is not loaded. Say so and record the sha and verify result in each ticket file's `## Log` yourself.

Files in this skill

  • SKILL.md9.9 KB
  • references/pull-request-diagram.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.