@eltonssouza/development-utility-kit 1.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/.claude/agents/analyst.md +198 -0
- package/.claude/agents/backend-developer.md +126 -0
- package/.claude/agents/brain-keeper.md +229 -0
- package/.claude/agents/code-reviewer.md +181 -0
- package/.claude/agents/database-engineer.md +94 -0
- package/.claude/agents/devops-engineer.md +141 -0
- package/.claude/agents/frontend-developer.md +97 -0
- package/.claude/agents/gate-keeper.md +118 -0
- package/.claude/agents/migrator.md +291 -0
- package/.claude/agents/mobile-developer.md +80 -0
- package/.claude/agents/n8n-specialist.md +94 -0
- package/.claude/agents/product-owner.md +115 -0
- package/.claude/agents/qa-engineer.md +232 -0
- package/.claude/agents/release-engineer.md +204 -0
- package/.claude/agents/scaffold.md +87 -0
- package/.claude/agents/security-engineer.md +199 -0
- package/.claude/agents/sprint-runner.md +44 -0
- package/.claude/agents/stack-resolver.md +84 -0
- package/.claude/agents/tech-lead.md +182 -0
- package/.claude/agents/update-template.md +54 -0
- package/.claude/agents/ux-designer.md +118 -0
- package/.claude/settings.json +44 -0
- package/.claude/skills/README.md +332 -0
- package/.claude/skills/active-project/SKILL.md +129 -0
- package/.claude/skills/api-integration-test/SKILL.md +64 -0
- package/.claude/skills/auto-test-guard/SKILL.md +237 -0
- package/.claude/skills/auto-test-guard/resources/backend-tests.md +20 -0
- package/.claude/skills/auto-test-guard/resources/e2e-tests.md +24 -0
- package/.claude/skills/auto-test-guard/resources/execution-report.md +49 -0
- package/.claude/skills/auto-test-guard/resources/frontend-tests.md +18 -0
- package/.claude/skills/auto-test-guard/resources/initial-setup.md +108 -0
- package/.claude/skills/auto-test-guard/resources/run-suite.md +48 -0
- package/.claude/skills/auto-test-guard/resources/senior-gate.md +19 -0
- package/.claude/skills/brain-keeper/SKILL.md +60 -0
- package/.claude/skills/brain-keeper/obsidian/app.json +9 -0
- package/.claude/skills/brain-keeper/obsidian/appearance.json +4 -0
- package/.claude/skills/brain-keeper/obsidian/core-plugins.json +20 -0
- package/.claude/skills/brain-keeper/obsidian/daily-notes.json +5 -0
- package/.claude/skills/brain-keeper/obsidian/graph.json +32 -0
- package/.claude/skills/brain-keeper/obsidian/snippets/folder-colors.css +90 -0
- package/.claude/skills/brain-keeper/obsidian/templates.json +5 -0
- package/.claude/skills/brain-keeper/templates/README.md +51 -0
- package/.claude/skills/brain-keeper/templates/adr.md +40 -0
- package/.claude/skills/brain-keeper/templates/bug.md +35 -0
- package/.claude/skills/brain-keeper/templates/daily.md +38 -0
- package/.claude/skills/brain-keeper/templates/feature.md +62 -0
- package/.claude/skills/brain-keeper/templates/meeting.md +34 -0
- package/.claude/skills/brain-keeper/templates/tech-debt.md +21 -0
- package/.claude/skills/caveman/SKILL.md +187 -0
- package/.claude/skills/create-stack-pack/SKILL.md +281 -0
- package/.claude/skills/grill-me/SKILL.md +79 -0
- package/.claude/skills/honcho-memory/SKILL.md +207 -0
- package/.claude/skills/honcho-memory/docs/api-endpoints-verified.md +75 -0
- package/.claude/skills/honcho-memory/hooks/on-prompt-submit.js +221 -0
- package/.claude/skills/honcho-memory/hooks/on-stop.js +193 -0
- package/.claude/skills/honcho-memory/lib/honcho-client.js +363 -0
- package/.claude/skills/honcho-memory/lib/memory-injector.js +93 -0
- package/.claude/skills/honcho-memory/package.json +32 -0
- package/.claude/skills/honcho-memory/scripts/cli.js +370 -0
- package/.claude/skills/honcho-memory/scripts/setup.js +109 -0
- package/.claude/skills/honcho-memory/tests/t001-api-endpoints-verified.test.js +89 -0
- package/.claude/skills/honcho-memory/tests/t002-structure.test.js +97 -0
- package/.claude/skills/honcho-memory/tests/t003-honcho-client.test.js +162 -0
- package/.claude/skills/honcho-memory/tests/t004-soft-delete.test.js +259 -0
- package/.claude/skills/honcho-memory/tests/t005-memory-injector.test.js +175 -0
- package/.claude/skills/honcho-memory/tests/t006-on-prompt-submit.test.js +215 -0
- package/.claude/skills/honcho-memory/tests/t007-on-stop.test.js +165 -0
- package/.claude/skills/honcho-memory/tests/t008-cli.test.js +214 -0
- package/.claude/skills/honcho-memory/tests/t009-setup.test.js +232 -0
- package/.claude/skills/honcho-memory/tests/t010-skill-md.test.js +114 -0
- package/.claude/skills/honcho-memory/tests/t011-settings-hooks.test.js +105 -0
- package/.claude/skills/honcho-memory/tests/t012-docs-update.test.js +106 -0
- package/.claude/skills/honcho-memory/tests/t013-smoke-e2e.test.js +90 -0
- package/.claude/skills/pair-debug/SKILL.md +288 -0
- package/.claude/skills/prd-ready-check/SKILL.md +58 -0
- package/.claude/skills/project-manager/SKILL.md +167 -0
- package/.claude/skills/quality-standards/SKILL.md +201 -0
- package/.claude/skills/quick-feature/SKILL.md +264 -0
- package/.claude/skills/run-sprint/SKILL.md +342 -0
- package/.claude/skills/scaffold/SKILL.md +58 -0
- package/.claude/skills/stack-discovery/SKILL.md +159 -0
- package/.claude/skills/test-coverage-auditor/SKILL.md +59 -0
- package/.claude/skills/to-issues/SKILL.md +163 -0
- package/.claude/skills/to-prd/SKILL.md +130 -0
- package/.claude/skills/update-template/SKILL.md +254 -0
- package/.claude/stacks/CODEOWNERS +30 -0
- package/.claude/stacks/README.md +88 -0
- package/.claude/stacks/_template.md +116 -0
- package/.claude/stacks/java/spring-boot-3.md +376 -0
- package/.claude/stacks/java/spring-boot-4.md +438 -0
- package/.claude/stacks/typescript/angular-18.md +420 -0
- package/.claude/stacks/typescript/angular-19.md +397 -0
- package/.claude/stacks/typescript/angular-21.md +494 -0
- package/CLAUDE.md +453 -0
- package/README.md +391 -0
- package/bin/cli.js +773 -0
- package/bin/lib/backup.js +62 -0
- package/bin/lib/detect-stack.js +476 -0
- package/bin/lib/help.js +233 -0
- package/bin/lib/identity.js +108 -0
- package/bin/lib/local-dir.js +69 -0
- package/bin/lib/manifest.js +236 -0
- package/bin/lib/sync-all.js +394 -0
- package/bin/lib/version-check.js +398 -0
- package/dashboard/db.js +199 -0
- package/dashboard/package.json +22 -0
- package/dashboard/public/app.js +709 -0
- package/dashboard/public/content/docs/agents-reference.en.md +911 -0
- package/dashboard/public/content/docs/architecture-overview.en.md +260 -0
- package/dashboard/public/content/docs/autonomy-matrix.en.md +186 -0
- package/dashboard/public/content/docs/git-flow.en.md +525 -0
- package/dashboard/public/content/docs/honcho-memory.en.md +394 -0
- package/dashboard/public/content/docs/hooks-reference.en.md +420 -0
- package/dashboard/public/content/docs/pipeline.en.md +400 -0
- package/dashboard/public/content/docs/quality-gate.en.md +315 -0
- package/dashboard/public/content/docs/skills-reference.en.md +500 -0
- package/dashboard/public/content/docs/stack-rules.en.md +362 -0
- package/dashboard/public/content/docs/troubleshooting.en.md +637 -0
- package/dashboard/public/content/manifest.json +102 -0
- package/dashboard/public/content/manual/backend.en.md +1138 -0
- package/dashboard/public/content/manual/existing-project.en.md +831 -0
- package/dashboard/public/content/manual/frontend.en.md +1065 -0
- package/dashboard/public/content/manual/fullstack.en.md +1508 -0
- package/dashboard/public/content/manual/mobile.en.md +866 -0
- package/dashboard/public/index.html +108 -0
- package/dashboard/public/style.css +610 -0
- package/dashboard/public/vendor/marked.min.js +69 -0
- package/dashboard/rtk.js +143 -0
- package/dashboard/server-app.js +403 -0
- package/dashboard/server.js +104 -0
- package/dashboard/test/sprint1.test.js +406 -0
- package/dashboard/test/sprint2.test.js +571 -0
- package/dashboard/test/sprint3.test.js +560 -0
- package/package.json +33 -0
- package/scripts/hooks/subagent-telemetry.sh +14 -0
- package/scripts/hooks/telemetry-writer.js +250 -0
- package/scripts/latest-versions.json +56 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
# Skills — Complete reference
|
|
2
|
+
|
|
3
|
+
**Skills** are the entry layer of the `development-utility-kit` harness. Each skill lives in `.claude/skills/<slug>/SKILL.md` and triggers automatically via keyword match on its frontmatter `description`. Unlike **agents** (executors invoked via the `Task` tool, with `model:` declared), skills carry the orchestration logic: they read the request, define checkpoints, map stages to subagents, and dispatch the work.
|
|
4
|
+
|
|
5
|
+
Master rule: **one entry, one skill, one or more agents**. Specific skills win by keyword match; anything that does not match falls into the `project-manager` router. There is no longer a command layer (removed on 2026-05-25) — only Skill + Agent.
|
|
6
|
+
|
|
7
|
+
This document covers the 18 official skills of the harness, grouped by purpose. For the agent catalog, see [Agents reference](agents-reference). For the end-to-end flow, see [Pipeline](pipeline). For runtime hooks (`UserPromptSubmit`, `Stop`), see [Hooks reference](hooks-reference).
|
|
8
|
+
|
|
9
|
+
## Master table
|
|
10
|
+
|
|
11
|
+
| Skill | PT triggers (samples) | Delegated agent | Primary output |
|
|
12
|
+
|---|---|---|---|
|
|
13
|
+
| `project-manager` | "cria endpoint", "revisa meu código", "auditoria de segurança" | Specialist picked from routing table | `Task(subagent_type=...)` dispatch |
|
|
14
|
+
| `grill-me` | "grill me", "me entrevista sobre", "stress-test o plano" | `analyst` (in long sessions) | `docs/discovery/DISCOVERY_*.md` |
|
|
15
|
+
| `to-prd` | "to-prd", "gera PRD", "cria PRD" | Inline (Sonnet) | `docs/prd/PRD_*.md` |
|
|
16
|
+
| `to-issues` | "to-issues", "quebra em issues", "gera issues" | Inline (Sonnet) | `docs/issues/ISSUES_*.md` |
|
|
17
|
+
| `bootstrap-backend-java` | "scaffolda o backend", "cria backend Java" | `scaffold` | `backend/` Spring Boot 4 + Flyway + compose |
|
|
18
|
+
| `bootstrap-frontend` | "scaffolda o frontend", "cria frontend Angular", "cria frontend Vite" | `scaffold` | `frontend/` Angular 21 or Vite Vanilla |
|
|
19
|
+
| `bootstrap-fullstack` | "cria o esqueleto", "bootstrap fullstack" | `scaffold` | Monorepo `backend/` + `frontend/` + compose |
|
|
20
|
+
| `active-project` | "ativar projeto em `<path>`", "adota o projeto" | `adopt-project.sh` wrapper | Updated `.claude/` + backup |
|
|
21
|
+
| `update-template` | "atualiza o template", "traz as skills novas" | `adopt-project.sh` wrapper | `.claude/` merged with preview |
|
|
22
|
+
| `run-sprint` | "roda a sprint 1", "executa a sprint" | `sprint-runner` → `backend-developer`, `frontend-developer`, `database-engineer`, `gate-keeper` | Code + tests + commit per task |
|
|
23
|
+
| `auto-test-guard` | "roda os testes", "gera os testes", "garante que nada quebrou" | `gate-keeper` | Generated tests + green suite + senior+ gate |
|
|
24
|
+
| `test-coverage-auditor` | "audita os testes", "tem débito de teste?" | `test-coverage-auditor` | Debt report + `architecture/tech-debt.md` |
|
|
25
|
+
| `prd-ready-check` | "tá pronto pra PRD?", "DoD", "gate de prod" | `prd-ready-check` (+ `security-engineer`) | GO / NO-GO |
|
|
26
|
+
| `api-integration-test` | "testa a integração", "smoke", "abre o browser e testa" | `api-integration-test` | curl + Chrome MCP report |
|
|
27
|
+
| `pair-debug` | "vamos debugar", "investiga esse bug", "achar a causa raiz" | Inline; `qa-engineer` for confirming test | Hypothesis → probe → verdict → fix |
|
|
28
|
+
| `brain-keeper` | "registra no cérebro", "atualiza brain", "log do dia" | `brain-keeper` | `docs/brain/` daily + feature + ADR + MOC |
|
|
29
|
+
| `honcho-memory` | "lembra que", "/honcho save", "/honcho search" | `UserPromptSubmit` / `Stop` hooks | Injected `[HONCHO MEMORY]` block |
|
|
30
|
+
| `caveman` | Always on; "caveman lite/full/ultra", "stop caveman" | Inline (style) | Telegraphic output (~65-75% fewer tokens) |
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Catch-all router
|
|
35
|
+
|
|
36
|
+
### project-manager
|
|
37
|
+
|
|
38
|
+
**PT triggers**: "cria endpoint", "implementa controller", "cria componente", "faz a tela", "revisa meu código", "auditoria de segurança", "modela banco", "dockeriza", "setup CI", "cria app mobile", "cria workflow n8n", "refina backlog", "escreve teste", "wireframe", "migra spring boot 2", "bump version", "decisão técnica".
|
|
39
|
+
|
|
40
|
+
**EN triggers**: "create endpoint", "implement controller", "create component", "review my code", "security audit", "design the database", "optimize query", "dockerize", "setup CI", "create mobile app", "n8n workflow", "refine backlog", "write tests", "wireframe", "migrate from spring boot 2", "release prep", "architecture decision", "analyze this task".
|
|
41
|
+
|
|
42
|
+
**When to fire**: any development request that does **not** match a specific skill. It is the default entry point — the wildcard that covers the 17 specialist agents without a dedicated skill.
|
|
43
|
+
|
|
44
|
+
**What it does**: reads the intent, picks ONE specialist from the routing table (`analyst`, `architect`, `backend-developer`, `frontend-developer`, `code-reviewer`, `database-engineer`, `devops-engineer`, `mobile-developer`, `n8n-specialist`, `product-owner`, `qa-engineer`, `security-engineer`, `tech-lead`, `ux-designer`, `migrator`, `release-engineer`, `auditor`), announces the choice in one line, and dispatches via the `Task` tool. Never orchestrates multiple agents — that is what `run-sprint` is for.
|
|
45
|
+
|
|
46
|
+
**Delegated agent**: variable, per internal routing table.
|
|
47
|
+
|
|
48
|
+
**Output / artifacts**: `Task(subagent_type="<agent>", description="...", prompt="...")` call. Final artifacts (code, ADR, report) come from the chosen specialist.
|
|
49
|
+
|
|
50
|
+
**Prerequisites**: none — it is the catch-all.
|
|
51
|
+
|
|
52
|
+
**When NOT to fire**: when a specific skill matches (`run-sprint`, `auto-test-guard`, `prd-ready-check`, `grill-me`, `bootstrap-*`, `pair-debug`, `api-integration-test`, `brain-keeper`, `test-coverage-auditor`, `update-template`, `active-project`, `caveman`). Specific skills always win by specificity.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Discovery → PRD → Issues
|
|
57
|
+
|
|
58
|
+
### grill-me
|
|
59
|
+
|
|
60
|
+
**PT triggers**: "grill me", "me entrevista sobre", "me interroga", "stress-test o plano", "me questiona até entender", "descobre os requisitos comigo", "rubber duck".
|
|
61
|
+
|
|
62
|
+
**EN triggers**: "grill me", "interview me about", "stress-test the plan", "discover requirements with me".
|
|
63
|
+
|
|
64
|
+
**When to fire**: discovery phase, before PLAN or ADR. When the user wants to stress-test an idea, surface hidden requirements, or explore a decision tree before committing with `analyst`.
|
|
65
|
+
|
|
66
|
+
**What it does**: interviews the user one decision at a time. For each question, brings a recommended answer for the user to simply confirm. When the answer can come from the code, uses `Read`/`Grep`/`Glob`/`git log` instead of asking. Persists conclusions in `DISCOVERY_*.md` so the 45 minutes of interview are never lost.
|
|
67
|
+
|
|
68
|
+
**Delegated agent**: runs inline in Sonnet; in long sessions may dispatch to `analyst`.
|
|
69
|
+
|
|
70
|
+
**Output / artifacts**: `docs/discovery/DISCOVERY_<NAME>.md` (input for `to-prd`); optionally a PLAN seed or ADR draft.
|
|
71
|
+
|
|
72
|
+
**Prerequisites**: engaged human (ADR-011). Never run in `sprint-runner`, CI, or unattended sessions.
|
|
73
|
+
|
|
74
|
+
**When NOT to fire**: inside `sprint-runner` / `run-sprint`; to implement code (use `run-sprint`); to generate tests (`auto-test-guard`); for a single-answer clarification (use `AskUserQuestion` directly).
|
|
75
|
+
|
|
76
|
+
### to-prd
|
|
77
|
+
|
|
78
|
+
**PT triggers**: "to-prd", "gera PRD", "cria PRD".
|
|
79
|
+
|
|
80
|
+
**EN triggers**: "to-prd", "generate PRD", "create PRD", "turn discovery into PRD".
|
|
81
|
+
|
|
82
|
+
**When to fire**: explicit opt-in, **after** `grill-me` produced a `DISCOVERY_*.md`. Never auto-invoked.
|
|
83
|
+
|
|
84
|
+
**What it does**: reads `docs/discovery/DISCOVERY_*.md` and produces a prose PRD with exactly six sections: Overview, Goals, User Stories (prose, no BDD), Functional Requirements, Non-functional Requirements, Out of scope. Idempotent — re-running overwrites without side effects. Does not emit FR-NNN numbered lists or sprint sections (that is `analyst`'s job).
|
|
85
|
+
|
|
86
|
+
**Delegated agent**: inline in Sonnet (`tools: Read, Write, Glob`).
|
|
87
|
+
|
|
88
|
+
**Output / artifacts**: `docs/prd/PRD_<NAME>.md`.
|
|
89
|
+
|
|
90
|
+
**Prerequisites**: existing `docs/discovery/DISCOVERY_*.md`.
|
|
91
|
+
|
|
92
|
+
**When NOT to fire**: without DISCOVERY (refuses and instructs running `grill-me`); to produce a technical PLAN (use `analyst`); to break into issues (use `to-issues`); to implement (use `run-sprint`).
|
|
93
|
+
|
|
94
|
+
### to-issues
|
|
95
|
+
|
|
96
|
+
**PT triggers**: "to-issues", "quebra em issues", "gera issues".
|
|
97
|
+
|
|
98
|
+
**EN triggers**: "to-issues", "break into issues", "generate issues", "create issues from PRD".
|
|
99
|
+
|
|
100
|
+
**When to fire**: explicit opt-in, **after** `to-prd` produced a `PRD_*.md`. Never auto-invoked.
|
|
101
|
+
|
|
102
|
+
**What it does**: reads `docs/prd/PRD_*.md` and decomposes it into an `ISSUES_*.md` where each `[ISSUE-N]` block carries Title / Labels / Body / Acceptance criteria, ready for `gh issue create`. Idempotent.
|
|
103
|
+
|
|
104
|
+
**Delegated agent**: inline in Sonnet (`tools: Read, Write, Glob`).
|
|
105
|
+
|
|
106
|
+
**Output / artifacts**: `docs/issues/ISSUES_<NAME>.md`.
|
|
107
|
+
|
|
108
|
+
**Prerequisites**: existing `docs/prd/PRD_*.md`.
|
|
109
|
+
|
|
110
|
+
**When NOT to fire**: without PRD (refuses and instructs running `to-prd`); to implement (use `run-sprint`); to produce a technical PLAN (use `analyst`); to validate readiness (use `prd-ready-check`).
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Bootstrap and scaffolding
|
|
115
|
+
|
|
116
|
+
### bootstrap-backend-java
|
|
117
|
+
|
|
118
|
+
**PT triggers**: "scaffolda o backend", "cria backend Java", "cria o esqueleto do backend", "bootstrap backend", "monta o Spring Boot", "gera o pom.xml", "primeiro setup do backend".
|
|
119
|
+
|
|
120
|
+
**EN triggers**: "scaffold the backend", "create Java backend", "bootstrap backend", "set up Spring Boot".
|
|
121
|
+
|
|
122
|
+
**When to fire**: first conversation of a **backend-only** project created via `new-project.bat` or `bootstrap-project.sh` with `--tipo=backend`. Confirms the type by reading the project's `CLAUDE.md`.
|
|
123
|
+
|
|
124
|
+
**What it does**: generates `backend/` via Spring Initializr (Spring Boot 4.0+, Java 25+), `application.yml` with dev/prod profiles, initial Flyway migration, `docker-compose.yml` with PostgreSQL 17 + Redis 7 + Mailhog, README. Asks for base package, port, DB, Spring AI, OAuth2, messaging before creating.
|
|
125
|
+
|
|
126
|
+
**Delegated agent**: `scaffold` (Haiku — mechanical work).
|
|
127
|
+
|
|
128
|
+
**Output / artifacts**: `backend/pom.xml`, `backend/src/main/java/...`, `backend/src/main/resources/application.yml`, `backend/src/main/resources/db/migration/V1__init.sql`, `docker-compose.yml`.
|
|
129
|
+
|
|
130
|
+
**Prerequisites**: project under `C:\development\source\projects\<name>\`; `CLAUDE.md` with `Project type: backend`; `backend/pom.xml` does not yet exist.
|
|
131
|
+
|
|
132
|
+
**When NOT to fire**: fullstack project (use `bootstrap-fullstack`) or frontend (`bootstrap-frontend`); `backend/pom.xml` already exists (use `run-sprint`).
|
|
133
|
+
|
|
134
|
+
### bootstrap-frontend
|
|
135
|
+
|
|
136
|
+
**PT triggers**: "scaffolda o frontend", "cria frontend Angular", "cria o frontend Vite", "cria o esqueleto do front", "bootstrap frontend", "monta o Angular".
|
|
137
|
+
|
|
138
|
+
**EN triggers**: "scaffold the frontend", "create Angular frontend", "create the Vite frontend", "bootstrap frontend".
|
|
139
|
+
|
|
140
|
+
**When to fire**: first conversation of a **frontend-only** project. Detects the stack by reading `CLAUDE.md` — `angular` or `vite-vanilla`.
|
|
141
|
+
|
|
142
|
+
**What it does**: for Angular, generates a standalone + Signals + ng-bootstrap + Jest + ESLint + Playwright project with functional interceptors (auth, error→ProblemDetail, correlation-id) and `core/`/`shared/`/`features/` structure. For Vite Vanilla, generates HTML + Vite + Bootstrap 5 CDN + fetch wrapper + Vitest. In both cases, configures backend proxy and environments.
|
|
143
|
+
|
|
144
|
+
**Delegated agent**: `scaffold` (Haiku).
|
|
145
|
+
|
|
146
|
+
**Output / artifacts**: `frontend/package.json`, `frontend/src/`, `frontend/proxy.conf.json` (Angular), `frontend/vite.config.ts` (Vite), Playwright smoke spec.
|
|
147
|
+
|
|
148
|
+
**Prerequisites**: `CLAUDE.md` with `Project type: frontend` and `Frontend stack:` set; `frontend/package.json` absent.
|
|
149
|
+
|
|
150
|
+
**When NOT to fire**: fullstack or backend project; `frontend/` already scaffolded.
|
|
151
|
+
|
|
152
|
+
### bootstrap-fullstack
|
|
153
|
+
|
|
154
|
+
**PT triggers**: "cria novo projeto", "iniciar projeto", "scaffolda backend e frontend", "cria o esqueleto", "bootstrap fullstack", "monta o monorepo", "primeiro setup".
|
|
155
|
+
|
|
156
|
+
**EN triggers**: "create new project", "start project", "scaffold backend and frontend", "create the skeleton", "bootstrap fullstack", "set up the monorepo".
|
|
157
|
+
|
|
158
|
+
**When to fire**: first conversation of a **fullstack** project with no Java/Angular code yet. Verifies that neither `backend/pom.xml` nor `frontend/angular.json` exist.
|
|
159
|
+
|
|
160
|
+
**What it does**: generates a monorepo with `backend/` (Spring Boot 4 via Spring Initializr), `frontend/` (Angular 21 via `ng new`), `docker-compose.yml` with PostgreSQL + Redis + Mailhog + Prometheus + Grafana, `.env.example`, README. Three phases (backend / frontend / infra) loaded on demand from `resources/`.
|
|
161
|
+
|
|
162
|
+
**Delegated agent**: `scaffold` (Haiku).
|
|
163
|
+
|
|
164
|
+
**Output / artifacts**: full monorepo at `C:\development\source\projects\<name>\`.
|
|
165
|
+
|
|
166
|
+
**Prerequisites**: canonical folder; empty `backend/` and `frontend/`.
|
|
167
|
+
|
|
168
|
+
**When NOT to fire**: project already has backend and frontend (use `run-sprint`); backend-only (`bootstrap-backend-java`) or frontend-only (`bootstrap-frontend`).
|
|
169
|
+
|
|
170
|
+
### active-project
|
|
171
|
+
|
|
172
|
+
**PT triggers**: "ativar projeto em `<path>`", "adota o projeto", "aplica o template", "ativa o template em", "sincronizar template no projeto".
|
|
173
|
+
|
|
174
|
+
**EN triggers**: "/active-project `<path>`", "active project at `<path>`", "activate project `<path>`".
|
|
175
|
+
|
|
176
|
+
**When to fire**: when the user passes an explicit path and wants one-shot adoption with no preview or checkpoint. Preferred for scripted batches.
|
|
177
|
+
|
|
178
|
+
**What it does**: one-shot wrapper of `scripts/adopt-project.sh`. Detects type (backend/frontend/fullstack + stack), backs up `.claude/` to `.claude.backup-YYYYMMDD-HHMMSS/`, copies the template, injects the "Identidade deste projeto" block into `CLAUDE.md`, and copies `.claude-version.json`. Supports `--dry-run`, `--force-type=<type>`, `--template=<path>`.
|
|
179
|
+
|
|
180
|
+
**Delegated agent**: none — calls the script directly via Bash.
|
|
181
|
+
|
|
182
|
+
**Output / artifacts**: updated `.claude/`; timestamped backup; `CLAUDE.md` with Project Identity filled in; `.claude-version.json`.
|
|
183
|
+
|
|
184
|
+
**Prerequisites**: project path passed as the first argument.
|
|
185
|
+
|
|
186
|
+
**When NOT to fire**: to create a new project (use `bootstrap-*`); to update the current project from inside it (use `update-template`, which has preview); to implement features (use `run-sprint`).
|
|
187
|
+
|
|
188
|
+
### update-template
|
|
189
|
+
|
|
190
|
+
**PT triggers**: "atualiza o template", "sync com claude-code-agents", "traz as skills novas", "atualiza as skills", "reimporta o template", "adota o template neste projeto".
|
|
191
|
+
|
|
192
|
+
**EN triggers**: "update the template", "sync with claude-code-agents", "bring in the new skills", "reimport the template".
|
|
193
|
+
|
|
194
|
+
**When to fire**: running **inside** a project, when you want to sync with the latest harness version with a preview before applying.
|
|
195
|
+
|
|
196
|
+
**What it does**: locates the template (default `C:\development\tools\development-utility-kit`), detects the project type, shows a diff preview, asks for confirmation, then runs `scripts/adopt-project.sh`. Backs up `.claude/`, merges preserving local files, injects the "Project type" block into `CLAUDE.md` if missing, optionally runs `retrofit-frontend-quality.sh`.
|
|
197
|
+
|
|
198
|
+
**Delegated agent**: `update-template` (Haiku — mechanical sync).
|
|
199
|
+
|
|
200
|
+
**Output / artifacts**: merged `.claude/`; `.claude.backup-*/`; change report.
|
|
201
|
+
|
|
202
|
+
**Prerequisites**: being inside a project previously adopted (or about to be adopted).
|
|
203
|
+
|
|
204
|
+
**When NOT to fire**: to create a new project (`bootstrap-*`); to update project code (`run-sprint`); for batch adoption without preview (`active-project`).
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Sprint execution
|
|
209
|
+
|
|
210
|
+
### run-sprint
|
|
211
|
+
|
|
212
|
+
**PT triggers**: "roda a sprint 1", "executa a sprint", "implementa as tarefas da sprint", "bora codar essa sprint".
|
|
213
|
+
|
|
214
|
+
**EN triggers**: "run sprint 1", "execute sprint 2 of plan X", "implement the current sprint tasks", "let's code this sprint".
|
|
215
|
+
|
|
216
|
+
**When to fire**: when an approved plan exists at `docs/plans/PLAN_*.md` and the user asks to execute a specific sprint. This skill **consumes** the plan, it does not create one.
|
|
217
|
+
|
|
218
|
+
**What it does**: reads `docs/plans/PLAN_<NAME>.md`, locates the indicated sprint, and dispatches each task to the matching specialist via the `Task` tool (NEVER inline — wastes Opus tokens). Task-type → agent mapping: backend Java → `backend-developer`, Angular → `frontend-developer`, schema/index/query → `database-engineer`, RN/Expo → `mobile-developer`, test generation + gate → `gate-keeper`, final record → `brain-keeper`. Supports parallelism when tasks do not share files.
|
|
219
|
+
|
|
220
|
+
**Delegated agent**: `sprint-runner` (Sonnet) as orchestrator; dispatches in parallel to `backend-developer`, `frontend-developer`, `database-engineer`, `mobile-developer`, `qa-engineer`, `gate-keeper`, `brain-keeper`.
|
|
221
|
+
|
|
222
|
+
**Output / artifacts**: code under `backend/src/main/java/...` and `frontend/src/app/...`; matching tests; per-task Conventional Commits.
|
|
223
|
+
|
|
224
|
+
**Prerequisites**: `docs/plans/PLAN_<NAME>.md` approved by `tech-lead`; sprint identified (number or name); project already scaffolded.
|
|
225
|
+
|
|
226
|
+
**When NOT to fire**: to create the plan (use `analyst`); to validate production readiness (use `prd-ready-check`); for an empty project (use `bootstrap-*` first).
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Quality and gate
|
|
231
|
+
|
|
232
|
+
### auto-test-guard
|
|
233
|
+
|
|
234
|
+
**PT triggers**: "roda os testes", "gera os testes", "garante que nada quebrou", "valida a tarefa", "roda a regressão", "testa tudo", "suite completa", "confere se não quebrei nada", "fim de tarefa", "cria testes pra essa feature".
|
|
235
|
+
|
|
236
|
+
**EN triggers**: "run the tests", "generate the tests", "test everything", "full suite", "auto-test", "validate the senior+ gate".
|
|
237
|
+
|
|
238
|
+
**When to fire**: at the end of every implemented task/feature, automatically inside `run-sprint` or manually by the user.
|
|
239
|
+
|
|
240
|
+
**What it does**: three steps: (1) generates missing tests for the new code — JUnit 5 + Mockito + Testcontainers on the backend, Jest + Testing Library on the frontend, Playwright for E2E; (2) runs the full regression (`mvn verify`, `npm test`, `npx playwright`); (3) validates the senior+ gate (coverage ≥ 85%, PIT mutation ≥ 70%, SpotBugs/SonarLint without CRITICAL/HIGH, OWASP dependency-check without CVSS ≥ 7.0). Blocks the task if anything fails.
|
|
241
|
+
|
|
242
|
+
**Delegated agent**: `gate-keeper` (Sonnet) — mandatorily via `Task` tool, never inline. May sub-dispatch to `backend-developer`, `frontend-developer`, `qa-engineer` for non-trivial test authoring.
|
|
243
|
+
|
|
244
|
+
**Output / artifacts**: generated test files, coverage report, GREEN / BLOCKED verdict with failure list.
|
|
245
|
+
|
|
246
|
+
**Prerequisites**: implemented code (comes from `sprint-runner` or manual edit).
|
|
247
|
+
|
|
248
|
+
**When NOT to fire**: to audit test debt (use `test-coverage-auditor`); as the final production gate (use `prd-ready-check`, which assumes this skill already passed).
|
|
249
|
+
|
|
250
|
+
### test-coverage-auditor
|
|
251
|
+
|
|
252
|
+
**PT triggers**: "audita os testes", "tem débito de teste?", "cobertura tá ok?", "o que depende de teste manual aqui?", "faz auditoria de cobertura", "lista o que não tem teste", "procura débito de teste".
|
|
253
|
+
|
|
254
|
+
**EN triggers**: "audit the tests", "is there test debt?", "is coverage ok?", "look for test debt", "list what has no test".
|
|
255
|
+
|
|
256
|
+
**When to fire**: on explicit request; automatically in Stage 5 of `run-sprint`; as a mandatory prerequisite of `prd-ready-check`.
|
|
257
|
+
|
|
258
|
+
**What it does**: scans backend code (controllers, services, domain) and frontend code (components, HTTP services, guards), checks for matching automated tests, reads recent dailies and feature notes looking for terms like "tested manually", "checked in the browser", "deployed and tested", and emits a debt report. Updates `architecture/tech-debt.md` and creates notes in `bugs/` for critical items. **Does not write tests** — only flags.
|
|
259
|
+
|
|
260
|
+
**Delegated agent**: `test-coverage-auditor` (Sonnet).
|
|
261
|
+
|
|
262
|
+
**Output / artifacts**: report with P0/P1 notes; updated `architecture/tech-debt.md`; notes at `bugs/<slug>.md` for critical debt.
|
|
263
|
+
|
|
264
|
+
**Prerequisites**: `CLAUDE.md` with project type; existing code to scan.
|
|
265
|
+
|
|
266
|
+
**When NOT to fire**: to write tests (use `backend-developer` / `frontend-developer` / `api-integration-test`); to run the suite (use `auto-test-guard`).
|
|
267
|
+
|
|
268
|
+
### prd-ready-check
|
|
269
|
+
|
|
270
|
+
**PT triggers**: "tá pronto pra PRD?", "pode subir pra produção?", "roda o checklist final", "valida tudo antes do deploy", "roda o gate de prod", "DoD", "definição de pronto".
|
|
271
|
+
|
|
272
|
+
**EN triggers**: "is it ready for PRD?", "can it ship to production?", "run the final checklist", "DoD", "definition of done", "release check".
|
|
273
|
+
|
|
274
|
+
**When to fire**: final gate before deploying to production. Does not implement anything — only validates.
|
|
275
|
+
|
|
276
|
+
**What it does**: runs `mvn test`, `npm test`, `mvn package`, `ng build --configuration=production`, clean lint, Playwright smoke E2E, clean browser console, minimum coverage, no critical vulnerabilities. Invokes `test-coverage-auditor` as a mandatory gate (open P0/P1 = automatic NO-GO). Returns GO or NO-GO with concrete reasons.
|
|
277
|
+
|
|
278
|
+
**Delegated agent**: `prd-ready-check` (Sonnet) — mandatorily via `Task` tool. Sub-invokes `test-coverage-auditor` and `security-engineer` also via Task.
|
|
279
|
+
|
|
280
|
+
**Output / artifacts**: GO / NO-GO report with item-by-item checklist.
|
|
281
|
+
|
|
282
|
+
**Prerequisites**: `auto-test-guard` already green; code integrated and working.
|
|
283
|
+
|
|
284
|
+
**When NOT to fire**: to implement fixes (use `backend-developer` / `frontend-developer`); to generate tests (use `auto-test-guard`).
|
|
285
|
+
|
|
286
|
+
### api-integration-test
|
|
287
|
+
|
|
288
|
+
**PT triggers**: "testa a integração", "valida que o front tá chamando a API", "sobe tudo e testa", "smoke test", "verifica se a tela funciona", "abre o browser e testa", "faz o E2E rápido".
|
|
289
|
+
|
|
290
|
+
**EN triggers**: "test the integration", "validate that the front is calling the API", "spin everything up and test the flow", "smoke test", "open the browser and test".
|
|
291
|
+
|
|
292
|
+
**When to fire**: validate that backend and frontend talk to each other correctly during implementation, before the formal gate. Shortens the feedback loop.
|
|
293
|
+
|
|
294
|
+
**What it does**: brings up the backend (`mvn spring-boot:run` or `docker compose`), brings up the frontend (`ng serve`), waits for `/actuator/health` to return UP, hits the endpoints with curl, opens a headless browser via Chrome MCP, runs the main flows, validates that the console has no errors and the network has no failing requests.
|
|
295
|
+
|
|
296
|
+
**Delegated agent**: `api-integration-test` (Sonnet).
|
|
297
|
+
|
|
298
|
+
**Output / artifacts**: report with curl output + Chrome MCP screenshots + console error list (if any).
|
|
299
|
+
|
|
300
|
+
**Prerequisites**: backend and frontend implemented and compiling; external services (DB, cache) available; test credentials provided.
|
|
301
|
+
|
|
302
|
+
**When NOT to fire**: for unit tests (use `auto-test-guard`); as the final production gate (use `prd-ready-check`).
|
|
303
|
+
|
|
304
|
+
### pair-debug
|
|
305
|
+
|
|
306
|
+
**PT triggers**: "vamos debugar", "pair debug", "investiga esse bug", "debug pair", "achar a causa", "investigar a falha", "qual a causa raiz", "descobrir por que", "estranho, não funciona".
|
|
307
|
+
|
|
308
|
+
**EN triggers**: "pair debug", "investigate this bug", "find the root cause", "why is this not working".
|
|
309
|
+
|
|
310
|
+
**When to fire**: bug reported whose cause is not obvious — runtime errors, intermittent failures, mysterious 4xx/5xx, data missing from DB after a write, console.error on the front, race conditions.
|
|
311
|
+
|
|
312
|
+
**What it does**: applies a disciplined 5-phase loop — (1) states the symptom as observed fact, (2) formulates 2-5 hypotheses with confidence, (3) picks ONE cheap probe (curl, log, breakpoint, SELECT, browser console via Chrome MCP), (4) gathers the evidence, (5) accepts or rejects. Repeats until it converges. Bans "try and see" — every code change follows a tested hypothesis.
|
|
313
|
+
|
|
314
|
+
**Delegated agent**: runs inline in Sonnet. To write the confirming test, dispatches to `qa-engineer` via Task.
|
|
315
|
+
|
|
316
|
+
**Output / artifacts**: reasoning log (symptom → hypotheses → probes → verdict → fix); regression test reproducing the original bug.
|
|
317
|
+
|
|
318
|
+
**Prerequisites**: reported symptom (ideally reproducible).
|
|
319
|
+
|
|
320
|
+
**When NOT to fire**: obvious bug with obvious fix (typo, import, syntax); bug with a solid pre-existing hypothesis; feature not yet implemented (use `run-sprint`); proactive refactor; performance tuning without a symptom (use `database-engineer` or `tech-lead`).
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## Memory and history
|
|
325
|
+
|
|
326
|
+
### brain-keeper
|
|
327
|
+
|
|
328
|
+
**PT triggers**: "registra no cérebro", "atualiza brain", "log do dia", "salva ADR no vault", "fecha feature no brain", "registra histórico", "atualiza obsidian", "encerra sprint no vault".
|
|
329
|
+
|
|
330
|
+
**EN triggers**: "record in the brain", "update brain", "log of the day", "close feature in brain", "save ADR in vault".
|
|
331
|
+
|
|
332
|
+
**When to fire**: automatically at Stage 7 of `run-sprint` (after PRD-ready GO) and at sprint close (after `auto-test-guard` green). Manually by the user at the end of any PLAN_*.
|
|
333
|
+
|
|
334
|
+
**What it does**: records the development history in the Obsidian vault at `docs/brain/`. Creates `daily/YYYY-MM-DD.md`, `features/<slug>.md`, `decisions/ADR-NNN-*.md` (if a new decision happened), `bugs/<slug>.md` (if it was a fix), append in `architecture/tech-debt.md` (if debt was accepted), and updates the MOC (`README.md`). Provisions `docs/brain/` + `.obsidian/` with a per-folder color snippet on first run. Idempotent in WRITE mode.
|
|
335
|
+
|
|
336
|
+
**Delegated agent**: `brain-keeper` (Sonnet).
|
|
337
|
+
|
|
338
|
+
**Output / artifacts**: `docs/brain/daily/`, `docs/brain/features/`, `docs/brain/decisions/`, `docs/brain/bugs/`, `docs/brain/architecture/tech-debt.md`, `docs/brain/README.md` (MOC), `docs/brain/.obsidian/snippets/folder-colors.css`.
|
|
339
|
+
|
|
340
|
+
**Prerequisites**: PLAN_* finished; senior+ gate green.
|
|
341
|
+
|
|
342
|
+
**When NOT to fire**: to answer history questions (read the vault directly); for trivial tasks.
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
## Style
|
|
347
|
+
|
|
348
|
+
### caveman
|
|
349
|
+
|
|
350
|
+
**Triggers**: always on in this project. Adjustable with "caveman lite", "caveman full", "caveman ultra", "stop caveman", "back to normal".
|
|
351
|
+
|
|
352
|
+
**When to fire**: passive. By default applies ULTRA to code (`.java`, `.ts`, `.py`, `.sh`, `.yml`, `.json`) and LITE/FULL to prose (`.md`, chat).
|
|
353
|
+
|
|
354
|
+
**What it does**: cuts articles, fillers, and pleasantries, producing telegraphic output with ~65-75% fewer tokens. Does not change technical semantics — only removes fluff. Preserves YAML frontmatter, symbol names, paths, exact commands. Auto-promotes to FULL when the artifact is an ADR, security audit, PRD, post-mortem, or contract/API spec (substance matters).
|
|
355
|
+
|
|
356
|
+
**Delegated agent**: inline (style applied to all output).
|
|
357
|
+
|
|
358
|
+
**Output / artifacts**: model output, compressed.
|
|
359
|
+
|
|
360
|
+
**Prerequisites**: none.
|
|
361
|
+
|
|
362
|
+
**When NOT to fire**: to suppress error messages, schema details, ADR semantics — caveman only removes filler, never technical substance.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Passive skills (always on)
|
|
367
|
+
|
|
368
|
+
Two skills do not wait for keyword match — they operate continuously in the background.
|
|
369
|
+
|
|
370
|
+
### honcho-memory
|
|
371
|
+
|
|
372
|
+
**PT triggers**: "lembra que", "memoriza", "nunca", "sempre", "/honcho save", "/honcho search", "/honcho list", "/honcho forget", "/honcho status", "/honcho setup", "memória persistente".
|
|
373
|
+
|
|
374
|
+
**EN triggers**: "remember that", "memorize this", "never do", "always do", "/honcho save", "/honcho search", "/honcho list", "/honcho forget", "/honcho status", "/honcho setup".
|
|
375
|
+
|
|
376
|
+
**When to fire**: on every `UserPromptSubmit` (automatic injection) and on `Stop` (session context save). Manually via `/honcho` subcommands.
|
|
377
|
+
|
|
378
|
+
**What it does**: persistent cross-session memory via Honcho v3 self-hosted. On `UserPromptSubmit`, detects explicit memory triggers, saves any new memory first, then runs hybrid search in `Promise.all` — peer-scoped (explicit + inferred preferences, cross-project) and session-scoped (current project context). Merges by relevance, caps at `topN` items and ~2000 characters, injects the `[HONCHO MEMORY]...[/HONCHO MEMORY]` block via stdout. On `Stop`, saves the active feature/sprint context as `project-context`. Degrades gracefully when Honcho is unavailable.
|
|
379
|
+
|
|
380
|
+
**Delegated agent**: runtime hooks, does not dispatch Task.
|
|
381
|
+
|
|
382
|
+
**Output / artifacts**: `[HONCHO MEMORY]` block injected on every prompt; persistence in self-hosted Honcho.
|
|
383
|
+
|
|
384
|
+
**Prerequisites**: Honcho v3 service available; `bun` installed to run `cli.js`.
|
|
385
|
+
|
|
386
|
+
**When NOT to fire**: the skill is always on via hook — there is no "not firing". It can be disabled by removing the hook.
|
|
387
|
+
|
|
388
|
+
### caveman
|
|
389
|
+
|
|
390
|
+
Covered above in the **Style** section. Always on by project configuration, modulates compression by context. Can be turned off with "stop caveman".
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
394
|
+
## End-to-end pipeline
|
|
395
|
+
|
|
396
|
+
Standard feature flow, from zero to deploy:
|
|
397
|
+
|
|
398
|
+
```
|
|
399
|
+
[opt-in] grill-me → docs/discovery/DISCOVERY_<name>.md
|
|
400
|
+
[opt-in] to-prd → docs/prd/PRD_<name>.md
|
|
401
|
+
[opt-in] to-issues → docs/issues/ISSUES_<name>.md
|
|
402
|
+
│
|
|
403
|
+
▼
|
|
404
|
+
[auto] project-manager → analyst → docs/plans/PLAN_<name>.md
|
|
405
|
+
architect (if new ADR) → docs/decisions/ADR-NNN.md
|
|
406
|
+
tech-lead (approves)
|
|
407
|
+
│
|
|
408
|
+
▼
|
|
409
|
+
[manual] run-sprint → sprint-runner
|
|
410
|
+
├── backend-developer (parallel)
|
|
411
|
+
├── frontend-developer (parallel)
|
|
412
|
+
├── database-engineer (parallel)
|
|
413
|
+
└── qa-engineer (parallel)
|
|
414
|
+
│
|
|
415
|
+
▼
|
|
416
|
+
[auto] auto-test-guard → gate-keeper (tests + senior+ gate)
|
|
417
|
+
│
|
|
418
|
+
▼
|
|
419
|
+
[auto] api-integration-test (real smoke)
|
|
420
|
+
│
|
|
421
|
+
▼
|
|
422
|
+
[manual] prd-ready-check → GO / NO-GO
|
|
423
|
+
│
|
|
424
|
+
▼
|
|
425
|
+
[auto] brain-keeper → docs/brain/ (daily + feature + ADR + MOC)
|
|
426
|
+
│
|
|
427
|
+
▼
|
|
428
|
+
commit + PR
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
Markers:
|
|
432
|
+
|
|
433
|
+
- **[opt-in]**: the skill never auto-triggers. The user must ask explicitly.
|
|
434
|
+
- **[auto]**: inside `run-sprint`, it is automatically triggered at the correct stage.
|
|
435
|
+
- **[manual]**: user-driven, but can be chained by upstream skills.
|
|
436
|
+
|
|
437
|
+
`caveman` and `honcho-memory` operate transversally across the entire pipeline.
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## How to create a new skill
|
|
442
|
+
|
|
443
|
+
Minimum structure:
|
|
444
|
+
|
|
445
|
+
```
|
|
446
|
+
.claude/skills/<slug>/
|
|
447
|
+
└── SKILL.md
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
Required frontmatter:
|
|
451
|
+
|
|
452
|
+
```yaml
|
|
453
|
+
---
|
|
454
|
+
name: <slug>
|
|
455
|
+
description: |
|
|
456
|
+
One-line description of what the skill does, followed by a dense list
|
|
457
|
+
of EN and PT triggers. Cowork's classifier uses this field to decide
|
|
458
|
+
when to fire — the more real triggers, the better.
|
|
459
|
+
Triggers EN: "trigger one", "trigger two", "trigger three".
|
|
460
|
+
PT triggers: 'gatilho um', 'gatilho dois', 'gatilho três'.
|
|
461
|
+
tools: Read, Glob, Grep, Write, Edit, Bash(command:*)
|
|
462
|
+
model: sonnet
|
|
463
|
+
---
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
Recommendations:
|
|
467
|
+
|
|
468
|
+
1. **Description rich in PT + EN**. The classifier does keyword matching — without PT triggers, the skill will not fire for Portuguese-speaking users.
|
|
469
|
+
2. **Inviolable block at the end of the file**: declare non-negotiable rules (e.g., "never run inline — always via `Task(subagent_type=...)`").
|
|
470
|
+
3. **Restricted tools**: declare only the tools the skill really needs, especially for Bash (use `Bash(curl:*)` instead of `Bash`).
|
|
471
|
+
4. **Model declaration**: Haiku for mechanical work, Sonnet for default, Opus only for irreversible decisions.
|
|
472
|
+
5. **Stage → subagent mapping**: if the skill orchestrates multiple agents, declare the table in Markdown — this prevents Opus from running inline work that should be Sonnet/Haiku.
|
|
473
|
+
6. **Invoke an agent via the Task tool**:
|
|
474
|
+
|
|
475
|
+
```
|
|
476
|
+
Task(
|
|
477
|
+
subagent_type="backend-developer",
|
|
478
|
+
description="<3-5 words>",
|
|
479
|
+
prompt="""
|
|
480
|
+
Task: <description>
|
|
481
|
+
Acceptance criteria: <list>
|
|
482
|
+
Return: files created/modified + tests run.
|
|
483
|
+
"""
|
|
484
|
+
)
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
7. **Register in `CLAUDE.md`** under "Skills (Cowork + Claude Code)" — table with name, triggers, output.
|
|
488
|
+
8. **Update** `.claude/skills/README.md` with the new row.
|
|
489
|
+
9. **Test** by firing via Cowork with a real user phrase.
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
## Cross-references
|
|
494
|
+
|
|
495
|
+
- [Agents reference](agents-reference) — executor catalog with `model:` declared.
|
|
496
|
+
- [Pipeline](pipeline) — end-to-end discovery → deploy flow with checkpoints and gates.
|
|
497
|
+
- [Hooks reference](hooks-reference) — `UserPromptSubmit` and `Stop` used by `honcho-memory`.
|
|
498
|
+
- [Quality gate](quality-gate) — senior+ gate thresholds validated by `auto-test-guard` and `prd-ready-check`.
|
|
499
|
+
- [Autonomy matrix](autonomy-matrix) — who decides what and when to escalate to the human.
|
|
500
|
+
- [Architecture overview](architecture-overview) — Skill + Agent layers and why commands were removed.
|