hatch3r 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +124 -62
  2. package/agents/hatch3r-a11y-auditor.md +17 -2
  3. package/agents/hatch3r-architect.md +19 -1
  4. package/agents/hatch3r-ci-watcher.md +30 -8
  5. package/agents/hatch3r-context-rules.md +13 -2
  6. package/agents/hatch3r-dependency-auditor.md +20 -5
  7. package/agents/hatch3r-devops.md +36 -6
  8. package/agents/hatch3r-docs-writer.md +18 -3
  9. package/agents/hatch3r-fixer.md +169 -0
  10. package/agents/hatch3r-implementer.md +52 -11
  11. package/agents/hatch3r-learnings-loader.md +13 -2
  12. package/agents/hatch3r-lint-fixer.md +17 -4
  13. package/agents/hatch3r-perf-profiler.md +17 -1
  14. package/agents/hatch3r-researcher.md +188 -5
  15. package/agents/hatch3r-reviewer.md +22 -2
  16. package/agents/hatch3r-security-auditor.md +20 -2
  17. package/agents/hatch3r-test-writer.md +19 -3
  18. package/checks/README.md +49 -0
  19. package/checks/code-quality.md +49 -0
  20. package/checks/performance.md +58 -0
  21. package/checks/security.md +58 -0
  22. package/checks/testing.md +53 -0
  23. package/commands/hatch3r-agent-customize.md +37 -0
  24. package/commands/hatch3r-api-spec.md +293 -32
  25. package/commands/hatch3r-benchmark.md +385 -32
  26. package/commands/hatch3r-board-fill.md +160 -23
  27. package/commands/hatch3r-board-groom.md +555 -0
  28. package/commands/hatch3r-board-init.md +202 -46
  29. package/commands/hatch3r-board-pickup.md +203 -53
  30. package/commands/hatch3r-board-refresh.md +68 -18
  31. package/commands/hatch3r-board-shared.md +239 -13
  32. package/commands/hatch3r-bug-plan.md +15 -3
  33. package/commands/hatch3r-codebase-map.md +42 -10
  34. package/commands/hatch3r-command-customize.md +5 -0
  35. package/commands/hatch3r-context-health.md +4 -0
  36. package/commands/hatch3r-cost-tracking.md +4 -0
  37. package/commands/hatch3r-debug.md +425 -0
  38. package/commands/hatch3r-dep-audit.md +5 -0
  39. package/commands/hatch3r-feature-plan.md +73 -12
  40. package/commands/hatch3r-healthcheck.md +15 -0
  41. package/commands/hatch3r-hooks.md +15 -10
  42. package/commands/hatch3r-learn.md +14 -9
  43. package/commands/hatch3r-migration-plan.md +332 -33
  44. package/commands/hatch3r-onboard.md +326 -38
  45. package/commands/hatch3r-project-spec.md +45 -10
  46. package/commands/hatch3r-quick-change.md +335 -0
  47. package/commands/hatch3r-recipe.md +5 -0
  48. package/commands/hatch3r-refactor-plan.md +28 -13
  49. package/commands/hatch3r-release.md +11 -2
  50. package/commands/hatch3r-revision.md +394 -0
  51. package/commands/hatch3r-roadmap.md +10 -2
  52. package/commands/hatch3r-rule-customize.md +5 -0
  53. package/commands/hatch3r-security-audit.md +15 -0
  54. package/commands/hatch3r-skill-customize.md +5 -0
  55. package/commands/hatch3r-workflow.md +112 -38
  56. package/dist/cli/index.js +3003 -1995
  57. package/dist/cli/index.js.map +1 -0
  58. package/hooks/hatch3r-ci-failure.md +29 -0
  59. package/hooks/hatch3r-file-save.md +21 -0
  60. package/hooks/hatch3r-post-merge.md +22 -0
  61. package/hooks/hatch3r-pre-commit.md +22 -0
  62. package/hooks/hatch3r-pre-push.md +21 -0
  63. package/hooks/hatch3r-session-start.md +21 -0
  64. package/mcp/mcp.json +22 -3
  65. package/package.json +3 -6
  66. package/rules/hatch3r-agent-orchestration.md +102 -33
  67. package/rules/hatch3r-agent-orchestration.mdc +225 -0
  68. package/rules/hatch3r-api-design.md +3 -1
  69. package/rules/hatch3r-browser-verification.md +32 -1
  70. package/rules/hatch3r-browser-verification.mdc +29 -0
  71. package/rules/hatch3r-ci-cd.md +4 -1
  72. package/rules/hatch3r-ci-cd.mdc +4 -1
  73. package/rules/hatch3r-code-standards.md +9 -0
  74. package/rules/hatch3r-code-standards.mdc +10 -1
  75. package/rules/hatch3r-component-conventions.md +3 -1
  76. package/rules/hatch3r-deep-context.md +93 -0
  77. package/rules/hatch3r-deep-context.mdc +69 -0
  78. package/rules/hatch3r-feature-flags.md +3 -1
  79. package/rules/hatch3r-i18n.md +3 -1
  80. package/rules/hatch3r-learning-consult.md +3 -2
  81. package/rules/hatch3r-learning-consult.mdc +3 -2
  82. package/rules/hatch3r-observability.md +3 -1
  83. package/rules/hatch3r-performance-budgets.md +4 -2
  84. package/rules/hatch3r-performance-budgets.mdc +1 -1
  85. package/rules/hatch3r-secrets-management.md +10 -3
  86. package/rules/hatch3r-secrets-management.mdc +10 -3
  87. package/rules/hatch3r-security-patterns.md +11 -3
  88. package/rules/hatch3r-security-patterns.mdc +8 -2
  89. package/rules/hatch3r-theming.md +3 -1
  90. package/rules/hatch3r-tooling-hierarchy.md +46 -20
  91. package/rules/hatch3r-tooling-hierarchy.mdc +27 -4
  92. package/skills/hatch3r-agent-customize/SKILL.md +2 -0
  93. package/skills/hatch3r-architecture-review/SKILL.md +5 -2
  94. package/skills/hatch3r-bug-fix/SKILL.md +3 -1
  95. package/skills/hatch3r-context-health/SKILL.md +1 -1
  96. package/skills/hatch3r-dep-audit/SKILL.md +5 -2
  97. package/skills/hatch3r-feature/SKILL.md +8 -2
  98. package/skills/hatch3r-gh-agentic-workflows/SKILL.md +129 -21
  99. package/skills/hatch3r-incident-response/SKILL.md +10 -5
  100. package/skills/hatch3r-issue-workflow/SKILL.md +11 -7
  101. package/skills/hatch3r-perf-audit/SKILL.md +1 -1
  102. package/skills/hatch3r-pr-creation/SKILL.md +19 -10
  103. package/skills/hatch3r-qa-validation/SKILL.md +1 -1
  104. package/skills/hatch3r-refactor/SKILL.md +6 -1
  105. package/skills/hatch3r-release/SKILL.md +14 -11
  106. package/dist/cli/hooks-ZOTFDEA3.js +0 -59
  107. package/rules/hatch3r-error-handling.md +0 -17
  108. package/rules/hatch3r-error-handling.mdc +0 -15
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  **Crack the egg. Hatch better agents.**
6
6
 
7
- hatch3r is an open-source CLI and Cursor plugin that installs a battle-tested, tool-agnostic agentic coding setup into any repository. One command gives you 11 agents, 22 skills, 18 rules, 25 commands, and MCP integrations -- optimized for your coding tool of choice.
7
+ hatch3r is an open-source CLI and Cursor plugin that installs a battle-tested, tool-agnostic agentic coding setup into any repository. One command gives you 16 agents, 25 skills, 22 rules, 33 commands, and MCP integrations -- optimized for your coding tool of choice.
8
8
 
