hatch3r 1.1.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.
Files changed (125) hide show
  1. package/README.md +79 -370
  2. package/agents/hatch3r-a11y-auditor.md +7 -4
  3. package/agents/hatch3r-architect.md +1 -0
  4. package/agents/hatch3r-ci-watcher.md +1 -0
  5. package/agents/hatch3r-context-rules.md +1 -0
  6. package/agents/hatch3r-dependency-auditor.md +1 -0
  7. package/agents/hatch3r-devops.md +1 -0
  8. package/agents/hatch3r-docs-writer.md +1 -0
  9. package/agents/hatch3r-fixer.md +2 -0
  10. package/agents/hatch3r-implementer.md +32 -0
  11. package/agents/hatch3r-learnings-loader.md +56 -11
  12. package/agents/hatch3r-lint-fixer.md +2 -10
  13. package/agents/hatch3r-perf-profiler.md +1 -0
  14. package/agents/hatch3r-researcher.md +252 -0
  15. package/agents/hatch3r-reviewer.md +75 -3
  16. package/agents/hatch3r-security-auditor.md +3 -3
  17. package/agents/hatch3r-test-writer.md +2 -7
  18. package/commands/board/pickup-azure-devops.md +81 -0
  19. package/commands/board/pickup-delegation-multi.md +197 -0
  20. package/commands/board/pickup-delegation.md +100 -0
  21. package/commands/board/pickup-github.md +82 -0
  22. package/commands/board/pickup-gitlab.md +81 -0
  23. package/commands/board/pickup-modes.md +143 -0
  24. package/commands/board/pickup-post-impl.md +120 -0
  25. package/commands/board/shared-azure-devops.md +149 -0
  26. package/commands/board/shared-board-overview.md +215 -0
  27. package/commands/board/shared-github.md +169 -0
  28. package/commands/board/shared-gitlab.md +142 -0
  29. package/commands/hatch3r-agent-customize.md +3 -2
  30. package/commands/hatch3r-api-spec.md +1 -0
  31. package/commands/hatch3r-benchmark.md +1 -0
  32. package/commands/hatch3r-board-fill.md +15 -16
  33. package/commands/hatch3r-board-groom.md +50 -10
  34. package/commands/hatch3r-board-init.md +1 -0
  35. package/commands/hatch3r-board-pickup.md +44 -572
  36. package/commands/hatch3r-board-refresh.md +31 -10
  37. package/commands/hatch3r-board-shared.md +62 -439
  38. package/commands/hatch3r-bug-plan.md +1 -0
  39. package/commands/hatch3r-codebase-map.md +1 -0
  40. package/commands/hatch3r-command-customize.md +1 -0
  41. package/commands/hatch3r-context-health.md +1 -0
  42. package/commands/hatch3r-cost-tracking.md +1 -0
  43. package/commands/hatch3r-debug.md +1 -0
  44. package/commands/hatch3r-dep-audit.md +2 -1
  45. package/commands/hatch3r-feature-plan.md +1 -0
  46. package/commands/hatch3r-healthcheck.md +2 -1
  47. package/commands/hatch3r-hooks.md +1 -0
  48. package/commands/hatch3r-learn.md +1 -0
  49. package/commands/hatch3r-migration-plan.md +1 -0
  50. package/commands/hatch3r-onboard.md +1 -0
  51. package/commands/hatch3r-project-spec.md +1 -0
  52. package/commands/hatch3r-quick-change.md +1 -0
  53. package/commands/hatch3r-recipe.md +1 -0
  54. package/commands/hatch3r-refactor-plan.md +1 -0
  55. package/commands/hatch3r-release.md +2 -1
  56. package/commands/hatch3r-revision.md +1 -0
  57. package/commands/hatch3r-roadmap.md +8 -1
  58. package/commands/hatch3r-rule-customize.md +1 -0
  59. package/commands/hatch3r-security-audit.md +2 -1
  60. package/commands/hatch3r-skill-customize.md +1 -0
  61. package/commands/hatch3r-test-plan.md +532 -0
  62. package/commands/hatch3r-workflow.md +1 -0
  63. package/dist/cli/index.js +2640 -1057
  64. package/dist/cli/index.js.map +1 -1
  65. package/github-agents/hatch3r-docs-agent.md +1 -0
  66. package/github-agents/hatch3r-lint-agent.md +1 -0
  67. package/github-agents/hatch3r-security-agent.md +1 -0
  68. package/github-agents/hatch3r-test-agent.md +1 -0
  69. package/hooks/hatch3r-ci-failure.md +1 -0
  70. package/hooks/hatch3r-file-save.md +1 -0
  71. package/hooks/hatch3r-post-merge.md +1 -0
  72. package/hooks/hatch3r-pre-commit.md +1 -0
  73. package/hooks/hatch3r-pre-push.md +1 -0
  74. package/hooks/hatch3r-session-start.md +1 -0
  75. package/package.json +2 -2
  76. package/prompts/hatch3r-bug-triage.md +1 -0
  77. package/prompts/hatch3r-code-review.md +1 -0
  78. package/prompts/hatch3r-pr-description.md +1 -0
  79. package/rules/hatch3r-accessibility-standards.md +1 -0
  80. package/rules/hatch3r-agent-orchestration.md +277 -73
  81. package/rules/hatch3r-api-design.md +1 -0
  82. package/rules/hatch3r-browser-verification.md +1 -0
  83. package/rules/hatch3r-ci-cd.md +1 -0
  84. package/rules/hatch3r-code-standards.md +9 -0
  85. package/rules/hatch3r-component-conventions.md +1 -0
  86. package/rules/hatch3r-data-classification.md +1 -0
  87. package/rules/hatch3r-deep-context.md +1 -0
  88. package/rules/hatch3r-dependency-management.md +13 -0
  89. package/rules/hatch3r-feature-flags.md +1 -0
  90. package/rules/hatch3r-git-conventions.md +1 -0
  91. package/rules/hatch3r-i18n.md +1 -0
  92. package/rules/hatch3r-learning-consult.md +1 -0
  93. package/rules/hatch3r-migrations.md +12 -0
  94. package/rules/hatch3r-observability.md +290 -0
  95. package/rules/hatch3r-performance-budgets.md +1 -0
  96. package/rules/hatch3r-secrets-management.md +1 -0
  97. package/rules/hatch3r-security-patterns.md +12 -0
  98. package/rules/hatch3r-testing.md +1 -0
  99. package/rules/hatch3r-theming.md +1 -0
  100. package/rules/hatch3r-tooling-hierarchy.md +1 -0
  101. package/skills/hatch3r-a11y-audit/SKILL.md +1 -0
  102. package/skills/hatch3r-agent-customize/SKILL.md +1 -0
  103. package/skills/hatch3r-api-spec/SKILL.md +1 -0
  104. package/skills/hatch3r-architecture-review/SKILL.md +1 -0
  105. package/skills/hatch3r-bug-fix/SKILL.md +1 -0
  106. package/skills/hatch3r-ci-pipeline/SKILL.md +1 -0
  107. package/skills/hatch3r-command-customize/SKILL.md +1 -0
  108. package/skills/hatch3r-context-health/SKILL.md +1 -0
  109. package/skills/hatch3r-cost-tracking/SKILL.md +1 -0
  110. package/skills/hatch3r-dep-audit/SKILL.md +1 -0
  111. package/skills/hatch3r-feature/SKILL.md +1 -0
  112. package/skills/hatch3r-gh-agentic-workflows/SKILL.md +1 -0
  113. package/skills/hatch3r-incident-response/SKILL.md +1 -0
  114. package/skills/hatch3r-issue-workflow/SKILL.md +1 -0
  115. package/skills/hatch3r-logical-refactor/SKILL.md +1 -0
  116. package/skills/hatch3r-migration/SKILL.md +1 -0
  117. package/skills/hatch3r-perf-audit/SKILL.md +1 -0
  118. package/skills/hatch3r-pr-creation/SKILL.md +1 -0
  119. package/skills/hatch3r-qa-validation/SKILL.md +1 -0
  120. package/skills/hatch3r-recipe/SKILL.md +1 -0
  121. package/skills/hatch3r-refactor/SKILL.md +1 -0
  122. package/skills/hatch3r-release/SKILL.md +1 -0
  123. package/skills/hatch3r-rule-customize/SKILL.md +1 -0
  124. package/skills/hatch3r-skill-customize/SKILL.md +1 -0
  125. package/skills/hatch3r-visual-refactor/SKILL.md +1 -0
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-dep-audit
3
3
  type: command
