goat
Use when you describe an outcome and need the right goat-* workflow chosen for you.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 32
- Forks
- 2
01 前言 Front Matter
- name
- goat
- description
- Use when you describe an outcome and need the right goat-* workflow chosen for you.
- goat-flow-skill-version
- 1.18.0
03 SKILL.md 正文
/goat
Shared Conventions
Read .goat-flow/skill-docs/skill-preamble.md for shared conventions.
Boundary Commands
- NEVER: Investigate implementation or make changes before routing.
- ALWAYS: Honor explicit invocations; answer simple facts directly; split other intents and route each.
- DEFER TO: Routed skills, direct execution for simple changes, or direct answers.
If a symptom tempts code reading, STOP. The dispatcher routes; the routed skill investigates.
| Excuse | Reality |
|---|---|
| "I can see it - routing is overhead" | Route before investigation. |
| "The user said 'just fix it'" | Route to /goat-debug. |
How It Works
- EXPLICIT PASS-THROUGH - named goat-* invocation: dispatch immediately with the remaining text as its brief; skip UNDERSTAND, GATHER, and reclassification. The target skill owns Step 0.
- UNDERSTAND (inferred only) - classify intent; split multiple intents; ask only if order matters.
- Simple-fact fast path: for one factual question, answer directly after UNDERSTAND; skip GATHER and the Route Snapshot.
- GATHER (inferred skill or direct-execution routing only) - before routing, check:
- Ask-first boundaries: compare request-named files with active instruction boundaries; no matching request file ->
target-files=unknown - Routed skills own learning-loop retrieval; do not pre-read their learning-loop indexes in the dispatcher
- Direct execution only: run the shared preamble's INDEX-first retrieval before emitting the Route Snapshot
- If the boundary scan or direct-execution retrieval fails, note
gather-degradedand route anyway - Only direct-execution snapshots include the retrieval result
- Ask-first boundaries: compare request-named files with active instruction boundaries; no matching request file ->
- ROUTE (inferred skill or direct-execution only) - dispatch using the map. Emit a Route Snapshot:
Intent: <classified user intent>
Route: </goat-* skill or direct path>
Depth: <user request | destination Step 0 | not applicable>
Rationale: <verified routing rule and boundary state>
Relevant prior learnings: <direct route: matches | none | retrieval miss; routed skill: omit>
Only user-requested depth is forwarded; otherwise destination Step 0 selects. Markers are not depth arguments. Direct: not applicable; quality: no Route Snapshot.
Route Map
| Intent | Route |
|---|---|
| Bug, failure, unexpected behaviour; verify a fix | /goat-debug |
| Browser-visible issue | Browser evidence first; then /goat-debug (Diagnose mode) |
| Understand, explain, explore unfamiliar code | /goat-debug (Investigate mode) |
| GOAT Flow setup/process/harness/skills quality assessment | goat-flow quality CLI/dashboard prompt flow (no goat skill wrapper) |
| Code quality review, area audit, diff check | /goat-review |
| Multi-perspective critique | /goat-critique |
| Security, compliance, dependency audit | /goat-security |
| Comment, documentation, naming, or private-placement remediation | /goat-clarity |
| Testing gaps, coverage, verification planning | /goat-qa |
| Bare task path (no action verb) | Bare or ambiguous task paths are read-only context. Do not update .active, milestone status, or code from a path alone |
| Plan/design or non-trivial build/change | /goat-plan; build/change carries return-to-implement, plan/design stops after planning |
| Hotfix or simple implementation (1-2 files, obvious change) | No skill; use execution loop directly |
| Simple question | Answer directly |
Constraints
- MUST respect explicit skill invocations - no reclassification
- MUST NOT investigate implementation or make changes before routing; the Simple-fact fast path may read only the minimum source or reference needed to answer
- MUST understand intent conversationally, not via keyword lookup - 0-2 clarification questions max; route with stated assumption if still ambiguous
- MUST emit a Route Snapshot for every inferred skill or direct-execution dispatch - simple-fact answers are exempt
- MUST split multi-intent requests into numbered intents and route each
- MUST pass the complete brief and preserve context;
return-to-implementpreserves build authorization, but Ask First boundaries still gate
04 同仓库更多 Skills
goat
Use when you describe an outcome and need the right goat-* workflow chosen for you.
goat-security
Use when assessing security implications of code changes, architecture decisions, or new features.
goat-review
Use when reviewing a diff, PR, or set of code changes, or auditing a codebase area for quality issues. Triggers: 'review this', 'code review', 'audit X', 'look at these changes'.
goat-qa
Use when evaluating test coverage gaps, planning test strategy, or assessing testing risk for code changes.
goat-plan
Use when creating, updating, reconciling, or resuming milestone plans.
goat-debug
Use when diagnosing a bug, unexpected behaviour, system failure, or unfamiliar code that needs structured investigation.