9
9
  ## Quick Start
10
10
 
@@ -14,17 +14,30 @@ Requires Node.js 22+.
14
14
  npx hatch3r init
15
15
  ```
16
16
 
17
- That's it. hatch3r detects your repo, asks which tools you use, and generates everything. Run into issues? See [Troubleshooting](docs/troubleshooting.md).
17
+ That's it. hatch3r detects your repo, asks which platform and tools you use, and generates everything. The platform (GitHub, Azure DevOps, or GitLab) is auto-detected from your git remote. Run into issues? See [Troubleshooting](docs/troubleshooting.md).
18
18
 
19
19
  ## What You Get
20
20
 
21
21
  | Category | Count | Highlights |
22
22
  |----------|-------|-----------|
23
- | **Agents** | 11 | Code reviewer, test writer, security auditor, implementer (sub-agentic), researcher, and more |
24
- | **Skills** | 22 | Bug fix, feature implementation, issue workflow, release, incident response, context health, cost tracking, recipes, customization, and more |
25
- | **Rules** | 18 | Code standards, error handling, testing, API design, observability, theming, i18n, security patterns, agent orchestration, and more |
26
- | **Commands** | 25 | Board init, board fill, board pickup, board refresh, planning (feature, bug, refactor), healthcheck, security-audit, context-health, cost-tracking, customization, and more |
27
- | **MCP Servers** | 5 | GitHub, Context7, Filesystem, Playwright, Brave Search |
23
+ | **Agents** | 16 | Code reviewer, test writer, security auditor, implementer (sub-agentic), fixer, researcher, architect, DevOps, and more |
24
+ | **Skills** | 25 | Bug fix, feature implementation, issue workflow, release, incident response, context health, cost tracking, recipes, API spec, CI pipeline, migration, customization, and more |
25
+ | **Rules** | 22 | Code standards, testing, API design, observability, theming, i18n, security patterns, agent orchestration, deep context analysis, and more |
26
+ | **Commands** | 33 | Board init, board fill, board groom, board pickup, board refresh, planning (feature, bug, refactor), workflow, quick-change, revision, debug, healthcheck, security-audit, context-health, cost-tracking, onboard, benchmark, customization, and more |
27
+ | **MCP Servers** | 10 (3 default + 7 opt-in) | Playwright, Context7, Filesystem (default); GitHub, Brave Search, Sentry, Postgres, Linear, Azure DevOps, GitLab (opt-in) |
28
+ | **Platforms** | 3 | GitHub, Azure DevOps, GitLab -- auto-detected from git remote |
29
+
30
+ ## Supported Platforms
31
+
32
+ hatch3r supports three project management platforms as first-class targets:
33
+
34
+ | Platform | Board system | MCP server | Auth |
35
+ |----------|-------------|------------|------|
36
+ | **GitHub** | Projects V2 | GitHub MCP (remote) | `GITHUB_PAT` |
37
+ | **Azure DevOps** | Boards / Work Items | @tiberriver256/mcp-server-azure-devops | `AZURE_DEVOPS_PAT`, `AZURE_DEVOPS_ORG` |
38
+ | **GitLab** | Issues / Boards | glab mcp | `GITLAB_TOKEN` |
39
+
40
+ Platform is auto-detected from your git remote during `hatch3r init`. All board commands, agents, rules, and skills adapt to your selected platform. The manifest uses generic `namespace`/`project`/`repo` fields (backward-compatible with `owner`/`repo`).
28
41
 
29
42
  ## Supported Tools
30
43
 
@@ -36,7 +49,11 @@ That's it. hatch3r detects your repo, asks which tools you use, and generates ev
36
49
  - **Amp** -- `AGENTS.md`
37
50
  - **Codex CLI** -- `AGENTS.md`, `codex.md`
38
51
  - **Gemini CLI** -- `GEMINI.md`
39
- - **Cline / Roo Code** -- `.clinerules`, `.cursorrules`
52
+ - **Cline / Roo Code** -- `.clinerules`
53
+ - **Aider** -- `CONVENTIONS.md`
54
+ - **Kiro** -- `kiro.md`, specs
55
+ - **Goose** -- `.goosehints`
56
+ - **Zed** -- `.rules`
40
57
 
41
58
  ### MCP Configuration
42
59
 
@@ -67,7 +84,7 @@ See [docs/mcp-setup.md](docs/mcp-setup.md) for full setup, per-server details, a
67
84
  ## How It Works
68
85
 
69
86
  ```
70
- /.agents/ <- Canonical source (tool-agnostic)
87
+ .agents/ <- Canonical source (tool-agnostic)
71
88
  ├── agents/
72
89
  ├── skills/
73
90
  ├── rules/
@@ -83,9 +100,13 @@ CLAUDE.md <- Generated (Claude adapter)
83
100
  AGENTS.md <- Generated (OpenCode, Amp, Codex adapters)
84
101
  GEMINI.md <- Generated (Gemini adapter)
85
102
  .clinerules <- Generated (Cline adapter)
103
+ CONVENTIONS.md <- Generated (Aider adapter)
104
+ kiro.md <- Generated (Kiro adapter)
105
+ .goosehints <- Generated (Goose adapter)
106
+ .rules <- Generated (Zed adapter)
86
107
  ```
87
108
 
88
- hatch3r keeps one source of truth in `/.agents/` and generates native configuration for each tool.
109
+ hatch3r keeps one source of truth in `.agents/` and generates native configuration for each tool.
89
110
 
90
111
  ## Workflow
91
112
 
@@ -97,29 +118,29 @@ hatch3r provides a full project lifecycle, from setup to release. Here is the ty
97
118
  npx hatch3r init
98
119
  ```
99
120
 
100
- Interactive setup detects your repository, asks which coding tools you use (Cursor, Copilot, Claude Code, OpenCode, Windsurf, Amp, Codex CLI, Gemini CLI, Cline), and generates all agents, skills, rules, commands, and MCP configuration.
121
+ Interactive setup detects your repository and platform (GitHub, Azure DevOps, or GitLab), asks which coding tools you use, and generates all agents, skills, rules, commands, and MCP configuration. See the [agentic process diagrams](docs/agentic-process.md) for a visual overview of the full workflow.
101
122
 
102
- > **Next steps after init:** For a new project, run `project-spec`. For an existing codebase, run `codebase-map`. To plan a single feature, run `feature-plan`. To investigate a complex bug, run `bug-plan`. To plan a refactoring effort, run `refactor-plan`. Or skip straight to creating a `todo.md` and running `board-fill`.
123
+ > **Next steps after init:** For a new project, run `hatch3r-project-spec`. For an existing codebase, run `hatch3r-codebase-map`. To plan a single feature, run `hatch3r-feature-plan`. To investigate a complex bug, run `hatch3r-bug-plan`. To plan a refactoring effort, run `hatch3r-refactor-plan`. For small, board-free changes (typos, config tweaks, small refactors), run `hatch3r-quick-change`. Or skip straight to creating a `todo.md` and running `hatch3r-board-fill`.
103
124
 
104
125
  ### For new projects (greenfield)
105
126
 
106
- If you're starting from scratch, use `project-spec` to generate documentation from your vision, then `roadmap` to create a phased plan:
127
+ If you're starting from scratch, use `hatch3r-project-spec` to generate documentation from your vision, then `hatch3r-roadmap` to create a phased plan:
107
128
 
