hatch3r 1.3.0 → 1.5.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 +12 -7
- package/agents/hatch3r-a11y-auditor.md +18 -11
- package/agents/hatch3r-architect.md +27 -12
- package/agents/hatch3r-ci-watcher.md +30 -9
- package/agents/hatch3r-context-rules.md +18 -8
- package/agents/hatch3r-dependency-auditor.md +30 -15
- package/agents/hatch3r-devops.md +18 -13
- package/agents/hatch3r-docs-writer.md +33 -12
- package/agents/hatch3r-fixer.md +46 -9
- package/agents/hatch3r-implementer.md +21 -9
- package/agents/hatch3r-learnings-loader.md +24 -7
- package/agents/hatch3r-lint-fixer.md +18 -9
- package/agents/hatch3r-perf-profiler.md +26 -10
- package/agents/hatch3r-researcher.md +57 -919
- package/agents/hatch3r-reviewer.md +29 -10
- package/agents/hatch3r-security-auditor.md +25 -10
- package/agents/hatch3r-test-writer.md +29 -9
- package/agents/modes/architecture.md +1 -0
- package/agents/modes/boundary-analysis.md +2 -1
- package/agents/modes/codebase-impact.md +1 -0
- package/agents/modes/complexity-risk.md +1 -0
- package/agents/modes/coverage-analysis.md +1 -0
- package/agents/modes/current-state.md +1 -0
- package/agents/modes/feature-design.md +1 -0
- package/agents/modes/impact-analysis.md +1 -0
- package/agents/modes/library-docs.md +2 -1
- package/agents/modes/migration-path.md +1 -0
- package/agents/modes/prior-art.md +1 -0
- package/agents/modes/refactoring-strategy.md +1 -0
- package/agents/modes/regression.md +1 -0
- package/agents/modes/requirements-elicitation.md +1 -0
- package/agents/modes/risk-assessment.md +1 -0
- package/agents/modes/risk-prioritization.md +1 -0
- package/agents/modes/root-cause.md +1 -0
- package/agents/modes/similar-implementation.md +2 -1
- package/agents/modes/symptom-trace.md +1 -0
- package/agents/modes/test-pattern.md +2 -1
- package/agents/shared/external-knowledge.md +31 -0
- package/agents/shared/quality-charter.md +96 -0
- package/checks/README.md +1 -0
- package/checks/accessibility.md +55 -0
- package/commands/board/pickup-azure-devops.md +5 -0
- package/commands/board/pickup-delegation-multi.md +9 -1
- package/commands/board/pickup-delegation.md +4 -0
- package/commands/board/pickup-github.md +5 -0
- package/commands/board/pickup-gitlab.md +5 -0
- package/commands/board/pickup-modes.md +1 -0
- package/commands/board/pickup-post-impl.md +9 -1
- package/commands/board/shared-azure-devops.md +14 -3
- package/commands/board/shared-board-overview.md +1 -0
- package/commands/board/shared-github.md +2 -0
- package/commands/board/shared-gitlab.md +10 -2
- package/commands/hatch3r-agent-customize.md +6 -1
- package/commands/hatch3r-api-spec.md +1 -0
- package/commands/hatch3r-benchmark.md +4 -3
- package/commands/hatch3r-board-fill.md +52 -9
- package/commands/hatch3r-board-groom.md +124 -7
- package/commands/hatch3r-board-init.md +7 -3
- package/commands/hatch3r-board-pickup.md +1 -0
- package/commands/hatch3r-board-refresh.md +1 -0
- package/commands/hatch3r-board-shared.md +71 -5
- package/commands/hatch3r-bug-plan.md +2 -1
- package/commands/hatch3r-codebase-map.md +4 -3
- package/commands/hatch3r-command-customize.md +6 -1
- package/commands/hatch3r-context-health.md +1 -0
- package/commands/hatch3r-cost-tracking.md +1 -0
- package/commands/hatch3r-debug.md +4 -3
- package/commands/hatch3r-dep-audit.md +3 -0
- package/commands/hatch3r-feature-plan.md +3 -2
- package/commands/hatch3r-healthcheck.md +1 -0
- package/commands/hatch3r-hooks.md +6 -1
- package/commands/hatch3r-learn.md +1 -0
- package/commands/hatch3r-migration-plan.md +3 -2
- package/commands/hatch3r-onboard.md +2 -1
- package/commands/hatch3r-project-spec.md +4 -3
- package/commands/hatch3r-quick-change.md +31 -3
- package/commands/hatch3r-recipe.md +1 -0
- package/commands/hatch3r-refactor-plan.md +2 -1
- package/commands/hatch3r-release.md +4 -1
- package/commands/hatch3r-revision.md +138 -17
- package/commands/hatch3r-roadmap.md +5 -4
- package/commands/hatch3r-rule-customize.md +5 -0
- package/commands/hatch3r-security-audit.md +1 -0
- package/commands/hatch3r-skill-customize.md +5 -0
- package/commands/hatch3r-test-plan.md +3 -2
- package/commands/hatch3r-workflow.md +15 -1
- package/dist/cli/index.js +7595 -4548
- package/dist/cli/index.js.map +1 -1
- package/hooks/hatch3r-ci-failure.md +1 -0
- package/hooks/hatch3r-file-save.md +1 -0
- package/hooks/hatch3r-post-merge.md +1 -0
- package/hooks/hatch3r-pre-commit.md +1 -0
- package/hooks/hatch3r-pre-push.md +1 -0
- package/hooks/hatch3r-session-start.md +1 -0
- package/package.json +30 -12
- package/rules/hatch3r-accessibility-standards.md +2 -1
- package/rules/hatch3r-accessibility-standards.mdc +1 -1
- package/rules/hatch3r-agent-orchestration-detail.md +207 -0
- package/rules/hatch3r-agent-orchestration-detail.mdc +202 -0
- package/rules/hatch3r-agent-orchestration.md +161 -318
- package/rules/hatch3r-agent-orchestration.mdc +212 -154
- package/rules/hatch3r-api-design.md +2 -1
- package/rules/hatch3r-api-design.mdc +1 -1
- package/rules/hatch3r-browser-verification.md +4 -2
- package/rules/hatch3r-browser-verification.mdc +1 -0
- package/rules/hatch3r-ci-cd.md +2 -1
- package/rules/hatch3r-ci-cd.mdc +1 -1
- package/rules/hatch3r-code-standards.md +15 -2
- package/rules/hatch3r-code-standards.mdc +22 -2
- package/rules/hatch3r-component-conventions.md +2 -1
- package/rules/hatch3r-component-conventions.mdc +1 -1
- package/rules/hatch3r-data-classification.md +2 -1
- package/rules/hatch3r-data-classification.mdc +1 -1
- package/rules/hatch3r-deep-context.md +26 -1
- package/rules/hatch3r-deep-context.mdc +54 -8
- package/rules/hatch3r-dependency-management.md +2 -1
- package/rules/hatch3r-dependency-management.mdc +17 -5
- package/rules/hatch3r-feature-flags.md +2 -0
- package/rules/hatch3r-feature-flags.mdc +1 -0
- package/rules/hatch3r-git-conventions.md +2 -1
- package/rules/hatch3r-git-conventions.mdc +2 -1
- package/rules/hatch3r-i18n.md +2 -1
- package/rules/hatch3r-i18n.mdc +1 -1
- package/rules/hatch3r-learning-consult.md +11 -1
- package/rules/hatch3r-learning-consult.mdc +11 -1
- package/rules/hatch3r-migrations.md +2 -1
- package/rules/hatch3r-migrations.mdc +12 -1
- package/rules/hatch3r-observability-logging.md +34 -0
- package/rules/hatch3r-observability-logging.mdc +30 -0
- package/rules/hatch3r-observability-metrics.md +74 -0
- package/rules/hatch3r-observability-metrics.mdc +70 -0
- package/rules/hatch3r-observability-tracing-detail.md +160 -0
- package/rules/hatch3r-observability-tracing-detail.mdc +63 -0
- package/rules/hatch3r-observability-tracing.md +86 -0
- package/rules/hatch3r-observability-tracing.mdc +77 -0
- package/rules/hatch3r-observability.md +9 -448
- package/rules/hatch3r-observability.mdc +7 -159
- package/rules/hatch3r-performance-budgets.md +2 -0
- package/rules/hatch3r-performance-budgets.mdc +1 -0
- package/rules/hatch3r-secrets-management.md +2 -1
- package/rules/hatch3r-secrets-management.mdc +1 -1
- package/rules/hatch3r-security-patterns.md +3 -2
- package/rules/hatch3r-security-patterns.mdc +12 -1
- package/rules/hatch3r-testing.md +12 -2
- package/rules/hatch3r-testing.mdc +11 -2
- package/rules/hatch3r-theming.md +3 -2
- package/rules/hatch3r-theming.mdc +1 -1
- package/rules/hatch3r-tooling-hierarchy.md +3 -2
- package/rules/hatch3r-tooling-hierarchy.mdc +19 -5
- package/skills/hatch3r-a11y-audit/SKILL.md +11 -4
- package/skills/hatch3r-agent-customize/SKILL.md +5 -72
- package/skills/hatch3r-api-spec/SKILL.md +9 -2
- package/skills/hatch3r-architecture-review/SKILL.md +7 -0
- package/skills/hatch3r-bug-fix/SKILL.md +16 -7
- package/skills/hatch3r-ci-pipeline/SKILL.md +8 -1
- package/skills/hatch3r-command-customize/SKILL.md +5 -62
- package/skills/hatch3r-context-health/SKILL.md +23 -2
- package/skills/hatch3r-cost-tracking/SKILL.md +16 -6
- package/skills/hatch3r-customize/SKILL.md +124 -0
- package/skills/hatch3r-dep-audit/SKILL.md +9 -2
- package/skills/hatch3r-feature/SKILL.md +12 -4
- package/skills/hatch3r-gh-agentic-workflows/SKILL.md +7 -0
- package/skills/hatch3r-incident-response/SKILL.md +7 -0
- package/skills/hatch3r-issue-workflow/SKILL.md +8 -1
- package/skills/hatch3r-logical-refactor/SKILL.md +8 -1
- package/skills/hatch3r-migration/SKILL.md +7 -0
- package/skills/hatch3r-perf-audit/SKILL.md +9 -2
- package/skills/hatch3r-pr-creation/SKILL.md +8 -1
- package/skills/hatch3r-qa-validation/SKILL.md +8 -1
- package/skills/hatch3r-recipe/SKILL.md +8 -1
- package/skills/hatch3r-refactor/SKILL.md +10 -2
- package/skills/hatch3r-release/SKILL.md +8 -1
- package/skills/hatch3r-rule-customize/SKILL.md +5 -65
- package/skills/hatch3r-skill-customize/SKILL.md +5 -62
- package/skills/hatch3r-visual-refactor/SKILL.md +12 -5
|
@@ -1,71 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: hatch3r-rule-customize
|
|
3
|
-
description:
|
|
3
|
+
description: Rule customization — redirects to the unified hatch3r-customize skill.
|
|
4
4
|
tags: [customize]
|
|
5
|
+
quality_charter: agents/shared/quality-charter.md
|
|
5
6
|
---
|
|
6
|
-
# Rule Customization
|
|
7
|
+
# Rule Customization
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
> **This skill has been consolidated.** Use the `hatch3r-customize` skill with `type: rule`.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
Task Progress:
|
|
12
|
-
- [ ] Step 1: Identify which rule to customize
|
|
13
|
-
- [ ] Step 2: Determine customization needs
|
|
14
|
-
- [ ] Step 3: Create the customization files
|
|
15
|
-
- [ ] Step 4: Sync to propagate changes
|
|
16
|
-
- [ ] Step 5: Verify the customized output
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Step 1: Identify Rule
|
|
20
|
-
|
|
21
|
-
Determine which hatch3r rule needs customization:
|
|
22
|
-
- Review the rules in `.agents/rules/` and their default scope/content
|
|
23
|
-
- Identify gaps between default rules and project needs
|
|
24
|
-
- Check for existing customization files in `.hatch3r/rules/`
|
|
25
|
-
|
|
26
|
-
## Step 2: Determine Customization Needs
|
|
27
|
-
|
|
28
|
-
Decide which customization approach to use:
|
|
29
|
-
|
|
30
|
-
**YAML (`.customize.yaml`)** — for structured overrides:
|
|
31
|
-
- **Scope**: Override when the rule applies (`always`, glob patterns like `src/**/*.ts`)
|
|
32
|
-
- **Description**: Change how the rule is described in adapter outputs
|
|
33
|
-
- **Enabled**: Set to `false` to disable the rule entirely
|
|
34
|
-
|
|
35
|
-
**Markdown (`.customize.md`)** — for free-form instructions:
|
|
36
|
-
- Project-specific rule additions or constraints
|
|
37
|
-
- Domain-specific standards and requirements
|
|
38
|
-
- Framework-specific conventions
|
|
39
|
-
|
|
40
|
-
## Step 3: Create Customization Files
|
|
41
|
-
|
|
42
|
-
Create files in `.hatch3r/rules/`:
|
|
43
|
-
|
|
44
|
-
**For YAML overrides:**
|
|
45
|
-
```yaml
|
|
46
|
-
# .hatch3r/rules/{rule-id}.customize.yaml
|
|
47
|
-
scope: "src/**/*.ts,src/**/*.tsx"
|
|
48
|
-
description: "Testing rules with healthcare compliance requirements"
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
**For markdown instructions:**
|
|
52
|
-
Create `.hatch3r/rules/{rule-id}.customize.md` with project-specific additions. This content is injected into the managed block under `## Project Customizations`.
|
|
53
|
-
|
|
54
|
-
## Step 4: Sync
|
|
55
|
-
|
|
56
|
-
Run `npx hatch3r sync` to propagate customizations to all adapter outputs.
|
|
57
|
-
|
|
58
|
-
## Step 5: Verify
|
|
59
|
-
|
|
60
|
-
Confirm customizations appear in adapter output files:
|
|
61
|
-
- Check scope is applied correctly in adapter-specific frontmatter (globs, alwaysApply, etc.)
|
|
62
|
-
- Check description in adapter outputs
|
|
63
|
-
- Check markdown instructions appear inside the managed block
|
|
64
|
-
- Verify disabled rules are absent from adapter outputs
|
|
65
|
-
|
|
66
|
-
## Definition of Done
|
|
67
|
-
|
|
68
|
-
- [ ] Customization files created in `.hatch3r/rules/`
|
|
69
|
-
- [ ] `npx hatch3r sync` completes without errors
|
|
70
|
-
- [ ] Adapter output files reflect the customizations (scope, description, content)
|
|
71
|
-
- [ ] Customization files committed to the repository
|
|
11
|
+
For rule-specific reference (scope overrides, YAML schema), see the `hatch3r-rule-customize` command.
|
|
@@ -1,68 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: hatch3r-skill-customize
|
|
3
|
-
description:
|
|
3
|
+
description: Skill customization — redirects to the unified hatch3r-customize skill.
|
|
4
4
|
tags: [customize]
|
|
5
|
+
quality_charter: agents/shared/quality-charter.md
|
|
5
6
|
---
|
|
6
|
-
# Skill Customization
|
|
7
|
+
# Skill Customization
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
> **This skill has been consolidated.** Use the `hatch3r-customize` skill with `type: skill`.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
Task Progress:
|
|
12
|
-
- [ ] Step 1: Identify which skill to customize
|
|
13
|
-
- [ ] Step 2: Determine customization needs
|
|
14
|
-
- [ ] Step 3: Create the customization files
|
|
15
|
-
- [ ] Step 4: Sync to propagate changes
|
|
16
|
-
- [ ] Step 5: Verify the customized output
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Step 1: Identify Skill
|
|
20
|
-
|
|
21
|
-
Determine which hatch3r skill needs customization:
|
|
22
|
-
- Review the skills in `.agents/skills/` and their default workflows
|
|
23
|
-
- Identify gaps between default workflows and project needs
|
|
24
|
-
- Check for existing customization files in `.hatch3r/skills/`
|
|
25
|
-
|
|
26
|
-
## Step 2: Determine Customization Needs
|
|
27
|
-
|
|
28
|
-
Decide which customization approach to use:
|
|
29
|
-
|
|
30
|
-
**YAML (`.customize.yaml`)** — for structured overrides:
|
|
31
|
-
- **Description**: Change how the skill is described in adapter frontmatter
|
|
32
|
-
- **Enabled**: Set to `false` to disable the skill entirely
|
|
33
|
-
|
|
34
|
-
**Markdown (`.customize.md`)** — for free-form instructions:
|
|
35
|
-
- Project-specific workflow additions
|
|
36
|
-
- Additional prerequisites or validation steps
|
|
37
|
-
- Custom tooling or process requirements
|
|
38
|
-
|
|
39
|
-
## Step 3: Create Customization Files
|
|
40
|
-
|
|
41
|
-
Create files in `.hatch3r/skills/`:
|
|
42
|
-
|
|
43
|
-
**For YAML overrides:**
|
|
44
|
-
```yaml
|
|
45
|
-
# .hatch3r/skills/{skill-id}.customize.yaml
|
|
46
|
-
description: "Issue workflow with mandatory security review"
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**For markdown instructions:**
|
|
50
|
-
Create `.hatch3r/skills/{skill-id}.customize.md` with project-specific additions. This content is injected into the managed block under `## Project Customizations`.
|
|
51
|
-
|
|
52
|
-
## Step 4: Sync
|
|
53
|
-
|
|
54
|
-
Run `npx hatch3r sync` to propagate customizations to all adapter outputs.
|
|
55
|
-
|
|
56
|
-
## Step 5: Verify
|
|
57
|
-
|
|
58
|
-
Confirm customizations appear in adapter output files:
|
|
59
|
-
- Check description in frontmatter (where applicable)
|
|
60
|
-
- Check markdown instructions appear inside the managed block
|
|
61
|
-
- Verify disabled skills are absent from adapter outputs
|
|
62
|
-
|
|
63
|
-
## Definition of Done
|
|
64
|
-
|
|
65
|
-
- [ ] Customization files created in `.hatch3r/skills/`
|
|
66
|
-
- [ ] `npx hatch3r sync` completes without errors
|
|
67
|
-
- [ ] Adapter output files reflect the customizations
|
|
68
|
-
- [ ] Customization files committed to the repository
|
|
11
|
+
For skill-specific reference (YAML schema, examples), see the `hatch3r-skill-customize` command.
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
id: hatch3r-visual-refactor
|
|
3
3
|
description: UI/UX change workflow matching design, accessibility, and responsiveness requirements. Use when making visual changes, updating components, working on UI issues, or implementing design mockups.
|
|
4
4
|
tags: [implementation]
|
|
5
|
+
quality_charter: agents/shared/quality-charter.md
|
|
5
6
|
---
|
|
6
|
-
> **Note:** Commands below use `npm` as an example. Substitute with your project's package manager (`yarn`, `pnpm`, `bun`) or build tool
|
|
7
|
+
> **Note:** Commands below use `npm` as an example. Substitute with your project's package manager (`yarn`, `pnpm`, `bun`) or build tool when your project uses a different package manager.
|
|
7
8
|
|
|
8
9
|
# Visual Refactor Workflow
|
|
9
10
|
|
|
@@ -40,9 +41,9 @@ Before modifying code, output:
|
|
|
40
41
|
|
|
41
42
|
- Match the mockup/screenshot exactly. Do not improvise design.
|
|
42
43
|
- Use existing design system tokens and components.
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
44
|
+
- Verify animations respect `prefers-reduced-motion` by enabling the media query in DevTools and confirming animations are disabled or simplified.
|
|
45
|
+
- Verify color contrast meets WCAG AA (4.5:1 for text) using a contrast checker tool.
|
|
46
|
+
- Verify interactive elements are keyboard accessible by tabbing through them and confirming visible focus indicators.
|
|
46
47
|
- Add ARIA attributes for screen reader support.
|
|
47
48
|
|
|
48
49
|
## Step 4: Verify
|
|
@@ -58,7 +59,7 @@ npm run lint && npm run typecheck && npm run test
|
|
|
58
59
|
|
|
59
60
|
### 4b. Browser Verification
|
|
60
61
|
|
|
61
|
-
-
|
|
62
|
+
- Confirm the dev server is running by checking the expected port. If not running, start it in the background.
|
|
62
63
|
- Navigate to every surface affected by the visual change.
|
|
63
64
|
- Compare the rendered result against the mockup or design from the issue.
|
|
64
65
|
- Test at multiple viewport sizes if the change affects responsive behavior.
|
|
@@ -77,6 +78,12 @@ Use the project's PR template. Include:
|
|
|
77
78
|
- Accessibility verification evidence
|
|
78
79
|
- Responsive behavior across sizes
|
|
79
80
|
|
|
81
|
+
## Error Handling
|
|
82
|
+
|
|
83
|
+
- **No design mockup or reference provided**: Ask the user for a design reference before implementing. If none is available, propose the design based on existing design system tokens and get approval before proceeding.
|
|
84
|
+
- **Snapshot tests fail after visual changes**: Update the snapshots only after visually verifying the new rendering is correct. Do not blindly update snapshots without visual confirmation.
|
|
85
|
+
- **Component renders differently across browsers**: Test in at least two browser engines. Document browser-specific rendering differences and fix those that affect usability or accessibility.
|
|
86
|
+
|
|
80
87
|
## Definition of Done
|
|
81
88
|
|
|
82
89
|
- [ ] UI matches mockup/design in the issue
|