@waoooo/claude-skills 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/README.md +48 -0
- package/package.json +28 -0
- package/registry.json +431 -0
- package/skills/acceptance-review/SKILL.md +537 -0
- package/skills/all-plan/SKILL.md +19 -0
- package/skills/all-plan/references/flow.md +750 -0
- package/skills/api-docs-generate/SKILL.md +204 -0
- package/skills/api-docs-generate/assets/templates/api.mdx +140 -0
- package/skills/api-docs-generate/scripts/generate-api-docs.ts +308 -0
- package/skills/ask/SKILL.md +42 -0
- package/skills/autonew/SKILL.md +34 -0
- package/skills/capability-analyze/SKILL.md +300 -0
- package/skills/capability-analyze/scripts/analyze-capabilities.ts +531 -0
- package/skills/capability-docs-generate/SKILL.md +155 -0
- package/skills/capability-docs-generate/assets/templates/capability.mdx +271 -0
- package/skills/capability-docs-generate/scripts/generate-capability-docs.ts +358 -0
- package/skills/capability-tree-query/SKILL.md +112 -0
- package/skills/capability-tree-query/scripts/build-capability-tree.ts +402 -0
- package/skills/changelog-generator/SKILL.md +104 -0
- package/skills/continue/SKILL.md +39 -0
- package/skills/continue/agents/openai.yaml +3 -0
- package/skills/creating-skills/SKILL.md +158 -0
- package/skills/creating-skills/references/official_best_practices.md +128 -0
- package/skills/creating-skills/references/skill_examples.md +199 -0
- package/skills/docx/LICENSE.txt +30 -0
- package/skills/docx/SKILL.md +197 -0
- package/skills/docx/docx-js.md +350 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/docx/ooxml/scripts/pack.py +159 -0
- package/skills/docx/ooxml/scripts/unpack.py +29 -0
- package/skills/docx/ooxml/scripts/validate.py +69 -0
- package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
- package/skills/docx/ooxml/scripts/validation/base.py +951 -0
- package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
- package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
- package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
- package/skills/docx/ooxml.md +610 -0
- package/skills/docx/scripts/__init__.py +1 -0
- package/skills/docx/scripts/document.py +1276 -0
- package/skills/docx/scripts/templates/comments.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/skills/docx/scripts/templates/people.xml +3 -0
- package/skills/docx/scripts/utilities.py +374 -0
- package/skills/git-branch-create/SKILL.md +170 -0
- package/skills/git-branch-merge/SKILL.md +176 -0
- package/skills/git-commit/SKILL.md +56 -0
- package/skills/git-commit/references/commit_examples.md +311 -0
- package/skills/github-actions-trigger/SKILL.md +367 -0
- package/skills/github-issue-create/SKILL.md +294 -0
- package/skills/github-pr-creation/SKILL.md +137 -0
- package/skills/github-pr-creation/references/pr_templates.md +187 -0
- package/skills/github-pr-merge/SKILL.md +112 -0
- package/skills/github-pr-review/SKILL.md +110 -0
- package/skills/github-pr-review/references/severity_guide.md +168 -0
- package/skills/job-create/SKILL.md +294 -0
- package/skills/job-create/scripts/create-job.ts +105 -0
- package/skills/job-workflow/SKILL.md +212 -0
- package/skills/keyword-extract/SKILL.md +229 -0
- package/skills/mcp-builder/LICENSE.txt +202 -0
- package/skills/mcp-builder/SKILL.md +236 -0
- package/skills/mcp-builder/reference/evaluation.md +602 -0
- package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
- package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
- package/skills/mcp-builder/scripts/connections.py +151 -0
- package/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/skills/mdx-to-openspec/SKILL.md +827 -0
- package/skills/mdx-to-openspec/scripts/mdx-to-openspec.ts +320 -0
- package/skills/mounted/SKILL.md +20 -0
- package/skills/multi-model-review/SKILL.md +459 -0
- package/skills/notion-automation/SKILL.md +215 -0
- package/skills/openspec-review/SKILL.md +513 -0
- package/skills/pdf/LICENSE.txt +30 -0
- package/skills/pdf/SKILL.md +294 -0
- package/skills/pdf/forms.md +205 -0
- package/skills/pdf/reference.md +612 -0
- package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
- package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
- package/skills/pdf/scripts/check_fillable_fields.py +12 -0
- package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
- package/skills/pdf/scripts/create_validation_image.py +41 -0
- package/skills/pdf/scripts/extract_form_field_info.py +152 -0
- package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
- package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/skills/pend/SKILL.md +33 -0
- package/skills/ping/SKILL.md +39 -0
- package/skills/pptx/LICENSE.txt +30 -0
- package/skills/pptx/SKILL.md +484 -0
- package/skills/pptx/html2pptx.md +625 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/pptx/ooxml/scripts/pack.py +159 -0
- package/skills/pptx/ooxml/scripts/unpack.py +29 -0
- package/skills/pptx/ooxml/scripts/validate.py +69 -0
- package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
- package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
- package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
- package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
- package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
- package/skills/pptx/ooxml.md +427 -0
- package/skills/pptx/scripts/html2pptx.js +979 -0
- package/skills/pptx/scripts/inventory.py +1020 -0
- package/skills/pptx/scripts/rearrange.py +231 -0
- package/skills/pptx/scripts/replace.py +385 -0
- package/skills/pptx/scripts/thumbnail.py +450 -0
- package/skills/progress-update/SKILL.md +394 -0
- package/skills/progress-update/scripts/update-progress.ts +221 -0
- package/skills/release-automation/SKILL.md +306 -0
- package/skills/requirement-parse/SKILL.md +212 -0
- package/skills/requirement-parse/scripts/infer-builder-config.ts +346 -0
- package/skills/requirement-parse/scripts/merge-requirements.ts +228 -0
- package/skills/requirement-parse/scripts/parse-docs.ts +206 -0
- package/skills/requirement-parse/scripts/parse-openspec.ts +168 -0
- package/skills/roadmap-docs-generate/SKILL.md +483 -0
- package/skills/roadmap-docs-generate/assets/templates/ROADMAP.mdx +75 -0
- package/skills/roadmap-docs-generate/assets/templates/ROADMAP.mdx.template +330 -0
- package/skills/roadmap-docs-generate/assets/templates/TODO.mdx +56 -0
- package/skills/roadmap-docs-generate/assets/templates/TODO.mdx.template +363 -0
- package/skills/roadmap-docs-generate/scripts/json-to-mdx.ts +445 -0
- package/skills/roadmap-docs-generate/scripts/json-to-mdx.ts.backup +411 -0
- package/skills/roadmap-generate/SKILL.md +396 -0
- package/skills/roadmap-generate/scripts/generate-roadmap.ts +496 -0
- package/skills/skill-creator/LICENSE.txt +202 -0
- package/skills/skill-creator/SKILL.md +356 -0
- package/skills/skill-creator/references/output-patterns.md +82 -0
- package/skills/skill-creator/references/workflows.md +28 -0
- package/skills/skill-creator/scripts/init_skill.py +303 -0
- package/skills/skill-creator/scripts/package_skill.py +110 -0
- package/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/skills/spec-generate/SKILL.md +408 -0
- package/skills/spec-generate/scripts/generate-specs.ts +538 -0
- package/skills/spec-generate/scripts/generate-tasks.ts +174 -0
- package/skills/specs-review/SKILL.md +370 -0
- package/skills/task-execute/SKILL.md +399 -0
- package/skills/task-update-status/SKILL.md +349 -0
- package/skills/task-update-status/scripts/update-task-status.ts +192 -0
- package/skills/task-verify/SKILL.md +407 -0
- package/skills/ui-ux-pro-max/SKILL.md +386 -0
- package/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/skills/ui-ux-pro-max/scripts/search.py +114 -0
- package/skills/vercel-automation/SKILL.md +226 -0
- package/skills/webapp-testing/LICENSE.txt +202 -0
- package/skills/webapp-testing/SKILL.md +96 -0
- package/skills/webapp-testing/examples/console_logging.py +35 -0
- package/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/skills/webapp-testing/scripts/with_server.py +106 -0
- package/skills/worktree-manager/SKILL.md +725 -0
- package/skills/worktree-manager/config.json +15 -0
- package/skills/worktree-manager/scripts/allocate-ports.sh +100 -0
- package/skills/worktree-manager/scripts/cleanup.sh +185 -0
- package/skills/worktree-manager/scripts/launch-agent.sh +155 -0
- package/skills/worktree-manager/scripts/register.sh +125 -0
- package/skills/worktree-manager/scripts/release-ports.sh +48 -0
- package/skills/worktree-manager/scripts/status.sh +169 -0
- package/skills/worktree-manager/scripts/sync.sh +168 -0
- package/skills/worktree-manager/templates/worktree.json +23 -0
- package/skills/xlsx/LICENSE.txt +30 -0
- package/skills/xlsx/SKILL.md +289 -0
- package/skills/xlsx/recalc.py +178 -0
|
@@ -0,0 +1,750 @@
|
|
|
1
|
+
# All Plan
|
|
2
|
+
|
|
3
|
+
Collaborative planning with selected mounted CLIs for comprehensive solution design. Codex serves as the primary coordinator.
|
|
4
|
+
|
|
5
|
+
**Usage**: For complex features or architectural decisions requiring diverse perspectives.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Input Parameters
|
|
10
|
+
|
|
11
|
+
From `$ARGUMENTS`:
|
|
12
|
+
- `requirement`: User's initial requirement or feature request
|
|
13
|
+
- `context`: Optional project context or constraints
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Execution Flow
|
|
18
|
+
|
|
19
|
+
### Phase 0: Participant Selection (Required)
|
|
20
|
+
|
|
21
|
+
Before any clarification, determine which CLIs will participate and who is the final decider.
|
|
22
|
+
|
|
23
|
+
1) **Check mounted CLIs** using the `mounted` skill.
|
|
24
|
+
2) **Ask the user to choose**:
|
|
25
|
+
- Which AIs to include (subset of mounted CLIs)
|
|
26
|
+
- Which AI is the final judge/arbiter
|
|
27
|
+
3) **Proceed only after explicit user selection.**
|
|
28
|
+
|
|
29
|
+
Record as:
|
|
30
|
+
```
|
|
31
|
+
participants: [list of chosen AIs]
|
|
32
|
+
arbiter: [chosen AI]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Define helper:
|
|
36
|
+
```
|
|
37
|
+
dispatch_to_participants(prompt, label):
|
|
38
|
+
for each provider in participants:
|
|
39
|
+
ask <provider> <<'EOF'
|
|
40
|
+
[prompt]
|
|
41
|
+
EOF
|
|
42
|
+
save each response as "{provider}_{label}"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Phase 1: Requirement Refinement & Project Analysis
|
|
46
|
+
|
|
47
|
+
**1.1 Structured Clarification (Option-Based)**
|
|
48
|
+
|
|
49
|
+
Use the **5-Dimension Planning Readiness Model** to ensure comprehensive requirement capture.
|
|
50
|
+
|
|
51
|
+
#### Readiness Dimensions (100 pts total)
|
|
52
|
+
|
|
53
|
+
| Dimension | Weight | Focus | Priority |
|
|
54
|
+
|-----------|--------|-------|----------|
|
|
55
|
+
| Problem Clarity | 30pts | What problem? Why solve it? | 1 |
|
|
56
|
+
| Functional Scope | 25pts | What does it DO? Key features | 2 |
|
|
57
|
+
| Success Criteria | 20pts | How to verify done? | 3 |
|
|
58
|
+
| Constraints | 15pts | Time, resources, compatibility | 4 |
|
|
59
|
+
| Priority/MVP | 10pts | What first? Phased delivery? | 5 |
|
|
60
|
+
|
|
61
|
+
#### Clarification Flow
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
ROUND 1:
|
|
65
|
+
1. Parse initial requirement
|
|
66
|
+
2. Identify 2 lowest-confidence dimensions (use Priority order for ties)
|
|
67
|
+
3. Present 2 questions with options (1 per dimension)
|
|
68
|
+
4. User selects options
|
|
69
|
+
5. Update dimension scores based on answers
|
|
70
|
+
6. Display Scorecard to user
|
|
71
|
+
|
|
72
|
+
IF readiness_score >= 80: Skip Round 2, proceed to 1.2
|
|
73
|
+
ELSE:
|
|
74
|
+
ROUND 2:
|
|
75
|
+
1. Re-identify 2 lowest-scoring dimensions
|
|
76
|
+
2. Ask 2 more questions
|
|
77
|
+
3. Update scores
|
|
78
|
+
4. Proceed regardless (with gap summary)
|
|
79
|
+
|
|
80
|
+
QUICK-START OVERRIDE:
|
|
81
|
+
- User can select "Proceed anyway" at any point
|
|
82
|
+
- All dimensions marked as "assumption" in summary
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
#### Option Bank Reference
|
|
86
|
+
|
|
87
|
+
**Problem Clarity (30pts)**
|
|
88
|
+
```
|
|
89
|
+
Question: "What type of problem are you solving?"
|
|
90
|
+
Options:
|
|
91
|
+
A. "Specific bug or defect with clear reproduction" → 27pts
|
|
92
|
+
B. "New feature with defined business value" → 27pts
|
|
93
|
+
C. "Performance/optimization improvement" → 24pts
|
|
94
|
+
D. "General improvement or refactoring" → 18pts
|
|
95
|
+
E. "Not sure yet - need exploration" → 9pts (flag)
|
|
96
|
+
F. "Other: ___" → 12pts (flag)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Functional Scope (25pts)**
|
|
100
|
+
```
|
|
101
|
+
Question: "What is the scope of functionality?"
|
|
102
|
+
Options:
|
|
103
|
+
A. "Single focused component/module" → 23pts
|
|
104
|
+
B. "Multiple related components" → 20pts
|
|
105
|
+
C. "Cross-cutting system change" → 18pts
|
|
106
|
+
D. "Unclear - need codebase analysis" → 10pts (flag)
|
|
107
|
+
E. "Other: ___" → 10pts (flag)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Success Criteria (20pts)**
|
|
111
|
+
```
|
|
112
|
+
Question: "How will you verify success?"
|
|
113
|
+
Options:
|
|
114
|
+
A. "Automated tests (unit/integration/e2e)" → 18pts
|
|
115
|
+
B. "Performance benchmarks with targets" → 18pts
|
|
116
|
+
C. "Manual testing with checklist" → 14pts
|
|
117
|
+
D. "User feedback/acceptance" → 12pts
|
|
118
|
+
E. "Not defined yet" → 6pts (flag)
|
|
119
|
+
F. "Other: ___" → 8pts (flag)
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Constraints (15pts)**
|
|
123
|
+
```
|
|
124
|
+
Question: "What are the primary constraints?"
|
|
125
|
+
Options:
|
|
126
|
+
A. "Time-sensitive (deadline driven)" → 14pts
|
|
127
|
+
B. "Must maintain backward compatibility" → 14pts
|
|
128
|
+
C. "Resource/budget limited" → 12pts
|
|
129
|
+
D. "Security/compliance critical" → 14pts
|
|
130
|
+
E. "No specific constraints" → 10pts
|
|
131
|
+
F. "Other: ___" → 8pts (flag)
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Priority/MVP (10pts)**
|
|
135
|
+
```
|
|
136
|
+
Question: "What is the delivery approach?"
|
|
137
|
+
Options:
|
|
138
|
+
A. "MVP first, iterate later" → 9pts
|
|
139
|
+
B. "Full feature, single release" → 9pts
|
|
140
|
+
C. "Phased rollout planned" → 9pts
|
|
141
|
+
D. "Exploratory - scope TBD" → 5pts (flag)
|
|
142
|
+
E. "Other: ___" → 5pts (flag)
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
#### Gap Classification Rules
|
|
146
|
+
|
|
147
|
+
| Dimension Score | Classification | Handling |
|
|
148
|
+
|-----------------|----------------|----------|
|
|
149
|
+
| ≥70% of weight | ✓ Defined | Include in Design Brief |
|
|
150
|
+
| 50-69% of weight | ⚠️ Assumption | Carry forward as risk |
|
|
151
|
+
| <50% of weight | 🚫 Gap | Flag in brief, may need validation |
|
|
152
|
+
|
|
153
|
+
Example thresholds:
|
|
154
|
+
- Problem Clarity: ≥21 Defined, 15-20 Assumption, <15 Gap
|
|
155
|
+
- Functional Scope: ≥18 Defined, 13-17 Assumption, <13 Gap
|
|
156
|
+
- Success Criteria: ≥14 Defined, 10-13 Assumption, <10 Gap
|
|
157
|
+
- Constraints: ≥11 Defined, 8-10 Assumption, <8 Gap
|
|
158
|
+
- Priority/MVP: ≥7 Defined, 5-6 Assumption, <5 Gap
|
|
159
|
+
|
|
160
|
+
#### Clarification Summary Output
|
|
161
|
+
|
|
162
|
+
After clarification, generate:
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
CLARIFICATION SUMMARY
|
|
166
|
+
=====================
|
|
167
|
+
Readiness Score: [X]/100
|
|
168
|
+
|
|
169
|
+
Dimensions:
|
|
170
|
+
- Problem Clarity: [X]/30 [✓/⚠️/🚫]
|
|
171
|
+
- Functional Scope: [X]/25 [✓/⚠️/🚫]
|
|
172
|
+
- Success Criteria: [X]/20 [✓/⚠️/🚫]
|
|
173
|
+
- Constraints: [X]/15 [✓/⚠️/🚫]
|
|
174
|
+
- Priority/MVP: [X]/10 [✓/⚠️/🚫]
|
|
175
|
+
|
|
176
|
+
Assumptions & Gaps:
|
|
177
|
+
- [Dimension]: [assumption or gap description]
|
|
178
|
+
- [Dimension]: [assumption or gap description]
|
|
179
|
+
|
|
180
|
+
Proceeding to project analysis...
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
Save as `clarification_summary`.
|
|
184
|
+
|
|
185
|
+
**1.1.1 Optional Web Research (Smart Clarification)**
|
|
186
|
+
|
|
187
|
+
Use web research when the requirement depends on:
|
|
188
|
+
- external products/services/pricing
|
|
189
|
+
- latest APIs/standards
|
|
190
|
+
- domain norms/benchmarks
|
|
191
|
+
|
|
192
|
+
Search prompt template:
|
|
193
|
+
```
|
|
194
|
+
Goal: Identify realistic options, constraints, and unknowns for the user's requirement.
|
|
195
|
+
Return:
|
|
196
|
+
- 3-5 viable approaches (with sources)
|
|
197
|
+
- Critical constraints/limitations
|
|
198
|
+
- Common pitfalls or tradeoffs
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Summarize findings into `clarification_summary` as:
|
|
202
|
+
```
|
|
203
|
+
Research Findings:
|
|
204
|
+
- Options: ...
|
|
205
|
+
- Constraints: ...
|
|
206
|
+
- Risks: ...
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**1.2 Analyze Project Context**
|
|
210
|
+
|
|
211
|
+
Use available tools to understand:
|
|
212
|
+
- Existing codebase structure (Glob, Grep, Read)
|
|
213
|
+
- Current architecture patterns
|
|
214
|
+
- Dependencies and tech stack
|
|
215
|
+
- Related existing implementations
|
|
216
|
+
|
|
217
|
+
**1.3 Research (if needed)**
|
|
218
|
+
|
|
219
|
+
If the requirement involves:
|
|
220
|
+
- New technologies or frameworks
|
|
221
|
+
- Industry best practices
|
|
222
|
+
- Performance benchmarks
|
|
223
|
+
- Security considerations
|
|
224
|
+
|
|
225
|
+
Use WebSearch to gather relevant information.
|
|
226
|
+
|
|
227
|
+
**1.4 Formulate Complete Brief**
|
|
228
|
+
|
|
229
|
+
Create a comprehensive design brief incorporating clarification results:
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
DESIGN BRIEF
|
|
233
|
+
============
|
|
234
|
+
Readiness Score: [X]/100
|
|
235
|
+
|
|
236
|
+
Problem: [clear problem statement]
|
|
237
|
+
Context: [project context, tech stack, constraints]
|
|
238
|
+
|
|
239
|
+
Requirements:
|
|
240
|
+
- [requirement 1]
|
|
241
|
+
- [requirement 2]
|
|
242
|
+
- [requirement 3]
|
|
243
|
+
|
|
244
|
+
Success Criteria:
|
|
245
|
+
- [criterion 1]
|
|
246
|
+
- [criterion 2]
|
|
247
|
+
|
|
248
|
+
Assumptions (from clarification):
|
|
249
|
+
- [assumption 1]
|
|
250
|
+
- [assumption 2]
|
|
251
|
+
|
|
252
|
+
Gaps to Validate:
|
|
253
|
+
- [gap 1]
|
|
254
|
+
- [gap 2]
|
|
255
|
+
|
|
256
|
+
Research Findings: [if applicable]
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Save as `design_brief`.
|
|
260
|
+
|
|
261
|
+
**1.5 Participant Clarification Round (Required)**
|
|
262
|
+
|
|
263
|
+
Send the current context to **all selected participants** and ask for clarification needs.
|
|
264
|
+
|
|
265
|
+
Prompt template:
|
|
266
|
+
```
|
|
267
|
+
You are a planning partner. Based on the requirement and current context:
|
|
268
|
+
|
|
269
|
+
KNOWN:
|
|
270
|
+
[known_facts]
|
|
271
|
+
|
|
272
|
+
UNKNOWN / AMBIGUOUS:
|
|
273
|
+
[unknowns]
|
|
274
|
+
|
|
275
|
+
CONSTRAINTS:
|
|
276
|
+
[constraints]
|
|
277
|
+
|
|
278
|
+
Provide:
|
|
279
|
+
1) 3-5 MUST-ASK clarification questions (each with 1-sentence rationale)
|
|
280
|
+
2) Optional assumptions (if user won't answer)
|
|
281
|
+
3) Risks if assumptions are wrong
|
|
282
|
+
|
|
283
|
+
Be specific. Avoid generic or boilerplate questions.
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
Use `dispatch_to_participants(prompt, "clarify_round_1")`.
|
|
287
|
+
|
|
288
|
+
**1.6 Codex Synthesis & User Questions**
|
|
289
|
+
|
|
290
|
+
Codex merges all participant questions, de-duplicates, and asks the user a short prioritized list (3-7 items). Save as `clarification_questions_round_1`.
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
### Phase 2: Iterative Clarification Loop (Multi-round)
|
|
295
|
+
|
|
296
|
+
Repeat until requirements are sufficiently clear.
|
|
297
|
+
|
|
298
|
+
For each round:
|
|
299
|
+
1) Incorporate user answers into `clarification_summary`.
|
|
300
|
+
2) Send updated context to **all selected participants** for additional clarification needs.
|
|
301
|
+
3) Codex merges and asks the next set of prioritized questions (3-5).
|
|
302
|
+
4) If user says "proceed", mark remaining gaps as assumptions and exit the loop.
|
|
303
|
+
|
|
304
|
+
Use `dispatch_to_participants(prompt, "clarify_round_N")` each round.
|
|
305
|
+
|
|
306
|
+
**Clarification Round Template (Codex → User)**
|
|
307
|
+
```
|
|
308
|
+
TOP QUESTIONS (please answer):
|
|
309
|
+
1) [question] (why it matters: ...)
|
|
310
|
+
2) [question] (why it matters: ...)
|
|
311
|
+
3) [question] (why it matters: ...)
|
|
312
|
+
|
|
313
|
+
If you want to proceed now, say: "Proceed with assumptions".
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
**Clarification Loop Stop Criteria**
|
|
317
|
+
- Requirements are actionable
|
|
318
|
+
- No blocking unknowns remain
|
|
319
|
+
- Remaining unknowns are recorded as assumptions
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
### Phase 3: Parallel Independent Design (All Participants)
|
|
324
|
+
|
|
325
|
+
Send the design brief to **all selected participants** for independent design.
|
|
326
|
+
|
|
327
|
+
**3.1 Dispatch to Claude**
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
ask claude <<'EOF'
|
|
331
|
+
Design a solution for this requirement:
|
|
332
|
+
|
|
333
|
+
[design_brief]
|
|
334
|
+
|
|
335
|
+
Provide:
|
|
336
|
+
- Goal (1 sentence)
|
|
337
|
+
- Architecture approach
|
|
338
|
+
- Implementation steps (3-7 key steps)
|
|
339
|
+
- Technical considerations
|
|
340
|
+
- Potential risks
|
|
341
|
+
- Acceptance criteria (max 3)
|
|
342
|
+
|
|
343
|
+
Be specific and concrete.
|
|
344
|
+
EOF
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Save response as `claude_design` (only if Claude is selected).
|
|
348
|
+
|
|
349
|
+
**3.2 Dispatch to Gemini**
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
ask gemini <<'EOF'
|
|
353
|
+
Design a solution for this requirement:
|
|
354
|
+
|
|
355
|
+
[design_brief]
|
|
356
|
+
|
|
357
|
+
Provide:
|
|
358
|
+
- Goal (1 sentence)
|
|
359
|
+
- Architecture approach
|
|
360
|
+
- Implementation steps (3-7 key steps)
|
|
361
|
+
- Technical considerations
|
|
362
|
+
- Potential risks
|
|
363
|
+
- Acceptance criteria (max 3)
|
|
364
|
+
|
|
365
|
+
Be specific and concrete.
|
|
366
|
+
EOF
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
Wait for response. Save as `gemini_design` (only if Gemini is selected).
|
|
370
|
+
|
|
371
|
+
**3.3 Dispatch to OpenCode**
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
ask opencode <<'EOF'
|
|
375
|
+
Design a solution for this requirement:
|
|
376
|
+
|
|
377
|
+
[design_brief]
|
|
378
|
+
|
|
379
|
+
Provide:
|
|
380
|
+
- Goal (1 sentence)
|
|
381
|
+
- Architecture approach
|
|
382
|
+
- Implementation steps (3-7 key steps)
|
|
383
|
+
- Technical considerations
|
|
384
|
+
- Potential risks
|
|
385
|
+
- Acceptance criteria (max 3)
|
|
386
|
+
|
|
387
|
+
Be specific and concrete.
|
|
388
|
+
EOF
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
Wait for response. Save as `opencode_design` (only if OpenCode is selected).
|
|
392
|
+
|
|
393
|
+
**3.4 Codex's Independent Design**
|
|
394
|
+
|
|
395
|
+
While waiting for responses, create YOUR own design (do not look at others yet):
|
|
396
|
+
- Goal (1 sentence)
|
|
397
|
+
- Architecture approach
|
|
398
|
+
- Implementation steps (3-7 key steps)
|
|
399
|
+
- Technical considerations
|
|
400
|
+
- Potential risks
|
|
401
|
+
- Acceptance criteria (max 3)
|
|
402
|
+
|
|
403
|
+
Save as `codex_design`.
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
### Phase 4: Collect & Analyze All Designs
|
|
408
|
+
|
|
409
|
+
**4.1 Collect All Responses**
|
|
410
|
+
|
|
411
|
+
Gather designs for the selected participants:
|
|
412
|
+
- Claude design → `claude_design` (if selected)
|
|
413
|
+
- Gemini design → `gemini_design` (if selected)
|
|
414
|
+
- OpenCode design → `opencode_design` (if selected)
|
|
415
|
+
- Codex design → `codex_design`
|
|
416
|
+
|
|
417
|
+
**4.2 Comparative Analysis**
|
|
418
|
+
|
|
419
|
+
Analyze designs from the selected participants (including Codex):
|
|
420
|
+
|
|
421
|
+
Create a comparison matrix:
|
|
422
|
+
```
|
|
423
|
+
DESIGN COMPARISON
|
|
424
|
+
=================
|
|
425
|
+
|
|
426
|
+
1. Goals Alignment
|
|
427
|
+
- Common goals across all designs
|
|
428
|
+
- Unique perspectives from each
|
|
429
|
+
|
|
430
|
+
2. Architecture Approaches
|
|
431
|
+
- Overlapping patterns
|
|
432
|
+
- Divergent approaches
|
|
433
|
+
- Pros/cons of each
|
|
434
|
+
|
|
435
|
+
3. Implementation Steps
|
|
436
|
+
- Common steps (high confidence)
|
|
437
|
+
- Unique steps (need evaluation)
|
|
438
|
+
- Missing steps in some designs
|
|
439
|
+
|
|
440
|
+
4. Technical Considerations
|
|
441
|
+
- Shared concerns
|
|
442
|
+
- Unique insights from each CLI
|
|
443
|
+
- Critical issues identified
|
|
444
|
+
|
|
445
|
+
5. Risk Assessment
|
|
446
|
+
- Commonly identified risks
|
|
447
|
+
- Unique risks from each perspective
|
|
448
|
+
- Risk mitigation strategies
|
|
449
|
+
|
|
450
|
+
6. Acceptance Criteria
|
|
451
|
+
- Overlapping criteria
|
|
452
|
+
- Additional criteria to consider
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
Save as `comparative_analysis`.
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
### Phase 5: Iterative Refinement with All Participants
|
|
460
|
+
|
|
461
|
+
**5.1 Draft Merged Design**
|
|
462
|
+
|
|
463
|
+
Based on comparative analysis, create initial merged design:
|
|
464
|
+
```
|
|
465
|
+
MERGED DESIGN (Draft v1)
|
|
466
|
+
========================
|
|
467
|
+
Goal: [synthesized goal]
|
|
468
|
+
|
|
469
|
+
Architecture: [best approach from analysis]
|
|
470
|
+
|
|
471
|
+
Implementation Steps:
|
|
472
|
+
1. [step 1]
|
|
473
|
+
2. [step 2]
|
|
474
|
+
3. [step 3]
|
|
475
|
+
...
|
|
476
|
+
|
|
477
|
+
Technical Considerations:
|
|
478
|
+
- [consideration 1]
|
|
479
|
+
- [consideration 2]
|
|
480
|
+
|
|
481
|
+
Risks & Mitigations:
|
|
482
|
+
- Risk: [risk 1] → Mitigation: [mitigation 1]
|
|
483
|
+
- Risk: [risk 2] → Mitigation: [mitigation 2]
|
|
484
|
+
|
|
485
|
+
Acceptance Criteria:
|
|
486
|
+
- [criterion 1]
|
|
487
|
+
- [criterion 2]
|
|
488
|
+
- [criterion 3]
|
|
489
|
+
|
|
490
|
+
Open Questions:
|
|
491
|
+
- [question 1]
|
|
492
|
+
- [question 2]
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
Save as `merged_design_v1`.
|
|
496
|
+
|
|
497
|
+
**Merged Design Output Template (for participants)**
|
|
498
|
+
```
|
|
499
|
+
Goal:
|
|
500
|
+
|
|
501
|
+
Layered Plan:
|
|
502
|
+
Phase 1:
|
|
503
|
+
- Step 1:
|
|
504
|
+
- Subtasks:
|
|
505
|
+
- Step 2:
|
|
506
|
+
- Subtasks:
|
|
507
|
+
Phase 2:
|
|
508
|
+
- Step 3:
|
|
509
|
+
- Subtasks:
|
|
510
|
+
|
|
511
|
+
Dependencies:
|
|
512
|
+
- ...
|
|
513
|
+
|
|
514
|
+
Risks:
|
|
515
|
+
- ...
|
|
516
|
+
|
|
517
|
+
New Clarification Points:
|
|
518
|
+
- [if any]
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
**5.2 Discussion Round 1 - Review & Critique (All Participants)**
|
|
522
|
+
|
|
523
|
+
Send `comparative_analysis` + `merged_design_v1` to **all selected participants** for critique.
|
|
524
|
+
Use `dispatch_to_participants(prompt, "review_round_1")`.
|
|
525
|
+
|
|
526
|
+
```bash
|
|
527
|
+
ask {arbiter} <<'EOF'
|
|
528
|
+
Review this merged design based on all CLI inputs:
|
|
529
|
+
|
|
530
|
+
COMPARATIVE ANALYSIS:
|
|
531
|
+
[comparative_analysis]
|
|
532
|
+
|
|
533
|
+
MERGED DESIGN v1:
|
|
534
|
+
[merged_design_v1]
|
|
535
|
+
|
|
536
|
+
Analyze:
|
|
537
|
+
1. Does this design capture the best ideas from all perspectives?
|
|
538
|
+
2. Are there any conflicts or contradictions?
|
|
539
|
+
3. What's missing or unclear?
|
|
540
|
+
4. Are the implementation steps logical and complete?
|
|
541
|
+
5. Are risks adequately addressed?
|
|
542
|
+
|
|
543
|
+
Provide specific recommendations for improvement.
|
|
544
|
+
EOF
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
Save as `arbiter_review_1`.
|
|
548
|
+
|
|
549
|
+
**5.3 Discussion Round 2 - Resolve & Finalize (All Participants)**
|
|
550
|
+
|
|
551
|
+
Based on the arbiter's review, refine the design:
|
|
552
|
+
|
|
553
|
+
```bash
|
|
554
|
+
ask {arbiter} <<'EOF'
|
|
555
|
+
Refined design based on your feedback:
|
|
556
|
+
|
|
557
|
+
MERGED DESIGN v2:
|
|
558
|
+
[merged_design_v2]
|
|
559
|
+
|
|
560
|
+
Changes made:
|
|
561
|
+
- [change 1]
|
|
562
|
+
- [change 2]
|
|
563
|
+
|
|
564
|
+
Remaining concerns:
|
|
565
|
+
- [concern 1 if any]
|
|
566
|
+
|
|
567
|
+
Final approval or additional suggestions?
|
|
568
|
+
EOF
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
Save as `arbiter_review_2`.
|
|
572
|
+
|
|
573
|
+
---
|
|
574
|
+
|
|
575
|
+
### Phase 6: Final Output
|
|
576
|
+
|
|
577
|
+
**6.1 Finalize Design**
|
|
578
|
+
|
|
579
|
+
Incorporate feedback from all participants; arbiter has final decision.
|
|
580
|
+
|
|
581
|
+
**6.2 Save Plan Document**
|
|
582
|
+
|
|
583
|
+
Write the final plan to a markdown file:
|
|
584
|
+
|
|
585
|
+
**File path**: `plans/{feature-name}-plan.md`
|
|
586
|
+
|
|
587
|
+
Use this template:
|
|
588
|
+
|
|
589
|
+
```markdown
|
|
590
|
+
# {Feature Name} - Solution Design
|
|
591
|
+
|
|
592
|
+
> Generated by all-plan collaborative design process (Codex-led)
|
|
593
|
+
|
|
594
|
+
## Overview
|
|
595
|
+
|
|
596
|
+
**Goal**: [Clear, concise goal statement]
|
|
597
|
+
|
|
598
|
+
**Readiness Score**: [X]/100
|
|
599
|
+
|
|
600
|
+
**Generated**: [Date]
|
|
601
|
+
|
|
602
|
+
---
|
|
603
|
+
|
|
604
|
+
## Requirements Summary
|
|
605
|
+
|
|
606
|
+
### Problem Statement
|
|
607
|
+
[Clear problem description]
|
|
608
|
+
|
|
609
|
+
### Scope
|
|
610
|
+
[What's in scope and out of scope]
|
|
611
|
+
|
|
612
|
+
### Success Criteria
|
|
613
|
+
- [ ] [criterion 1]
|
|
614
|
+
- [ ] [criterion 2]
|
|
615
|
+
- [ ] [criterion 3]
|
|
616
|
+
|
|
617
|
+
### Constraints
|
|
618
|
+
- [constraint 1]
|
|
619
|
+
- [constraint 2]
|
|
620
|
+
|
|
621
|
+
### Assumptions
|
|
622
|
+
- [assumption 1 from clarification]
|
|
623
|
+
- [assumption 2 from clarification]
|
|
624
|
+
|
|
625
|
+
---
|
|
626
|
+
|
|
627
|
+
## Architecture
|
|
628
|
+
|
|
629
|
+
### Approach
|
|
630
|
+
[Chosen architecture approach with rationale]
|
|
631
|
+
|
|
632
|
+
### Key Components
|
|
633
|
+
- **[Component 1]**: [description]
|
|
634
|
+
- **[Component 2]**: [description]
|
|
635
|
+
|
|
636
|
+
### Data Flow
|
|
637
|
+
[If applicable, describe data flow]
|
|
638
|
+
|
|
639
|
+
---
|
|
640
|
+
|
|
641
|
+
## Implementation Plan
|
|
642
|
+
|
|
643
|
+
### Step 1: [Title]
|
|
644
|
+
- **Actions**: [specific actions]
|
|
645
|
+
- **Deliverables**: [what will be produced]
|
|
646
|
+
- **Dependencies**: [what's needed first]
|
|
647
|
+
|
|
648
|
+
### Step 2: [Title]
|
|
649
|
+
- **Actions**: [specific actions]
|
|
650
|
+
- **Deliverables**: [what will be produced]
|
|
651
|
+
- **Dependencies**: [what's needed first]
|
|
652
|
+
|
|
653
|
+
### Step 3: [Title]
|
|
654
|
+
- **Actions**: [specific actions]
|
|
655
|
+
- **Deliverables**: [what will be produced]
|
|
656
|
+
- **Dependencies**: [what's needed first]
|
|
657
|
+
|
|
658
|
+
[Continue for all steps...]
|
|
659
|
+
|
|
660
|
+
---
|
|
661
|
+
|
|
662
|
+
## Technical Considerations
|
|
663
|
+
|
|
664
|
+
- [consideration 1]
|
|
665
|
+
- [consideration 2]
|
|
666
|
+
- [consideration 3]
|
|
667
|
+
|
|
668
|
+
---
|
|
669
|
+
|
|
670
|
+
## Risk Management
|
|
671
|
+
|
|
672
|
+
| Risk | Impact | Likelihood | Mitigation |
|
|
673
|
+
|------|--------|------------|------------|
|
|
674
|
+
| [risk 1] | High/Med/Low | High/Med/Low | [strategy] |
|
|
675
|
+
| [risk 2] | High/Med/Low | High/Med/Low | [strategy] |
|
|
676
|
+
|
|
677
|
+
---
|
|
678
|
+
|
|
679
|
+
## Acceptance Criteria
|
|
680
|
+
|
|
681
|
+
- [ ] [criterion 1]
|
|
682
|
+
- [ ] [criterion 2]
|
|
683
|
+
- [ ] [criterion 3]
|
|
684
|
+
|
|
685
|
+
---
|
|
686
|
+
|
|
687
|
+
## Design Contributors
|
|
688
|
+
|
|
689
|
+
| CLI | Key Contributions |
|
|
690
|
+
|-----|-------------------|
|
|
691
|
+
| Codex | [contributions] |
|
|
692
|
+
| Claude | [contributions if selected] |
|
|
693
|
+
| Gemini | [contributions if selected] |
|
|
694
|
+
| OpenCode | [contributions if selected] |
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
|
|
698
|
+
## Appendix
|
|
699
|
+
|
|
700
|
+
### Clarification Summary
|
|
701
|
+
[Include the clarification summary from Phase 1.1]
|
|
702
|
+
|
|
703
|
+
### Alternative Approaches Considered
|
|
704
|
+
[Brief notes on approaches that were evaluated but not chosen]
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
**6.3 Output to User**
|
|
708
|
+
|
|
709
|
+
After saving the file, display to user:
|
|
710
|
+
|
|
711
|
+
```
|
|
712
|
+
PLAN COMPLETE
|
|
713
|
+
=============
|
|
714
|
+
|
|
715
|
+
✓ Plan saved to: plans/{feature-name}-plan.md
|
|
716
|
+
|
|
717
|
+
Summary:
|
|
718
|
+
- Goal: [1-sentence goal]
|
|
719
|
+
- Steps: [N] implementation steps
|
|
720
|
+
- Risks: [N] identified with mitigations
|
|
721
|
+
- Readiness: [X]/100
|
|
722
|
+
|
|
723
|
+
Next: Review the plan and proceed with implementation when ready.
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
---
|
|
727
|
+
|
|
728
|
+
## Principles
|
|
729
|
+
|
|
730
|
+
1. **Structured Clarification**: Use option-based questions to systematically capture requirements
|
|
731
|
+
2. **Readiness Scoring**: Quantify requirement completeness before proceeding
|
|
732
|
+
3. **True Independence**: All CLIs design independently without seeing others' work first
|
|
733
|
+
4. **Diverse Perspectives**: Leverage unique strengths of each selected CLI and dispatch to all participants whenever external input is needed
|
|
734
|
+
5. **Evidence-Based Synthesis**: Merge based on comparative analysis, not arbitrary choices
|
|
735
|
+
6. **Iterative Refinement**: Use arbiter discussion to validate and improve merged design
|
|
736
|
+
7. **Concrete Deliverables**: Output actionable plan document, not just discussion notes
|
|
737
|
+
8. **Attribution**: Acknowledge contributions from each CLI to maintain transparency
|
|
738
|
+
9. **Research When Needed**: Don't hesitate to use WebSearch for external knowledge
|
|
739
|
+
10. **Max 2 Iteration Rounds**: Avoid endless discussion; converge on practical solution
|
|
740
|
+
11. **Document Output**: Always save final plan as markdown file
|
|
741
|
+
|
|
742
|
+
---
|
|
743
|
+
|
|
744
|
+
## Notes
|
|
745
|
+
|
|
746
|
+
- This skill is designed for complex features or architectural decisions
|
|
747
|
+
- For simple tasks, use dual-design or direct implementation instead
|
|
748
|
+
- Use `ask <provider>` for all providers (no extra parameters)
|
|
749
|
+
- If any CLI is not available, proceed with available CLIs and note the absence
|
|
750
|
+
- Plans are saved to `plans/` directory with descriptive filenames
|