hatch3r 1.0.0 → 1.2.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.
- package/README.md +93 -322
- package/agents/hatch3r-a11y-auditor.md +24 -6
- package/agents/hatch3r-architect.md +20 -1
- package/agents/hatch3r-ci-watcher.md +31 -8
- package/agents/hatch3r-context-rules.md +14 -2
- package/agents/hatch3r-dependency-auditor.md +21 -5
- package/agents/hatch3r-devops.md +37 -6
- package/agents/hatch3r-docs-writer.md +19 -3
- package/agents/hatch3r-fixer.md +171 -0
- package/agents/hatch3r-implementer.md +84 -11
- package/agents/hatch3r-learnings-loader.md +69 -13
- package/agents/hatch3r-lint-fixer.md +19 -14
- package/agents/hatch3r-perf-profiler.md +18 -1
- package/agents/hatch3r-researcher.md +440 -5
- package/agents/hatch3r-reviewer.md +97 -5
- package/agents/hatch3r-security-auditor.md +23 -5
- package/agents/hatch3r-test-writer.md +21 -10
- package/checks/README.md +49 -0
- package/checks/code-quality.md +49 -0
- package/checks/performance.md +58 -0
- package/checks/security.md +58 -0
- package/checks/testing.md +53 -0
- package/commands/board/pickup-azure-devops.md +81 -0
- package/commands/board/pickup-delegation-multi.md +197 -0
- package/commands/board/pickup-delegation.md +100 -0
- package/commands/board/pickup-github.md +82 -0
- package/commands/board/pickup-gitlab.md +81 -0
- package/commands/board/pickup-modes.md +143 -0
- package/commands/board/pickup-post-impl.md +120 -0
- package/commands/board/shared-azure-devops.md +149 -0
- package/commands/board/shared-board-overview.md +215 -0
- package/commands/board/shared-github.md +169 -0
- package/commands/board/shared-gitlab.md +142 -0
- package/commands/hatch3r-agent-customize.md +40 -2
- package/commands/hatch3r-api-spec.md +294 -32
- package/commands/hatch3r-benchmark.md +386 -32
- package/commands/hatch3r-board-fill.md +161 -25
- package/commands/hatch3r-board-groom.md +595 -0
- package/commands/hatch3r-board-init.md +203 -46
- package/commands/hatch3r-board-pickup.md +79 -457
- package/commands/hatch3r-board-refresh.md +98 -27
- package/commands/hatch3r-board-shared.md +87 -238
- package/commands/hatch3r-bug-plan.md +16 -3
- package/commands/hatch3r-codebase-map.md +43 -10
- package/commands/hatch3r-command-customize.md +6 -0
- package/commands/hatch3r-context-health.md +5 -0
- package/commands/hatch3r-cost-tracking.md +5 -0
- package/commands/hatch3r-debug.md +426 -0
- package/commands/hatch3r-dep-audit.md +7 -1
- package/commands/hatch3r-feature-plan.md +74 -12
- package/commands/hatch3r-healthcheck.md +17 -1
- package/commands/hatch3r-hooks.md +16 -10
- package/commands/hatch3r-learn.md +15 -9
- package/commands/hatch3r-migration-plan.md +333 -33
- package/commands/hatch3r-onboard.md +327 -38
- package/commands/hatch3r-project-spec.md +46 -10
- package/commands/hatch3r-quick-change.md +336 -0
- package/commands/hatch3r-recipe.md +6 -0
- package/commands/hatch3r-refactor-plan.md +29 -13
- package/commands/hatch3r-release.md +13 -3
- package/commands/hatch3r-revision.md +395 -0
- package/commands/hatch3r-roadmap.md +18 -3
- package/commands/hatch3r-rule-customize.md +6 -0
- package/commands/hatch3r-security-audit.md +17 -1
- package/commands/hatch3r-skill-customize.md +6 -0
- package/commands/hatch3r-test-plan.md +532 -0
- package/commands/hatch3r-workflow.md +113 -38
- package/dist/cli/index.js +5184 -2593
- package/dist/cli/index.js.map +1 -0
- package/github-agents/hatch3r-docs-agent.md +1 -0
- package/github-agents/hatch3r-lint-agent.md +1 -0
- package/github-agents/hatch3r-security-agent.md +1 -0
- package/github-agents/hatch3r-test-agent.md +1 -0
- package/hooks/hatch3r-ci-failure.md +30 -0
- package/hooks/hatch3r-file-save.md +22 -0
- package/hooks/hatch3r-post-merge.md +23 -0
- package/hooks/hatch3r-pre-commit.md +23 -0
- package/hooks/hatch3r-pre-push.md +22 -0
- package/hooks/hatch3r-session-start.md +22 -0
- package/mcp/mcp.json +22 -3
- package/package.json +4 -7
- package/prompts/hatch3r-bug-triage.md +1 -0
- package/prompts/hatch3r-code-review.md +1 -0
- package/prompts/hatch3r-pr-description.md +1 -0
- package/rules/hatch3r-accessibility-standards.md +1 -0
- package/rules/hatch3r-agent-orchestration.md +326 -53
- package/rules/hatch3r-agent-orchestration.mdc +225 -0
- package/rules/hatch3r-api-design.md +4 -1
- package/rules/hatch3r-browser-verification.md +33 -1
- package/rules/hatch3r-browser-verification.mdc +29 -0
- package/rules/hatch3r-ci-cd.md +5 -1
- package/rules/hatch3r-ci-cd.mdc +4 -1
- package/rules/hatch3r-code-standards.md +18 -0
- package/rules/hatch3r-code-standards.mdc +10 -1
- package/rules/hatch3r-component-conventions.md +4 -1
- package/rules/hatch3r-data-classification.md +1 -0
- package/rules/hatch3r-deep-context.md +94 -0
- package/rules/hatch3r-deep-context.mdc +69 -0
- package/rules/hatch3r-dependency-management.md +13 -0
- package/rules/hatch3r-feature-flags.md +4 -1
- package/rules/hatch3r-git-conventions.md +1 -0
- package/rules/hatch3r-i18n.md +4 -1
- package/rules/hatch3r-learning-consult.md +4 -2
- package/rules/hatch3r-learning-consult.mdc +3 -2
- package/rules/hatch3r-migrations.md +12 -0
- package/rules/hatch3r-observability.md +293 -1
- package/rules/hatch3r-performance-budgets.md +5 -2
- package/rules/hatch3r-performance-budgets.mdc +1 -1
- package/rules/hatch3r-secrets-management.md +11 -3
- package/rules/hatch3r-secrets-management.mdc +10 -3
- package/rules/hatch3r-security-patterns.md +23 -3
- package/rules/hatch3r-security-patterns.mdc +8 -2
- package/rules/hatch3r-testing.md +1 -0
- package/rules/hatch3r-theming.md +4 -1
- package/rules/hatch3r-tooling-hierarchy.md +42 -15
- package/rules/hatch3r-tooling-hierarchy.mdc +27 -4
- package/skills/hatch3r-a11y-audit/SKILL.md +1 -0
- package/skills/hatch3r-agent-customize/SKILL.md +3 -0
- package/skills/hatch3r-api-spec/SKILL.md +1 -0
- package/skills/hatch3r-architecture-review/SKILL.md +6 -2
- package/skills/hatch3r-bug-fix/SKILL.md +4 -1
- package/skills/hatch3r-ci-pipeline/SKILL.md +1 -0
- package/skills/hatch3r-command-customize/SKILL.md +1 -0
- package/skills/hatch3r-context-health/SKILL.md +2 -1
- package/skills/hatch3r-cost-tracking/SKILL.md +1 -0
- package/skills/hatch3r-dep-audit/SKILL.md +6 -2
- package/skills/hatch3r-feature/SKILL.md +9 -2
- package/skills/hatch3r-gh-agentic-workflows/SKILL.md +130 -21
- package/skills/hatch3r-incident-response/SKILL.md +11 -5
- package/skills/hatch3r-issue-workflow/SKILL.md +12 -7
- package/skills/hatch3r-logical-refactor/SKILL.md +1 -0
- package/skills/hatch3r-migration/SKILL.md +1 -0
- package/skills/hatch3r-perf-audit/SKILL.md +2 -1
- package/skills/hatch3r-pr-creation/SKILL.md +20 -10
- package/skills/hatch3r-qa-validation/SKILL.md +2 -1
- package/skills/hatch3r-recipe/SKILL.md +1 -0
- package/skills/hatch3r-refactor/SKILL.md +7 -1
- package/skills/hatch3r-release/SKILL.md +15 -11
- package/skills/hatch3r-rule-customize/SKILL.md +1 -0
- package/skills/hatch3r-skill-customize/SKILL.md +1 -0
- package/skills/hatch3r-visual-refactor/SKILL.md +1 -0
- package/dist/cli/hooks-ZOTFDEA3.js +0 -59
- package/rules/hatch3r-error-handling.md +0 -17
- 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
|
|
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 up to 16 agents, 25 skills, 22 rules, 34 commands, and MCP integrations -- optimized for your coding tool of choice. Selective init installs only what you need based on your project type and team size.
|
|
8
8
|
|
|
9
9
|
## Quick Start
|
|
10
10
|
|
|
@@ -14,60 +14,44 @@ Requires Node.js 22+.
|
|
|
14
14
|
npx hatch3r init
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
That's it. hatch3r detects your repo, asks
|
|
17
|
+
That's it. hatch3r detects your repo, asks about your project context (greenfield/brownfield, solo/team), lets you choose a content profile (minimal/standard/full/custom), and generates everything. The platform (GitHub, Azure DevOps, or GitLab) is auto-detected from your git remote. Run into issues? See [Troubleshooting](https://docs.hatch3r.com/docs/troubleshooting).
|
|
18
18
|
|
|
19
19
|
## What You Get
|
|
20
20
|
|
|
21
21
|
| Category | Count | Highlights |
|
|
22
22
|
|----------|-------|-----------|
|
|
23
|
-
| **Agents** |
|
|
24
|
-
| **Skills** |
|
|
25
|
-
| **Rules** |
|
|
26
|
-
| **Commands** |
|
|
27
|
-
| **MCP Servers** |
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
**Managing secrets**
|
|
51
|
-
|
|
52
|
-
`hatch3r init` creates a `.env.mcp` file at the project root with all required environment variables for your selected MCP servers. This file is gitignored by default. Fill in your API keys:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# .env.mcp (generated by hatch3r init)
|
|
56
|
-
GITHUB_PAT=ghp_xxxx
|
|
57
|
-
BRAVE_API_KEY=xxxx
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
How secrets are loaded depends on your editor:
|
|
61
|
-
|
|
62
|
-
- **VS Code / Copilot**: Secrets load automatically from `.env.mcp` via the native `envFile` field -- no extra steps.
|
|
63
|
-
- **Cursor / Claude Code / others**: Source the file before launching your editor: `set -a && source .env.mcp && set +a && cursor .`
|
|
64
|
-
|
|
65
|
-
See [docs/mcp-setup.md](docs/mcp-setup.md) for full setup, per-server details, and PAT scope guidance.
|
|
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** | 34 | Board management, planning (feature, bug, refactor, test), workflow, quick-change, revision, debug, healthcheck, security-audit, 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 Tools (14 Adapters)
|
|
31
|
+
|
|
32
|
+
| Tool | Output |
|
|
33
|
+
|------|--------|
|
|
34
|
+
| **Cursor** | `.mdc` rules, agents, skills, commands, MCP config |
|
|
35
|
+
| **GitHub Copilot** | instructions, prompts, GitHub agents |
|
|
36
|
+
| **Claude Code** | `CLAUDE.md`, skills, `.mcp.json` |
|
|
37
|
+
| **OpenCode** | `AGENTS.md`, `opencode.json` |
|
|
38
|
+
| **Windsurf** | `.windsurfrules` |
|
|
39
|
+
| **Amp** | `AGENTS.md` |
|
|
40
|
+
| **Codex CLI** | `AGENTS.md`, `codex.md` |
|
|
41
|
+
| **Gemini CLI** | `GEMINI.md` |
|
|
42
|
+
| **Cline / Roo Code** | `.clinerules` |
|
|
43
|
+
| **Aider** | `CONVENTIONS.md` |
|
|
44
|
+
| **Kiro** | `.kiro/steering/`, `.kiro/settings/mcp.json` |
|
|
45
|
+
| **Goose** | `.goosehints` |
|
|
46
|
+
| **Zed** | `.rules` |
|
|
47
|
+
| **Amazon Q** | `.amazonq/rules/`, `.amazonq/settings.json` |
|
|
48
|
+
|
|
49
|
+
Platform is auto-detected from your git remote during `hatch3r init`. All board commands, agents, rules, and skills adapt to your selected platform.
|
|
66
50
|
|
|
67
51
|
## How It Works
|
|
68
52
|
|
|
69
53
|
```
|
|
70
|
-
|
|
54
|
+
.agents/ <- Canonical source (tool-agnostic)
|
|
71
55
|
├── agents/
|
|
72
56
|
├── skills/
|
|
73
57
|
├── rules/
|
|
@@ -83,63 +67,30 @@ CLAUDE.md <- Generated (Claude adapter)
|
|
|
83
67
|
AGENTS.md <- Generated (OpenCode, Amp, Codex adapters)
|
|
84
68
|
GEMINI.md <- Generated (Gemini adapter)
|
|
85
69
|
.clinerules <- Generated (Cline adapter)
|
|
70
|
+
CONVENTIONS.md <- Generated (Aider adapter)
|
|
71
|
+
.kiro/ <- Generated (Kiro adapter)
|
|
72
|
+
.goosehints <- Generated (Goose adapter)
|
|
73
|
+
.rules <- Generated (Zed adapter)
|
|
74
|
+
.amazonq/ <- Generated (Amazon Q adapter)
|
|
75
|
+
.worktreeinclude <- Generated (worktree isolation)
|
|
86
76
|
```
|
|
87
77
|
|
|
88
|
-
hatch3r keeps one source of truth in
|
|
78
|
+
hatch3r keeps one source of truth in `.agents/` and generates native configuration for each tool.
|
|
89
79
|
|
|
90
80
|
## Workflow
|
|
91
81
|
|
|
92
|
-
hatch3r provides a full project lifecycle, from setup to release
|
|
93
|
-
|
|
94
|
-
### 1. Initialize
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
npx hatch3r init
|
|
98
|
-
```
|
|
99
|
-
|
|
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.
|
|
101
|
-
|
|
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`.
|
|
103
|
-
|
|
104
|
-
### For new projects (greenfield)
|
|
105
|
-
|
|
106
|
-
If you're starting from scratch, use `project-spec` to generate documentation from your vision, then `roadmap` to create a phased plan:
|
|
107
|
-
|
|
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
|
|
82
|
+
hatch3r provides a full project lifecycle, from setup to release:
|
|
111
83
|
|
|
112
|
-
|
|
84
|
+
1. **Initialize** -- `npx hatch3r init` detects your repo and platform, asks about context and profile, generates agents/skills/rules/commands/MCP. For headless CI, pass `--yes` with optional flags. See [agentic process diagrams](https://docs.hatch3r.com/docs/guides/agentic-process).
|
|
85
|
+
2. **Set up the board** -- `hatch3r-board-init` creates or connects a Projects V2 board with status fields, label taxonomy, and config writeback.
|
|
86
|
+
3. **Define work** -- Create a `todo.md` at the project root (one item per line).
|
|
87
|
+
4. **Fill the board** -- `hatch3r-board-fill` parses `todo.md`, classifies items, groups into epics, builds a dependency DAG, and marks issues `status:ready`.
|
|
88
|
+
5. **Groom the backlog** -- `hatch3r-board-groom` surfaces stale items, priority imbalances, and decomposition candidates for selective refinement.
|
|
89
|
+
6. **Pick up work** -- `hatch3r-board-pickup` auto-selects the next issue by dependency order and priority, creates a branch, delegates implementation, and opens a PR.
|
|
90
|
+
7. **Review cycle** -- Reviewer + fixer agents loop (max 3 iterations) until clean, then test-writer and security-auditor run final checks.
|
|
91
|
+
8. **Release** -- `hatch3r-release` determines the semver bump, generates a changelog, tags, and publishes.
|
|
113
92
|
|
|
114
|
-
|
|
115
|
-
|
|
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
|
|
119
|
-
|
|
120
|
-
### 2. Set up the board
|
|
121
|
-
|
|
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`.
|
|
123
|
-
|
|
124
|
-
### 3. Define work
|
|
125
|
-
|
|
126
|
-
Create a `todo.md` file at the project root with your planned work -- epics, features, bugs, refactors, anything. One item per line.
|
|
127
|
-
|
|
128
|
-
### 4. Fill the board
|
|
129
|
-
|
|
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.
|
|
131
|
-
|
|
132
|
-
### 5. Pick up work
|
|
133
|
-
|
|
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.
|
|
135
|
-
|
|
136
|
-
### 6. Review cycle
|
|
137
|
-
|
|
138
|
-
The reviewer, test-writer, and security-auditor agents review the work. Address feedback, push fixes, and re-request review.
|
|
139
|
-
|
|
140
|
-
### 7. Release
|
|
141
|
-
|
|
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.
|
|
93
|
+
> **After init:** For greenfield, run `hatch3r-project-spec` then `hatch3r-roadmap`. For brownfield, run `hatch3r-codebase-map`. For a single feature, run `hatch3r-feature-plan`. For small changes, run `hatch3r-quick-change`.
|
|
143
94
|
|
|
144
95
|
## Commands
|
|
145
96
|
|
|
@@ -147,143 +98,44 @@ Run the `release` command to cut a versioned release. It classifies merged PRs t
|
|
|
147
98
|
|
|
148
99
|
```bash
|
|
149
100
|
npx hatch3r init # Interactive setup
|
|
101
|
+
npx hatch3r config # Reconfigure tools, MCP servers, features, and platform
|
|
150
102
|
npx hatch3r sync # Re-generate from canonical state
|
|
151
103
|
npx hatch3r update # Pull latest templates (safe merge)
|
|
152
104
|
npx hatch3r status # Check sync status between canonical and generated files
|
|
153
105
|
npx hatch3r validate # Validate canonical .agents/ structure
|
|
106
|
+
npx hatch3r verify # Verify file integrity checksums
|
|
107
|
+
npx hatch3r worktree-setup <path> # Set up gitignored files in a worktree
|
|
108
|
+
npx hatch3r add <pack> # Install a community pack (coming soon)
|
|
154
109
|
```
|
|
155
110
|
|
|
156
111
|
### Agent Commands
|
|
157
112
|
|
|
158
|
-
These commands are invoked inside your coding tool (e.g., as Cursor commands)
|
|
159
|
-
|
|
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.
|
|
161
|
-
|
|
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.
|
|
163
|
-
|
|
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.
|
|
165
|
-
|
|
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.
|
|
167
|
-
|
|
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.
|
|
169
|
-
|
|
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.
|
|
171
|
-
|
|
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.
|
|
173
|
-
|
|
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.
|
|
175
|
-
|
|
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.
|
|
177
|
-
|
|
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.
|
|
113
|
+
These commands are invoked inside your coding tool (e.g., as Cursor commands).
|
|
179
114
|
|
|
180
|
-
**
|
|
115
|
+
**Board management:** `board-init`, `board-fill`, `board-groom`, `board-pickup`, `board-refresh`, `board-shared`
|
|
181
116
|
|
|
182
|
-
**
|
|
117
|
+
**Planning:** `project-spec`, `codebase-map`, `roadmap`, `feature-plan`, `bug-plan`, `refactor-plan`, `migration-plan`, `test-plan`, `api-spec`
|
|
183
118
|
|
|
184
|
-
**
|
|
119
|
+
**Workflow:** `workflow`, `quick-change`, `revision`, `debug`, `onboard`, `benchmark`, `hooks`, `learn`, `recipe`
|
|
185
120
|
|
|
186
|
-
**
|
|
121
|
+
**Operations:** `healthcheck`, `security-audit`, `dep-audit`, `release`, `context-health`, `cost-tracking`
|
|
187
122
|
|
|
188
|
-
**
|
|
123
|
+
**Customization:** `agent-customize`, `command-customize`, `skill-customize`, `rule-customize`
|
|
189
124
|
|
|
190
|
-
|
|
125
|
+
All commands are prefixed with `hatch3r-` (e.g., `hatch3r-board-fill`). See the [CLI Commands reference](https://docs.hatch3r.com/docs/reference/commands/cli-commands) and [Agent Commands reference](https://docs.hatch3r.com/docs/reference/commands/agent-commands) for full details.
|
|
191
126
|
|
|
192
|
-
|
|
127
|
+
## MCP Configuration
|
|
193
128
|
|
|
194
|
-
|
|
129
|
+
`hatch3r init` creates a `.env.mcp` file with required environment variables for your selected MCP servers (gitignored by default). MCP config is written to the tool-appropriate location (`.cursor/mcp.json`, `.mcp.json`, `.vscode/mcp.json`, etc.).
|
|
195
130
|
|
|
196
|
-
|
|
131
|
+
- **VS Code / Copilot**: Secrets load automatically via the native `envFile` field.
|
|
132
|
+
- **Cursor / Claude Code / others**: Source the file first: `set -a && source .env.mcp && set +a && cursor .`
|
|
197
133
|
|
|
198
|
-
|
|
134
|
+
See [MCP Setup](https://docs.hatch3r.com/docs/guides/mcp-setup) for full setup, per-server details, and PAT scope guidance.
|
|
199
135
|
|
|
200
|
-
|
|
136
|
+
## Platform Agentic Workflows
|
|
201
137
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
**command-customize** -- Configure per-command customization via `.customize.yaml` files. Allows project-specific command behavior overrides without modifying managed command definitions.
|
|
205
|
-
|
|
206
|
-
**skill-customize** -- Configure per-skill customization via `.customize.yaml` files. Allows project-specific skill behavior overrides without modifying managed skill definitions.
|
|
207
|
-
|
|
208
|
-
**rule-customize** -- Configure per-rule customization via `.customize.yaml` files. Allows project-specific rule behavior overrides without modifying managed rule definitions.
|
|
209
|
-
|
|
210
|
-
## Agents
|
|
211
|
-
|
|
212
|
-
| Agent | Description |
|
|
213
|
-
|-------|-------------|
|
|
214
|
-
| **a11y-auditor** | Accessibility specialist who audits WCAG AA compliance -- keyboard navigation, color contrast, ARIA attributes, and reduced motion support. |
|
|
215
|
-
| **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. |
|
|
216
|
-
| **dependency-auditor** | Supply chain security analyst who scans for CVEs, evaluates upgrade paths, assesses bundle size impact, and verifies lockfile integrity. |
|
|
217
|
-
| **docs-writer** | Technical writer who maintains specs, ADRs, glossary, and process documentation, keeping them in sync with code changes. |
|
|
218
|
-
| **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. |
|
|
219
|
-
| **lint-fixer** | Code quality enforcer who fixes ESLint, Prettier, and TypeScript strict mode violations without changing logic. Removes dead code and unused imports. |
|
|
220
|
-
| **perf-profiler** | Performance engineer who profiles runtime performance, analyzes bundle size, identifies memory leaks, and benchmarks against defined performance budgets. |
|
|
221
|
-
| **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
|
-
| **reviewer** | Senior code reviewer who checks for correctness, security, privacy invariants, performance regressions, and accessibility. Outputs structured feedback by priority (critical, warning, suggestion). |
|
|
223
|
-
| **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
|
-
| **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
|
-
|
|
226
|
-
## Skills
|
|
227
|
-
|
|
228
|
-
| Skill | Description |
|
|
229
|
-
|-------|-------------|
|
|
230
|
-
| **a11y-audit** | Comprehensive WCAG AA audit with automated scanning, manual verification, and fix implementation. |
|
|
231
|
-
| **agent-customize** | Configure per-agent customization via `.customize.yaml` files. |
|
|
232
|
-
| **architecture-review** | Evaluate architectural decisions, compare options with pros/cons, and produce ADRs following the project template. |
|
|
233
|
-
| **bug-fix** | Diagnose root cause, implement minimal fix, and write a regression test that fails before the fix. TDD/test-first workflow option. |
|
|
234
|
-
| **command-customize** | Configure per-command customization via `.customize.yaml` files. |
|
|
235
|
-
| **context-health** | Monitor conversation context health and detect degradation during long sessions. |
|
|
236
|
-
| **cost-tracking** | Track token usage and estimated costs across agent workflows. |
|
|
237
|
-
| **dep-audit** | Audit npm dependencies for CVEs and freshness, research migration paths, upgrade one at a time with testing. |
|
|
238
|
-
| **feature** | End-to-end feature implementation as a vertical slice covering data model, domain logic, API, and UI. TDD/test-first workflow option. |
|
|
239
|
-
| **gh-agentic-workflows** | Set up GitHub Agentic Workflows for continuous AI-powered triage, testing, and documentation automation. Includes DoD, verification, troubleshooting, and rollback. |
|
|
240
|
-
| **incident-response** | Structured triage, mitigation, root cause analysis, and post-mortem for production incidents with follow-up issues. |
|
|
241
|
-
| **issue-workflow** | 8-step development workflow for GitHub issues: parse, load skill, read specs, plan, implement, test, PR, address review. |
|
|
242
|
-
| **logical-refactor** | Change business logic or data flows without adding features, with explicit invariant tracking and verification. |
|
|
243
|
-
| **perf-audit** | Profile and optimize against defined performance budgets with before/after measurements for every change. |
|
|
244
|
-
| **pr-creation** | Create pull requests following project conventions -- branch naming, PR template, self-review checklist, and size guidelines. |
|
|
245
|
-
| **qa-validation** | E2E validation workflow producing structured pass/fail reports with evidence and ship/hold recommendations. |
|
|
246
|
-
| **recipe** | Create and manage composable workflow recipes. |
|
|
247
|
-
| **refactor** | Internal code quality improvement without changing external behavior, with behavioral preservation tests. |
|
|
248
|
-
| **release** | Cut a release with semantic versioning, changelog generation, pre-release/RC support, git tagging, and deploy verification. |
|
|
249
|
-
| **rule-customize** | Configure per-rule customization via `.customize.yaml` files. |
|
|
250
|
-
| **skill-customize** | Configure per-skill customization via `.customize.yaml` files. |
|
|
251
|
-
| **visual-refactor** | UI/UX changes matching design mockups with WCAG AA accessibility and responsiveness verification. |
|
|
252
|
-
|
|
253
|
-
## Rules
|
|
254
|
-
|
|
255
|
-
| Rule | Description |
|
|
256
|
-
|------|-------------|
|
|
257
|
-
| **agent-orchestration** | Agent delegation patterns, sub-agent spawning conventions, result aggregation, and multi-agent coordination protocols. |
|
|
258
|
-
| **api-design** | Endpoint versioning, request validation, idempotency keys, structured error responses, auth, CORS, CSP, pagination, and webhook security. |
|
|
259
|
-
| **browser-verification** | When and how to verify UI changes in the browser via automation MCP — dev server lifecycle, navigation, interaction, visual regression, screenshot evidence. |
|
|
260
|
-
| **code-standards** | TypeScript strict mode, naming conventions (`camelCase`/`PascalCase`/`SCREAMING_SNAKE`), and function/file length limits. |
|
|
261
|
-
| **component-conventions** | Component structure, typed props/emits, design tokens, WCAG AA accessibility, loading/error/empty states, form UX, and 60fps render targets. |
|
|
262
|
-
| **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
|
-
| **feature-flags** | Flag naming (`FF_AREA_FEATURE`), storage, evaluation, gradual rollout, dependencies, kill switches, 30-day cleanup deadlines, and audit. |
|
|
265
|
-
| **git-conventions** | Git workflow, branch naming, commit message conventions, and merge strategy. |
|
|
266
|
-
| **i18n** | Internationalization, RTL support, locale management, and ICU message format. |
|
|
267
|
-
| **learning-consult** | When and how to consult project learnings during development. |
|
|
268
|
-
| **migrations** | Backward-compatible schema changes, idempotent scripts, rollback plans, and deploy-then-migrate ordering. |
|
|
269
|
-
| **observability** | Structured JSON logging, OpenTelemetry, SLO/SLI, distributed tracing, alerting, dashboards, and no PII in logs. |
|
|
270
|
-
| **performance-budgets** | Core Web Vitals, API latency, database query budgets, bundle size, and enforcement mechanisms. |
|
|
271
|
-
| **security-patterns** | Input validation, output encoding, auth enforcement, AI/agentic security, and OWASP alignment. |
|
|
272
|
-
| **testing** | Deterministic, isolated, fast tests with clear naming, regression coverage, no network in unit tests, no `any`. |
|
|
273
|
-
| **theming** | Dark mode, `prefers-color-scheme`, CSS custom properties, and semantic color tokens. |
|
|
274
|
-
| **tooling-hierarchy** | Priority order for knowledge: project specs > codebase > library docs (Context7 MCP) > web research; GitHub CLI-first. |
|
|
275
|
-
|
|
276
|
-
## Board Management
|
|
277
|
-
|
|
278
|
-
hatch3r includes a complete board management system for GitHub-based workflows:
|
|
279
|
-
|
|
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)
|
|
285
|
-
|
|
286
|
-
Configure your board in `hatch.json`:
|
|
138
|
+
hatch3r includes a complete board management system supporting GitHub, Azure DevOps, and GitLab. Configure in `hatch.json`:
|
|
287
139
|
|
|
288
140
|
```json
|
|
289
141
|
{
|
|
@@ -295,142 +147,61 @@ Configure your board in `hatch.json`:
|
|
|
295
147
|
},
|
|
296
148
|
"models": {
|
|
297
149
|
"default": "opus",
|
|
298
|
-
"agents": {
|
|
299
|
-
"hatch3r-lint-fixer": "sonnet"
|
|
300
|
-
}
|
|
150
|
+
"agents": { "hatch3r-lint-fixer": "sonnet" }
|
|
301
151
|
}
|
|
302
152
|
}
|
|
303
153
|
```
|
|
304
154
|
|
|
305
|
-
## Model Selection
|
|
306
|
-
|
|
307
|
-
hatch3r lets you set preferred AI models per agent. Configure via `hatch.json` (global default and per-agent overrides), canonical agent frontmatter (`model: opus` in `.agents/agents/*.md`), or `.hatch3r/agents/{id}.customize.yaml`. Resolution order: customization file > manifest per-agent > agent frontmatter > manifest default. If you omit `models`, each tool uses its own default.
|
|
308
|
-
|
|
309
|
-
See [docs/model-selection.md](docs/model-selection.md) for the full guide, aliases, and platform support.
|
|
310
|
-
|
|
311
155
|
## Sub-Agentic Architecture
|
|
312
156
|
|
|
313
|
-
|
|
314
|
-
|
|
157
|
+
- **Four-phase pipeline** -- Research, Implement, Review Loop (reviewer + fixer, max 3 iterations), Final Quality (testing + security)
|
|
315
158
|
- **Implementer agent** -- Receives a single sub-issue, delivers code + tests, reports back
|
|
159
|
+
- **Fixer agent** -- Takes reviewer findings and implements targeted fixes
|
|
316
160
|
- **Issue workflow skill** -- 8-step structured workflow with parallel sub-agent delegation for epics
|
|
317
|
-
- **Board pickup** -- Dependency-aware auto-pick with collision detection and sub-agent orchestration
|
|
318
161
|
- **Tooling hierarchy** -- Project docs > Codebase search > Library docs (Context7) > Web research
|
|
319
162
|
|
|
320
|
-
##
|
|
321
|
-
|
|
322
|
-
hatch3r projects use a `docs/` folder with three core subdirectories. The docs-writer agent reads source code and maintains these docs automatically, keeping specs, decisions, and processes in sync with implementation.
|
|
323
|
-
|
|
324
|
-
```
|
|
325
|
-
docs/
|
|
326
|
-
specs/ Modular specifications with stable IDs
|
|
327
|
-
adr/ Architecture Decision Records
|
|
328
|
-
process/ Process documentation
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
### `docs/specs/` -- Specifications
|
|
332
|
-
|
|
333
|
-
Modular spec files that define what the system does. Each spec covers one logical domain (data model, event model, auth, etc.) and uses stable IDs for cross-referencing.
|
|
334
|
-
|
|
335
|
-
| File | Purpose |
|
|
336
|
-
|------|---------|
|
|
337
|
-
| `00_glossary.md` | Term definitions, stable ID prefixes, TOC for all specs |
|
|
338
|
-
| `01_core-engine.md` | Core engine behavior, invariants, acceptance criteria |
|
|
339
|
-
| `02_event-model.md` | Event schemas, lifecycle, validation rules |
|
|
340
|
-
| `03_quality-engineering.md` | Performance budgets, testing pyramid, coverage targets |
|
|
163
|
+
## Content Profiles
|
|
341
164
|
|
|
342
|
-
|
|
343
|
-
- Every spec starts with a **Purpose** section and ends with **Owner / Reviewers / Last updated**.
|
|
344
|
-
- Use stable IDs from the glossary (e.g., `INV-001`, `EVT_USER_CREATED`) so agents and humans can reference specific requirements across docs, issues, and code.
|
|
345
|
-
- Feature matrices, invariants, and schemas use tables. Acceptance criteria use checklists.
|
|
165
|
+
During `hatch3r init`, you choose a content profile:
|
|
346
166
|
|
|
347
|
-
|
|
167
|
+
| Profile | What's included | Best for |
|
|
168
|
+
|---------|----------------|----------|
|
|
169
|
+
| **Minimal** | Core agents and workflows only (`core` tag) | Quick setup, minimal footprint |
|
|
170
|
+
| **Standard** (recommended) | Full development lifecycle without niche audits | Most projects |
|
|
171
|
+
| **Full** | Everything including board management and all audits | Large teams, full coverage |
|
|
172
|
+
| **Custom** | Choose exactly what you need | Fine-grained control |
|
|
348
173
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
| File | Purpose |
|
|
352
|
-
|------|---------|
|
|
353
|
-
| `0001_template.md` | ADR template with required sections |
|
|
354
|
-
| `0002_adapter-pattern.md` | Example: why the project uses an adapter pattern |
|
|
355
|
-
|
|
356
|
-
Each ADR includes: Status, Date, Decision Makers, Context, Decision, Alternatives Considered (with pros/cons table), Consequences, Compliance checklist, and Related links. New ADRs use the next available number and are saved as `XXXX_short-title.md`. Superseded ADRs are updated to reference their replacement.
|
|
357
|
-
|
|
358
|
-
### `docs/process/` -- Process Documentation
|
|
359
|
-
|
|
360
|
-
Guides for recurring workflows -- how the team (human or agent) ships, reviews, and maintains the project.
|
|
361
|
-
|
|
362
|
-
Examples: branching strategy, release process, on-call runbook, code review checklist, agent delegation guidelines.
|
|
363
|
-
|
|
364
|
-
### Relationship to the GSD Framework
|
|
365
|
-
|
|
366
|
-
The [GSD (Get Shit Done)](https://github.com/gsd-build/get-shit-done) framework is a spec-driven development system for AI coding assistants. hatch3r shares GSD's conviction that structured documentation prevents context degradation, but the two projects organize that documentation differently.
|
|
367
|
-
|
|
368
|
-
**Shared principles:**
|
|
369
|
-
|
|
370
|
-
- Documentation is the primary context source for AI agents, not just a reference for humans.
|
|
371
|
-
- Specifications are modular and scoped to single domains rather than monolithic.
|
|
372
|
-
- State and decisions are captured in version-controlled markdown, not ephemeral chat.
|
|
373
|
-
- Stable identifiers enable reliable cross-referencing across docs, code, and issues.
|
|
374
|
-
|
|
375
|
-
**Structural differences:**
|
|
376
|
-
|
|
377
|
-
| Concern | GSD | hatch3r |
|
|
378
|
-
|---------|-----|---------|
|
|
379
|
-
| Project state | `STATE.md` (single file, session memory) | `docs/specs/` (distributed across domain specs) |
|
|
380
|
-
| Requirements | `REQUIREMENTS.md` (flat, phase-tagged) | `docs/specs/*.md` (modular, per-domain with stable IDs) |
|
|
381
|
-
| Architectural decisions | Inline in `STATE.md` or plans | `docs/adr/` (dedicated, numbered, templated) |
|
|
382
|
-
| Project vision | `PROJECT.md` | `docs/specs/00_glossary.md` + project README |
|
|
383
|
-
| Process docs | Encoded in GSD commands and agents | `docs/process/` (explicit, human-readable guides) |
|
|
384
|
-
| Planning artifacts | `.planning/` (research, plans, summaries) | GitHub Issues + board commands |
|
|
385
|
-
| Scope | Single-project, single-runtime | Multi-project, multi-editor via adapters |
|
|
386
|
-
|
|
387
|
-
GSD optimizes for a linear milestone-driven workflow with a single AI runtime. hatch3r's `docs/` structure is editor-agnostic and designed to be consumed by any agent system -- Cursor, Copilot, Claude Code, OpenCode, or custom tooling. The explicit `docs/adr/` directory reflects hatch3r's emphasis on long-lived, multi-contributor projects where architectural decisions need formal traceability rather than inline state tracking.
|
|
388
|
-
|
|
389
|
-
## Presets
|
|
390
|
-
|
|
391
|
-
hatch3r currently ships with the `default` preset which includes everything. Additional preset packs (web-app, api-service, cli-tool, monorepo, legacy, security) are planned for future releases.
|
|
174
|
+
Content is tagged with workflow, context, and domain tags. After init, use `hatch3r config` to add or remove individual content items.
|
|
392
175
|
|
|
393
176
|
## Customization
|
|
394
177
|
|
|
395
|
-
hatch3r
|
|
178
|
+
hatch3r separates managed from custom files:
|
|
396
179
|
|
|
397
|
-
- `hatch3r-*` files are managed by hatch3r
|
|
180
|
+
- `hatch3r-*` files are managed by hatch3r and fully replaced on update
|
|
398
181
|
- Files without the prefix are your customizations and are never touched
|
|
182
|
+
- All hatch3r-generated markdown files use managed blocks (`<!-- HATCH3R:BEGIN -->` / `<!-- HATCH3R:END -->`). Content outside these markers is preserved. Bridge files are emitted by 14 adapters: Cursor, Claude, Copilot, Cline, Codex, Gemini, Windsurf, Amp, OpenCode, Aider, Kiro, Goose, Zed, Amazon Q.
|
|
399
183
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
```
|
|
403
|
-
.cursor/rules/
|
|
404
|
-
hatch3r-code-standards.mdc # Managed — add custom content outside the block
|
|
405
|
-
hatch3r-error-handling.mdc # Managed — add custom content outside the block
|
|
406
|
-
my-project-conventions.mdc # Custom — never touched
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
Example: add your own sections to any hatch3r file:
|
|
184
|
+
## Model Selection
|
|
410
185
|
|
|
411
|
-
|
|
412
|
-
<!-- HATCH3R:BEGIN -->
|
|
413
|
-
...managed content (updated on sync/update)...
|
|
414
|
-
<!-- HATCH3R:END -->
|
|
186
|
+
Configure preferred AI models per agent via `hatch.json` (global default and per-agent overrides), canonical agent frontmatter, or `.hatch3r/agents/{id}.customize.yaml`. Resolution order: customization file > manifest per-agent > agent frontmatter > manifest default.
|
|
415
187
|
|
|
416
|
-
|
|
417
|
-
...never overwritten...
|
|
418
|
-
```
|
|
188
|
+
See [Model Selection](https://docs.hatch3r.com/docs/guides/model-selection) for the full guide.
|
|
419
189
|
|
|
420
190
|
## Cursor Plugin
|
|
421
191
|
|
|
422
|
-
hatch3r is also available as a [Cursor plugin](https://cursor.com/marketplace). Enable it
|
|
423
|
-
|
|
424
|
-
## Community Packs
|
|
425
|
-
|
|
426
|
-
Community pack support is coming soon.
|
|
192
|
+
hatch3r is also available as a [Cursor plugin](https://cursor.com/marketplace). Enable it for instant access to all rules, skills, agents, and commands without running `init`.
|
|
427
193
|
|
|
428
194
|
## Documentation
|
|
429
195
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
- [
|
|
433
|
-
- [
|
|
196
|
+
Full documentation is available at [docs.hatch3r.com](https://docs.hatch3r.com).
|
|
197
|
+
|
|
198
|
+
- [MCP Setup](https://docs.hatch3r.com/docs/guides/mcp-setup) -- Connecting MCP servers and managing secrets
|
|
199
|
+
- [Adapter Capability Matrix](https://docs.hatch3r.com/docs/reference/adapter-capability-matrix) -- Per-tool support and output paths
|
|
200
|
+
- [Agent Teams](https://docs.hatch3r.com/docs/guides/agent-teams) -- Multi-agent team coordination and delegation patterns
|
|
201
|
+
- [Model Selection](https://docs.hatch3r.com/docs/guides/model-selection) -- Configuring AI models per agent
|
|
202
|
+
- [Agentic Process](https://docs.hatch3r.com/docs/guides/agentic-process) -- Visual diagrams of init flow, board workflow, and agent orchestration
|
|
203
|
+
- [Troubleshooting](https://docs.hatch3r.com/docs/troubleshooting) -- Common issues and solutions
|
|
204
|
+
- [Changelog](CHANGELOG.md) -- Release history
|
|
434
205
|
|
|
435
206
|
## License
|
|
436
207
|
|
|
@@ -1,7 +1,8 @@
|
|
|
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:
|
|
4
|
+
model: standard
|
|
5
|
+
tags: [review, a11y]
|
|
5
6
|
---
|
|
6
7
|
You are an accessibility specialist for the project.
|
|
7
8
|
|
|
@@ -38,12 +39,14 @@ Browser verification provides ground-truth confirmation that cannot be achieved
|
|
|
38
39
|
|
|
39
40
|
## Standards to Enforce
|
|
40
41
|
|
|
42
|
+
Follow the full accessibility standards defined in `.agents/rules/hatch3r-accessibility-standards.md` (WCAG 2.2 AA compliance, keyboard navigation, focus management, color/contrast, screen reader support, ARIA patterns, motion, forms). Summary of key thresholds:
|
|
43
|
+
|
|
41
44
|
| Requirement | Standard | Details |
|
|
42
45
|
| ------------------- | -------- | ---------------------------------------------------------------- |
|
|
43
|
-
| Reduced motion | WCAG 2.
|
|
44
|
-
| Color contrast | WCAG AA | Text contrast ratio
|
|
45
|
-
| Keyboard navigation | WCAG 2.
|
|
46
|
-
| Screen reader | WCAG 2.
|
|
46
|
+
| Reduced motion | WCAG 2.2 | All animations respect `prefers-reduced-motion` and user setting |
|
|
47
|
+
| Color contrast | WCAG AA | Text contrast ratio >= 4.5:1, non-text >= 3:1 |
|
|
48
|
+
| Keyboard navigation | WCAG 2.2 | All interactive elements focusable with visible focus indicator |
|
|
49
|
+
| Screen reader | WCAG 2.2 | Dynamic state announced via `aria-live` regions |
|
|
47
50
|
| High contrast mode | Custom | User-configurable high contrast theme supported |
|
|
48
51
|
|
|
49
52
|
## Commands
|
|
@@ -53,7 +56,22 @@ Browser verification provides ground-truth confirmation that cannot be achieved
|
|
|
53
56
|
|
|
54
57
|
## External Knowledge
|
|
55
58
|
|
|
56
|
-
Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research).
|
|
59
|
+
Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
|
|
60
|
+
- **GitHub:** `gh` CLI
|
|
61
|
+
- **Azure DevOps:** `az devops` / `az boards` / `az repos` CLI
|
|
62
|
+
- **GitLab:** `glab` CLI
|
|
63
|
+
|
|
64
|
+
## Context7 MCP Usage
|
|
65
|
+
|
|
66
|
+
- 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).
|
|
67
|
+
- Verify that components use the correct accessibility attributes by checking the framework's current documentation rather than relying on potentially outdated training data.
|
|
68
|
+
- Look up accessibility testing library APIs (axe-core, jest-axe, Playwright accessibility snapshots) for audit automation.
|
|
69
|
+
|
|
70
|
+
## Web Research Usage
|
|
71
|
+
|
|
72
|
+
- Use web search for current WCAG success criteria interpretation and techniques when auditing specific patterns (e.g., combobox, carousel, data table, drag-and-drop).
|
|
73
|
+
- Use web search for WAI-ARIA Authoring Practices and design pattern guidance for complex interactive components.
|
|
74
|
+
- Use web search for screen reader compatibility notes across assistive technologies (NVDA, JAWS, VoiceOver) when findings involve cross-AT support.
|
|
57
75
|
|
|
58
76
|
## Sub-Agent Delegation
|
|
59
77
|
|
|
@@ -1,6 +1,8 @@
|
|
|
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
|
|
5
|
+
tags: [planning]
|
|
4
6
|
---
|
|
5
7
|
You are a senior system architect for the project.
|
|
6
8
|
|
|
@@ -35,6 +37,8 @@ You are a senior system architect for the project.
|
|
|
35
37
|
- Design data models with migration paths from the current schema.
|
|
36
38
|
- Specify API contracts with request/response shapes, error codes, and pagination.
|
|
37
39
|
- Address cross-cutting concerns: auth, logging, error handling, caching, rate limiting.
|
|
40
|
+
- 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.
|
|
41
|
+
- Use web research for architecture pattern comparisons, scalability benchmarks, and technology evaluation when making trade-off decisions.
|
|
38
42
|
|
|
39
43
|
### 3. Evaluate Trade-Offs
|
|
40
44
|
|
|
@@ -80,7 +84,22 @@ For decisions that warrant long-term documentation:
|
|
|
80
84
|
|
|
81
85
|
## External Knowledge
|
|
82
86
|
|
|
83
|
-
Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research).
|
|
87
|
+
Follow the tooling hierarchy (specs > codebase > Context7 MCP > web research). Use the project's configured platform CLI (check `platform` in `.agents/hatch.json`):
|
|
88
|
+
- **GitHub:** `gh` CLI
|
|
89
|
+
- **Azure DevOps:** `az devops` / `az boards` / `az repos` CLI
|
|
90
|
+
- **GitLab:** `glab` CLI
|
|
91
|
+
|
|
92
|
+
## Context7 MCP Usage
|
|
93
|
+
|
|
94
|
+
- 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.
|
|
95
|
+
- Verify API contract assumptions (e.g., database driver connection pooling, cache client TTL semantics, queue library acknowledgement modes) before recommending architecture.
|
|
96
|
+
- Prefer Context7 over guessing API capabilities or relying on potentially outdated training data when evaluating technology trade-offs.
|
|
97
|
+
|
|
98
|
+
## Web Research Usage
|
|
99
|
+
|
|
100
|
+
- Use web search for architecture pattern references, scalability case studies, and performance benchmarks when evaluating trade-offs between alternatives.
|
|
101
|
+
- 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).
|
|
102
|
+
- Use web search for cloud service limits, pricing models, and SLA guarantees when infrastructure decisions affect the architecture.
|
|
84
103
|
|
|
85
104
|
## Output Format
|
|
86
105
|
|