skills/project-context-setup/SKILL.md
Scaffolds per-repository agent context so coding agents share the same issue tracker rules, triage label vocabulary, domain glossary, ADR layout, and handoff conventions. Triggers on: "set up project context", "configure agent docs", "create CONTEXT.md", "setup agent workflow", "agent issue tracker setup", "triage labels", "domain glossary for agents". Use when a repo needs durable context files before planning, triage, debugging, TDD, architecture review, or multi-agent implementation.
npx skillsauth add mathews-tom/armory project-context-setupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scaffold the repo-local context files that make agent workflows consistent across sessions: issue tracker rules, triage labels, domain glossary layout, ADR layout, agent brief format, and out-of-scope memory.
| Use this skill | Use another package |
| -------------- | ------------------- |
| A repo lacks docs/agents/ context files | adr-writer for one architecture decision |
| Agents need consistent domain vocabulary | task-decomposer for an already-scoped feature |
| Triage or issue publishing needs label conventions | github for direct GitHub CLI operations |
| Multi-agent work needs durable issue briefs | handoff for session-local continuation notes |
| File | Contents | Load When |
| ---- | -------- | --------- |
| references/context-format.md | CONTEXT.md and CONTEXT-MAP.md glossary format | Creating or editing domain docs |
| references/agent-brief.md | Durable ready-for-agent issue brief contract | Preparing issue handoff |
| references/out-of-scope.md | Persistent memory for rejected enhancements | Triage includes wontfix decisions |
Inspect the actual repo state before writing:
git remote -v and .git/config for issue tracker hintsAGENTS.md and CLAUDE.mdCONTEXT.md and CONTEXT-MAP.mddocs/adr/ and context-scoped ADR directoriesdocs/agents/.out-of-scope/Report what exists and what is missing. Do not overwrite existing files blindly.
Resolve these values with the user or from clear repo evidence:
| Decision | Default | Output |
| -------- | ------- | ------ |
| Issue tracker | GitHub if a GitHub remote exists, otherwise local markdown | docs/agents/issue-tracker.md |
| Triage labels | Canonical labels equal role names | docs/agents/triage-labels.md |
| Domain docs | Single root context | docs/agents/domain.md |
| Agent instructions file | Existing AGENTS.md, else existing CLAUDE.md | Updated ## Agent context block |
If both AGENTS.md and CLAUDE.md exist, update AGENTS.md for cross-agent portability.
If neither exists, ask before creating one.
Create or update these files:
docs/agents/
├── issue-tracker.md
├── triage-labels.md
└── domain.md
Use these conventions:
CONTEXT.md or CONTEXT-MAP.md with per-context glossaries.docs/adr/ for global decisions and context-local docs/adr/ directories where present.Add or update this block in the chosen instructions file:
## Agent context
### Issue tracker
See `docs/agents/issue-tracker.md` for where issues live and which operations agents may perform.
### Triage labels
See `docs/agents/triage-labels.md` for canonical triage roles and their concrete label strings.
### Domain docs
See `docs/agents/domain.md` for `CONTEXT.md`, `CONTEXT-MAP.md`, and ADR lookup rules.
Update the existing block in place if it already exists. Do not append duplicates.
Create CONTEXT.md only when the user has resolved at least one domain term. Use
references/context-format.md. Do not fill it with generic programming concepts.
Create CONTEXT-MAP.md only for multi-context repos where separate glossaries are needed.
docs/agents/issue-tracker.md exists and states the tracker, allowed operations, and required tools.docs/agents/triage-labels.md maps needs-triage, needs-info, ready-for-agent, ready-for-human, and wontfix.docs/agents/domain.md states single-context or multi-context layout and ADR lookup rules.## Agent context block.testing
Manages dependent branch stacks and stacked pull requests using safe Git topology rules. Triggers on: "create stacked PRs", "publish this stack", "sync my PR stack", "rebase this stack", "merge the stack", "retarget child PRs", "split this branch into stacked PRs", "validate this stack", "cleanup stacked branches". Use when local branches or one source branch need to become a dependency-ordered PR stack with correct parent bases, validation, synchronization, merge order, and cleanup.
testing
Produces phased task boards from feature requests: dependency-mapped work items, parallelization flags, risk flags, edge cases, test matrices. Triggers on: "decompose this feature", "task breakdown with dependencies", "phased implementation plan", "work breakdown structure". NOT for effort estimates, use estimate-calibrator.
development
Hypothesis-driven debugging with ranked hypotheses, git bisect strategy, instrumentation planning, and minimal reproduction design. Triggers on: "debug this systematically", "root cause analysis", "bisect this bug", "rank hypotheses", "isolate this issue", "minimal reproduction". NOT for general reasoning.
testing
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports. Triggers on: "review architecture", "critique design", "audit system", "assess scalability", "enterprise readiness", "technical due diligence". NOT for diagrams, use architecture-diagram.