Use when implementation is complete and all tests pass — guides the disciplined process of verifying, documenting, and landing a change on trunk
From clavainnpx claudepluginhub mistakeknot/interagency-marketplace --plugin clavainThis skill uses the workspace's default tool permissions.
SKILL-compact.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
Verify → Review evidence → Document → Commit → Confirm.
Announce: "I'm using the landing-a-change skill to complete this work."
Artifact-cached skip: If inside a sprint (CLAVAIN_BEAD_ID set), check whether tests already passed at current HEAD:
BEAD_ID="${CLAVAIN_BEAD_ID:-}"
if [[ -n "$BEAD_ID" ]]; then
test_sha=$(clavain-cli get-artifact "$BEAD_ID" "test-pass-sha" 2>/dev/null) || test_sha=""
current_sha=$(git rev-parse HEAD)
if [[ "$test_sha" == "$current_sha" ]]; then
echo "Tests verified at $test_sha (current HEAD). Skipping re-run."
# Skip to Step 2
fi
fi
If HEAD moved since the last recorded test pass, or no test-pass-sha artifact exists, or not in a sprint: run the full test suite (go test ./... / npm test / pytest / cargo test). If tests fail, stop and fix. Do not proceed.
If a plan existed, invoke verification-before-completion skill. Otherwise proceed.
console.log, fmt.Println, etc.)If deploy-relevant, consider invoking fd-safety.
question: "Implementation verified. How would you like to land this?"
options:
- Commit and push
- Commit locally
- Changelog first (runs /clavain:changelog)
- Review first (show git diff, return to this step)
Commit and push / Commit locally:
bd close <issue-ids> # if .beads/ exists
git add <specific files> # NOT git add .
git commit -m "feat(scope): description
Co-Authored-By: Claude <noreply@anthropic.com>"
git push # skip if "locally" chosen
Changelog first: Run /clavain:changelog, then commit.
Review first: Show git diff --stat && git diff, return to Step 4.
After push succeeds and inside a sprint (CLAVAIN_BEAD_ID set), run a lightweight canary check on the merged state:
if [[ -n "${CLAVAIN_BEAD_ID:-}" ]] && [[ "${CLAVAIN_SKIP_CANARY:-}" != "true" ]]; then
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib-sprint.sh" 2>/dev/null || true
if ! sprint_canary_check "$CLAVAIN_BEAD_ID"; then
echo "⚠ Post-merge canary FAILED. Sprint NOT recorded as successful."
echo " Fix the issue and re-run, or set CLAVAIN_SKIP_CANARY=true to override."
# Do NOT close the bead or record success
fi
fi
If canary fails: warn user, emit quality_failure event to Interspect, do NOT record sprint as successful. If canary passes: normal flow continues.
Run /clavain:compound or note insights in project memory files.
git add . — stage specific files