4
4
  description: Scan, assess, and upgrade npm dependencies. Categorizes findings by severity (CVEs, major/minor/patch outdated), researches migration paths, upgrades packages one at a time with testing, and creates tracking issues for unaddressed items.
5
+ tags: [maintenance, security]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -16,7 +17,7 @@ Scan, assess, and upgrade npm dependencies for **{owner}/{repo}** (root and any
16
17
 
17
18
  ## Shared Context
18
19
 
19
- **Read the project's shared board context at the start of the run** (e.g., `.cursor/commands/board-shared.md` or equivalent). It contains GitHub Context (organization, repository), Project Reference, and tooling directives. Use GitHub MCP tools for issue creation. Use Context7 MCP for library docs and migration guides. Use web research for CVE details and known workarounds.
20
+ **Read the project's shared board context at the start of the run** (e.g., `.agents/commands/hatch3r-board-shared.md` or equivalent). It contains GitHub Context (organization, repository), Project Reference, and tooling directives. Use GitHub MCP tools for issue creation. Use Context7 MCP for library docs and migration guides. Use web research for CVE details and known workarounds.
20
21
 
21
22
  ## Global Rule Overrides
22
23
 
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-feature-plan
3
3
  type: command
4
4
  description: Plan a single feature in depth -- spawn parallel researchers, produce feature spec, ADR(s), and structured todo.md entries for board-fill.
5
+ tags: [core, planning]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-healthcheck
3
3
  type: command
4
4
  description: Create a full-product QA and testing audit epic with one sub-issue per project module
5
+ tags: [maintenance]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -24,7 +25,7 @@ Create a healthcheck epic on **{owner}/{repo}** with one sub-issue per logical p
24
25
 
25
26
  ## Shared Context
26
27
 
27
- **Read the project's shared board context at the start of the run** (e.g., `.cursor/commands/board-shared.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
28
+ **Read the project's shared board context at the start of the run** (e.g., `.agents/commands/hatch3r-board-shared.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
28
29
 
29
30
  ## Token-Saving Directives
30
31
 
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-hooks
3
3
  type: command
4
4
  description: Define and manage event-driven hooks that activate agents on project events
5
+ tags: [core, devops]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-learn
3
3
  type: command
4
4
  description: Capture learnings from development sessions into reusable knowledge files for future consultation.
5
+ tags: [core, maintenance]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-migration-plan
3
3
  type: command
4
4
  description: Create a phased migration plan for a major dependency or framework upgrade. Analyzes breaking changes and produces an actionable plan with rollback procedures.
5
+ tags: [planning, brownfield]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-onboard
3
3
  type: command
4
4
  description: Generate a comprehensive onboarding guide for a new developer joining the project -- spawn parallel researchers to analyze codebase structure, architecture, and conventions, then produce a tailored onboarding document with setup instructions, architecture walkthrough, coding conventions, key workflows, tribal knowledge, and a quick-reference cheat sheet.
5
+ tags: [brownfield, team]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-project-spec
3
3
  type: command
4
4
  description: Generate complete business and technical project documentation (specs, ADRs, todo.md) from a project vision using parallel researcher sub-agents with dual business/technical scoping.
5
+ tags: [planning, greenfield]
5
6
  ---
6
7
  # Project Spec — Greenfield Project Specification from Vision to Docs
7
8
 
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-quick-change
3
3
  type: command
4
4
  description: Lightweight command for small changes not worth tracking on the board. Adaptive ceremony with inline or sub-agent implementation, batch support, and soft scope guards.
5
+ tags: [core, implementation]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-recipe
3
3
  type: command
4
4
  description: Execute shareable workflow recipes that compose agents, skills, and commands into guided sequences for common development scenarios
5
+ tags: [core]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-refactor-plan
3
3
  type: command
4
4
  description: Plan a refactoring or migration effort -- spawn parallel researchers, produce refactoring spec, ADR(s), and phased todo.md entries for board-fill.
5
+ tags: [planning]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-release
3
3
  type: command
4
4
  description: Cut a versioned release with changelog generation, version bumping, and GitHub release creation.
5
+ tags: [devops]
5
6
  ---
6
7
  # Release — Cut a Versioned Release with Changelog
7
8
 
@@ -15,7 +16,7 @@ This command runs as a single orchestrator without sub-agent delegation. Quality
15
16
 
16
17
  ## Shared Context
17
18
 
18
- **Read the project's shared board context at the start of the run** (e.g., `.cursor/commands/board-shared.md` or equivalent). It contains GitHub Context, Project Reference, and tooling directives. Use GitHub MCP tools for issue/PR operations. Fallback to `gh` CLI for release creation (outside MCP catalog).
19
+ **Read the project's shared board context at the start of the run** (e.g., `.agents/commands/hatch3r-board-shared.md` or equivalent). It contains GitHub Context, Project Reference, and tooling directives. Use GitHub MCP tools for issue/PR operations. Fallback to `gh` CLI for release creation (outside MCP catalog).
19
20
 
20
21
  **Default branch:** Use `board.defaultBranch` from `.agents/hatch.json` (fallback: `"main"`) for all git operations involving the base branch (e.g., `git log`, `search_pull_requests` with `base`, `git push origin`).
21
22
 
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-revision
3
3
  type: command
4
4
  description: User-guided revision of agent-implemented code in a fresh context window. Reconstructs what was done, interviews the user for feedback, fixes issues, cleans up leftovers, and drives toward merge readiness.
5
+ tags: [implementation, team]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-roadmap
3
3
  type: command
4
4
  description: Generate a dual-lens phased roadmap (business milestones + technical milestones) from specs and vision using parallel researcher sub-agents, output to todo.md in the format that hatch3r-board-fill expects.
5
+ tags: [planning, greenfield]
5
6
  ---
6
7
  # Roadmap — Generate Phased Roadmap from Specs & Vision
7
8
 
@@ -309,7 +310,7 @@ Map technically-driven milestones across the timeline:
309
310
  | Phase | Label | Business Criteria | Technical Criteria |
310
311
  | ----- | ---- | ----------------- | ------------------ |
311
312
  | P0 | Critical / Launch Blockers | Revenue-blocking features, regulatory deadlines, market timing windows | Security fixes, data integrity, core infrastructure dependencies |
312
- | P1 | Core Features | Primary value-delivering features, conversion-critical flows, first GTM channel enablement | Essential integrations, performance baselines, CI/CD |
313
+ | P1 | Core Features | Primary value-delivering features, conversion-critical flows, first GTM channel enablement | Essential integrations, performance baselines, CI/CD, compound system integrity checks |
313
314
  | P2 | Important | Secondary features, retention improvements, additional GTM channels | Quality improvements, significant refactors, testing gaps, monitoring |
314
315
  | P3 | Nice to Have | Polish, upsell features, market expansion preparation | Optimizations, non-critical enhancements, developer experience |
315
316
  | P4+ | Future Ideas | Long-term market plays, new segments, platform strategy | Long-term architecture evolution, experimental technology |
@@ -531,6 +532,8 @@ If `AGENTS.md` already exists, **ASK** before overwriting: "Root `AGENTS.md` alr
531
532
 
532
533
  Which would you like to run next? (or none)"
533
534
 
535
+ **Future command:** `hatch3r-test-plan` — generates a test plan from the current task context (issue, spec references, acceptance criteria) covering unit, integration, and E2E test scenarios. Not yet implemented; tracked for a future release.
536
+
534
537
  ---
535
538
 
536
539
  ## Error Handling
@@ -545,6 +548,10 @@ Which would you like to run next? (or none)"
545
548
  - **Stage assessment unclear:** Default to "early-revenue" if the user is unsure. This provides balanced prioritization without over- or under-engineering the roadmap.
546
549
  - **No business specs found:** If only technical specs exist (legacy layout), generate a technical-only roadmap and recommend running `hatch3r-project-spec` or `hatch3r-codebase-map` to create business specs.
547
550
 
551
+ ## Adapter Breadth as Differentiation
552
+
553
+ Hatch3r's breadth across 13+ adapters (Claude, Cursor, Windsurf, Cline, Copilot, Codex, Gemini, Amp, Aider, Goose, Kiro, OpenCode, Zed) is a core differentiation strategy. To maintain this moat, recommend periodic adapter parity audits as part of any roadmap that includes hatch3r-internal work. The audit should verify that no adapter has fallen behind in feature support (e.g., missing MCP, hooks, or skills support that other adapters already handle). Adapter parity gaps should be tracked as `[TECH]` items at P2 priority or higher.
554
+
548
555
  ## Guardrails
549
556
 
550
557
  - **Never skip ASK checkpoints.** Every step with an ASK must pause for user confirmation.
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-rule-customize
3
3
  type: command
4
4
  description: Configure per-rule customization including scope overrides, description changes, enable/disable control, and project-specific markdown instructions
5
+ tags: [customize]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-security-audit
3
3
  type: command
4
4
  description: Create a full-product security audit epic with one sub-issue per project module
5
+ tags: [maintenance, security]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline
@@ -24,7 +25,7 @@ Create a security audit epic on **{owner}/{repo}** with one sub-issue per logica
24
25
 
25
26
  ## Shared Context
26
27
 
27
- **Read the project's shared board context at the start of the run** (e.g., `.cursor/commands/board-shared.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
28
+ **Read the project's shared board context at the start of the run** (e.g., `.agents/commands/hatch3r-board-shared.md` or equivalent). It contains GitHub Context, Project Reference, Projects v2 sync procedure, and Board Overview template. Cache all values for the duration of this run.
28
29
 
29
30
  ## Token-Saving Directives
30
31
 
@@ -2,6 +2,7 @@
2
2
  id: hatch3r-skill-customize
3
3
  type: command
4
4
  description: Configure per-skill customization including description overrides, enable/disable control, and project-specific markdown instructions
5
+ tags: [customize]
5
6
  ---
6
7
 
7
8
  ## Agent Pipeline