com um clique
metta-quick
Quick mode — small change without full planning
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Quick mode — small change without full planning
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Start a new change with Metta
Full lifecycle loop — discover, build, verify, ship
Resolve a reconciliation gap through the full metta change lifecycle
Resolve an issue through the full metta change lifecycle
Finalize and ship the active change
Log an issue with root-cause analysis
Baseado na classificação ocupacional SOC
| name | metta:quick |
| description | Quick mode — small change without full planning |
| argument-hint | <description of the small change> |
| allowed-tools | ["Read","Write","Edit","Bash","Grep","Glob","Agent"] |
| context | fork |
| agent | metta-skill-host |
IMPORTANT: When using the Agent tool, use these metta agent types: metta-proposer, metta-researcher, metta-architect, metta-planner, metta-executor, metta-reviewer, metta-verifier, metta-discovery. Do NOT use gsd-executor or general-purpose.
You are the orchestrator for a quick change (intent → implementation → review → verification → finalize → merge).
Parse optional --auto / --accept-recommended from $ARGUMENTS:
$ARGUMENTS contains the token --auto or --accept-recommended, remove it from $ARGUMENTS. Set a local boolean flag AUTO_MODE = true.AUTO_MODE = false.Note on
--autoscope: The--autoflag now also auto-accepts adaptive routing recommendations (intent-time downscale/upscale and post-implementation upscale prompts) in addition to its existing discovery-loop short-circuit behavior.
Then run: METTA_SKILL=1 metta quick "$ARGUMENTS" --json → creates change on branch metta/<change-name>
LIGHT DISCOVERY (mandatory — do NOT skip): Before writing the intent, YOU (the orchestrator, not a subagent) MUST evaluate whether the change carries meaningful ambiguity BEFORE asking any questions.
Trivial-detection gate (first action):
DISCOVERY LOOP (entered only when non-trivial):
Self-contained since this skill invokes independently of /metta:propose.
Auto mode short-circuit: if AUTO_MODE = true, SKIP every AskUserQuestion call in this loop. For each question the loop would have asked, assume the user selected the first option (which by convention is the (Recommended) option). Record those implied answers in the cumulative context passed to the proposer subagent as if they had been collected normally. Then proceed directly to the proposer subagent.
AskUserQuestion call within the loop MUST include a final selectable option exactly spelled I'm done — proceed with these answers.WebSearch first to surface current best-practice options for the user's stack. Generic scope/architecture questions skip this. Cite findings to the user when offering options.Resolved: <A>, <B>. Open: <C> — proceeding to Round N.
When no further rounds are needed: Resolved: all questions. Proceeding to proposer subagent.I'm done — proceed with these answers.Cumulative context: pass the full set of all question-answer pairs from all completed rounds to the proposer subagent; answers from later rounds supplement, not replace, earlier answers.
Spawn a metta-proposer agent (subagent_type: "metta-proposer") for the intent:
metta instructions intent --json --change <name> → get template + persona
Subagent writes intent.md (Problem, Proposal, Impact, Out of Scope), commits it
METTA_SKILL=1 metta complete intent --json --change <name> → advances to implementation
IMPLEMENTATION — MANDATORY PARALLEL EXECUTION: ⚠️ DO NOT spawn a single metta-executor for all work. You MUST parse independent pieces and spawn per-piece. a. Read the intent yourself — YOU the orchestrator, not a subagent b. Identify independent pieces (e.g. separate files, separate modules) and list them c. Execute the pre-batch self-check below before spawning any agents:
Pre-batch self-check — you MUST complete every bullet before emitting any Agent(...) call. SHALL NOT skip. No hedge words — no "consider", "try to", "you may want to":
src/foo.ts shared with Piece A) as the written justification. Sequential without a named file-path conflict is forbidden.Rule inversion — parallel is the default. Every piece is Parallel unless step 4 above names a concrete conflicting file path. N pieces with disjoint files SHALL be spawned in one message with N Agent(...) tool calls.
Fan-out anti-example — implementation of 3 disjoint pieces:
// Three separate orchestrator messages. Each Agent call is sent alone and
// the orchestrator waits for it to return before sending the next.
// This serializes what should run concurrently and burns wall-clock time.
msg 1: Agent(subagent_type: "metta-executor", ...Piece A...)
// (wait for msg 1 to return)
msg 2: Agent(subagent_type: "metta-executor", ...Piece B...)
// (wait for msg 2 to return)
msg 3: Agent(subagent_type: "metta-executor", ...Piece C...)
// One orchestrator message with three Agent tool calls in the same response.
// The framework runs all three concurrently; the orchestrator resumes when
// the last one returns.
msg 1:
Agent(subagent_type: "metta-executor", ...Piece A...)
Agent(subagent_type: "metta-executor", ...Piece B...)
Agent(subagent_type: "metta-executor", ...Piece C...)
feat(<change>): <description>spec/changes/<change>/summary.md and commitMETTA_SKILL=1 metta complete implementation --json --change <name> → advances to verification
REVIEW — trivial-detection gate, then fan-out:
Trivial-detection gate (first action): Run metta status --json --change <name> and read complexity_score.recommended_workflow from the returned state. If it equals 'trivial', take the trivial path below; otherwise (including when complexity_score is absent) take the standard 3-reviewer path.
Tests (npm test -- --run) and type-check (npx tsc --noEmit) run on every change regardless of tier.
Trivial path (1 reviewer):
spec/changes/<change>/review.md and commit.Standard path — you MUST spawn all 3 metta-reviewer agents in a SINGLE orchestrator message (fan-out — parallel, one message, three Agent(...) calls):
Pre-batch self-check — you MUST complete every bullet before emitting any reviewer Agent(...) call. SHALL NOT skip. No hedge words:
Files scope of each reviewer: all three read the same source tree but write distinct output sections (correctness notes, security notes, quality notes) that you merge afterward. No reviewer writes to disk during its own turn.Rule inversion — parallel is the default. The three reviewers SHALL be emitted in one orchestrator message as three Agent(...) tool calls.
Fan-out anti-example — 3 reviewer agents:
// Three separate messages. Correctness review finishes before security even
// starts. Review latency triples for no reason.
msg 1: Agent(subagent_type: "metta-reviewer", ...correctness...)
msg 2: Agent(subagent_type: "metta-reviewer", ...security...)
msg 3: Agent(subagent_type: "metta-reviewer", ...quality...)
// One message, three Agent calls. All three reviewers run concurrently.
msg 1:
Agent(subagent_type: "metta-reviewer", ...correctness...)
Agent(subagent_type: "metta-reviewer", ...security...)
Agent(subagent_type: "metta-reviewer", ...quality...)
spec/changes/<change>/review.md and commit.REVIEW-FIX LOOP (applies to both paths, repeat until clean):
a. Run METTA_SKILL=1 metta iteration record --phase review --change <name>
b. If critical issues found:
VERIFICATION — trivial-detection gate, then fan-out:
Trivial-detection gate (first action): Run metta status --json --change <name> and read complexity_score.recommended_workflow from the returned state. If it equals 'trivial', take the trivial path below; otherwise (including when complexity_score is absent) take the standard 3-verifier path.
Tests (npm test -- --run) and type-check (npx tsc --noEmit) run on every change regardless of tier.
Trivial path (1 verifier):
npm test -- --run and npx tsc --noEmit && npm run lint — report pass/fail count and any type/lint errors."spec/changes/<change>/summary.md and commit.Standard path — you MUST spawn all 3 metta-verifier agents in a SINGLE orchestrator message (fan-out — parallel, one message, three Agent(...) calls):
Pre-batch self-check — you MUST complete every bullet before emitting any verifier Agent(...) call. SHALL NOT skip. No hedge words:
npm test; Agent 2 runs npx tsc --noEmit and npm run lint; Agent 3 reads intent.md and cross-references code. None of them writes a file that another writes.Rule inversion — parallel is the default. The three verifiers SHALL be emitted in one orchestrator message as three Agent(...) tool calls.
Fan-out anti-example — 3 verifier agents:
// Three separate messages. The type-check sits idle while npm test runs;
// wall-clock gate time is the sum instead of the max.
msg 1: Agent(subagent_type: "metta-verifier", ...npm test...)
msg 2: Agent(subagent_type: "metta-verifier", ...tsc + lint...)
msg 3: Agent(subagent_type: "metta-verifier", ...intent traceability...)
// One message, three Agent calls. All three verifiers run concurrently.
msg 1:
Agent(subagent_type: "metta-verifier", ...npm test...)
Agent(subagent_type: "metta-verifier", ...tsc + lint...)
Agent(subagent_type: "metta-verifier", ...intent traceability...)
METTA_SKILL=1 metta iteration record --phase verify --change <name>npm test — report pass/fail count and any failures"npx tsc --noEmit and npm run lint — report any type or lint errors"spec/changes/<change>/summary.md and commit.If any gate fails (either path): run METTA_SKILL=1 metta iteration record --phase verify --change <name> again, then spawn parallel metta-executors to fix (all fixes in ONE orchestrator message unless two fixes share a file path you have named in writing), then re-verify.
METTA_SKILL=1 metta complete verification --json --change <name>
METTA_SKILL=1 metta finalize --json --change <name> → runs gates, archives, merges specs
git checkout main && git merge metta/<change-name> --no-ff -m "chore: merge <change-name>"
Report to user what was done
/metta:propose instead