/toycrane-skills:project-knowledgefrom toycrane-skills
Maintains a project's glossary of canonical terms and records settled design decisions so future work reuses consistent language and avoids re-litigating trade-offs.
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.
Resolve unclear project terms and preserve settled decisions so future work uses the same language and does not re-litigate the same trade-offs.
Read GLOSSARY.md when it exists.
GLOSSARY.md if needed and update it
immediately using the glossary template.GLOSSARY.md.When docs/decisions/README.md exists, read it and load only the subject files
relevant to the current work.
Record a project decision only when it is all of the following:
Require evidence that a choice was intentional before treating it as settled. Implementation or lack of objection alone is insufficient.
For each qualifying decision, use the
decision contract template to create or
update its single subject file in docs/decisions/. Preserve only the context
future work needs to apply the decision without repeating the original analysis.
Root DESIGN.md is where design work starts: the project's values, the shared
components in use, rejected UI patterns, and a map from each visible element to
the decision contract that owns it. Contracts stay the source of every rule;
DESIGN.md only points at them, so copy no rule text, rationale, or threshold
into it.
A screen contract decides how something looks or behaves on screen: color, text
role, spacing, icon, component, copy, loading, disabled, or error state, or
sheet, toast, or header behavior. Contracts about repository mechanics, data
ownership, review process, or deployment are not screen contracts and leave
DESIGN.md alone. A contract that sets UI review criteria may be a link target
for a rejected pattern but is not a map element.
When you create a screen contract, change which elements one covers, or add or
remove a UI pattern that a screen or UI review-criteria contract rejects,
update DESIGN.md in the same change using the
design entry template:
DESIGN.md first. Put that line in AGENTS.md, creating the
file when it is missing, and also in CLAUDE.md when it exists and does not
already load AGENTS.md. Skip a file that already carries a line with that
meaning.When DESIGN.md does not exist yet, create it at that moment:
After creation, leave the values and components sections to the work that
changes their named sources. When an existing DESIGN.md uses another layout,
add lines where it already keeps them instead of reformatting it. A project
with no screen contract has no DESIGN.md.
Record a follow-up when a workaround applied in this session is temporary and its root cause stays open, or when an out-of-scope defect or suspected cause is observed with evidence. Work that closed inside the session, a guess without evidence, and a defect already fixed in the current change do not qualify.
Record each qualifying item at the moment of discovery, and choose where by who must move next. An item must let a later session act without this conversation. Reporting the discovery in conversation does not preserve it.
docs/follow-ups/<slug>.md using the
follow-up template, naming the slug for the
symptom.AGENTS.md or CLAUDE.md
carries an ## Issue tracker section, create an issue through that section
and its linked convention instead of a file. Give it the template's five
facts plus the decision a person must make or the moment to act. When the
item has a date, set it with the convention's Due date method, and report
the issue's ID. A file
would wait for an agent sweep that cannot settle it; an issue reaches the
person who can.Due date method is
unavailable, write the file as for the first case and say in your report
that the item went to a file, or lacks its date, and why.A follow-up records an open question, not a settled decision, so it does not
enter GLOSSARY.md or a decision contract until its outcome settles on its own
terms. Delete the file when the work ships or the item is promoted into a spec
folder.
GLOSSARY.md, or a relevant
decision contract, surface the mismatch instead of choosing silently. Code
shows current behavior, but not whether that behavior was intentional.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub toy-crane/skills --plugin toycrane-skills28 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./babysit-specsRevise active `docs/specs/SLUG/` specs so they match what has shipped since they were written. Use when earlier work has landed and queued specs may now rest on stale assumptions, acceptance criteria, constraints, terms, or prototypes, or when implementation reports a spec as stale before changing source. Takes one or more spec folders, or every folder under `docs/specs/` when none is named. Do not use to shape a new spec from a problem and direction, which belongs to `shape-idea`, or to reconcile durable project context and retire shipped folders, which belongs to `maintain-project-context`./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.