Skip to content

feat(skills): add /passes for multi-pass planning#203

Merged
emal-avala merged 1 commit intomainfrom
feat/skill-passes
Apr 23, 2026
Merged

feat(skills): add /passes for multi-pass planning#203
emal-avala merged 1 commit intomainfrom
feat/skill-passes

Conversation

@emal-avala
Copy link
Copy Markdown
Member

@emal-avala emal-avala commented Apr 23, 2026

Summary

New bundled skill that structures complex tasks into four explicit passes so the agent can't shortcut past important steps.

/passes

The four passes

Pass Goal Hard constraint
1 Goal + success criteria — what does "done" mean? No implementation details yet
2 Approach + trade-offs — which option wins and why? Must answer "why not the alternative?"
3 Implement Stay scoped to what Pass 1/2 said
4 Verify Run the exact check named in Pass 1

If Pass 4 fails, the skill explicitly tells the agent to loop back to Pass 2 — papering over a failing check with commentary is disallowed.

Ends with a one-paragraph summary suitable for a PR description: what changed, why that approach, how it was verified.

Why

Single-shot planning misses requirements. Forcing the model to separate what done means from how to get there from the implementation itself surfaces assumption violations early. Bundled skill implementation.

Test plan

  • cargo fmt --all — clean
  • cargo clippy --workspace --all-targets -- -D warnings — clean
  • cargo test -p agent-code-lib --lib skills — 19/19 pass (no regressions in skill-validator tests)
  • Manual: /passes in REPL invokes the skill and starts the agent with the four-pass instructions

New bundled skill that structures complex tasks into four explicit
passes so the agent can't shortcut past important steps:

  Pass 1  Goal + success criteria — what does "done" mean?
  Pass 2  Approach + trade-offs   — which option wins and why?
  Pass 3  Implement               — scoped to what Pass 1/2 said
  Pass 4  Verify                  — run the check named in Pass 1

Each pass has a hard constraint: "don't skip, don't merge, don't
expand scope". If Pass 4 fails, loop back to Pass 2 — papering over
with commentary is explicitly disallowed.

Ends with a one-paragraph summary suitable for a PR description.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@emal-avala emal-avala merged commit 02cd23e into main Apr 23, 2026
14 checks passed
@emal-avala emal-avala deleted the feat/skill-passes branch April 23, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant