$npx -y skills add Alexander-Tyagunov/magician --skill land --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Land?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alexander-tyagunov-land)
---
name: land
description: Ships a feature; simplify, check, commit, PR, CI, review loop, merge. Use when a feature branch is verified and ready to ship.
allowed-tools: Read, Agent, AskUserQuestion, Edit(./CLAUDE.md), Edit(./README.md), Bash(git commit -m *), Bash(git add .workspace/shared/*), Bash(git check-ignore -q *), Bash(gh pr create *), Bash(gh pr checks *), Bash(gh pr view *), Bash(gh run view *), Bash(gh run list *), Bash(evidence check *), Bash(ctx learn line)
argument-hint: "[pr-title]"
---
# /land — Ship to Production
> **Bundled command:** if `ctx` is not found, run it as `${CLAUDE_PLUGIN_ROOT}/tools/ctx`, or skip it.
> **Bundled command:** if `evidence` is not found, run it as `${CLAUDE_PLUGIN_ROOT}/tools/evidence`, or run `/check`.
Take a verified feature branch to a merged PR. Push, PR and merge are irreversible, so this skill shows one ship summary and waits before the first outward command (`git push`).
## Completion Signal
"Landed: PR <url> merged as <sha>." Or the state it stopped in: "PR <url> open, waiting for <n> human approval(s)", "Committed locally, nothing pushed". Name a worktree that is still there. Then only the closing line from step 10.
In a top-level interactive run, run `ctx learn line` last and append the line it prints, unchanged. Print nothing in a dispatched, headless or parent-invoked run.
## Pre-flight
Check these yourself. Do not ask the user.
- `/check` passed on this exact code: its output, or a fresh `evidence check` row. **Never ship on stale evidence** ([`lore/verification.md`](../../lore/verification.md)).
- The `/critique --fix` cycle is complete, or the request says to skip review.
When one is missing, run it first (step 2 covers `/check`).
## Autonomy
Gates: the ship summary, once, before the first push. Everything else runs without asking.
`git push`, `gh pr merge` and a `git add` outside `.workspace/shared/` are not pre-approved. Outside auto mode Claude Code prompts for each: that prompt is the human gate working. Mechanics: [`lore/autonomy.md`](../../lore/autonomy.md).
## Process
### 1. Simplify pass
Skip this step when `/critique` ran in this session on this diff.
Check for the project's pre-commit skills, `.claude/skills/verify/SKILL.md` and `.claude/skills/simplify/SKILL.md` (`/setup` writes them): Claude Code runs a non-bundled `verify` or `simplify` skill before every commit.
- **Both present:** skip this step and step 2. The commit in step 4 runs them; fix any `Important` finding they report before the ship summary.
- **Only `verify` present:** run the pass below, and let the commit run `verify` in place of step 2.
- **Neither present:** run the pass below and step 2.
The pass: dispatch `magician:simplifier` with the `Agent` tool. Give it a self-contained prompt: goal, changed files with the diff, return format ([`lore/subagent-context.md`](../../lore/subagent-context.md)). Fix any `Important` finding.
### 2. Final check, only when something changed
Run `evidence check`. Exit 0: do not run the suite again; name the reused rows. Exit 1: run `/check`, due only when HEAD or the working tree changed since the last pass. High tier: run `/check --force` even when `evidence check` exits 0. Style counts as a check, against the project's documented conventions ([`lore/code-standards.md`](../../lore/code-standards.md)).
### 3. Update documentation
Update the docs that describe the shipped feature, briefly: what changed, not how. `CLAUDE.md` for changed commands, environment variables and setup; `README.md` when users see the change; other docs that name the changed code.
### 4. Stage by path, then commit
Never stage everything (`git add -A`, `git add .`). Run one `git add <path>` per entry, and only for a path that exists:
- **The feature's files:** each file this work changed or created, from `git status --porcelain`, and no file the work did not touch.
- **The docs from step 3.**
- **The workspace documents, when the work stayed on the current branch:** the spec `.workspace/shared/specs/<date>-<feature>.md`, the plan folder `.workspace/shared/plans/<date>-<feature>/`, the design folder `.workspace/shared/designs/<date>-<feature>/`, and when they exist `design-tokens.css`, `brand.md`, the decision records and the intent file under `.workspace/shared/`. In a worktree `/worktree` committed them: stage only a document the build changed.
- **A git-ignored workspace** (`git check-ignore -q .workspace/shared` exits 0): skip the documents and say "Workspace documents not staged: git-ignored."
- Never `.workspace/local/`, an `.env` file or a credential file.
```bash
git commit -m "feat: <feature description>
<bullet list of what was built>
Co-Authored-By: Claude <noreply@anthropic.com>"
```
A project `verify` or `simplify` skill runs with this commit; a finding from it goes back to step 1.
### Ship-summary gate — the only outward approval
Before `git push`, show **one** ship summary:
- **Changed files**: the files in the commit (step 4).
- **Commit message.**
- **PR title and body**: the title, plus Summary, Intent, Risk tier, How to revert and Testing from step 6.
- **Human approvals needed** for the Risk tier (0, 1 or 2), and the merge strategy (`--squash --delete-branch`).
Then call **AskUserQuestion** with header: "Ship" and options: **Ship it** (push the commit and open the PR; the merge follows once CI is green and the human approvals exist), **PR only** (push and open the PR; the user merges), **Cancel** (push nothing; the commit from step 4 stays local). End your turn at the call. A free-form "yes" or "looks good" is **Ship it**. A change request arrives as free text: apply it and show the summary again. A request that already said "ship it" or "open a PR" is the answer: show the summary and go on.
### 5. Push
```bash
git push -u origin HEAD
```
### 6. Create PR
Run `gh pr create` with the title and body shown at the gate ([references/pr-body.md](references/pr-body.md)). The Risk tier comes from the project's `REVIEW.md` when present, else `lore/review.md`.
### 7. Watch CI
Run `gh pr checks <pr> --watch` with the Bash tool's background option. On a failing check, read `gh run view <id> --log-failed`, fix, commit, push, and watch again until every check is green. Steps, `/goal` and `/loop` pairing, and the unattended rules ([lore/unattended.md](../../lore/unattended.md)): [references/ci-loop.md](references/ci-loop.md).
### 8. Review comments
When reviewers comment: `/critique --fix` fixes them, `/check` runs because the tree changed, then push. The round ledger keeps a closed finding closed.
### 9. Merge (after **Ship it**, when auto-merge is off)
After **PR only**, skip this step. **Ship it** approved the push and the PR. The merge waits for green CI and the human approvals the Risk tier needs on the head commit: Low 0, Medium 1, High 2. An agent's approval never counts. First run the approval check in [references/pr-body.md](references/pr-body.md#approval-check-before-the-merge-step-9). When an approval is missing, do not merge and do not ask: stop in the waiting state of the Completion Signal.
```bash
gh pr merge --squash --delete-branch
```
### 10. Fix forward (one closing line)
Do not ask. End the closing message with one line: "Say `watch CI` and I will start a `/loop` on post-merge CI and prepare a fix-forward PR on a red run." A fix-forward PR goes through the ship-summary gate. Ship a risky change behind a feature flag. Rules: [references/ci-loop.md](references/ci-loop.md#post-merge-fix-forward-after-step-9).
## disableGit mode
If `disableGit: true`: skip the gate and the push, PR and merge steps. Commit locally and report it.
## Obstacles
Dispatched and blocked: do not wait and do not silently ship a degraded result. Return the Obstacles block from [`lore/obstacles.md`](../../lore/obstacles.md) (fields: STATUS, OBSTACLE, BLOCKER, SEVERITY, WORKAROUND, RECURRENCE, SCOPE, NEXT) with what you completed. Interactively, say the same in prose.