hatch3r 1.8.0 → 2.0.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 +68 -178
- package/dist/cli/index.js +26966 -15942
- package/{agents → dist/content/agents}/hatch3r-architect.md +39 -9
- package/dist/content/agents/hatch3r-brownfield-spec.md +254 -0
- package/{agents → dist/content/agents}/hatch3r-ci-watcher.md +10 -3
- package/{agents → dist/content/agents}/hatch3r-context-rules.md +24 -6
- package/{agents → dist/content/agents}/hatch3r-creator.md +78 -39
- package/dist/content/agents/hatch3r-dependency-drafter.md +162 -0
- package/{agents → dist/content/agents}/hatch3r-devops.md +14 -4
- package/{agents → dist/content/agents}/hatch3r-docs-writer.md +11 -1
- package/dist/content/agents/hatch3r-edge-case-analyst.md +134 -0
- package/dist/content/agents/hatch3r-enhancability.md +192 -0
- package/{agents → dist/content/agents}/hatch3r-fixer.md +61 -10
- package/dist/content/agents/hatch3r-greenfield-spec.md +256 -0
- package/{agents → dist/content/agents}/hatch3r-handoff-loader.md +40 -14
- package/{agents → dist/content/agents}/hatch3r-handoff-preparer.md +17 -8
- package/dist/content/agents/hatch3r-implementer.md +409 -0
- package/dist/content/agents/hatch3r-incident-responder.md +96 -0
- package/dist/content/agents/hatch3r-learnings-loader.md +377 -0
- package/{agents → dist/content/agents}/hatch3r-lint-fixer.md +16 -4
- package/dist/content/agents/hatch3r-maintainability.md +183 -0
- package/dist/content/agents/hatch3r-pack-installer.md +113 -0
- package/dist/content/agents/hatch3r-performance.md +179 -0
- package/dist/content/agents/hatch3r-reliability.md +193 -0
- package/{agents → dist/content/agents}/hatch3r-researcher.md +30 -7
- package/dist/content/agents/hatch3r-reviewer.md +364 -0
- package/dist/content/agents/hatch3r-scalability.md +162 -0
- package/dist/content/agents/hatch3r-security.md +197 -0
- package/dist/content/agents/hatch3r-testability.md +204 -0
- package/dist/content/agents/hatch3r-ui.md +175 -0
- package/dist/content/agents/hatch3r-ux.md +160 -0
- package/{agents → dist/content/agents}/modes/requirements-elicitation.md +1 -1
- package/{agents → dist/content/agents}/modes/user-flows.md +2 -2
- package/dist/content/agents/shared/clarification-default-block.md +44 -0
- package/dist/content/agents/shared/confidence-gate.md +42 -0
- package/dist/content/agents/shared/cq-specialist-roster.md +26 -0
- package/{agents → dist/content/agents}/shared/efficiency-patterns.md +32 -1
- package/{agents → dist/content/agents}/shared/external-knowledge.md +1 -1
- package/{agents → dist/content/agents}/shared/injection-patterns.md +19 -8
- package/dist/content/agents/shared/principles.md +60 -0
- package/{agents → dist/content/agents}/shared/prompt-structure.md +7 -1
- package/{agents → dist/content/agents}/shared/quality-charter.md +73 -9
- package/dist/content/agents/shared/quality-specialist-frame.md +141 -0
- package/dist/content/agents/shared/rigor-contract.md +151 -0
- package/dist/content/agents/shared/severity-mapping.md +92 -0
- package/dist/content/agents/shared/triage-vocabulary.md +46 -0
- package/{agents → dist/content/agents}/shared/user-content-templates.md +40 -14
- package/dist/content/agents/shared/user-question-protocol.md +139 -0
- package/{checks → dist/content/checks}/README.md +5 -0
- package/{checks → dist/content/checks}/accessibility.md +14 -7
- package/{checks → dist/content/checks}/code-quality.md +1 -1
- package/{checks → dist/content/checks}/performance.md +7 -4
- package/{checks → dist/content/checks}/security.md +6 -6
- package/{checks → dist/content/checks}/testing.md +1 -1
- package/{commands → dist/content/commands}/board/pickup-azure-devops.md +1 -1
- package/{commands → dist/content/commands}/board/pickup-delegation-multi.md +41 -14
- package/{commands → dist/content/commands}/board/pickup-delegation.md +10 -8
- package/{commands → dist/content/commands}/board/pickup-github.md +1 -1
- package/{commands → dist/content/commands}/board/pickup-gitlab.md +1 -1
- package/{commands → dist/content/commands}/board/pickup-modes.md +1 -0
- package/{commands → dist/content/commands}/board/pickup-post-impl.md +2 -2
- package/{commands → dist/content/commands}/board/shared-azure-devops.md +1 -1
- package/{commands → dist/content/commands}/board/shared-github.md +2 -2
- package/{commands → dist/content/commands}/board/shared-gitlab.md +1 -1
- package/{commands → dist/content/commands}/hatch3r-api-spec.md +80 -3
- package/dist/content/commands/hatch3r-auth-scaffold.md +250 -0
- package/{commands → dist/content/commands}/hatch3r-benchmark.md +91 -8
- package/{commands → dist/content/commands}/hatch3r-board-fill.md +104 -18
- package/{commands → dist/content/commands}/hatch3r-board-pickup.md +99 -15
- package/dist/content/commands/hatch3r-bug-pipeline.md +240 -0
- package/{commands → dist/content/commands}/hatch3r-bug-plan.md +84 -8
- package/{commands → dist/content/commands}/hatch3r-codebase-map.md +82 -6
- package/{commands → dist/content/commands}/hatch3r-create.md +116 -18
- package/{commands → dist/content/commands}/hatch3r-debug.md +112 -24
- package/dist/content/commands/hatch3r-diagnose.md +238 -0
- package/{commands → dist/content/commands}/hatch3r-feature-plan.md +130 -10
- package/dist/content/commands/hatch3r-handoff.md +213 -0
- package/{commands → dist/content/commands}/hatch3r-healthcheck.md +106 -6
- package/dist/content/commands/hatch3r-incident-response.md +228 -0
- package/{commands → dist/content/commands}/hatch3r-migration-plan.md +81 -5
- package/{commands → dist/content/commands}/hatch3r-onboard.md +100 -9
- package/dist/content/commands/hatch3r-pack-install.md +243 -0
- package/{commands → dist/content/commands}/hatch3r-pr-resolve.md +114 -31
- package/{commands → dist/content/commands}/hatch3r-project-spec.md +85 -9
- package/{commands → dist/content/commands}/hatch3r-quick-change.md +115 -20
- package/{commands → dist/content/commands}/hatch3r-refactor-plan.md +82 -6
- package/dist/content/commands/hatch3r-release.md +401 -0
- package/{commands → dist/content/commands}/hatch3r-revision.md +104 -18
- package/{commands → dist/content/commands}/hatch3r-roadmap.md +94 -12
- package/{commands → dist/content/commands}/hatch3r-security-audit.md +107 -7
- package/dist/content/commands/hatch3r-slo-scaffold.md +246 -0
- package/dist/content/commands/hatch3r-spec.md +216 -0
- package/{commands → dist/content/commands}/hatch3r-test-plan.md +90 -14
- package/dist/content/commands/hatch3r-workflow.md +628 -0
- package/{commands → dist/content/commands}/revision/revision-delegation.md +8 -7
- package/{commands → dist/content/commands}/revision/revision-modes.md +49 -4
- package/{commands → dist/content/commands}/revision/revision-quality.md +12 -9
- package/dist/content/commands/shared/orchestration-frame.md +119 -0
- package/{github-agents → dist/content/github-agents}/hatch3r-docs-agent.md +22 -2
- package/dist/content/github-agents/hatch3r-lint-agent.md +66 -0
- package/{github-agents → dist/content/github-agents}/hatch3r-security-agent.md +22 -2
- package/{github-agents → dist/content/github-agents}/hatch3r-test-agent.md +22 -2
- package/{hooks → dist/content/hooks}/hatch3r-ci-failure.md +3 -3
- package/{hooks → dist/content/hooks}/hatch3r-file-save.md +4 -4
- package/{hooks → dist/content/hooks}/hatch3r-post-merge.md +1 -1
- package/{hooks → dist/content/hooks}/hatch3r-pre-commit.md +1 -1
- package/{hooks → dist/content/hooks}/hatch3r-pre-push.md +7 -7
- package/dist/content/hooks/hatch3r-review-loop-cap.md +52 -0
- package/{hooks → dist/content/hooks}/hatch3r-session-start.md +3 -3
- package/{mcp → dist/content/mcp}/mcp.json +7 -5
- package/{rules → dist/content/rules}/hatch3r-accessibility-standards.md +16 -3
- package/{rules → dist/content/rules}/hatch3r-accessibility-standards.mdc +13 -1
- package/dist/content/rules/hatch3r-agent-orchestration-detail.md +250 -0
- package/dist/content/rules/hatch3r-agent-orchestration-detail.mdc +245 -0
- package/dist/content/rules/hatch3r-agent-orchestration.md +250 -0
- package/dist/content/rules/hatch3r-agent-orchestration.mdc +245 -0
- package/{rules → dist/content/rules}/hatch3r-ai-evals.md +7 -5
- package/{rules → dist/content/rules}/hatch3r-ai-evals.mdc +5 -4
- package/{rules → dist/content/rules}/hatch3r-ai-ux-patterns.md +7 -3
- package/{rules → dist/content/rules}/hatch3r-ai-ux-patterns.mdc +4 -1
- package/dist/content/rules/hatch3r-android-patterns.md +107 -0
- package/dist/content/rules/hatch3r-android-patterns.mdc +102 -0
- package/dist/content/rules/hatch3r-anti-duplication.md +115 -0
- package/dist/content/rules/hatch3r-anti-duplication.mdc +115 -0
- package/{rules → dist/content/rules}/hatch3r-api-design.md +5 -1
- package/{rules → dist/content/rules}/hatch3r-api-design.mdc +3 -0
- package/{rules → dist/content/rules}/hatch3r-api-versioning.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-api-versioning.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-auth-patterns.md +5 -2
- package/{rules → dist/content/rules}/hatch3r-auth-patterns.mdc +2 -0
- package/{rules → dist/content/rules}/hatch3r-browser-verification.md +8 -10
- package/{rules → dist/content/rules}/hatch3r-browser-verification.mdc +8 -10
- package/dist/content/rules/hatch3r-capability-matrix.md +108 -0
- package/dist/content/rules/hatch3r-capability-matrix.mdc +108 -0
- package/{rules → dist/content/rules}/hatch3r-ci-cd.md +9 -1
- package/{rules → dist/content/rules}/hatch3r-ci-cd.mdc +7 -0
- package/dist/content/rules/hatch3r-clarification-default.md +73 -0
- package/dist/content/rules/hatch3r-clarification-default.mdc +73 -0
- package/{rules → dist/content/rules}/hatch3r-code-standards.md +23 -47
- package/{rules → dist/content/rules}/hatch3r-code-standards.mdc +22 -46
- package/{rules → dist/content/rules}/hatch3r-component-conventions.md +4 -1
- package/{rules → dist/content/rules}/hatch3r-component-conventions.mdc +3 -0
- package/{rules → dist/content/rules}/hatch3r-container-hardening.md +13 -3
- package/{rules → dist/content/rules}/hatch3r-container-hardening.mdc +10 -1
- package/{rules → dist/content/rules}/hatch3r-contract-testing.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-contract-testing.mdc +1 -0
- package/dist/content/rules/hatch3r-cost-visibility.md +135 -0
- package/dist/content/rules/hatch3r-cost-visibility.mdc +135 -0
- package/dist/content/rules/hatch3r-cq-rule-frame.md +54 -0
- package/dist/content/rules/hatch3r-cq-rule-frame.mdc +49 -0
- package/{rules → dist/content/rules}/hatch3r-data-classification.md +5 -2
- package/{rules → dist/content/rules}/hatch3r-data-classification.mdc +3 -1
- package/{rules → dist/content/rules}/hatch3r-deep-context.md +14 -14
- package/{rules → dist/content/rules}/hatch3r-deep-context.mdc +13 -13
- package/{rules → dist/content/rules}/hatch3r-dependency-management.md +18 -4
- package/{rules → dist/content/rules}/hatch3r-dependency-management.mdc +16 -3
- package/{rules → dist/content/rules}/hatch3r-design-system-detection.md +4 -2
- package/{rules → dist/content/rules}/hatch3r-design-system-detection.mdc +1 -0
- package/dist/content/rules/hatch3r-dotnet-patterns.md +104 -0
- package/dist/content/rules/hatch3r-dotnet-patterns.mdc +99 -0
- package/dist/content/rules/hatch3r-edge-case-discipline.md +65 -0
- package/dist/content/rules/hatch3r-edge-case-discipline.mdc +65 -0
- package/dist/content/rules/hatch3r-enhancability.md +147 -0
- package/dist/content/rules/hatch3r-enhancability.mdc +142 -0
- package/{rules → dist/content/rules}/hatch3r-event-schema-evolution.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-event-schema-evolution.mdc +1 -0
- package/dist/content/rules/hatch3r-fan-out-discipline.md +91 -0
- package/dist/content/rules/hatch3r-fan-out-discipline.mdc +91 -0
- package/{rules → dist/content/rules}/hatch3r-feature-flags.md +2 -0
- package/{rules → dist/content/rules}/hatch3r-feature-flags.mdc +2 -0
- package/dist/content/rules/hatch3r-flutter-patterns.md +88 -0
- package/dist/content/rules/hatch3r-flutter-patterns.mdc +83 -0
- package/{rules → dist/content/rules}/hatch3r-git-conventions.md +5 -2
- package/{rules → dist/content/rules}/hatch3r-git-conventions.mdc +2 -0
- package/dist/content/rules/hatch3r-go-patterns.md +98 -0
- package/dist/content/rules/hatch3r-go-patterns.mdc +93 -0
- package/{rules → dist/content/rules}/hatch3r-handoff-readiness.md +14 -4
- package/{rules → dist/content/rules}/hatch3r-handoff-readiness.mdc +13 -3
- package/{rules → dist/content/rules}/hatch3r-i18n.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-i18n.mdc +2 -0
- package/dist/content/rules/hatch3r-iteration-summary.md +108 -0
- package/dist/content/rules/hatch3r-iteration-summary.mdc +108 -0
- package/dist/content/rules/hatch3r-learning-system.md +202 -0
- package/dist/content/rules/hatch3r-learning-system.mdc +202 -0
- package/dist/content/rules/hatch3r-maintainability.md +157 -0
- package/dist/content/rules/hatch3r-maintainability.mdc +152 -0
- package/{rules → dist/content/rules}/hatch3r-migrations.md +4 -2
- package/{rules → dist/content/rules}/hatch3r-migrations.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-observability-logging.md +2 -1
- package/{rules → dist/content/rules}/hatch3r-observability-logging.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-observability-metrics.md +2 -1
- package/{rules → dist/content/rules}/hatch3r-observability-metrics.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-observability-tracing.md +46 -36
- package/{rules → dist/content/rules}/hatch3r-observability-tracing.mdc +45 -35
- package/{rules → dist/content/rules}/hatch3r-operability.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-operability.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-passkey-server.md +4 -2
- package/{rules → dist/content/rules}/hatch3r-passkey-server.mdc +1 -0
- package/{rules → dist/content/rules}/hatch3r-performance-budgets.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-performance-budgets.mdc +3 -1
- package/dist/content/rules/hatch3r-php-laravel-patterns.md +109 -0
- package/dist/content/rules/hatch3r-php-laravel-patterns.mdc +104 -0
- package/{rules → dist/content/rules}/hatch3r-progressive-delivery.md +5 -1
- package/{rules → dist/content/rules}/hatch3r-progressive-delivery.mdc +3 -0
- package/dist/content/rules/hatch3r-proof-model.md +131 -0
- package/dist/content/rules/hatch3r-proof-model.mdc +131 -0
- package/dist/content/rules/hatch3r-python-patterns.md +70 -0
- package/dist/content/rules/hatch3r-python-patterns.mdc +65 -0
- package/dist/content/rules/hatch3r-react-native-patterns.md +83 -0
- package/dist/content/rules/hatch3r-react-native-patterns.mdc +78 -0
- package/{rules → dist/content/rules}/hatch3r-resilience-patterns.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-resilience-patterns.mdc +1 -0
- package/dist/content/rules/hatch3r-reviewer-calibration.md +84 -0
- package/dist/content/rules/hatch3r-reviewer-calibration.mdc +84 -0
- package/dist/content/rules/hatch3r-right-sizing.md +68 -0
- package/dist/content/rules/hatch3r-right-sizing.mdc +66 -0
- package/dist/content/rules/hatch3r-ruby-rails-patterns.md +111 -0
- package/dist/content/rules/hatch3r-ruby-rails-patterns.mdc +106 -0
- package/dist/content/rules/hatch3r-rust-patterns.md +107 -0
- package/dist/content/rules/hatch3r-rust-patterns.mdc +102 -0
- package/dist/content/rules/hatch3r-scalability.md +137 -0
- package/dist/content/rules/hatch3r-scalability.mdc +132 -0
- package/{rules → dist/content/rules}/hatch3r-secrets-management.md +12 -2
- package/{rules → dist/content/rules}/hatch3r-secrets-management.mdc +9 -0
- package/{rules → dist/content/rules}/hatch3r-security-patterns.md +38 -35
- package/{rules → dist/content/rules}/hatch3r-security-patterns.mdc +36 -34
- package/dist/content/rules/hatch3r-security.md +97 -0
- package/dist/content/rules/hatch3r-security.mdc +92 -0
- package/dist/content/rules/hatch3r-swiftui-patterns.md +98 -0
- package/dist/content/rules/hatch3r-swiftui-patterns.mdc +93 -0
- package/dist/content/rules/hatch3r-testability.md +115 -0
- package/dist/content/rules/hatch3r-testability.mdc +110 -0
- package/{rules → dist/content/rules}/hatch3r-testing.md +6 -2
- package/{rules → dist/content/rules}/hatch3r-testing.mdc +3 -0
- package/{rules → dist/content/rules}/hatch3r-theming.md +3 -1
- package/{rules → dist/content/rules}/hatch3r-theming.mdc +2 -0
- package/dist/content/rules/hatch3r-tool-currency.md +91 -0
- package/dist/content/rules/hatch3r-tool-currency.mdc +86 -0
- package/{rules → dist/content/rules}/hatch3r-tooling-hierarchy.md +30 -32
- package/{rules → dist/content/rules}/hatch3r-tooling-hierarchy.mdc +28 -31
- package/dist/content/rules/hatch3r-typescript-patterns.md +58 -0
- package/dist/content/rules/hatch3r-typescript-patterns.mdc +53 -0
- package/{rules → dist/content/rules}/hatch3r-ux-states-and-flows.md +13 -5
- package/{rules → dist/content/rules}/hatch3r-ux-states-and-flows.mdc +10 -3
- package/{skills → dist/content/skills}/hatch3r-a11y-audit/SKILL.md +11 -9
- package/{skills → dist/content/skills}/hatch3r-a11y-audit/references/manual-audit-checklist.md +7 -5
- package/dist/content/skills/hatch3r-adhoc-orchestrate/SKILL.md +131 -0
- package/{skills → dist/content/skills}/hatch3r-ai-feature/SKILL.md +4 -6
- package/{skills → dist/content/skills}/hatch3r-api-spec/SKILL.md +27 -2
- package/{skills → dist/content/skills}/hatch3r-architecture-review/SKILL.md +5 -8
- package/{commands/hatch3r-board-groom.md → dist/content/skills/hatch3r-board-groom/SKILL.md} +16 -18
- package/{commands/hatch3r-board-init.md → dist/content/skills/hatch3r-board-init/SKILL.md} +34 -31
- package/{commands/hatch3r-board-refresh.md → dist/content/skills/hatch3r-board-refresh/SKILL.md} +17 -19
- package/{commands/hatch3r-board-shared.md → dist/content/skills/hatch3r-board-shared/SKILL.md} +45 -15
- package/dist/content/skills/hatch3r-browser-verify/SKILL.md +307 -0
- package/{skills → dist/content/skills}/hatch3r-bug-fix/SKILL.md +16 -3
- package/{skills → dist/content/skills}/hatch3r-ci-pipeline/SKILL.md +17 -7
- package/{skills → dist/content/skills}/hatch3r-cli-fd/SKILL.md +34 -2
- package/{skills → dist/content/skills}/hatch3r-cli-fzf/SKILL.md +34 -2
- package/dist/content/skills/hatch3r-cli-gh/SKILL.md +139 -0
- package/{skills → dist/content/skills}/hatch3r-cli-jq/SKILL.md +43 -9
- package/{skills → dist/content/skills}/hatch3r-cli-ripgrep/SKILL.md +36 -4
- package/dist/content/skills/hatch3r-cli-toolbox/SKILL.md +376 -0
- package/dist/content/skills/hatch3r-containerize/SKILL.md +157 -0
- package/{skills → dist/content/skills}/hatch3r-context-health/SKILL.md +27 -9
- package/dist/content/skills/hatch3r-cost-tracking/SKILL.md +164 -0
- package/{skills → dist/content/skills}/hatch3r-customize/SKILL.md +9 -13
- package/{skills → dist/content/skills}/hatch3r-dep-audit/SKILL.md +29 -9
- package/{skills → dist/content/skills}/hatch3r-design-system-detect/SKILL.md +4 -8
- package/dist/content/skills/hatch3r-docs-writing/SKILL.md +159 -0
- package/dist/content/skills/hatch3r-enhancability-verify/SKILL.md +152 -0
- package/{skills → dist/content/skills}/hatch3r-feature/SKILL.md +54 -4
- package/dist/content/skills/hatch3r-feedback/SKILL.md +103 -0
- package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/SKILL.md +14 -12
- package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/references/azure-devops.md +2 -2
- package/{skills → dist/content/skills}/hatch3r-gh-agentic-workflows/references/gitlab-ci.md +1 -1
- package/{skills → dist/content/skills}/hatch3r-handoff-prepare/SKILL.md +12 -15
- package/{skills → dist/content/skills}/hatch3r-handoff-resume/SKILL.md +5 -8
- package/{commands/hatch3r-hooks.md → dist/content/skills/hatch3r-hooks/SKILL.md} +59 -148
- package/dist/content/skills/hatch3r-incident-response/SKILL.md +174 -0
- package/{skills → dist/content/skills}/hatch3r-issue-workflow/SKILL.md +15 -4
- package/dist/content/skills/hatch3r-learn/SKILL.md +317 -0
- package/{skills → dist/content/skills}/hatch3r-logical-refactor/SKILL.md +6 -7
- package/dist/content/skills/hatch3r-maintainability-verify/SKILL.md +146 -0
- package/{skills → dist/content/skills}/hatch3r-migration/SKILL.md +9 -8
- package/{skills → dist/content/skills}/hatch3r-observability-verify/SKILL.md +17 -13
- package/{skills → dist/content/skills}/hatch3r-perf-audit/SKILL.md +14 -10
- package/{skills → dist/content/skills}/hatch3r-pr-creation/SKILL.md +8 -11
- package/{skills → dist/content/skills}/hatch3r-qa-validation/SKILL.md +8 -7
- package/dist/content/skills/hatch3r-recipe/SKILL.md +174 -0
- package/{skills → dist/content/skills}/hatch3r-refactor/SKILL.md +7 -8
- package/dist/content/skills/hatch3r-release/SKILL.md +265 -0
- package/{skills → dist/content/skills}/hatch3r-reliability-verify/SKILL.md +9 -5
- package/{commands/hatch3r-report.md → dist/content/skills/hatch3r-report/SKILL.md} +21 -18
- package/dist/content/skills/hatch3r-scalability-verify/SKILL.md +145 -0
- package/dist/content/skills/hatch3r-security-verify/SKILL.md +144 -0
- package/dist/content/skills/hatch3r-team-convention-author/SKILL.md +126 -0
- package/dist/content/skills/hatch3r-testability-verify/SKILL.md +147 -0
- package/{skills → dist/content/skills}/hatch3r-ui-ux-verify/SKILL.md +20 -12
- package/{skills → dist/content/skills}/hatch3r-visual-refactor/SKILL.md +12 -8
- package/package.json +53 -46
- package/agents/hatch3r-a11y-auditor.md +0 -159
- package/agents/hatch3r-dependency-auditor.md +0 -219
- package/agents/hatch3r-implementer.md +0 -278
- package/agents/hatch3r-learnings-loader.md +0 -343
- package/agents/hatch3r-perf-profiler.md +0 -166
- package/agents/hatch3r-reviewer.md +0 -314
- package/agents/hatch3r-security-auditor.md +0 -180
- package/agents/hatch3r-test-writer.md +0 -171
- package/agents/shared/user-question-protocol.md +0 -95
- package/commands/hatch3r-agent-customize.md +0 -201
- package/commands/hatch3r-command-customize.md +0 -113
- package/commands/hatch3r-context-health.md +0 -147
- package/commands/hatch3r-cost-tracking.md +0 -163
- package/commands/hatch3r-dep-audit.md +0 -188
- package/commands/hatch3r-handoff.md +0 -133
- package/commands/hatch3r-learn.md +0 -312
- package/commands/hatch3r-recipe.md +0 -194
- package/commands/hatch3r-release.md +0 -350
- package/commands/hatch3r-rule-customize.md +0 -133
- package/commands/hatch3r-skill-customize.md +0 -112
- package/commands/hatch3r-workflow.md +0 -504
- package/dist/cli/index.d.ts +0 -2
- package/dist/cli/index.js.map +0 -1
- package/github-agents/hatch3r-lint-agent.md +0 -46
- package/prompts/hatch3r-bug-triage.md +0 -158
- package/prompts/hatch3r-code-review.md +0 -134
- package/prompts/hatch3r-pr-description.md +0 -176
- package/rules/hatch3r-agent-orchestration-detail.md +0 -211
- package/rules/hatch3r-agent-orchestration-detail.mdc +0 -206
- package/rules/hatch3r-agent-orchestration.md +0 -376
- package/rules/hatch3r-agent-orchestration.mdc +0 -371
- package/rules/hatch3r-iteration-summary.md +0 -90
- package/rules/hatch3r-iteration-summary.mdc +0 -85
- package/rules/hatch3r-learning-consult.md +0 -42
- package/rules/hatch3r-learning-consult.mdc +0 -38
- package/rules/hatch3r-observability-tracing-detail.md +0 -20
- package/rules/hatch3r-observability-tracing-detail.mdc +0 -14
- package/rules/hatch3r-observability.md +0 -20
- package/rules/hatch3r-observability.mdc +0 -14
- package/skills/hatch3r-agent-customize/SKILL.md +0 -23
- package/skills/hatch3r-cli-aichat/SKILL.md +0 -84
- package/skills/hatch3r-cli-ast-grep/SKILL.md +0 -85
- package/skills/hatch3r-cli-az-devops/SKILL.md +0 -89
- package/skills/hatch3r-cli-bat/SKILL.md +0 -85
- package/skills/hatch3r-cli-comby/SKILL.md +0 -85
- package/skills/hatch3r-cli-csvkit/SKILL.md +0 -84
- package/skills/hatch3r-cli-delta/SKILL.md +0 -86
- package/skills/hatch3r-cli-difftastic/SKILL.md +0 -84
- package/skills/hatch3r-cli-docker/SKILL.md +0 -89
- package/skills/hatch3r-cli-duckdb/SKILL.md +0 -84
- package/skills/hatch3r-cli-gh/SKILL.md +0 -90
- package/skills/hatch3r-cli-glab/SKILL.md +0 -89
- package/skills/hatch3r-cli-lazygit/SKILL.md +0 -78
- package/skills/hatch3r-cli-llm/SKILL.md +0 -84
- package/skills/hatch3r-cli-miller/SKILL.md +0 -84
- package/skills/hatch3r-cli-mods/SKILL.md +0 -84
- package/skills/hatch3r-cli-overview/SKILL.md +0 -60
- package/skills/hatch3r-cli-playwright/SKILL.md +0 -89
- package/skills/hatch3r-cli-podman/SKILL.md +0 -84
- package/skills/hatch3r-cli-qsv/SKILL.md +0 -91
- package/skills/hatch3r-cli-rtk/SKILL.md +0 -91
- package/skills/hatch3r-cli-sd/SKILL.md +0 -85
- package/skills/hatch3r-cli-stagehand/SKILL.md +0 -111
- package/skills/hatch3r-cli-taplo/SKILL.md +0 -84
- package/skills/hatch3r-cli-yq/SKILL.md +0 -85
- package/skills/hatch3r-cli-zstd/SKILL.md +0 -85
- package/skills/hatch3r-command-customize/SKILL.md +0 -23
- package/skills/hatch3r-cost-tracking/SKILL.md +0 -92
- package/skills/hatch3r-incident-response/SKILL.md +0 -115
- package/skills/hatch3r-recipe/SKILL.md +0 -91
- package/skills/hatch3r-release/SKILL.md +0 -120
- package/skills/hatch3r-rule-customize/SKILL.md +0 -23
- package/skills/hatch3r-skill-customize/SKILL.md +0 -23
- /package/{agents → dist/content/agents}/modes/architecture.md +0 -0
- /package/{agents → dist/content/agents}/modes/boundary-analysis.md +0 -0
- /package/{agents → dist/content/agents}/modes/codebase-impact.md +0 -0
- /package/{agents → dist/content/agents}/modes/complexity-risk.md +0 -0
- /package/{agents → dist/content/agents}/modes/coverage-analysis.md +0 -0
- /package/{agents → dist/content/agents}/modes/current-state.md +0 -0
- /package/{agents → dist/content/agents}/modes/feature-design.md +0 -0
- /package/{agents → dist/content/agents}/modes/impact-analysis.md +0 -0
- /package/{agents → dist/content/agents}/modes/library-docs.md +0 -0
- /package/{agents → dist/content/agents}/modes/migration-path.md +0 -0
- /package/{agents → dist/content/agents}/modes/prior-art.md +0 -0
- /package/{agents → dist/content/agents}/modes/refactoring-strategy.md +0 -0
- /package/{agents → dist/content/agents}/modes/regression.md +0 -0
- /package/{agents → dist/content/agents}/modes/risk-assessment.md +0 -0
- /package/{agents → dist/content/agents}/modes/risk-prioritization.md +0 -0
- /package/{agents → dist/content/agents}/modes/root-cause.md +0 -0
- /package/{agents → dist/content/agents}/modes/similar-implementation.md +0 -0
- /package/{agents → dist/content/agents}/modes/symptom-trace.md +0 -0
- /package/{agents → dist/content/agents}/modes/test-pattern.md +0 -0
- /package/{commands → dist/content/commands}/board/shared-board-overview.md +0 -0
- /package/{commands → dist/content/commands}/revision/revision-board-integration.md +0 -0
- /package/{skills → dist/content/skills}/hatch3r-issue-workflow/references/delegation-patterns.md +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-mods
|
|
3
|
-
description: "Charm mods — Unix-friendly LLM pipeline tool. Use when Unix-pipeline LLM inference reading Markdown stdin and writing Markdown stdout; invoke `mods`. Streams tokens to stdout so downstream `grep`/`tee` consumers see partial results."
|
|
4
|
-
tags: ["cli-tools", "ai", "opt-in"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: mods
|
|
10
|
-
bin: mods
|
|
11
|
-
tier: 3
|
|
12
|
-
category: ai
|
|
13
|
-
homepage: https://github.com/charmbracelet/mods
|
|
14
|
-
---
|
|
15
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
16
|
-
# mods
|
|
17
|
-
|
|
18
|
-
Charm mods — Unix-friendly LLM pipeline tool
|
|
19
|
-
|
|
20
|
-
## When to Use
|
|
21
|
-
|
|
22
|
-
Reach for `mods` when the task is in the **ai** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
23
|
-
|
|
24
|
-
## Token Cost
|
|
25
|
-
|
|
26
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
27
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
28
|
-
|
|
29
|
-
## Recipes
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
cat README.md | mods 'summarize in 3 bullets'
|
|
33
|
-
```
|
|
34
|
-
Pipe a file into mods with an inline instruction; output prints to stdout.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
git diff | mods 'write a conventional-commits message for this diff'
|
|
38
|
-
```
|
|
39
|
-
Generate a commit message from staged changes — pairs well with `git commit -F -`.
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
mods -m gpt-4o 'rewrite for clarity' < draft.md
|
|
43
|
-
```
|
|
44
|
-
Override the default model per invocation.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
mods --no-cache 'fresh response please' < input.txt
|
|
48
|
-
```
|
|
49
|
-
Bypass the on-disk response cache when you need a non-deterministic re-roll.
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
mods -f json 'extract action items as a JSON array' < meeting-notes.md
|
|
53
|
-
```
|
|
54
|
-
Force a structured-output format — pipes cleanly into `hatch3r-cli-jq`.
|
|
55
|
-
|
|
56
|
-
## Wrong Choice When
|
|
57
|
-
|
|
58
|
-
- **Plugin ecosystem needed (templates, embeddings, multi-step chains):** `hatch3r-cli-llm` (tier 2) covers these; mods is intentionally minimal.
|
|
59
|
-
- **Multi-turn conversational sessions:** mods is single-shot; use `hatch3r-cli-aichat` for persisted history.
|
|
60
|
-
- **Interactive prompt iteration with feedback:** mods has no TUI — `aichat` has REPL mode.
|
|
61
|
-
|
|
62
|
-
## Alternatives
|
|
63
|
-
|
|
64
|
-
| Tool | When to prefer |
|
|
65
|
-
|------|----------------|
|
|
66
|
-
| `hatch3r-cli-llm` (tier 2) | Plugin ecosystem, templates, embeddings, CI workflows |
|
|
67
|
-
| `hatch3r-cli-aichat` (tier 3) | Multi-turn sessions, RAG mode, role library |
|
|
68
|
-
| Raw `curl` against provider API | Custom request shape, streaming, no client process |
|
|
69
|
-
|
|
70
|
-
## Detection / Install
|
|
71
|
-
|
|
72
|
-
Verify with:
|
|
73
|
-
```bash
|
|
74
|
-
command -v mods
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Install (mac):
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
# brew
|
|
81
|
-
brew install charmbracelet/tap/mods
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Homepage: https://github.com/charmbracelet/mods
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-overview
|
|
3
|
-
description: "Catalog of all hatch3r-recommended CLI tools — discovery entry with tier tables and decision tree."
|
|
4
|
-
tags: ["cli-tools", "core", "reference"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
---
|
|
9
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
10
|
-
# CLI Tool Catalog
|
|
11
|
-
|
|
12
|
-
hatch3r recommends a small set of terminal-native CLI tools agents can call instead of MCP servers or wrapped APIs. Each tool listed below has its own skill file with recipes, anti-patterns, and per-OS install instructions. Run `npx hatch3r cli-tools` to (de)select tools, or `npx hatch3r cli-tools detect` for a read-only install report.
|
|
13
|
-
|
|
14
|
-
## Tier 1 — default-on
|
|
15
|
-
|
|
16
|
-
| Tool | Skill ID | Use for |
|
|
17
|
-
|------|----------|---------|
|
|
18
|
-
| `ast-grep` | `hatch3r-cli-ast-grep` | Structural search and rewrite for code via AST patterns |
|
|
19
|
-
| `bat` | `hatch3r-cli-bat` | cat clone with syntax highlighting and git integration |
|
|
20
|
-
| `delta` | `hatch3r-cli-delta` | Syntax-highlighting git diff pager |
|
|
21
|
-
| `fd` | `hatch3r-cli-fd` | User-friendly find replacement, gitignore-aware |
|
|
22
|
-
| `gh` | `hatch3r-cli-gh` | GitHub CLI — repos, issues, PRs, releases, gists |
|
|
23
|
-
| `jq` | `hatch3r-cli-jq` | JSON processor and query language |
|
|
24
|
-
| `ripgrep` | `hatch3r-cli-ripgrep` | Fast recursive grep with sane defaults and gitignore awareness |
|
|
25
|
-
| `sd` | `hatch3r-cli-sd` | Intuitive sed replacement with literal string patterns |
|
|
26
|
-
| `yq` | `hatch3r-cli-yq` | YAML processor (mikefarah Go implementation) |
|
|
27
|
-
| `zstd` | `hatch3r-cli-zstd` | Fast lossless compression with high ratio |
|
|
28
|
-
|
|
29
|
-
## Tier 2 — conditional (offered on project signal)
|
|
30
|
-
|
|
31
|
-
| Tool | Skill ID | Use for |
|
|
32
|
-
|------|----------|---------|
|
|
33
|
-
| `az-devops` | `hatch3r-cli-az-devops` | Azure DevOps work items, repos, pipelines via az CLI extension |
|
|
34
|
-
| `difftastic` | `hatch3r-cli-difftastic` | Structural diff that understands syntax |
|
|
35
|
-
| `docker` | `hatch3r-cli-docker` | Container runtime and CLI |
|
|
36
|
-
| `duckdb` | `hatch3r-cli-duckdb` | Embedded analytical database with first-class CSV/Parquet support |
|
|
37
|
-
| `fzf` | `hatch3r-cli-fzf` | Interactive fuzzy finder for TTY pickers |
|
|
38
|
-
| `glab` | `hatch3r-cli-glab` | GitLab CLI — merge requests, issues, pipelines |
|
|
39
|
-
| `lazygit` | `hatch3r-cli-lazygit` | Terminal UI for git with keyboard-driven workflows |
|
|
40
|
-
| `llm` | `hatch3r-cli-llm` | simonw/llm — invoke LLMs from the command line with prompt templates |
|
|
41
|
-
| `playwright` | `hatch3r-cli-playwright` | Browser automation, web testing, and UI interaction |
|
|
42
|
-
| `taplo` | `hatch3r-cli-taplo` | TOML toolkit (format, lint, query) for pyproject.toml / Cargo.toml |
|
|
43
|
-
| `qsv` | `hatch3r-cli-qsv` | Fast CSV toolkit (slice, search, join, stats, 80+ commands) — actively-maintained xsv successor |
|
|
44
|
-
|
|
45
|
-
## Tier 3 — opt-in advanced
|
|
46
|
-
|
|
47
|
-
| Tool | Skill ID | Use for |
|
|
48
|
-
|------|----------|---------|
|
|
49
|
-
| `aichat` | `hatch3r-cli-aichat` | Multi-provider LLM chat CLI with RAG and session memory |
|
|
50
|
-
| `comby` | `hatch3r-cli-comby` | Structural search and replace across languages with declarative patterns |
|
|
51
|
-
| `csvkit` | `hatch3r-cli-csvkit` | csvkit — Python CSV toolkit (csvlook, csvsql, csvjoin, csvstat) |
|
|
52
|
-
| `miller` | `hatch3r-cli-miller` | awk/sed/cut/join for CSV/TSV/JSON/Parquet streams |
|
|
53
|
-
| `mods` | `hatch3r-cli-mods` | Charm mods — Unix-friendly LLM pipeline tool |
|
|
54
|
-
| `podman` | `hatch3r-cli-podman` | Daemonless container engine, rootless by default (Docker alternative) |
|
|
55
|
-
| `rtk` | `hatch3r-cli-rtk` | CLI output-compression proxy (see ⚠ caveat) |
|
|
56
|
-
| `stagehand` | `hatch3r-cli-stagehand` | Browserbase Stagehand — AI-driven browser automation |
|
|
57
|
-
|
|
58
|
-
## Decision Tree
|
|
59
|
-
|
|
60
|
-
Need text search → `rg`. Structural → `ast-grep`. Files → `fd`. JSON → `jq`. YAML → `yq`. Replace → `sd`. Git/forge → `gh` / `glab` / `az-devops`. Browser → `playwright`. View → `bat`. Diff → `delta`. Archive → `zstd`.
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-playwright
|
|
3
|
-
description: "Browser automation, web testing, and UI interaction. Use when end-to-end browser test execution capturing screenshots and traces; invoke `playwright`. Built around test runners (`@playwright/test`) with deterministic locators and waits."
|
|
4
|
-
tags: ["cli-tools", "browser"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: playwright
|
|
10
|
-
bin: playwright
|
|
11
|
-
tier: 2
|
|
12
|
-
category: browser
|
|
13
|
-
homepage: https://playwright.dev/
|
|
14
|
-
---
|
|
15
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
16
|
-
# playwright
|
|
17
|
-
|
|
18
|
-
Browser automation, web testing, and UI interaction
|
|
19
|
-
|
|
20
|
-
## When to Use
|
|
21
|
-
|
|
22
|
-
Reach for `playwright` when the task is in the **browser** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
23
|
-
|
|
24
|
-
## Token Cost
|
|
25
|
-
|
|
26
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
27
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
28
|
-
|
|
29
|
-
## Recipes
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx playwright test
|
|
33
|
-
```
|
|
34
|
-
Run the full suite; non-zero exit on first failing spec.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
npx playwright test --grep '@smoke' --workers=1
|
|
38
|
-
```
|
|
39
|
-
Filter by tag and serialize workers — stable output for agent log scraping.
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
npx playwright test tests/login.spec.ts --reporter=line
|
|
43
|
-
```
|
|
44
|
-
Single-file run with one-line-per-test reporter — fits in <1KB stdout.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
npx playwright codegen https://example.com
|
|
48
|
-
```
|
|
49
|
-
Record interactions into a generated spec — human-in-the-loop authoring; not for autonomous runs.
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
npx playwright test --update-snapshots
|
|
53
|
-
```
|
|
54
|
-
Refresh visual/text snapshots after intentional UI changes; review the diff before committing.
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npx playwright show-report
|
|
58
|
-
```
|
|
59
|
-
Open the HTML report locally — human triage step; agents should parse `test-results/results.json` instead.
|
|
60
|
-
|
|
61
|
-
## Wrong Choice When
|
|
62
|
-
|
|
63
|
-
- The system under test exposes only an HTTP API and no rendered UI — use `curl` + `jq` (Tier 1) for ~50x faster runs.
|
|
64
|
-
- The task is autonomous natural-language browsing (navigate, read, decide) rather than scripted assertions — Stagehand is built for that loop.
|
|
65
|
-
- You only need a one-off page snapshot or screenshot from a script — a headless `curl` plus a server-side renderer is cheaper than the full Playwright install.
|
|
66
|
-
|
|
67
|
-
## Alternatives
|
|
68
|
-
|
|
69
|
-
| Tool | When to prefer |
|
|
70
|
-
|------|----------------|
|
|
71
|
-
| `curl` + `jq` | API-only tests; no DOM involved. |
|
|
72
|
-
| Stagehand | Agent drives the browser with natural language rather than fixed scripts. |
|
|
73
|
-
| Cypress | Existing Cypress suite or component-test workflow; otherwise prefer Playwright for multi-browser support. |
|
|
74
|
-
|
|
75
|
-
## Detection / Install
|
|
76
|
-
|
|
77
|
-
Verify with:
|
|
78
|
-
```bash
|
|
79
|
-
command -v playwright
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Install (mac):
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
# npm
|
|
86
|
-
npm install -D @playwright/test && npx playwright install
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Homepage: https://playwright.dev/
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-podman
|
|
3
|
-
description: "Daemonless container engine, rootless by default (Docker alternative). Use when rootless OCI-image execution without a privileged daemon; invoke `podman`. Forks per-pod processes directly under the invoking user; ideal for hardened CI workers."
|
|
4
|
-
tags: ["cli-tools", "container", "opt-in"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: podman
|
|
10
|
-
bin: podman
|
|
11
|
-
tier: 3
|
|
12
|
-
category: container
|
|
13
|
-
homepage: https://podman.io/
|
|
14
|
-
---
|
|
15
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
16
|
-
# podman
|
|
17
|
-
|
|
18
|
-
Daemonless container engine, rootless by default (Docker alternative)
|
|
19
|
-
|
|
20
|
-
## When to Use
|
|
21
|
-
|
|
22
|
-
Reach for `podman` when the task is in the **container** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
23
|
-
|
|
24
|
-
## Token Cost
|
|
25
|
-
|
|
26
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
27
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
28
|
-
|
|
29
|
-
## Recipes
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
podman build -t myapp:dev .
|
|
33
|
-
```
|
|
34
|
-
Build an image from the local Dockerfile — same CLI surface as docker build.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
podman run --rm -v "$PWD:/app:Z" -w /app node:22 npm test
|
|
38
|
-
```
|
|
39
|
-
Run a one-shot container with the working directory bind-mounted; the `:Z` suffix triggers SELinux relabel on Fedora/RHEL hosts.
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
podman compose up
|
|
43
|
-
```
|
|
44
|
-
Run a `compose.yaml` workflow under podman — uses the podman-compose plugin or docker-compose adapter.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
podman run --userns=keep-id -v "$PWD:/work" myapp
|
|
48
|
-
```
|
|
49
|
-
Preserve the host UID inside the rootless container so written files do not end up owned by a high-mapped UID.
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
podman system service --time=0 &
|
|
53
|
-
```
|
|
54
|
-
Expose a docker-API-compatible socket so docker-only tooling (e.g. testcontainers) can talk to podman unchanged.
|
|
55
|
-
|
|
56
|
-
## Wrong Choice When
|
|
57
|
-
|
|
58
|
-
- **Enterprise compose / swarm orchestration:** `hatch3r-cli-docker` (tier 2) is the established path for Swarm and Docker Desktop integration; podman's swarm support is minimal.
|
|
59
|
-
- **macOS developer experience parity:** docker desktop has native macOS VM tuning; podman runs in a QEMU machine with extra overhead and bind-mount caveats.
|
|
60
|
-
- **Tooling that hard-codes `/var/run/docker.sock`:** unless you start `podman system service`, those tools fail.
|
|
61
|
-
|
|
62
|
-
## Alternatives
|
|
63
|
-
|
|
64
|
-
| Tool | When to prefer |
|
|
65
|
-
|------|----------------|
|
|
66
|
-
| `hatch3r-cli-docker` (tier 2) | Mainstream CI, Docker Desktop, Swarm, broad ecosystem assumptions |
|
|
67
|
-
| nerdctl + containerd | Kubernetes-aligned runtime, OCI-faithful CLI |
|
|
68
|
-
| buildah | Image builds without a full container runtime (rootless, scriptable) |
|
|
69
|
-
|
|
70
|
-
## Detection / Install
|
|
71
|
-
|
|
72
|
-
Verify with:
|
|
73
|
-
```bash
|
|
74
|
-
command -v podman
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Install (mac):
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
# brew
|
|
81
|
-
brew install podman
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Homepage: https://podman.io/
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-qsv
|
|
3
|
-
description: "Fast CSV toolkit (slice, search, join, stats, 80+ commands) — actively-maintained xsv successor. Use when slicing huge CSV documents by row range or column without materialising the dataset; invoke `qsv`. Streams records lazily; works on datasets that exceed available RAM."
|
|
4
|
-
tags: ["cli-tools", "data"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: qsv
|
|
10
|
-
bin: qsv
|
|
11
|
-
tier: 2
|
|
12
|
-
category: data
|
|
13
|
-
homepage: https://github.com/jqnatividad/qsv
|
|
14
|
-
---
|
|
15
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
16
|
-
# qsv
|
|
17
|
-
|
|
18
|
-
Fast CSV toolkit (slice, search, join, stats, 80+ commands) — actively-maintained xsv successor
|
|
19
|
-
|
|
20
|
-
## When to Use
|
|
21
|
-
|
|
22
|
-
Reach for `qsv` when the task is in the **data** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
23
|
-
|
|
24
|
-
`qsv` is a drop-in superset of `xsv` — every `xsv` sub-command name and flag works under `qsv`, plus 50+ additional commands (`apply`, `fetch`, `validate`, `tojsonl`, `sqlp`, etc.). The upstream `BurntSushi/xsv` repository was archived on 2025-04-24; `jqnatividad/qsv` is the active fork with regular releases.
|
|
25
|
-
|
|
26
|
-
## Token Cost
|
|
27
|
-
|
|
28
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
29
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
30
|
-
|
|
31
|
-
## Recipes
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
qsv stats huge.csv
|
|
35
|
-
```
|
|
36
|
-
Per-column min/max/mean/stddev/cardinality — single streaming pass over the file.
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
qsv select name,email,active records.csv
|
|
40
|
-
```
|
|
41
|
-
Project a subset of columns without rewriting; output stays CSV for downstream tools.
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
qsv sort -s amount records.csv | qsv slice -e 100
|
|
45
|
-
```
|
|
46
|
-
Sort by `amount` then take the first 100 rows — composable pipe; both stages stream.
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
qsv frequency -s status events.csv
|
|
50
|
-
```
|
|
51
|
-
Tabulate value counts for a column; output is itself CSV, parsable by the next step.
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
qsv search -s email '@example\.com$' users.csv
|
|
55
|
-
```
|
|
56
|
-
Regex-filter a column — much cheaper than loading the whole file into a SQL engine.
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
qsv join id orders.csv id customers.csv > joined.csv
|
|
60
|
-
```
|
|
61
|
-
Hash join two CSVs on a common column without spinning up DuckDB.
|
|
62
|
-
|
|
63
|
-
## Wrong Choice When
|
|
64
|
-
|
|
65
|
-
- The query needs aggregation across millions of rows or multiple files — DuckDB (Tier 2 sibling) is built for that scan plan.
|
|
66
|
-
- You need a multi-way join with type coercion or window functions — `qsv join` is hash-only and untyped; use DuckDB.
|
|
67
|
-
- The data is JSON or Parquet, not CSV — pipe through `jq`/DuckDB instead of CSV-converting first.
|
|
68
|
-
|
|
69
|
-
## Alternatives
|
|
70
|
-
|
|
71
|
-
| Tool | When to prefer |
|
|
72
|
-
|------|----------------|
|
|
73
|
-
| DuckDB | Aggregations, joins, or non-CSV inputs (Parquet/JSON). |
|
|
74
|
-
| Miller (`mlr`) | Need TSV/JSON-Lines support or per-record transforms in the same tool. |
|
|
75
|
-
| csvkit | Want CSV-to-SQL or CSV-to-JSON conversions out of the box. |
|
|
76
|
-
|
|
77
|
-
## Detection / Install
|
|
78
|
-
|
|
79
|
-
Verify with:
|
|
80
|
-
```bash
|
|
81
|
-
command -v qsv
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Install (mac):
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# brew
|
|
88
|
-
brew install qsv
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Homepage: https://github.com/jqnatividad/qsv
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-rtk
|
|
3
|
-
description: "CLI output-compression proxy (see ⚠ caveat). Use when compressing oversize tool output payloads before they enter an LLM prompt; invoke `rtk`. Streams tokens to stdout so downstream `grep`/`tee` consumers see partial results."
|
|
4
|
-
tags: ["cli-tools", "ai", "opt-in", "caveat"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: rtk
|
|
10
|
-
bin: rtk
|
|
11
|
-
tier: 3
|
|
12
|
-
category: ai
|
|
13
|
-
homepage: https://github.com/rtk-ai/rtk
|
|
14
|
-
caveat: pipe-output-corruption
|
|
15
|
-
---
|
|
16
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
17
|
-
# rtk
|
|
18
|
-
|
|
19
|
-
CLI output-compression proxy (see ⚠ caveat)
|
|
20
|
-
|
|
21
|
-
## ⚠ Critical: pipe-output corruption (issue #1282)
|
|
22
|
-
|
|
23
|
-
rtk silently rewrites piped stdout which breaks downstream tooling.
|
|
24
|
-
Mitigation: `export RTK_DISABLE_PIPE_REWRITE=1` or invoke with `rtk --raw-output`.
|
|
25
|
-
Track upstream: https://github.com/rtk-ai/rtk/issues/1282
|
|
26
|
-
|
|
27
|
-
## When to Use
|
|
28
|
-
|
|
29
|
-
Reach for `rtk` when the task is in the **ai** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
30
|
-
|
|
31
|
-
## Token Cost
|
|
32
|
-
|
|
33
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
34
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
35
|
-
|
|
36
|
-
## Recipes
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
export RTK_DISABLE_PIPE_REWRITE=1
|
|
40
|
-
```
|
|
41
|
-
Disable pipe-output rewriting before any pipeline use. Required for safe interop with jq/grep/awk.
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
rtk run npm test
|
|
45
|
-
```
|
|
46
|
-
Run the package's test suite under rtk to compress vitest/jest output before it reaches the agent's context.
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
rtk run pytest -x
|
|
50
|
-
```
|
|
51
|
-
Compress pytest output and stop on first failure — fits a multi-thousand-line traceback into a few KB.
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
rtk eval 'function foo() { return 42 }'
|
|
55
|
-
```
|
|
56
|
-
Sandboxed JavaScript eval — returns just the value, no surrounding noise.
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
rtk --raw-output run go test ./...
|
|
60
|
-
```
|
|
61
|
-
Per-invocation override of the pipe rewrite when piping output into a downstream parser (`| jq`, `| grep`).
|
|
62
|
-
|
|
63
|
-
## Wrong Choice When
|
|
64
|
-
|
|
65
|
-
- **Piping to `jq` / `grep` / `awk` without `RTK_DISABLE_PIPE_REWRITE=1` set:** the rewrite mangles JSON byte boundaries (issue #1282) — corruption is silent. Reach for plain shell + `tee` or `hatch3r-cli-jq` directly on raw command output.
|
|
66
|
-
- **Safety-critical CI where masked failures matter:** rtk's compression can elide stack frames a downstream check needs. Run the underlying test command directly and capture full output to a file.
|
|
67
|
-
- **One-shot small commands under ~100 lines:** the compression overhead exceeds the saved context — invoke the underlying tool directly.
|
|
68
|
-
|
|
69
|
-
## Alternatives
|
|
70
|
-
|
|
71
|
-
| Tool | When to prefer |
|
|
72
|
-
|------|----------------|
|
|
73
|
-
| Plain shell + `tee output.log` | When you need a verbatim log file for forensics or CI artifacts |
|
|
74
|
-
| `hatch3r-cli-jq` (tier 1) on raw output | When the upstream command already emits JSON and you want a deterministic projection |
|
|
75
|
-
| Direct `npm test` / `pytest -x` with `--reporter` flags | When the test runner has a built-in compact reporter (jest `--silent`, pytest `-q`) |
|
|
76
|
-
|
|
77
|
-
## Detection / Install
|
|
78
|
-
|
|
79
|
-
Verify with:
|
|
80
|
-
```bash
|
|
81
|
-
command -v rtk
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Install (mac):
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# brew
|
|
88
|
-
brew install rtk-ai/tap/rtk
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Homepage: https://github.com/rtk-ai/rtk
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: hatch3r-cli-sd
|
|
3
|
-
description: "Intuitive sed replacement with literal string patterns. Use when literal-string stream substitution with no regex foot-guns; invoke `sd`. Operates byte-by-byte; safe for fixed-string edits where regex would over-match."
|
|
4
|
-
tags: ["cli-tools", "edit", "core"]
|
|
5
|
-
quality_charter: agents/shared/quality-charter.md
|
|
6
|
-
efficiency_patterns: agents/shared/efficiency-patterns.md
|
|
7
|
-
cache_friendly: true
|
|
8
|
-
cli_tool:
|
|
9
|
-
id: sd
|
|
10
|
-
bin: sd
|
|
11
|
-
tier: 1
|
|
12
|
-
category: edit
|
|
13
|
-
homepage: https://github.com/chmln/sd
|
|
14
|
-
---
|
|
15
|
-
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
|
|
16
|
-
# sd
|
|
17
|
-
|
|
18
|
-
Intuitive sed replacement with literal string patterns
|
|
19
|
-
|
|
20
|
-
## When to Use
|
|
21
|
-
|
|
22
|
-
Reach for `sd` when the task is in the **edit** category and the agent would otherwise call an MCP tool or read large outputs into context.
|
|
23
|
-
|
|
24
|
-
## Token Cost
|
|
25
|
-
|
|
26
|
-
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB.
|
|
27
|
-
Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
|
|
28
|
-
|
|
29
|
-
## Recipes
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
sd 'foo\(' 'bar(' src/lib/util.ts
|
|
33
|
-
```
|
|
34
|
-
Single-file substitution — sd defaults to regex, no escaping for forward slashes or `&`.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
sd -p 'oldName' 'newName' src/main.ts
|
|
38
|
-
```
|
|
39
|
-
`-p` (preview) prints the diff without writing — safer than running sed and re-reading.
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
sd '\bAPI_KEY\b' 'GH_TOKEN' .env
|
|
43
|
-
```
|
|
44
|
-
Word-boundary anchors catch the symbol without rewriting `API_KEY_BACKUP` or similar.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
rg --files-with-matches 'oldName' -tts | xargs sd 'oldName' 'newName'
|
|
48
|
-
```
|
|
49
|
-
Two-phase rewrite: `rg` finds candidate files, `sd` applies the substitution per file in parallel.
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
sd -s 'literal string with $special chars' 'replacement' README.md
|
|
53
|
-
```
|
|
54
|
-
`-s` switches to literal-string mode — no regex interpretation, useful when the pattern contains `.`, `*`, `(`.
|
|
55
|
-
|
|
56
|
-
## Wrong Choice When
|
|
57
|
-
|
|
58
|
-
- Don't use `sd` for multi-step stream transforms (insert, delete, swap lines in one pass). Reach for `sed -e ... -e ...`, awk, or a real script.
|
|
59
|
-
- Don't use `sd` to refactor identifiers that need type awareness — it cannot tell `count` (the variable) from `count` (the field name). Reach for `ast-grep` (`hatch3r-cli-ast-grep`).
|
|
60
|
-
- Don't reach for `sd` to rewrite extremely large files (>1 GB); it buffers the file in memory. Reach for streaming tools like `sed`.
|
|
61
|
-
|
|
62
|
-
## Alternatives
|
|
63
|
-
|
|
64
|
-
| Tool | When to prefer |
|
|
65
|
-
|------|----------------|
|
|
66
|
-
| `sed` (POSIX) | Multi-step transforms, ed-style addressing, or any place sd's flag surface is too thin. |
|
|
67
|
-
| `ast-grep` (`hatch3r-cli-ast-grep`) | Identifier-aware rewrites that must respect language structure. |
|
|
68
|
-
| `perl -pi -e` | Backreferences and lookaround in mature scripts where Perl is already a dependency. |
|
|
69
|
-
| Editor's "rename symbol" (LSP) | Authoritative rename across modules with type information. |
|
|
70
|
-
|
|
71
|
-
## Detection / Install
|
|
72
|
-
|
|
73
|
-
Verify with:
|
|
74
|
-
```bash
|
|
75
|
-
command -v sd
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Install (mac):
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
# brew
|
|
82
|
-
brew install sd
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Homepage: https://github.com/chmln/sd
|