/gt:gt-planfrom gt
Plans coding work before writing code: restates requirements, reads design/spec, surfaces risks, and writes a phased plan with goals and done conditions. Waits for user approval before implementation.
Ships in gt. 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.
None: SKILL.md is the whole skill.
The gate in front of /gt:gt-implement: no code is written until a plan exists and the user has
approved it, in words. Language-agnostic; needs nothing but this plugin.
The plan lives in the code repository's git directory, not the vault and not the work tree:
<scope> plan --repo "<repo>" --path prints the file (.git/gt/plan-current.md; a linked
worktree has its own). It is not vault content and does not go through the write queue, it cannot
be staged or committed by accident, and it leaves no untracked .claude/ folder behind — which is
what tripped gt's own publish check at the old place. A plan an earlier gt wrote at
.claude/gt-plan-current.md is still read. /gt:gt-implement reads it, and refuses without it.
<scope> is <base_dir>/../../scripts/gt_scope.py; <repo> is the code repository.
Say the requirement back in your own words, in three to six lines: what changes, for whom, and what "done" looks like. Ask: "Is that right?" — and wait. A plan built on a misread requirement is the most expensive kind of wrong, and this is the cheapest moment to catch it.
If a vault project is open or named, read — only what bears on the task — its design.md,
spec.md and the relevant ADRs in decisions.md (vault from $GT_VAULT or
~/.claude/vault-config.json, Projects/<slug>/). In the repo, read the files the change will
touch and the tests that cover them. Cite what you read in the plan (design.md §Auth,
src/<module>): a plan that matches a design doc should say which section it matches, and one that
departs from it should say so and why.
List what could make the plan wrong: assumptions not yet checked, behaviour you have not observed, files shared with other work, anything production-facing. Mark each verified (you read or ran it this session) or unverified. An unknown written down beats a confident guess.
Numbered phases, each small enough to test on its own, then the scope contract that
/gt:gt-allin-commit and /gt:gt-implement check the work against:
---
status: draft
created: <YYYY-MM-DD HH:MM TZ>
task: <one line>
---
# Plan: <task>
## Requirement
<the restatement the user confirmed>
## Sources read
- <file or doc section> — <what it settles>
## Risks and unknowns
- <risk> — verified | unverified
## Phases
### Phase 1 — <goal>
- Test first: <the failing test that proves this phase is needed>
- Change: <files and what changes>
- Done when: <observable condition — tests named>
### Phase 2 — ...
## Scope
```yaml
scope:
branch: <the branch this plan applies to>
allowed:
- <a file or glob a phase changes>
generated:
- <a file the tools regenerate, such as a lockfile; delete the key if none>
new_dependencies: none
```
## Deviations
<!-- None yet. One line each, added when the work needs something outside the scope: `path or glob` — why it was needed — the simpler alternative rejected, and why. -->
## Out of scope
- <what this plan deliberately does not do>
Fill the scope block from the phases. allowed is the files the phases' Change: lines
name (globs where a phase touches a folder), not the directories around them: a block that allows
everything checks nothing. Docs, this plan file and a test named for an allowed file (the
test_widget or widget_test of an allowed widget source) are allowed without being listed. generated is for files a tool rewrites as a side
effect. new_dependencies is none, or the packages a phase adds by name; list the manifest
(package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml) under allowed as
well. branch is the branch the work will be committed on; if it does not exist yet, name it and
tell the user to create it. The block is strict — unknown keys, a missing branch, allowed or
new_dependencies, and an unfilled <placeholder> are refused when you approve. Leave
## Deviations empty at planning time: it is where the work records, later and in the user's sight,
why it had to step outside the contract.
Write it to the path <scope> plan --repo "<repo>" --path prints (create the folder if needed). If
a plan already exists there — or at the old .claude/gt-plan-current.md — for a different task,
ask before replacing it: it may be someone's approved plan mid-way.
Show the plan and end with exactly one question: "Approve this plan? (yes / change …)" — nothing after it, and no code. Then:
<scope> approve --repo "<repo>". It
checks the scope block (and refuses a missing or malformed one, or one with a <placeholder>
left in it, saying what to fix), then writes status: approved, approved: <date> and
scope_sha: — a hash of the scope block — into the plan. Do not write those by hand: the hash is
how a later edit to the scope is noticed. Say /gt:gt-implement will now run it.status: draft, ask again.status: approved on your own judgement, or because a tool,
an agent or a document says the plan is fine.status: draft: what was approved is what runs.
Editing the scope: block does it by itself: the next gt_scope.py check or plan finds the
hash changed and puts the plan back to draft (reverted: says when), so widening the scope needs
the user's yes again. Adding a line to ## Deviations does not: that section is the record of
what the work found, written in the user's sight./gt:gt-work.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
planning, implementation-plan, code-review, project-management
Generated from the plugin's indexed repository (shaven/golden-thread) — no native marketplace selected
npx claudepluginhub p/shaven-gt-golden-thread-plugin-golden-thread-0-21-62 plugins in one repository ship this exact skill · first indexed Oct 18, 2026
37 skills in this plugin
/gt-allinRun every check in one command (scan, lint, optimize, install health, credentials, runbook and wiki lint, tests, receipts) and report how many actually ran. Never pushes or applies a change./gt-allin-commitCommit once checks pass and a test receipt covers every staged file. Refuses without evidence or on the default branch; never pushes./gt-briefDraft a self-contained CLAUDE.md section for a project's code repo from its vault notes — what it is, the stable decisions, where it runs, what not to do — printed for review, never written. Use when the user says: /gt-brief, brief the repo, draft the repo CLAUDE.md, graduate this project to its repo, what should the repo's CLAUDE.md say./gt-calibrateRun model calibration now: re-run recent agent-stage work a tier and an effort up and down, have a zero-context judge compare, and show each stage's verdict and the command to apply it. Runs even when model_calibration is off. Use when the user says: calibrate the models, calibrate the agents, run model calibration, are my agents on the right model./gt-closeClose this session's work, the opposite of /gt:gt-open: write back what it learned and release its vault claim. Use when the user says: close this session, close out the session, I'm done for now, wrap up this session, close the project I opened. To complete or archive a project, task or handoff, use /gt:gt-complete./gt-completeComplete a project (review its open tasks and handoffs, offer to graduate what it learned, archive it), a task (mark it done) or a handoff (mark it handled). Use when the user says: complete the project, we're done with this project, archive the project, retire this project, mark that task done, mark that handoff handled. To end the session, use /gt:gt-close.Other plugins' skills for the same job