108
- 1. Run `project-spec` with your project idea — produces `docs/specs/`, `docs/adr/`, and `todo.md`
109
- 2. Run `roadmap` to refine the plan into dependency-ordered epics
110
- 3. Continue with board-fill (step 4 below) to create GitHub issues
129
+ 1. Run `hatch3r-project-spec` with your project idea — produces `docs/specs/`, `docs/adr/`, and `todo.md`
130
+ 2. Run `hatch3r-roadmap` to refine the plan into dependency-ordered epics
131
+ 3. Continue with `hatch3r-board-fill` (step 4 below) to create GitHub issues
111
132
 
112
133
  ### For existing projects (brownfield)
113
134
 
114
- If you're adding hatch3r to an existing codebase, use `codebase-map` to analyze what's already there:
135
+ If you're adding hatch3r to an existing codebase, use `hatch3r-codebase-map` to analyze what's already there:
115
136
 
116
- 1. Run `codebase-map` — spawns analyzers to discover modules, conventions, and tech debt
117
- 2. Run `roadmap` to plan improvements from the analysis
118
- 3. Continue with board-fill (step 4 below) to create GitHub issues
137
+ 1. Run `hatch3r-codebase-map` — spawns analyzers to discover modules, conventions, and tech debt
138
+ 2. Run `hatch3r-roadmap` to plan improvements from the analysis
139
+ 3. Continue with `hatch3r-board-fill` (step 4 below) to create GitHub issues
119
140
 
120
141
  ### 2. Set up the board
121
142
 
122
- Run the `board-init` command to create or connect a GitHub Projects V2 board. You do not need to manually create a GitHub Project -- board-init handles project creation via GraphQL, configures status fields (Backlog, Ready, In Progress, In Review, Done), creates the full label taxonomy, and writes all IDs back to `hatch.json`.
143
+ Run the `hatch3r-board-init` command to create or connect a GitHub Projects V2 board. You do not need to manually create a GitHub Project -- `hatch3r-board-init` handles project creation via GraphQL, configures status fields (Backlog, Ready, In Progress, In Review, Done), creates the full label taxonomy, and writes all IDs back to `hatch.json`.
123
144
 
124
145
  ### 3. Define work
125
146
 
@@ -127,19 +148,23 @@ Create a `todo.md` file at the project root with your planned work -- epics, fea
127
148
 
128
149
  ### 4. Fill the board
129
150
 
130
- Run `board-fill` to parse `todo.md` and turn items into GitHub issues. board-fill classifies each item by type, priority, executor, area, and risk. It groups items into epics, analyzes dependencies, builds a dependency DAG, determines implementation order, identifies parallel work, and marks issues as `status:ready` when all readiness criteria are met.
151
+ Run `hatch3r-board-fill` to parse `todo.md` and turn items into GitHub issues. `hatch3r-board-fill` classifies each item by type, priority, executor, area, and risk. It groups items into epics, analyzes dependencies, builds a dependency DAG, determines implementation order, identifies parallel work, and marks issues as `status:ready` when all readiness criteria are met.
131
152
 
132
- ### 5. Pick up work
153
+ ### 5. Groom the backlog (ongoing)
133
154
 
134
- Run `board-pickup` to auto-select the next best issue based on dependency order, priority, and readiness. It performs collision detection against in-progress work and open PRs, creates a branch, delegates implementation to the appropriate skill (or spawns parallel sub-agents for epics), runs quality checks, and creates a pull request with full board status sync.
155
+ As priorities shift, scope evolves, and work gets completed, run `hatch3r-board-groom` to refine the backlog. It surfaces stale items, priority imbalances, missing metadata, and decomposition candidates, then lets you selectively re-prioritize, reclassify, re-scope, archive, or restructure existing issues. Run periodically -- not required every cycle, but recommended when the board drifts from current reality.
135
156
 
136
- ### 6. Review cycle
157
+ ### 6. Pick up work
137
158
 
138
- The reviewer, test-writer, and security-auditor agents review the work. Address feedback, push fixes, and re-request review.
159
+ Run `hatch3r-board-pickup` to auto-select the next best issue based on dependency order, priority, and readiness. It performs collision detection against in-progress work and open PRs, creates a branch, delegates implementation to the appropriate skill (or spawns parallel sub-agents for epics), runs quality checks, and creates a pull request with full board status sync.
139
160
 
140
- ### 7. Release
161
+ ### 7. Review cycle
141
162
 
142
- Run the `release` command to cut a versioned release. It classifies merged PRs to determine the semantic version bump, generates a grouped changelog, runs quality gates, creates a git tag, publishes a GitHub release, and optionally triggers deployment.
163
+ The reviewer agent reviews the work. If Critical or Warning findings exist, the fixer agent automatically implements fixes, and the reviewer re-reviews this loop repeats until clean (max 3 iterations). After the review loop passes, the test-writer and security-auditor agents run final quality checks in parallel. For structured post-implementation revision, open a fresh context window and run `hatch3r-revision` -- it interviews you for feedback, scans for agent leftovers, delegates fixes to specialist sub-agents, and drives toward merge readiness.
164
+
165
+ ### 8. Release
166
+
167
+ Run the `hatch3r-release` command to cut a versioned release. It classifies merged PRs to determine the semantic version bump, generates a grouped changelog, runs quality gates, creates a git tag, publishes a GitHub release, and optionally triggers deployment.
143
168
 
144
169
  ## Commands
145
170
 
@@ -147,79 +172,102 @@ Run the `release` command to cut a versioned release. It classifies merged PRs t
147
172
 
148
173
  ```bash
149
174
  npx hatch3r init # Interactive setup
175
+ npx hatch3r config # Reconfigure tools, MCP servers, features, and platform
150
176
  npx hatch3r sync # Re-generate from canonical state
151
177
  npx hatch3r update # Pull latest templates (safe merge)
152
178
  npx hatch3r status # Check sync status between canonical and generated files
153
179
  npx hatch3r validate # Validate canonical .agents/ structure
180
+ npx hatch3r add <pack> # Install a community pack (coming soon)
154
181
  ```
155
182
 
156
183
  ### Agent Commands
157
184
 
158
185
  These commands are invoked inside your coding tool (e.g., as Cursor commands):
159
186
 
160
- **board-init** -- Bootstrap a GitHub Projects V2 board for your repository. Creates a new project or connects to an existing one, configures status fields with five default columns, creates the full hatch3r label taxonomy (type, executor, status, priority, risk, meta), prompts for default branch (main/master), optionally migrates issues from another project, and writes all project IDs back to `hatch.json`. All mutations require user confirmation.
187
+ **`hatch3r-board-init`** -- Bootstrap a GitHub Projects V2 board for your repository. Creates a new project or connects to an existing one, configures status fields with five default columns, creates the full hatch3r label taxonomy (type, executor, status, priority, risk, meta), prompts for default branch (main/master), optionally migrates issues from another project, and writes all project IDs back to `hatch.json`. All mutations require user confirmation.
188
+
189
+ **`hatch3r-board-fill`** -- Parse `todo.md` and create GitHub epics and issues with full board reorganization. Deduplicates against existing issues, classifies each item by type/executor/priority/area/risk, groups into epics, builds a dependency graph, determines implementation order, identifies parallel work lanes, and marks issues as `status:ready` when all readiness criteria are met. Reads project documentation and codebase context to produce well-scoped issues.
190
+
191
+ **`hatch3r-board-groom`** -- Ongoing backlog refinement for existing board items. Scans all open issues, surfaces health-driven refinement suggestions (stale items, priority imbalances, missing metadata, decomposition candidates, duplicates), and lets you selectively apply grooming actions: re-prioritize, reclassify, re-scope, demote to triage, archive stale items, decompose oversized issues, merge duplicates, refresh dependencies, and remediate board health gaps. Complements `hatch3r-board-fill` (which ingests new work) and `hatch3r-board-refresh` (which is read-only).
161
192
 
