/toycrane-skills:babysit-specsfrom toycrane-skills
Revises active specs to match shipped implementation. Detects stale assumptions, outdated acceptance criteria, and prototype mismatches by comparing spec contracts against current code and Git history.
Ships in toycrane-skills. 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.
This skill requires project-knowledge and build-prototype. Before doing
any work, confirm each one is installed. When one is missing, stop and report
it with its install command,
npx skills@latest add toy-crane/skills --skill <name>, using the project's
package manager runner where it pins one.
Take the spec folders the user names. With none named, take every folder
present under docs/specs/. Handle one spec at a time.
For each spec, read spec.md, the prototype and decision contracts the spec
links, and GLOSSARY.md when it exists, since a
term the shipped work renamed now lives there.
The baseline is that spec's last commit, including a previous revision of your own. Establish what changed since it from the repository's Git history and from the current behavior of the surfaces the spec names. A sibling spec folder that has disappeared since the baseline has shipped. When a spec was never committed, compare against the current state alone and say so in the report. When a spec has uncommitted edits, compare from its last committed version and say so.
Check every field of the product contract against what you established, and list only the points that no longer hold:
Compare the prototype as screens, not as code. Render the linked
prototype.html and compare its screens and states with the current product
surface, running the product when the repository exposes it. When no runnable
surface exists, compare against the current code and design system files
instead and record in the report that the comparison was weaker.
Resolve what the repository can answer before asking the user. Leave decisions the shipped work does not touch closed.
A point whose correction preserves what the user approved is yours to fix. Update it in place, mark it as an agent-chosen assumption the user can override, and give its reason in the report. A renamed term, a criterion another work unit already delivered, a moved path, and a link pointing at a retired folder are examples: the product the user gets does not change, even though approved text does.
A point whose correction would change what the user approved belongs to the user. Ask one question about it, include a recommended answer and a concise reason, and wait. Ask one question at a time however many specs are in scope, rather than collecting them into a list. An outcome the shipped work makes redundant or impossible, a design its new pattern contradicts, a constraint its code breaks where the break may have been intentional, and an entered off-limits area are examples.
The axis is whether the approved meaning survives, not whether the edit is cheap. A choice is settled only when the user confirms it or it is made under authority the user explicitly delegated for that class of decision. Your own correction is an assumption under standing veto, never a settled constraint.
Rewrite spec.md in place under the same slug. Keep the product contract's own
fields: user-visible outcomes, approved scope, observable acceptance criteria,
settled constraints and rationale, assumptions, off-limits areas and why,
deferred points, remaining risks, and setup before implementation. Preserve its
links to the approved prototype and to the decision contracts the work depends
on, pointing at each rather than restating it. Where a deferred point's interim
behavior is stated again elsewhere in the contract, keep it marked interim
there.
Add no change log section and no revision file; Git holds the history. Never
edit product source, configuration, or dependencies, and run any experiment in
a scratch directory outside the working tree. Record a settled outcome that
future work should reuse through project-knowledge, handing it the decision,
its rationale, and the rejected alternatives, and link the
docs/decisions/<subject>.md path it reports from the spec.
shape-idea to re-divide, and do not split or merge folders yourself. A
folder belongs together when its outcome could land on the default branch
and stay there even if the rest never arrives, and nothing separates its
parts. It no longer fits when the revision lets one part land alone while
that part is wanted earlier than the rest, a wait outside the repository
such as a legal review or store release now stands between the parts, a
later part builds on a foundation whose material risk tests cannot settle,
such as security, permissions, a data migration, or an external contract,
or the parts became unrelated; or when the folder's outcome can no longer
land without work held in another folder. Each reason must be a fact the
shipped work or the user establishes. Dependence between parts, a risk
inferred from the kind of work, or a technical layer never separates them.build-prototype, handing it the drifted screens and states and the
current surface they must match; it hands back the updated
prototype.html, which the spec keeps linking.maintain-project-context or the user.Finish when every selected spec is either current or waiting on a user decision. Report, in conversation and without writing a report file:
What SKILL.md sets; muted values are Claude Code's defaults
28 skills in this plugin
/add-env-keyGet a key the user must issue or supply, such as an API key, token, or password, into the project's .env file without the value passing through chat or the model's context. Opens the vendor's issuance page, collects the value through the secret-env mod's input pane when the session has it, and otherwise opens the file in the user's editor with the key line ready. Use when work needs such a key that the project does not have yet, or when the user asks to add, set, or put an API key or token into .env./add-stack-contextAudit and establish current agent context for the technologies that define a project's stack. Use when setting up a project for agent work, after selecting or adding a framework, library, developer tool, or hosted service, or when entering an existing project whose agent context has not been audited./audit-evalsAudit a project's LLM eval regression suite from its committed cell history, report cells whose most recent 10 trials all passed, checks with identical recent histories, cells that flip after graduating, and cells that always fail, then propose demoting the recently always-passing cells to the lower tier and apply only the demotions the user approves. Use when the user asks which eval cells still earn their run, why a regression run costs so much, or to slim, prune, or demote a regression suite./babysit-prWatch one open GitHub pull request through CI and review bots until it is ready to merge or needs a person, fixing confirmed findings and failing checks, answering and resolving review threads, and rerunning infrastructure flakes. Use when a pull request has just been opened or updated and its checks, bot review comments, or merge conflicts need answering, or when asked to babysit, watch, shepherd, or get a PR green or ready. Does not merge; `merge` and `implement` invoke it before merging or handing off./build-prototypeBuild a complete dummy-data HTML prototype or a temporary comparison of up to three alternatives for a specific user situation. Use to settle a screen-based product before implementation or resolve a visual or interaction decision during shaping or prototype review. Do not use for production implementation or CLI, terminal, or voice interfaces./clean-branchesClean up the local leftovers of finished work in one pass, removing worktrees and local branches whose pull request merged or closed, detached worktrees already contained in the base, and left-over worktree folders that lost their Git registration, while leaving open, uncommitted, session-attached, and Codex-managed work in place. Use when the user asks to clean up, prune, or tidy stale or piled-up branches or worktrees across a repository. merge hands this skill the one branch it just merged. Remote branches are never deleted.npx claudepluginhub toy-crane/skills --plugin toycrane-skills