/cards:implementfrom cards
Implement, validate, and fast-forward merge a card-bound worktree.
Ships in cards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
On resume, restore saved context, verify binding and origin, and skip Steps 1–3.
From a clean, unbound checkout (.cards/CARD_ID absent/empty), record ORIGIN_DIR=$(pwd) and a named ORIGIN_BRANCH=$(git branch --show-current).
Use EnterWorktree; do not create a worktree manually. Record its path/branch.
Run cards create here (auto-attaches), or cards <requested-id> attach --parent-branch "$ORIGIN_BRANCH". Capture CARD_ID; fetch cards "$CARD_ID"'s repositoryPath as CARD_REPO_PATH. Follow card-repository instructions; commit origin/worktree paths and branches in a card comment.
Pin the baseline; preserve an existing tag:
BASELINE="implement/$CARD_ID/baseline"
git show-ref --verify --quiet "refs/tags/$BASELINE" || git tag "$BASELINE" HEAD
Read implementation. Preserve worktree/baseline on failure or unmet approval gates.
Run git rebase --empty=drop "$ORIGIN_BRANCH" from the worktree. Revalidate, then git merge --ff-only <worktree-branch> from the clean $ORIGIN_DIR on $ORIGIN_BRANCH. On divergence, rebase and validate again; never force.
Record landed SHAs and results in the card.
Remove the worktree with ExitWorktree, action: "remove".
Delete the baseline: git tag -d "$BASELINE".
references/bug.md (opens in a new tab)references/implementation.md (opens in a new tab)references/pre-existing-validation.md (opens in a new tab)references/quality-review.md (opens in a new tab)references/reconsider-approach.md (opens in a new tab)references/refactoring.md (opens in a new tab)references/spike.md (opens in a new tab)references/tdd-bootstrap.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub goodfoot-io/cards.management --plugin cards8 skills in this plugin
/blocker-contractAuthoritative test for creating, retaining, or reporting blocked work./cardsYou must load this skill whenever the user asks to create, read, comment on, or modify a card, or launch a card in the cloud and monitor it/debugThis skill should be used when the user asks to "debug the cards assistant", "troubleshoot cards", "find cards logs", "check cards server health", "cards not working", "where are cards logs", "test cards API", asks what a Cards error code means, or reports a failure with Cards packages, the extension, licensing or registration, Claude Code hooks, Codex or Antigravity sessions, worktrees, configuration, authentication, or release tooling./designThe single, authoritative design system for themable VSCode UI in this project — VS Code's own webview conventions fused with the Cards extension's concrete tokens and component specs. Use whenever building, styling, or reviewing UI in a Cards extension webview or HTML embedded in a card; every component follows the modules bundled here rather than ad-hoc values or generic best-practice guesses./html-filesAuthor HTML files in a card repository — two-file pairing, sidecar schema, relative assets/ references, inline CSS styling, and the cards html check gate./markdownMarkdown guidelines for card content.