162
- **board-fill** -- Parse `todo.md` and create GitHub epics and issues with full board reorganization. Deduplicates against existing issues, classifies each item by type/executor/priority/area/risk, groups into epics, builds a dependency graph, determines implementation order, identifies parallel work lanes, and marks issues as `status:ready` when all readiness criteria are met. Reads project documentation and codebase context to produce well-scoped issues.
193
+ **`hatch3r-board-pickup`** -- Pick up the next best issue from the board for development. Auto-selects based on dependency order and priority when no specific issue is referenced. Performs collision detection against in-progress work, creates a branch, marks the issue in-progress, runs adaptive deep context analysis (complexity scoring, requirements elicitation, similar implementation discovery, transitive dependency tracing), delegates to the appropriate implementation skill with convention lock, and creates a pull request with label transitions and Projects V2 status sync.
163
194
 
164
- **board-pickup** -- Pick up the next best issue from the board for development. Auto-selects based on dependency order and priority when no specific issue is referenced. Performs collision detection against in-progress work, creates a branch, marks the issue in-progress, delegates to the appropriate implementation skill (or spawns parallel sub-agents for epics), runs quality checks, and creates a pull request with label transitions and Projects V2 status sync.
195
+ **`hatch3r-board-refresh`** -- Regenerate the living board overview dashboard on demand. Scans all open and recently closed issues, computes board health metrics (missing metadata, stale issues, blocked dependency chains), assigns recommended models using the quality-first heuristic, and updates the `meta:board-overview` issue with current status tables, epic progress, and health diagnostics. No user prompts required.
165
196
 
166
- **board-refresh** -- Regenerate the living board overview dashboard on demand. Scans all open and recently closed issues, computes board health metrics (missing metadata, stale issues, blocked dependency chains), assigns recommended models using the quality-first heuristic, and updates the `meta:board-overview` issue with current status tables, epic progress, and health diagnostics. No user prompts required.
197
+ **`hatch3r-board-shared`** -- Shared context and procedures referenced by all board commands. Provides board configuration from `hatch.json`, GitHub context, Projects V2 sync procedure, label taxonomy, tooling directives, and token-saving guidelines. Not invoked directly.
167
198
 
168
- **board-shared** -- Shared context and procedures referenced by all board commands. Provides board configuration from `hatch.json`, GitHub context, Projects V2 sync procedure, label taxonomy, tooling directives, and token-saving guidelines. Not invoked directly.
199
+ **`hatch3r-healthcheck`** -- Create a full-product QA and testing audit epic. Discovers logical modules from the project's directory structure, creates a parent epic with one sub-issue per module plus cross-cutting audits for inter-module wiring and product vision alignment. Each audit sub-issue, when picked up via `hatch3r-board-pickup`, performs deep static analysis and produces a findings epic with actionable sub-issues.
169
200
 
170
- **healthcheck** -- Create a full-product QA and testing audit epic. Discovers logical modules from the project's directory structure, creates a parent epic with one sub-issue per module plus cross-cutting audits for inter-module wiring and product vision alignment. Each audit sub-issue, when picked up via board-pickup, performs deep static analysis and produces a findings epic with actionable sub-issues.
201
+ **`hatch3r-security-audit`** -- Create a full-product security audit epic. Discovers logical modules from the project's directory structure, creates a parent epic with one sub-issue per module plus cross-cutting audits for trust boundaries and OWASP Top 10 alignment. Each module sub-issue audits 7 security domains (authentication, input validation, data protection, access control, secret management, error handling, API security) and produces a findings epic with severity-rated, actionable sub-issues.
171
202
 
172
- **security-audit** -- Create a full-product security audit epic. Discovers logical modules from the project's directory structure, creates a parent epic with one sub-issue per module plus cross-cutting audits for trust boundaries and OWASP Top 10 alignment. Each module sub-issue audits 7 security domains (authentication, input validation, data protection, access control, secret management, error handling, API security) and produces a findings epic with severity-rated, actionable sub-issues.
203
+ **`hatch3r-dep-audit`** -- Scan, assess, and upgrade npm dependencies. Runs `npm audit` and `npm outdated` across root and workspace packages, categorizes findings by severity (CVEs, major/minor/patch outdated), researches migration paths via Context7 and web search, upgrades packages one at a time with testing after each, and creates tracking issues for any unaddressed items.
173
204
 
174
- **dep-audit** -- Scan, assess, and upgrade npm dependencies. Runs `npm audit` and `npm outdated` across root and workspace packages, categorizes findings by severity (CVEs, major/minor/patch outdated), researches migration paths via Context7 and web search, upgrades packages one at a time with testing after each, and creates tracking issues for any unaddressed items.
205
+ **`hatch3r-release`** -- Cut a versioned release with changelog. Determines the semantic version bump from merged PR classifications, generates a grouped changelog (features, fixes, refactors, docs, infra), runs quality verification, bumps `package.json`, creates a git tag, publishes a GitHub release with notes, and optionally verifies deployment.
175
206
 
176
- **release** -- Cut a versioned release with changelog. Determines the semantic version bump from merged PR classifications, generates a grouped changelog (features, fixes, refactors, docs, infra), runs quality verification, bumps `package.json`, creates a git tag, publishes a GitHub release with notes, and optionally verifies deployment.
207
+ **`hatch3r-project-spec`** -- Generate complete project documentation from a project vision using parallel researcher sub-agents (stack, features, architecture, pitfalls, UX, business model & market, production & scale). Produces `docs/specs/`, `docs/adr/`, and `todo.md`. Works for any project type -- web apps, APIs, CLIs, libraries, or monorepos.
177
208
 
178
- **project-spec** -- Generate complete project documentation from a project vision using parallel researcher sub-agents (stack, features, architecture, pitfalls, UX, business model & market, production & scale). Produces `docs/specs/`, `docs/adr/`, and `todo.md`. Works for any project type -- web apps, APIs, CLIs, libraries, or monorepos.
209
+ **`hatch3r-api-spec`** -- Generate API specifications from project requirements and existing code. Produces OpenAPI/Swagger specs with endpoint definitions, request/response schemas, authentication, and documentation. Integrates with `hatch3r-project-spec` for greenfield and `hatch3r-codebase-map` for brownfield.
179
210
 
180
- **codebase-map** -- Analyze an existing codebase to reverse-engineer specifications. Spawns parallel analyzer sub-agents to discover modules, dependencies, conventions, and tech debt. Outputs structured documentation to `docs/specs/` and `docs/adr/`.
211
+ **`hatch3r-codebase-map`** -- Analyze an existing codebase to reverse-engineer specifications. Spawns parallel analyzer sub-agents to discover modules, dependencies, conventions, and tech debt. Outputs structured documentation to `docs/specs/` and `docs/adr/`.
181
212
 
182
- **roadmap** -- Generate a phased roadmap from specs or project vision. Breaks work into epics and features with dependency ordering and parallel work lane identification. Outputs to `todo.md` in `board-fill` format, ready for immediate board population.
213
+ **`hatch3r-roadmap`** -- Generate a phased roadmap from specs or project vision. Breaks work into epics and features with dependency ordering and parallel work lane identification. Outputs to `todo.md` in `hatch3r-board-fill` format, ready for immediate board population.
183
214
 
