/toycrane-skills:setup-issue-trackerfrom toycrane-skills
Records an issue tracker convention per repository so spec folders link to issues via Issue: lines. Run before parallel implementation or scheduled triage; rerun to change trackers.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Give this repository one issue tracker convention that the other skills read
through a short route in its agent instructions. The spec folder under
docs/specs/<slug>/ stays the implementation contract, and its spec.md
names its one issue with an Issue: <tracker>:<id> line. When work starts from
an existing issue, that issue is the one named; otherwise the PR that first
carries the folder creates the issue and commits the line. Every lookup uses
that recorded ID, never a title search. Repositories without this section keep
every skill's current behavior: no issue is created and no Issue: line is
written. Write it when the user wants parallel implementation or scheduled
general-issue triage.
Read what is already there before asking anything: the Git remotes, whether
AGENTS.md and CLAUDE.md exist and whether either already carries an issue
tracker section, and which tracker tools this session can actually use (a
GitHub CLI login, a Linear MCP server or CLI, or nothing). Lead with a
recommendation the user can accept in a word: the remote's host when the
repository lives on GitHub, an existing section's tracker when one exists, and
otherwise the tool the session can reach. Confirm one item at a time.
Settle these items:
<tracker>:<id> value an Issue: line carries in
spec.md and in a PR body, such as linear:FLY-145 or github:#12. The
line is the only link between a spec folder and its issue; titles carry no
key or prefix, and no label marks a spec issue.Triage 요약 or spec section and none of the triage results;
and the
tracker states or labels representing needs-triage, needs-info, and
needs-decision. Triage handles each issue once, so record no detection of
human replies or body edits. Use native
Triage where appropriate, and verify or create the selected labels. Record
how to find linked PRs and active work, attach evidence, leave comments, set
waiting states, dispose of proven duplicates, and update only bounded
AI-managed body sections while preserving human text. Record whether
conditional body updates are supported and how the latest body is re-read
and verified afterward. Record the stale-review query, which returns open
issues carrying the review signal with no open linked PR, and how such an
issue whose spec PR closed unmerged returns to a non-active state such as
Backlog; this clears a stale review signal and does not make the issue new. Do not add a decision-maker field or
treat an assignee or label as an atomic lock.Due: <YYYY-MM-DD> body line. The not-yet-judged query returns each issue's
due date, so triage can leave out issues whose date is still ahead.<!-- triage-issues:check:start --> and
<!-- triage-issues:check:end --> titled ## Post-release check, holding a
Spec-Folder: docs/specs/<slug>/ line, the merged PR, a Merge-Commit:
line with the merge commit on the base, the due date, and
the spec's ## Post-release check content copied as written. Record the
lookup that finds an existing check issue for one spec folder, open or
closed, by that line, so a retry never creates a second one. The initial
state is one the not-yet-judged query returns, never an active or review
state. Verify or create its label as for the triage labels.None. Ask once whether
the user wants one, unless the request already answers it, and accept
None without follow-up questions; the
tracker stays the record, so every skill works without it.Start from the matching template and adjust it to what exploration found: templates/github.md, templates/linear.md, or templates/other.md for a tracker the user describes.
Record the convention as an ## Issue tracker section in the repository's
agent instructions. Edit AGENTS.md when it exists, CLAUDE.md when only that
exists, and AGENTS.md when both exist as separate files; when neither exists,
ask which one to create. Never create the second file beside an existing one.
When the section already exists, replace it in place and leave the surrounding
content untouched; rerunning this skill shows the current convention and
changes only what the user wants changed. Treat an older section that maps
folders through a spec:<slug> title key, a Source-Issue line, or a managed
issue listing as outdated: propose replacing them with the Issue: line and
ID-based operations while preserving its tracker, tool, states, and
already-compatible operations. Also replace an additive-only blocker update
with the complete stale-removal and missing-addition operation. Treat triage
items that re-select waiting issues on a human reply or body edit as outdated
too, and replace them with the not-yet-judged query. A convention without
Due date, Check issue, or Notifications keeps working; offer to add them,
writing Notifications: None unless the user names a method. The old names
are not read for compatibility, so tell the user to rename Source-Issue: to
Issue: in active spec folders themselves; leave existing title-key issues
for the user to tidy in the tracker.
Keep the always-loaded section focused on purpose: where spec state lives,
require an explicit user request before resuming an issue already in progress,
and link issues through PRs and close them when implementation merges. A spec
PR never closes its issue. Add a task-time link to docs/issue-tracker.md;
write the repository's issue ID form, verified tool, state and claim
conventions, closing reference, seven spec operations, any triage operations,
and the Due date, Check issue, and Notifications items there, under
exactly those names, which other skills look up. Load that file only for issue work. Preserve
repository-specific choices and non-obvious
behavior; use the current tool schema or CLI help for exact arguments instead
of copying exhaustive field lists into either document. General tool guidance
belongs in this skill's references, not in always-loaded instructions.
On rerun, move existing operational detail into that document without losing custom team settings, states, claim protection, or closing behavior. Reconcile an existing detail document instead of creating a competing source. Preserve the surrounding agent instructions and unrelated document content. Consumers must be able to use the repository documents without this skill being installed.
Show the drafted section and detailed convention before writing them, then
write both and report their paths. Do not create issues for existing spec
folders here: the next PR that carries a folder without an Issue: line
creates its issue and records the line.
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.