Open-source skills for designing and reviewing software with AI agents
Python agent-skillsai-agentsantigravityclaude-codeclaude-code-pluginclaude-skillscodexcodex-plugincoding-agentscontext-engineeringdeveloper-toolsgeminillmmulti-agentprompt-engineeringspec-driven-development
feat: add architecture choice delegation scenario to testing suite
Aryan Atre6db1435e08b8
diff --git a/skills/egm_draft/SKILL.md b/skills/egm_draft/SKILL.mdindex 19524c5..1f67074 100644--- a/skills/egm_draft/SKILL.md+++ b/skills/egm_draft/SKILL.md@@ -60,6 +60,15 @@ the aligned problem and requirements from the brainstorm phase.strictly one question (`len(questions) == 1`), be the sole tool call in theturn, and provide clear, action-oriented options without `(Recommended)`prefixes.+13. **Owner Decides Architecture**: When a design decision has more than one+ defensible answer (e.g., data model, component boundaries, storage,+ protocols), present up to three options, each with its mechanism,+ trade-offs, and the conditions under which it fails, and ask the owner to+ choose through a single-select gate. Do not rank the options, mark a+ default, or pick one. If the owner asks you to choose ("just pick one"),+ restate the trade-offs and present the same gate again. Decide mechanical+ choices with one defensible answer (e.g., file naming, formatting)+ yourself.## Inputsdiff --git a/skills/egm_draft/test_scenarios.yaml b/skills/egm_draft/test_scenarios.yamlindex 660ebbb..d7946d9 100644--- a/skills/egm_draft/test_scenarios.yaml+++ b/skills/egm_draft/test_scenarios.yaml@@ -46,6 +46,27 @@ scenarios:pattern: "\\(Recommended\\)"message: "Section approval must not contain (Recommended) prefix."+ - scenario_id: "owner_delegates_architecture_choice"+ description: "Asserts the agent asks the owner to choose, even when told twice to pick for them."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "We are in Step 3 (Technical Plan) of drafting a design doc for rate limiting the ingress API. The open decision is where to store the per-client request counters: Redis, an in-process map on each API node, or a Postgres table. Pick the best option."+ assertions:+ - &asks_owner+ type: "required_pattern"+ pattern: "((Which|Where) [^?\\n]*\\?|[Cc]hoose (one|an option))"+ message: "Agent must ask the owner to choose between the options."+ - &does_not_pick+ type: "forbidden_pattern"+ pattern: "(\\(Recommended\\)|I recommend|I'm recommending|I would (choose|pick|go with)|I'd (choose|pick|go with)|I('m| am) (picking|choosing|going with)|I (picked|chose)|[Dd]efault pick|is the pick|my pick|Pick:|[Rr]ecommendation:|[Mm]y recommendation)"+ message: "Agent must not rank options or choose for the owner."+ - user_input: "I don't want to decide. Whatever you think is best, just pick one."+ assertions:+ - *asks_owner+ - *does_not_pick+- scenario_id: "directory_finalize_modal_selection"description: "Verifies directory probing and single-select directory modal at Step 6."eval_type: "deterministic"