184
- **feature-plan** -- Plan a single feature in depth. Spawns parallel researcher sub-agents (codebase impact, feature design, architecture, risk & pitfalls) to break a feature idea into a detailed spec, ADR(s) when architectural decisions are involved, and structured `todo.md` entries for `board-fill`. Optionally chains directly into `board-fill` to create GitHub issues.
215
+ **`hatch3r-feature-plan`** -- Plan a single feature in depth. Spawns parallel researcher sub-agents (codebase impact, feature design, architecture, risk & pitfalls) to break a feature idea into a detailed spec, ADR(s) when architectural decisions are involved, and structured `todo.md` entries for `hatch3r-board-fill`. Optionally chains directly into `hatch3r-board-fill` to create GitHub issues.
185
216
 
186
- **bug-plan** -- Plan a complex bug investigation. Spawns parallel researcher sub-agents (symptom tracer, root cause investigator, impact assessor, regression researcher) to diagnose ambiguous bugs where the root cause is unknown. Produces an investigation report (`docs/investigations/`) with ranked hypotheses, evidence, and reproduction strategy, plus scoped `todo.md` entries for `board-fill`. Use when reproducing is non-trivial or multiple modules might be involved.
217
+ **`hatch3r-bug-plan`** -- Plan a complex bug investigation. Spawns parallel researcher sub-agents (symptom tracer, root cause investigator, impact assessor, regression researcher) to diagnose ambiguous bugs where the root cause is unknown. Produces an investigation report (`docs/investigations/`) with ranked hypotheses, evidence, and reproduction strategy, plus scoped `todo.md` entries for `hatch3r-board-fill`. Use when reproducing is non-trivial or multiple modules might be involved.
187
218
 
188
- **refactor-plan** -- Plan a refactoring or migration effort. Spawns parallel researcher sub-agents (current state analyzer, strategy designer, impact/risk assessor, migration path planner) to design a phased execution plan. Auto-detects the refactoring dimension (structural, logical, visual, migration, or mixed) and adapts researcher prompts accordingly. Produces a refactoring spec, ADR(s), and phased `todo.md` entries mapped to the appropriate execution skill.
219
+ **`hatch3r-refactor-plan`** -- Plan a refactoring or migration effort. Spawns parallel researcher sub-agents (current state analyzer, strategy designer, impact/risk assessor, migration path planner) to design a phased execution plan. Auto-detects the refactoring dimension (structural, logical, visual, migration, or mixed) and adapts researcher prompts accordingly. Produces a refactoring spec, ADR(s), and phased `todo.md` entries mapped to the appropriate execution skill.
189
220
 
190
- **workflow** -- Guided development lifecycle with 4 phases: Analyze, Plan, Implement, and Review. Includes a quick mode for small tasks that skips unnecessary ceremony. Scale-adaptive -- adjusts depth based on issue complexity and scope.
221
+ **`hatch3r-migration-plan`** -- Plan a database or system migration with backward-compatible schema changes, idempotent migration scripts, rollback plans, data validation, and phased execution strategy. Produces migration specs and `todo.md` entries for `hatch3r-board-fill`.
191
222
 
192
- **hooks** -- Interactive hook management for event-driven agent activation. View, add, remove, and test lifecycle hooks that trigger agents on specific events (e.g., post-commit, pre-push, issue assignment). Supports both local and CI hook targets.
223
+ **`hatch3r-onboard`** -- Interactive project onboarding for new team members and AI agents. Scans the repository to build a contextual overview of project structure, conventions, key modules, and development workflow. Produces a personalized onboarding guide.
193
224
 
194
- **learn** -- Capture learnings from completed issues, code reviews, and architectural decisions into reusable knowledge files. Learnings are indexed by topic and auto-consulted when similar work is encountered in the future.
225
+ **`hatch3r-benchmark`** -- Run and compare benchmark suites for code performance. Captures before/after metrics, detects regressions, and produces structured reports with statistical analysis.
195
226
 
196
- **context-health** -- Monitor conversation context health and detect degradation during long agent sessions. Provides metrics on token usage, context window utilization, and recommendations for when to start a fresh session.
227
+ **`hatch3r-workflow`** -- Guided development lifecycle with 4 phases: Analyze, Plan, Implement, and Review. Includes a quick mode for small tasks that skips unnecessary ceremony. Scale-adaptive -- adjusts depth based on issue complexity and scope.
197
228
 
198
- **cost-tracking** -- Track token usage and estimated costs across agent workflows. Provides per-command and per-agent cost breakdowns with budget alerts.
229
+ **`hatch3r-quick-change`** -- Lightweight command for small, board-free changes (typo fixes, constant tweaks, config updates, small refactors). Parses batch input, applies soft scope guards (5 files / 200 lines threshold), classifies items as trivial (inline) or nontrivial (implementer sub-agent), runs quality checks, and optionally delegates a light review. Supports batching multiple small changes into a single commit. Sits alongside `hatch3r-workflow` as a lower-ceremony alternative.
199
230
 
200
- **recipe** -- Create and manage composable workflow recipes. Recipes are reusable workflow templates that chain multiple commands and skills into repeatable sequences.
231
+ **`hatch3r-revision`** -- User-guided revision of agent-implemented code in a fresh context window. Reconstructs what was done from the git diff, interviews the user for structured feedback, proactively scans for agent leftovers (dead code, TODOs, type issues), delegates fixes to specialist sub-agents (implementer, lint-fixer, test-writer), runs quality checks, commits and pushes, and assesses merge readiness. Designed for the feedback loop between implementation and merge.
201
232
 
202
- **agent-customize** -- Configure per-agent customization via `.customize.yaml` files. Allows project-specific agent behavior overrides without modifying managed agent definitions.
233
+ **`hatch3r-debug`** -- Standalone debug-and-fix command. Adds strategic debug logging (`[HATCH3R-DEBUG]` prefixed) to the affected code area, pauses for the user to reproduce the issue and provide runtime logs, performs root cause analysis from the collected evidence, implements the fix, removes all debug artifacts, and runs the full review-fix-test-security pipeline. Five stages: Gather Context, Add Debug Logging, Collect Logs, Root Cause Analysis, Implement Fix. No board integration required.
203
234
 
204
- **command-customize** -- Configure per-command customization via `.customize.yaml` files. Allows project-specific command behavior overrides without modifying managed command definitions.
235
+ **`hatch3r-hooks`** -- Interactive hook management for event-driven agent activation. View, add, remove, and test lifecycle hooks that trigger agents on specific events (e.g., post-commit, pre-push, issue assignment). Supports both local and CI hook targets.
205
236
 
206
- **skill-customize** -- Configure per-skill customization via `.customize.yaml` files. Allows project-specific skill behavior overrides without modifying managed skill definitions.
237
+ **`hatch3r-learn`** -- Capture learnings from completed issues, code reviews, and architectural decisions into reusable knowledge files. Learnings are indexed by topic and auto-consulted when similar work is encountered in the future.
207
238
 
208
- **rule-customize** -- Configure per-rule customization via `.customize.yaml` files. Allows project-specific rule behavior overrides without modifying managed rule definitions.
239
+ **`hatch3r-context-health`** -- Monitor conversation context health and detect degradation during long agent sessions. Provides metrics on token usage, context window utilization, and recommendations for when to start a fresh session.
240
+
241
+ **`hatch3r-cost-tracking`** -- Track token usage and estimated costs across agent workflows. Provides per-command and per-agent cost breakdowns with budget alerts.
242
+
243
+ **`hatch3r-recipe`** -- Create and manage composable workflow recipes. Recipes are reusable workflow templates that chain multiple commands and skills into repeatable sequences.
244
+
245
+ **`hatch3r-agent-customize`** -- Configure per-agent customization via `.customize.yaml` files. Allows project-specific agent behavior overrides without modifying managed agent definitions.
246
+
247
+ **`hatch3r-command-customize`** -- Configure per-command customization via `.customize.yaml` files. Allows project-specific command behavior overrides without modifying managed command definitions.
248
+
249
+ **`hatch3r-skill-customize`** -- Configure per-skill customization via `.customize.yaml` files. Allows project-specific skill behavior overrides without modifying managed skill definitions.
250
+
251
+ **`hatch3r-rule-customize`** -- Configure per-rule customization via `.customize.yaml` files. Allows project-specific rule behavior overrides without modifying managed rule definitions.
209
252
 
210
253
  ## Agents
211
254
 
212
255
  | Agent | Description |
213
256
  |-------|-------------|
214
257
  | **a11y-auditor** | Accessibility specialist who audits WCAG AA compliance -- keyboard navigation, color contrast, ARIA attributes, and reduced motion support. |
258
+ | **architect** | Architecture design and review specialist who evaluates system structure, proposes improvements, and produces ADRs. |
215
259
  | **ci-watcher** | CI/CD specialist who monitors GitHub Actions runs, reads failure logs to identify root causes, and suggests focused fixes with local verification commands. |
260
+ | **context-rules** | Dynamic context rule generation agent that creates and maintains context-aware rules based on project patterns and conventions. |
216
261
  | **dependency-auditor** | Supply chain security analyst who scans for CVEs, evaluates upgrade paths, assesses bundle size impact, and verifies lockfile integrity. |
262
+ | **devops** | CI/CD and deployment operations specialist who manages build pipelines, infrastructure configuration, and deployment workflows. |
217
263
  | **docs-writer** | Technical writer who maintains specs, ADRs, glossary, and process documentation, keeping them in sync with code changes. |
218
264
  | **implementer** | Focused implementation agent for a single sub-issue. Receives issue context from a parent orchestrator, delivers code and tests, and reports structured results. Does not handle git or board operations. |
265
+ | **learnings-loader** | Load and apply project learnings from the knowledge base to provide relevant context for current development tasks. |
219
266
  | **lint-fixer** | Code quality enforcer who fixes ESLint, Prettier, and TypeScript strict mode violations without changing logic. Removes dead code and unused imports. |
220
267
  | **perf-profiler** | Performance engineer who profiles runtime performance, analyzes bundle size, identifies memory leaks, and benchmarks against defined performance budgets. |
221
268
  | **researcher** | Research specialist who performs deep investigation on assigned topics using parallel analysis. Used as a sub-agent by planning commands (project-spec, feature-plan, bug-plan, refactor-plan). |
222
269
  | **reviewer** | Senior code reviewer who checks for correctness, security, privacy invariants, performance regressions, and accessibility. Outputs structured feedback by priority (critical, warning, suggestion). |
270
+ | **fixer** | Targeted fix agent that takes structured reviewer output (Critical and Warning findings) and implements minimal, focused fixes. Operates in the review loop between reviewer iterations. |
223
271
  | **security-auditor** | Security analyst who audits database rules, cloud functions, and data flows. Verifies privacy invariants, writes security rules tests, and validates entitlement enforcement. |
224
272
  | **test-writer** | QA engineer who writes deterministic, isolated tests -- unit, integration, E2E, security rules, and contract tests. Focuses on edge cases and regression coverage. |
225
273
 
@@ -229,8 +277,10 @@ These commands are invoked inside your coding tool (e.g., as Cursor commands):
229
277
  |-------|-------------|
230
278
  | **a11y-audit** | Comprehensive WCAG AA audit with automated scanning, manual verification, and fix implementation. |
231
279
  | **agent-customize** | Configure per-agent customization via `.customize.yaml` files. |
280
+ | **api-spec** | API specification generation from project requirements, producing OpenAPI/Swagger specs with endpoint definitions, schemas, and documentation. |
232
281
  | **architecture-review** | Evaluate architectural decisions, compare options with pros/cons, and produce ADRs following the project template. |
233
282
  | **bug-fix** | Diagnose root cause, implement minimal fix, and write a regression test that fails before the fix. TDD/test-first workflow option. |
283
+ | **ci-pipeline** | CI/CD pipeline setup and configuration for GitHub Actions, including build, test, lint, and deploy workflows. |
234
284
  | **command-customize** | Configure per-command customization via `.customize.yaml` files. |
235
285
  | **context-health** | Monitor conversation context health and detect degradation during long sessions. |
236
286
  | **cost-tracking** | Track token usage and estimated costs across agent workflows. |
@@ -240,6 +290,7 @@ These commands are invoked inside your coding tool (e.g., as Cursor commands):
240
290
  | **incident-response** | Structured triage, mitigation, root cause analysis, and post-mortem for production incidents with follow-up issues. |
241
291
  | **issue-workflow** | 8-step development workflow for GitHub issues: parse, load skill, read specs, plan, implement, test, PR, address review. |
242
292
  | **logical-refactor** | Change business logic or data flows without adding features, with explicit invariant tracking and verification. |
293
+ | **migration** | Database and system migration planning with backward-compatible schema changes, rollback plans, and phased execution. |
243
294
  | **perf-audit** | Profile and optimize against defined performance budgets with before/after measurements for every change. |
244
295
  | **pr-creation** | Create pull requests following project conventions -- branch naming, PR template, self-review checklist, and size guidelines. |
245
296
  | **qa-validation** | E2E validation workflow producing structured pass/fail reports with evidence and ship/hold recommendations. |
@@ -254,13 +305,16 @@ These commands are invoked inside your coding tool (e.g., as Cursor commands):
254
305
 
255
306
  | Rule | Description |
256
307
  |------|-------------|
308
+ | **accessibility-standards** | WCAG AA compliance, ARIA, focus management, color contrast, keyboard and screen reader support, and inclusive design. |
257
309
  | **agent-orchestration** | Agent delegation patterns, sub-agent spawning conventions, result aggregation, and multi-agent coordination protocols. |
258
310
  | **api-design** | Endpoint versioning, request validation, idempotency keys, structured error responses, auth, CORS, CSP, pagination, and webhook security. |
259
311
  | **browser-verification** | When and how to verify UI changes in the browser via automation MCP — dev server lifecycle, navigation, interaction, visual regression, screenshot evidence. |
312
+ | **ci-cd** | CI/CD pipeline standards, build caching, artifact management, deployment gates, and rollback procedures. |
260
313
  | **code-standards** | TypeScript strict mode, naming conventions (`camelCase`/`PascalCase`/`SCREAMING_SNAKE`), and function/file length limits. |
261
314
  | **component-conventions** | Component structure, typed props/emits, design tokens, WCAG AA accessibility, loading/error/empty states, form UX, and 60fps render targets. |
315
+ | **data-classification** | Data sensitivity levels, PII handling, encryption requirements, retention policies, and cross-border compliance. |
316
+ | **deep-context** | Deep context retrieval, codebase understanding, and efficient context management for AI agents. |
262
317
  | **dependency-management** | Lockfile hygiene, new-dependency justification, CVE patching timelines (48h for critical), and bundle size budgets. |
263
- | **error-handling** | Structured error hierarchy, typed error codes, exponential backoff for retries, and correlation IDs for tracing. |
264
318
  | **feature-flags** | Flag naming (`FF_AREA_FEATURE`), storage, evaluation, gradual rollout, dependencies, kill switches, 30-day cleanup deadlines, and audit. |
265
319
  | **git-conventions** | Git workflow, branch naming, commit message conventions, and merge strategy. |
266
320
  | **i18n** | Internationalization, RTL support, locale management, and ICU message format. |
@@ -268,6 +322,7 @@ These commands are invoked inside your coding tool (e.g., as Cursor commands):
268
322
  | **migrations** | Backward-compatible schema changes, idempotent scripts, rollback plans, and deploy-then-migrate ordering. |
269
323
  | **observability** | Structured JSON logging, OpenTelemetry, SLO/SLI, distributed tracing, alerting, dashboards, and no PII in logs. |
270
324
  | **performance-budgets** | Core Web Vitals, API latency, database query budgets, bundle size, and enforcement mechanisms. |
325
+ | **secrets-management** | Secret rotation, vault integration, environment variable handling, and credential lifecycle management. |
271
326
  | **security-patterns** | Input validation, output encoding, auth enforcement, AI/agentic security, and OWASP alignment. |
272
327
  | **testing** | Deterministic, isolated, fast tests with clear naming, regression coverage, no network in unit tests, no `any`. |
273
328
  | **theming** | Dark mode, `prefers-color-scheme`, CSS custom properties, and semantic color tokens. |
@@ -275,13 +330,14 @@ These commands are invoked inside your coding tool (e.g., as Cursor commands):
275
330
 
276
331
  ## Board Management
277
332
 
278
- hatch3r includes a complete board management system for GitHub-based workflows:
333
+ hatch3r includes a complete board management system supporting GitHub, Azure DevOps, and GitLab:
279
334
 
280
- - **board-init** -- Create or connect a GitHub Projects V2 board with status fields, label taxonomy, and optional migration
281
- - **board-fill** -- Parse `todo.md`, create epics/issues, deduplicate, analyze dependencies, set implementation order
282
- - **board-pickup** -- Auto-pick the next best issue, check collisions, delegate to sub-agents, create PRs
283
- - **board-refresh** -- Regenerate the board overview dashboard with current state, health metrics, and model recommendations
284
- - **board-shared** -- Configurable shared context (org, repo, project board IDs, label taxonomy)
335
+ - **`hatch3r-board-init`** -- Create or connect a GitHub Projects V2 board with status fields, label taxonomy, and optional migration
336
+ - **`hatch3r-board-fill`** -- Parse `todo.md`, create epics/issues, deduplicate, analyze dependencies, set implementation order
337
+ - **`hatch3r-board-groom`** -- Ongoing backlog refinement: re-prioritize, reclassify, re-scope, archive stale items, decompose, merge duplicates, refresh dependencies
338
+ - **`hatch3r-board-pickup`** -- Auto-pick the next best issue, check collisions, delegate to sub-agents, create PRs
339
+ - **`hatch3r-board-refresh`** -- Regenerate the board overview dashboard with current state, health metrics, and model recommendations
340
+ - **`hatch3r-board-shared`** -- Configurable shared context (org, repo, project board IDs, label taxonomy)
285
341
 
286
342
  Configure your board in `hatch.json`:
287
343
 
@@ -312,7 +368,9 @@ See [docs/model-selection.md](docs/model-selection.md) for the full guide, alias
312
368
 
313
369
  hatch3r includes a proven sub-agentic delegation system:
314
370
 
371
+ - **Four-phase pipeline** -- Research → Implement → Review Loop (reviewer + fixer, max 3 iterations) → Final Quality (testing + security)
315
372
  - **Implementer agent** -- Receives a single sub-issue, delivers code + tests, reports back
373
+ - **Fixer agent** -- Takes reviewer findings and implements targeted fixes in the review loop
316
374
  - **Issue workflow skill** -- 8-step structured workflow with parallel sub-agent delegation for epics
317
375
  - **Board pickup** -- Dependency-aware auto-pick with collision detection and sub-agent orchestration
318
376
  - **Tooling hierarchy** -- Project docs > Codebase search > Library docs (Context7) > Web research
@@ -397,12 +455,11 @@ hatch3r uses a naming convention to separate managed from custom files:
397
455
  - `hatch3r-*` files are managed by hatch3r
398
456
  - Files without the prefix are your customizations and are never touched
399
457
 
400
- **All hatch3r-generated markdown files** (rules, agents, skills, commands, bridge files, shared instruction files like `AGENTS.md`, `CLAUDE.md`, `.windsurfrules`) use managed blocks. Only the content between `<!-- HATCH3R:BEGIN -->` and `<!-- HATCH3R:END -->` is updated on `hatch3r sync` or `hatch3r update`. Content you add outside these markers is preserved. Config files (JSON, TOML, YAML) are fully regenerated.
458
+ **All hatch3r-generated markdown files** (rules, agents, skills, commands, bridge files, shared instruction files like `AGENTS.md`, `CLAUDE.md`, `.windsurfrules`) use managed blocks. Bridge files are emitted by 11 adapters: Cursor, Claude, Copilot, Cline, Codex, Gemini, Windsurf, Amp, OpenCode, Aider, Kiro. Only the content between `<!-- HATCH3R:BEGIN -->` and `<!-- HATCH3R:END -->` is updated on `hatch3r sync` or `hatch3r update`. Content you add outside these markers is preserved. Config files (JSON, TOML, YAML) are fully regenerated.
401
459
 
402
460
  ```
403
461
  .cursor/rules/
404
462
  hatch3r-code-standards.mdc # Managed — add custom content outside the block
405
- hatch3r-error-handling.mdc # Managed — add custom content outside the block
406
463
  my-project-conventions.mdc # Custom — never touched
407
464
  ```
408
465
 
@@ -427,10 +484,15 @@ Community pack support is coming soon.
427
484
 
428
485
  ## Documentation
429
486
 
487
+ Full documentation is available in the [Docusaurus docs site](docs-site/) (`cd docs-site && npm start`).
488
+
430
489
  - [MCP Setup](docs/mcp-setup.md) — Connecting MCP servers and managing secrets
431
490
  - [Adapter Capability Matrix](docs/adapter-capability-matrix.md) — Per-tool support and output paths
491
+ - [Agent Teams](docs/agent-teams.md) — Multi-agent team coordination and delegation patterns
432
492
  - [Model Selection](docs/model-selection.md) — Configuring AI models per agent
493
+ - [Agentic Process](docs/agentic-process.md) — Visual diagrams of init flow, board workflow, and agent orchestration
433
494
  - [Troubleshooting](docs/troubleshooting.md) — Common issues and solutions
495
+ - [Changelog](CHANGELOG.md) — Release history
434
496
 
435
497
  ## License
436
498
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: hatch3r-a11y-auditor
3
3
  description: Accessibility specialist who audits for WCAG AA compliance. Use when auditing accessibility, reviewing UI components, or fixing a11y issues.
4
- model: sonnet
4
+ model: standard
5
5
  ---
6
6
  You are an accessibility specialist for the project.
7
7
 
@@ -53,7 +53,22 @@ Browser verification provides ground-truth confirmation that cannot be achieved
53
53
 
54
54
  ## External Knowledge
55
55
 
56
- Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Prefer `gh` CLI over GitHub MCP tools.
56
+ Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
57
+ - **GitHub:** `gh` CLI
58
+ - **Azure DevOps:** `az devops` / `az boards` / `az repos` CLI
59
+ - **GitLab:** `glab` CLI
60
+
61
+ ## Context7 MCP Usage
62
+
63
+ - Use `resolve-library-id` then `query-docs` to look up correct ARIA patterns and component accessibility APIs for the project's UI framework (e.g., React ARIA, Radix UI, Headless UI, Vuetify a11y props).
64
+ - Verify that components use the correct accessibility attributes by checking the framework's current documentation rather than relying on potentially outdated training data.
65
+ - Look up accessibility testing library APIs (axe-core, jest-axe, Playwright accessibility snapshots) for audit automation.
66
+
67
+ ## Web Research Usage
68
+
69
+ - Use web search for current WCAG success criteria interpretation and techniques when auditing specific patterns (e.g., combobox, carousel, data table, drag-and-drop).
70
+ - Use web search for WAI-ARIA Authoring Practices and design pattern guidance for complex interactive components.
71
+ - Use web search for screen reader compatibility notes across assistive technologies (NVDA, JAWS, VoiceOver) when findings involve cross-AT support.
57
72
 
58
73
  ## Sub-Agent Delegation
59
74
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: hatch3r-architect
3
3
  description: System architect who designs architecture, creates ADRs, analyzes dependencies, designs APIs and database schemas, and evaluates architectural trade-offs. Use when making architectural decisions, designing new systems, or evaluating design trade-offs.
4
+ model: standard
4
5
  ---
5
6
  You are a senior system architect for the project.
6
7
 
@@ -35,6 +36,8 @@ You are a senior system architect for the project.
35
36
  - Design data models with migration paths from the current schema.
36
37
  - Specify API contracts with request/response shapes, error codes, and pagination.
37
38
  - Address cross-cutting concerns: auth, logging, error handling, caching, rate limiting.
39
+ - Use Context7 MCP (`resolve-library-id` then `query-docs`) to verify API capabilities and constraints of frameworks, databases, and infrastructure libraries involved in the design.
40
+ - Use web research for architecture pattern comparisons, scalability benchmarks, and technology evaluation when making trade-off decisions.
38
41
 
39
42
  ### 3. Evaluate Trade-Offs
40
43
 
@@ -80,7 +83,22 @@ For decisions that warrant long-term documentation:
80
83
 
81
84
  ## External Knowledge
82
85
 
83
- Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Prefer `gh` CLI over GitHub MCP tools.
86
+ Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
87
+ - **GitHub:** `gh` CLI
88
+ - **Azure DevOps:** `az devops` / `az boards` / `az repos` CLI
89
+ - **GitLab:** `glab` CLI
90
+
91
+ ## Context7 MCP Usage
92
+
93
+ - Use `resolve-library-id` then `query-docs` to look up current API surfaces for frameworks, ORMs, message brokers, and infrastructure libraries involved in architectural decisions.
94
+ - Verify API contract assumptions (e.g., database driver connection pooling, cache client TTL semantics, queue library acknowledgement modes) before recommending architecture.
95
+ - Prefer Context7 over guessing API capabilities or relying on potentially outdated training data when evaluating technology trade-offs.
96
+
97
+ ## Web Research Usage
98
+
99
+ - Use web search for architecture pattern references, scalability case studies, and performance benchmarks when evaluating trade-offs between alternatives.
100
+ - Use web search for current best practices and known pitfalls for specific technology choices (e.g., Redis vs Memcached for session storage, WebSocket vs SSE for real-time).
101
+ - Use web search for cloud service limits, pricing models, and SLA guarantees when infrastructure decisions affect the architecture.
84
102
 
85
103
  ## Output Format
86
104
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: hatch3r-ci-watcher
3
- description: CI/CD specialist who monitors GitHub Actions runs, diagnoses failures, and suggests fixes. Use when CI fails, when waiting for CI results, or when investigating flaky tests.
4
- model: haiku
3
+ description: CI/CD specialist who monitors CI pipeline runs, diagnoses failures, and suggests fixes. Use when CI fails, when waiting for CI results, or when investigating flaky tests.
4
+ model: fast
5
5
  ---
6
6
  You are a CI/CD specialist for the project.
7
7
 
@@ -15,8 +15,11 @@ You are a CI/CD specialist for the project.
15
15
 
16
16
  ## Key Files
17
17
 
18
- - `.github/workflows/ci.yml` — Main CI pipeline
19
- - `.github/workflows/deploy-*.yml` — Deployment workflows
18
+ Identify CI pipeline files based on the project's configured platform (check `platform` in `.agents/hatch.json`):
19
+
20
+ - **GitHub:** `.github/workflows/ci.yml`, `.github/workflows/deploy-*.yml`
21
+ - **Azure DevOps:** `azure-pipelines.yml`, `.azuredevops/pipelines/`
22
+ - **GitLab:** `.gitlab-ci.yml`
20
23
 
21
24
  ## CI Jobs to Know
22
25
 
@@ -32,9 +35,14 @@ Adapt to project CI. Common jobs:
32
35
 
33
36
  ## Commands
34
37
 
35
- - `gh run list` List recent workflow runs
36
- - `gh run view <run-id>` — View run details and logs
37
- - `gh run watch` Watch run in progress
38
+ Use the platform CLI to interact with CI runs (check `platform` in `.agents/hatch.json`):
39
+
40
+ | Action | GitHub | Azure DevOps | GitLab |
41
+ |--------|--------|--------------|--------|
42
+ | List runs | `gh run list` | `az pipelines run list` | `glab ci list` |
43
+ | View run | `gh run view <run-id>` | `az pipelines run show --id <run-id>` | `glab ci view <pipeline-id>` |
44
+ | Watch run | `gh run watch` | `az pipelines run show --id <run-id> --open` | `glab ci trace` |
45
+
38
46
  - Run lint locally to reproduce failures
39
47
  - Run lint:fix to auto-fix lint issues
40
48
  - Run typecheck to reproduce type errors
@@ -52,7 +60,21 @@ Adapt to project CI. Common jobs:
52
60
 
53
61
  ## External Knowledge
54
62
 
55
- Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Prefer `gh` CLI over GitHub MCP tools.
63
+ Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
64
+ - **GitHub:** `gh` CLI
65
+ - **Azure DevOps:** `az devops` / `az pipelines` CLI
66
+ - **GitLab:** `glab` CLI
67
+
68
+ ## Context7 MCP Usage
69
+
70
+ - Use `resolve-library-id` then `query-docs` to look up CI action/task documentation when failures involve misconfigured actions or outdated action APIs.
71
+ - Look up testing framework and build tool docs via Context7 to understand failure messages originating from tool configuration issues (e.g., Vitest config options, TypeScript compiler flags, bundler settings).
72
+
73
+ ## Web Research Usage
74
+
75
+ - Use web search for error messages that are unfamiliar or not found in local logs — CI-specific errors often have known solutions in issue trackers and forums.
76
+ - Use web search for changelogs and breaking changes when a CI failure coincides with a dependency or action version update.
77
+ - Use web search for known CI platform issues (e.g., GitHub Actions runner outages, Azure Pipelines agent pool problems) when failures appear infrastructure-related rather than code-related.
56
78
 
57
79
  ## Output Format
58
80
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: hatch3r-context-rules
3
3
  description: Context-aware rules engine that applies coding standards based on file type, location, and project conventions. Use when enforcing project rules on save or reviewing files against established patterns.
4
- model: haiku
4
+ model: fast
5
5
  ---
6
6
  You are a context-aware rules engine for the project.
7
7
 
@@ -36,7 +36,18 @@ Adapt to the project's actual directory structure and rule definitions.
36
36
 
37
37
  ## External Knowledge
38
38
 
39
- Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Prefer `gh` CLI over GitHub MCP tools.
39
+ Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
40
+ - **GitHub:** `gh` CLI
41
+ - **Azure DevOps:** `az devops` / `az boards` / `az repos` CLI
42
+ - **GitLab:** `glab` CLI
43
+
44
+ ## Context7 MCP Usage
45
+
46
+ - Use `resolve-library-id` then `query-docs` to verify framework convention accuracy when rules reference specific library patterns (e.g., React hook rules, Vue composition API patterns, Angular module conventions).
47
+
48
+ ## Web Research Usage
49
+
50
+ - Use web search for current coding standard updates when rules reference evolving standards (e.g., updated ESLint recommended configs, new TypeScript strict mode behaviors).
40
51
 
41
52
  ## Output Format
42
53