oh-my-codex-cli 0.1.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/.agent/skills/agent-kb/HOW_TO_USE.md +428 -0
- package/.agent/skills/agent-kb/README.md +46 -0
- package/.agent/skills/agent-kb/SKILL.md +128 -0
- package/.agent/skills/agent-kb/references/intelligent-analysis-explained.md +333 -0
- package/.agent/skills/agent-kb/references/query-optimization.md +225 -0
- package/.agent/skills/aireview/SKILL.md +704 -0
- package/.agent/skills/analyze/SKILL.md +81 -0
- package/.agent/skills/architect-planner/HOW_TO_USE.md +238 -0
- package/.agent/skills/architect-planner/README.md +41 -0
- package/.agent/skills/architect-planner/SKILL.md +539 -0
- package/.agent/skills/auto-mbti/SKILL.md +291 -0
- package/.agent/skills/autopilot/SKILL.md +222 -0
- package/.agent/skills/backend-patterns/SKILL.md +602 -0
- package/.agent/skills/bdd-generator/README.md +78 -0
- package/.agent/skills/bdd-generator/SKILL.md +436 -0
- package/.agent/skills/brainstorming/HOW_TO_USE.md +289 -0
- package/.agent/skills/brainstorming/README.md +41 -0
- package/.agent/skills/brainstorming/SKILL.md +165 -0
- package/.agent/skills/build-fix/SKILL.md +190 -0
- package/.agent/skills/cancel/SKILL.md +658 -0
- package/.agent/skills/checkpoint/SKILL.md +94 -0
- package/.agent/skills/code-review/SKILL.md +273 -0
- package/.agent/skills/coding-standards/SKILL.md +535 -0
- package/.agent/skills/conductor/SKILL.md +128 -0
- package/.agent/skills/conductor/commands/conductor/implement.toml +358 -0
- package/.agent/skills/conductor/commands/conductor/newTrack.toml +142 -0
- package/.agent/skills/conductor/commands/conductor/revert.toml +123 -0
- package/.agent/skills/conductor/commands/conductor/setup.toml +429 -0
- package/.agent/skills/conductor/commands/conductor/status.toml +57 -0
- package/.agent/skills/conductor/scripts/install.sh +89 -0
- package/.agent/skills/conductor/templates/code_styleguides/csharp.md +115 -0
- package/.agent/skills/conductor/templates/code_styleguides/dart.md +238 -0
- package/.agent/skills/conductor/templates/code_styleguides/general.md +23 -0
- package/.agent/skills/conductor/templates/code_styleguides/go.md +48 -0
- package/.agent/skills/conductor/templates/code_styleguides/html-css.md +49 -0
- package/.agent/skills/conductor/templates/code_styleguides/javascript.md +51 -0
- package/.agent/skills/conductor/templates/code_styleguides/python.md +37 -0
- package/.agent/skills/conductor/templates/code_styleguides/typescript.md +43 -0
- package/.agent/skills/conductor/templates/rules/README.md +23 -0
- package/.agent/skills/conductor/templates/rules/agents.md +49 -0
- package/.agent/skills/conductor/templates/rules/coding-style.md +70 -0
- package/.agent/skills/conductor/templates/rules/dev.md +20 -0
- package/.agent/skills/conductor/templates/rules/git-workflow.md +45 -0
- package/.agent/skills/conductor/templates/rules/hooks.md +6 -0
- package/.agent/skills/conductor/templates/rules/patterns.md +55 -0
- package/.agent/skills/conductor/templates/rules/performance.md +47 -0
- package/.agent/skills/conductor/templates/rules/research.md +26 -0
- package/.agent/skills/conductor/templates/rules/review.md +22 -0
- package/.agent/skills/conductor/templates/rules/security.md +36 -0
- package/.agent/skills/conductor/templates/rules/testing.md +30 -0
- package/.agent/skills/conductor/templates/workflow.md +333 -0
- package/.agent/skills/consensus/HOW_TO_USE.md +191 -0
- package/.agent/skills/consensus/README.md +41 -0
- package/.agent/skills/consensus/SKILL.md +317 -0
- package/.agent/skills/content-research-writer/SKILL.md +537 -0
- package/.agent/skills/debug-analysis/SKILL.md +331 -0
- package/.agent/skills/deepinit/SKILL.md +347 -0
- package/.agent/skills/deepsearch/SKILL.md +56 -0
- package/.agent/skills/doctor/SKILL.md +158 -0
- package/.agent/skills/drawio/EXAMPLES.md +382 -0
- package/.agent/skills/drawio/QUICK_START.md +237 -0
- package/.agent/skills/drawio/README.md +315 -0
- package/.agent/skills/drawio/SETUP_GUIDE.md +254 -0
- package/.agent/skills/drawio/SKILL.md +1176 -0
- package/.agent/skills/e2e/SKILL.md +396 -0
- package/.agent/skills/ecomode/SKILL.md +160 -0
- package/.agent/skills/electron-driver/SKILL.md +144 -0
- package/.agent/skills/electron-driver/scripts/driver-template.js +71 -0
- package/.agent/skills/eval/SKILL.md +140 -0
- package/.agent/skills/eval-harness/SKILL.md +242 -0
- package/.agent/skills/evolve/SKILL.md +213 -0
- package/.agent/skills/frontend-design/SKILL.md +42 -0
- package/.agent/skills/frontend-patterns/SKILL.md +646 -0
- package/.agent/skills/frontend-ui-ux/SKILL.md +70 -0
- package/.agent/skills/git-master/SKILL.md +75 -0
- package/.agent/skills/help/SKILL.md +89 -0
- package/.agent/skills/iterative-retrieval/SKILL.md +217 -0
- package/.agent/skills/local-skills-setup/SKILL.md +483 -0
- package/.agent/skills/log-analyzer/SKILL.md +187 -0
- package/.agent/skills/mcp-setup/SKILL.md +226 -0
- package/.agent/skills/multi-model-research/HOW_TO_USE.md +614 -0
- package/.agent/skills/multi-model-research/README.md +233 -0
- package/.agent/skills/multi-model-research/SKILL.md +541 -0
- package/.agent/skills/multi-model-research/references/troubleshooting.md +415 -0
- package/.agent/skills/note/SKILL.md +80 -0
- package/.agent/skills/omc-setup/SKILL.md +219 -0
- package/.agent/skills/orchestrate/SKILL.md +620 -0
- package/.agent/skills/patent-workflow/IMPLEMENTATION_SUMMARY.md +500 -0
- package/.agent/skills/patent-workflow/README.md +455 -0
- package/.agent/skills/patent-workflow/SKILL.md +1036 -0
- package/.agent/skills/patent-workflow/tools/irr_checker.py +260 -0
- package/.agent/skills/patent-workflow/tools/sample_terminology.json +49 -0
- package/.agent/skills/patent-workflow/tools/term_checker.py +355 -0
- package/.agent/skills/pattern-recognition/SKILL.md +792 -0
- package/.agent/skills/pipeline/SKILL.md +448 -0
- package/.agent/skills/plan/SKILL.md +309 -0
- package/.agent/skills/planning-methodology/SKILL.md +370 -0
- package/.agent/skills/planning-with-files/SKILL.md +210 -0
- package/.agent/skills/planning-with-files/examples.md +202 -0
- package/.agent/skills/planning-with-files/reference.md +218 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.ps1 +42 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.sh +44 -0
- package/.agent/skills/planning-with-files/scripts/init-session.ps1 +120 -0
- package/.agent/skills/planning-with-files/scripts/init-session.sh +120 -0
- package/.agent/skills/planning-with-files/scripts/session-catchup.py +208 -0
- package/.agent/skills/planning-with-files/templates/findings.md +95 -0
- package/.agent/skills/planning-with-files/templates/progress.md +114 -0
- package/.agent/skills/planning-with-files/templates/task_plan.md +132 -0
- package/.agent/skills/project-analyze/CLAUDE.md +18 -0
- package/.agent/skills/project-analyze/HOW_TO_USE.md +145 -0
- package/.agent/skills/project-analyze/README.md +42 -0
- package/.agent/skills/project-analyze/SKILL.md +289 -0
- package/.agent/skills/project-analyze/SKILL.md.backup +287 -0
- package/.agent/skills/project-analyze/SKILL.md.backup_20260105_093646 +287 -0
- package/.agent/skills/project-analyze/assets/analysis-report-template.md +433 -0
- package/.agent/skills/project-analyze/references/analysis-patterns.md +422 -0
- package/.agent/skills/project-analyze/references/projectmind-explained.md +535 -0
- package/.agent/skills/project-session-manager/SKILL.md +428 -0
- package/.agent/skills/project-session-manager/lib/config.sh +86 -0
- package/.agent/skills/project-session-manager/lib/parse.sh +121 -0
- package/.agent/skills/project-session-manager/lib/session.sh +132 -0
- package/.agent/skills/project-session-manager/lib/tmux.sh +103 -0
- package/.agent/skills/project-session-manager/lib/worktree.sh +171 -0
- package/.agent/skills/project-session-manager/psm.sh +629 -0
- package/.agent/skills/project-session-manager/templates/feature.md +56 -0
- package/.agent/skills/project-session-manager/templates/issue-fix.md +57 -0
- package/.agent/skills/project-session-manager/templates/pr-review.md +65 -0
- package/.agent/skills/project-session-manager/templates/projects.json +19 -0
- package/.agent/skills/quality-check/HOW_TO_USE.md +171 -0
- package/.agent/skills/quality-check/README.md +50 -0
- package/.agent/skills/quality-check/SKILL.md +240 -0
- package/.agent/skills/quality-check/SKILL.md.backup +238 -0
- package/.agent/skills/quality-check/SKILL.md.backup_20260105_093646 +238 -0
- package/.agent/skills/quality-check/assets/quality-report-template.md +437 -0
- package/.agent/skills/quality-check/references/refactoring-patterns.md +550 -0
- package/.agent/skills/quality-check/references/scoring-criteria.md +454 -0
- package/.agent/skills/quality-validation/SKILL.md +519 -0
- package/.agent/skills/quality-validation/SKILL.md.backup +573 -0
- package/.agent/skills/quality-validation/SKILL.md.backup_20260105_093646 +573 -0
- package/.agent/skills/ralph/SKILL.md +236 -0
- package/.agent/skills/ralph-init/SKILL.md +78 -0
- package/.agent/skills/ralplan/SKILL.md +58 -0
- package/.agent/skills/refactor-clean/SKILL.md +49 -0
- package/.agent/skills/release/SKILL.md +84 -0
- package/.agent/skills/research/SKILL.md +526 -0
- package/.agent/skills/research-methodology/SKILL.md +268 -0
- package/.agent/skills/review/SKILL.md +53 -0
- package/.agent/skills/security-review/SKILL.md +509 -0
- package/.agent/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/.agent/skills/setup-pm/SKILL.md +102 -0
- package/.agent/skills/skill/SKILL.md +424 -0
- package/.agent/skills/skill-create/SKILL.md +209 -0
- package/.agent/skills/skill-debugger/HOW_TO_USE.md +244 -0
- package/.agent/skills/skill-debugger/README.md +44 -0
- package/.agent/skills/skill-debugger/SKILL.md +326 -0
- package/.agent/skills/skill-debugger/diagnostic_checklist.md +115 -0
- package/.agent/skills/skill-development/SKILL.md +661 -0
- package/.agent/skills/skill-development/references/skill-creator-original.md +209 -0
- package/.agent/skills/skill-doc-generator/README.md +37 -0
- package/.agent/skills/skill-doc-generator/SKILL.md +331 -0
- package/.agent/skills/skill-quality-analyzer/HOW_TO_USE.md +243 -0
- package/.agent/skills/skill-quality-analyzer/README.md +61 -0
- package/.agent/skills/skill-quality-analyzer/SKILL.md +247 -0
- package/.agent/skills/skill-quality-analyzer/analyzer.py +209 -0
- package/.agent/skills/skill-quality-analyzer/expected_output.json +81 -0
- package/.agent/skills/skill-quality-analyzer/sample_input.json +9 -0
- package/.agent/skills/skill-tester/README.md +46 -0
- package/.agent/skills/skill-tester/SKILL.md +345 -0
- package/.agent/skills/start-dev/SKILL.md +701 -0
- package/.agent/skills/swarm/SKILL.md +691 -0
- package/.agent/skills/task-kb-lookup/SKILL.md +211 -0
- package/.agent/skills/task-kb-record/SKILL.md +417 -0
- package/.agent/skills/tdd/SKILL.md +446 -0
- package/.agent/skills/tdd-generator/DEMO.md +516 -0
- package/.agent/skills/tdd-generator/README.md +89 -0
- package/.agent/skills/tdd-generator/SKILL.md +278 -0
- package/.agent/skills/tdd-workflow/SKILL.md +424 -0
- package/.agent/skills/test-coverage/SKILL.md +48 -0
- package/.agent/skills/thinkdeep/HOW_TO_USE.md +183 -0
- package/.agent/skills/thinkdeep/README.md +41 -0
- package/.agent/skills/thinkdeep/SKILL.md +343 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +236 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +61 -0
- package/.agent/skills/ultrapilot/SKILL.md +647 -0
- package/.agent/skills/ultraqa/SKILL.md +152 -0
- package/.agent/skills/ultrawork/SKILL.md +123 -0
- package/.agent/skills/update-codemaps/SKILL.md +38 -0
- package/.agent/skills/update-docs/SKILL.md +52 -0
- package/.agent/skills/verification-loop/SKILL.md +140 -0
- package/.agent/skills/verify/SKILL.md +80 -0
- package/.agent/skills/writer-memory/SKILL.md +459 -0
- package/.agent/skills/writer-memory/lib/character-tracker.ts +338 -0
- package/.agent/skills/writer-memory/lib/memory-manager.ts +804 -0
- package/.agent/skills/writer-memory/lib/relationship-graph.ts +400 -0
- package/.agent/skills/writer-memory/lib/scene-organizer.ts +544 -0
- package/.agent/skills/writer-memory/lib/synopsis-builder.ts +339 -0
- package/.agent/skills/writer-memory/templates/synopsis-template.md +46 -0
- package/.governance/skill-lint.allowlist +4 -0
- package/.governance/skill-llm.allowlist +4 -0
- package/AGENTS.md +59 -0
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/README.zh.md +145 -0
- package/bin/omcodex.js +8 -0
- package/commands/conductor/implement.toml +358 -0
- package/commands/conductor/newTrack.toml +142 -0
- package/commands/conductor/revert.toml +123 -0
- package/commands/conductor/setup.toml +429 -0
- package/commands/conductor/status.toml +57 -0
- package/docs/ALIGNMENT.md +40 -0
- package/docs/CODEX.md +133 -0
- package/docs/NOTIFY.md +81 -0
- package/docs/SKILL_GOVERNANCE.md +72 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.md +182 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.zh.md +170 -0
- package/package.json +50 -0
- package/prompts/architect.md +105 -0
- package/prompts/executor.md +134 -0
- package/prompts/planner.md +113 -0
- package/scripts/check-skill-governance.sh +84 -0
- package/scripts/check-skill-llm-governance.js +302 -0
- package/scripts/eval-skills.js +217 -0
- package/scripts/generate-catalog-docs.js +95 -0
- package/scripts/generate-codex-mcp-config.sh +22 -0
- package/scripts/install-codex-force.sh +5 -0
- package/scripts/install-codex-incremental.sh +5 -0
- package/scripts/install-codex.sh +79 -0
- package/scripts/notify-dispatch.js +15 -0
- package/scripts/setup-package-manager.js +137 -0
- package/src/catalog/generated/public-catalog.json +547 -0
- package/src/catalog/manifest.json +542 -0
- package/src/catalog/reader.js +43 -0
- package/src/catalog/schema.js +79 -0
- package/src/cli/doctor.js +62 -0
- package/src/cli/index.js +85 -0
- package/src/cli/notify.js +127 -0
- package/src/cli/route.js +43 -0
- package/src/cli/setup.js +155 -0
- package/src/cli/team.js +125 -0
- package/src/config/generator.js +119 -0
- package/src/mcp/memory-server.js +241 -0
- package/src/mcp/state-server.js +112 -0
- package/src/mcp/trace-server.js +168 -0
- package/src/notify/dispatch.js +74 -0
- package/src/notify/extensibility/dispatcher.js +113 -0
- package/src/notify/extensibility/events.js +15 -0
- package/src/notify/extensibility/loader.js +54 -0
- package/src/router/skill-router.js +90 -0
- package/src/team/auto-advance.js +72 -0
- package/src/team/orchestrator.js +82 -0
- package/src/team/state-store.js +33 -0
- package/src/utils/paths.js +33 -0
- package/templates/AGENTS.md +15 -0
- package/templates/catalog-manifest.json +542 -0
- package/templates/code_styleguides/csharp.md +115 -0
- package/templates/code_styleguides/dart.md +238 -0
- package/templates/code_styleguides/general.md +23 -0
- package/templates/code_styleguides/go.md +48 -0
- package/templates/code_styleguides/html-css.md +49 -0
- package/templates/code_styleguides/javascript.md +51 -0
- package/templates/code_styleguides/python.md +37 -0
- package/templates/code_styleguides/typescript.md +43 -0
- package/templates/rules/README.md +23 -0
- package/templates/rules/agents.md +49 -0
- package/templates/rules/coding-style.md +70 -0
- package/templates/rules/dev.md +20 -0
- package/templates/rules/git-workflow.md +45 -0
- package/templates/rules/notify.md +6 -0
- package/templates/rules/patterns.md +55 -0
- package/templates/rules/performance.md +47 -0
- package/templates/rules/research.md +26 -0
- package/templates/rules/review.md +22 -0
- package/templates/rules/security.md +36 -0
- package/templates/rules/testing.md +30 -0
- package/templates/workflow.md +333 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Brainstorming
|
|
2
|
+
|
|
3
|
+
Refine rough ideas into fully-formed designs through structured Socratic questioning and incremental validation.
|
|
4
|
+
|
|
5
|
+
## Quick Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Already installed at:
|
|
9
|
+
~/.claude/skills/brainstorming/
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
"Help me brainstorm a solution for real-time sync"
|
|
16
|
+
"Explore different approaches for state management"
|
|
17
|
+
"Design session for notification system"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## What It Does
|
|
21
|
+
|
|
22
|
+
- ✅ Structured Socratic questioning
|
|
23
|
+
- ✅ Alternative exploration
|
|
24
|
+
- ✅ Incremental validation
|
|
25
|
+
- ✅ Assumption challenging
|
|
26
|
+
- ✅ Design space mapping
|
|
27
|
+
|
|
28
|
+
## Files
|
|
29
|
+
|
|
30
|
+
- `SKILL.md` - Complete brainstorming methodology
|
|
31
|
+
- `README.md` - This quick start guide
|
|
32
|
+
- `HOW_TO_USE.md` - Detailed questioning guide (Phase 1)
|
|
33
|
+
- `references/` - Question frameworks (Phase 2)
|
|
34
|
+
|
|
35
|
+
## When to Use
|
|
36
|
+
|
|
37
|
+
- Before writing code
|
|
38
|
+
- Before implementation plans
|
|
39
|
+
- Exploring solution space
|
|
40
|
+
- Validating assumptions
|
|
41
|
+
- Design decisions
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming
|
|
3
|
+
description: Refine rough ideas into designs through Socratic questioning, alternative exploration, incremental validation. Use before implementation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorming Ideas Into Designs
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Transform rough ideas into fully-formed designs through structured questioning and alternative exploration.
|
|
11
|
+
|
|
12
|
+
**Core principle:** Ask questions to understand, explore alternatives, present design incrementally for validation.
|
|
13
|
+
|
|
14
|
+
**Announce at start:** "I'm using the brainstorming skill to refine your idea into a design."
|
|
15
|
+
|
|
16
|
+
## Quick Reference
|
|
17
|
+
|
|
18
|
+
| Phase | Key Activities | Tool Usage | Output |
|
|
19
|
+
|-------|---------------|------------|--------|
|
|
20
|
+
| **1. Understanding** | Ask questions (one at a time) | AskUserQuestion for choices | Purpose, constraints, criteria |
|
|
21
|
+
| **2. Exploration** | Propose 2-3 approaches | AskUserQuestion for approach selection | Architecture options with trade-offs |
|
|
22
|
+
| **3. Design Presentation** | Present in 200-300 word sections | Open-ended questions | Complete design with validation |
|
|
23
|
+
| **4. Design Documentation** | Write design document | writing-clearly-and-concisely skill | Design doc in docs/plans/ |
|
|
24
|
+
| **5. Worktree Setup** | Set up isolated workspace | using-git-worktrees skill | Ready development environment |
|
|
25
|
+
| **6. Planning Handoff** | Create implementation plan | writing-plans skill | Detailed task breakdown |
|
|
26
|
+
|
|
27
|
+
## The Process
|
|
28
|
+
|
|
29
|
+
Copy this checklist to track progress:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Brainstorming Progress:
|
|
33
|
+
- [ ] Phase 1: Understanding (purpose, constraints, criteria gathered)
|
|
34
|
+
- [ ] Phase 2: Exploration (2-3 approaches proposed and evaluated)
|
|
35
|
+
- [ ] Phase 3: Design Presentation (design validated in sections)
|
|
36
|
+
- [ ] Phase 4: Design Documentation (design written to docs/plans/)
|
|
37
|
+
- [ ] Phase 5: Worktree Setup (if implementing)
|
|
38
|
+
- [ ] Phase 6: Planning Handoff (if implementing)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Phase 1: Understanding
|
|
42
|
+
- Check current project state in working directory
|
|
43
|
+
- Ask ONE question at a time to refine the idea
|
|
44
|
+
- **Use AskUserQuestion tool** when you have multiple choice options
|
|
45
|
+
- Gather: Purpose, constraints, success criteria
|
|
46
|
+
|
|
47
|
+
**Example using AskUserQuestion:**
|
|
48
|
+
```
|
|
49
|
+
Question: "Where should the authentication data be stored?"
|
|
50
|
+
Options:
|
|
51
|
+
- "Session storage" (clears on tab close, more secure)
|
|
52
|
+
- "Local storage" (persists across sessions, more convenient)
|
|
53
|
+
- "Cookies" (works with SSR, compatible with older approach)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Phase 2: Exploration
|
|
57
|
+
- Propose 2-3 different approaches
|
|
58
|
+
- For each: Core architecture, trade-offs, complexity assessment
|
|
59
|
+
- **Use AskUserQuestion tool** to present approaches as structured choices
|
|
60
|
+
- Ask your human partner which approach resonates
|
|
61
|
+
|
|
62
|
+
**Example using AskUserQuestion:**
|
|
63
|
+
```
|
|
64
|
+
Question: "Which architectural approach should we use?"
|
|
65
|
+
Options:
|
|
66
|
+
- "Event-driven with message queue" (scalable, complex setup, eventual consistency)
|
|
67
|
+
- "Direct API calls with retry logic" (simple, synchronous, easier to debug)
|
|
68
|
+
- "Hybrid with background jobs" (balanced, moderate complexity, best of both)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Phase 3: Design Presentation
|
|
72
|
+
- Present in 200-300 word sections
|
|
73
|
+
- Cover: Architecture, components, data flow, error handling, testing
|
|
74
|
+
- Ask after each section: "Does this look right so far?" (open-ended)
|
|
75
|
+
- Use open-ended questions here to allow freeform feedback
|
|
76
|
+
|
|
77
|
+
### Phase 4: Design Documentation
|
|
78
|
+
After design is validated, write it to a permanent document:
|
|
79
|
+
- **File location:** `docs/plans/YYYY-MM-DD-<topic>-design.md` (use actual date and descriptive topic)
|
|
80
|
+
- **RECOMMENDED SUB-SKILL:** Use elements-of-style:writing-clearly-and-concisely (if available) for documentation quality
|
|
81
|
+
- **Content:** Capture the design as discussed and validated in Phase 3, organized into the sections that emerged from the conversation
|
|
82
|
+
- Commit the design document to git before proceeding
|
|
83
|
+
|
|
84
|
+
### Phase 5: Worktree Setup (for implementation)
|
|
85
|
+
When design is approved and implementation will follow:
|
|
86
|
+
- Announce: "I'm using the using-git-worktrees skill to set up an isolated workspace."
|
|
87
|
+
- **REQUIRED SUB-SKILL:** Use superpowers:using-git-worktrees
|
|
88
|
+
- Follow that skill's process for directory selection, safety verification, and setup
|
|
89
|
+
- Return here when worktree ready
|
|
90
|
+
|
|
91
|
+
### Phase 6: Planning Handoff
|
|
92
|
+
Ask: "Ready to create the implementation plan?"
|
|
93
|
+
|
|
94
|
+
When your human partner confirms (any affirmative response):
|
|
95
|
+
- Announce: "I'm using the writing-plans skill to create the implementation plan."
|
|
96
|
+
- **REQUIRED SUB-SKILL:** Use superpowers:writing-plans
|
|
97
|
+
- Create detailed plan in the worktree
|
|
98
|
+
|
|
99
|
+
## Question Patterns
|
|
100
|
+
|
|
101
|
+
### When to Use AskUserQuestion Tool
|
|
102
|
+
|
|
103
|
+
**Use AskUserQuestion for:**
|
|
104
|
+
- Phase 1: Clarifying questions with 2-4 clear options
|
|
105
|
+
- Phase 2: Architectural approach selection (2-3 alternatives)
|
|
106
|
+
- Any decision with distinct, mutually exclusive choices
|
|
107
|
+
- When options have clear trade-offs to explain
|
|
108
|
+
|
|
109
|
+
**Benefits:**
|
|
110
|
+
- Structured presentation of options with descriptions
|
|
111
|
+
- Clear trade-off visibility for partner
|
|
112
|
+
- Forces explicit choice (prevents vague "maybe both" responses)
|
|
113
|
+
|
|
114
|
+
### When to Use Open-Ended Questions
|
|
115
|
+
|
|
116
|
+
**Use open-ended questions for:**
|
|
117
|
+
- Phase 3: Design validation ("Does this look right so far?")
|
|
118
|
+
- When you need detailed feedback or explanation
|
|
119
|
+
- When partner should describe their own requirements
|
|
120
|
+
- When structured options would limit creative input
|
|
121
|
+
|
|
122
|
+
**Example decision flow:**
|
|
123
|
+
- "What authentication method?" → Use AskUserQuestion (2-4 options)
|
|
124
|
+
- "Does this design handle your use case?" → Open-ended (validation)
|
|
125
|
+
|
|
126
|
+
## When to Revisit Earlier Phases
|
|
127
|
+
|
|
128
|
+
```dot
|
|
129
|
+
digraph revisit_phases {
|
|
130
|
+
rankdir=LR;
|
|
131
|
+
"New constraint revealed?" [shape=diamond];
|
|
132
|
+
"Partner questions approach?" [shape=diamond];
|
|
133
|
+
"Requirements unclear?" [shape=diamond];
|
|
134
|
+
"Return to Phase 1" [shape=box, style=filled, fillcolor="#ffcccc"];
|
|
135
|
+
"Return to Phase 2" [shape=box, style=filled, fillcolor="#ffffcc"];
|
|
136
|
+
"Continue forward" [shape=box, style=filled, fillcolor="#ccffcc"];
|
|
137
|
+
|
|
138
|
+
"New constraint revealed?" -> "Return to Phase 1" [label="yes"];
|
|
139
|
+
"New constraint revealed?" -> "Partner questions approach?" [label="no"];
|
|
140
|
+
"Partner questions approach?" -> "Return to Phase 2" [label="yes"];
|
|
141
|
+
"Partner questions approach?" -> "Requirements unclear?" [label="no"];
|
|
142
|
+
"Requirements unclear?" -> "Return to Phase 1" [label="yes"];
|
|
143
|
+
"Requirements unclear?" -> "Continue forward" [label="no"];
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**You can and should go backward when:**
|
|
148
|
+
- Partner reveals new constraint during Phase 2 or 3 → Return to Phase 1
|
|
149
|
+
- Validation shows fundamental gap in requirements → Return to Phase 1
|
|
150
|
+
- Partner questions approach during Phase 3 → Return to Phase 2
|
|
151
|
+
- Something doesn't make sense → Go back and clarify
|
|
152
|
+
|
|
153
|
+
**Don't force forward linearly** when going backward would give better results.
|
|
154
|
+
|
|
155
|
+
## Key Principles
|
|
156
|
+
|
|
157
|
+
| Principle | Application |
|
|
158
|
+
|-----------|-------------|
|
|
159
|
+
| **One question at a time** | Phase 1: Single question per message, use AskUserQuestion for choices |
|
|
160
|
+
| **Structured choices** | Use AskUserQuestion tool for 2-4 options with trade-offs |
|
|
161
|
+
| **YAGNI ruthlessly** | Remove unnecessary features from all designs |
|
|
162
|
+
| **Explore alternatives** | Always propose 2-3 approaches before settling |
|
|
163
|
+
| **Incremental validation** | Present design in sections, validate each |
|
|
164
|
+
| **Flexible progression** | Go backward when needed - flexibility > rigidity |
|
|
165
|
+
| **Announce usage** | State skill usage at start of session |
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-fix
|
|
3
|
+
description: Fix build and TypeScript errors with minimal changes
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Build Fix Skill
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Native Subagent Protocol (Codex)
|
|
10
|
+
|
|
11
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
12
|
+
|
|
13
|
+
Execution preference:
|
|
14
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
15
|
+
2. Merge results in main thread and run final verification.
|
|
16
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
17
|
+
|
|
18
|
+
Minimal orchestration pattern:
|
|
19
|
+
```text
|
|
20
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
> Codex invocation: use `$build-fix ...` or `build-fix: ...`
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Fix build and TypeScript errors quickly with minimal code changes. Get the build green without refactoring.
|
|
27
|
+
|
|
28
|
+
## When to Use
|
|
29
|
+
|
|
30
|
+
This skill activates when:
|
|
31
|
+
- User says "fix the build", "build is broken"
|
|
32
|
+
- TypeScript compilation fails
|
|
33
|
+
- `npm run build` or `tsc` reports errors
|
|
34
|
+
- User requests "minimal fixes" for errors
|
|
35
|
+
|
|
36
|
+
## What It Does
|
|
37
|
+
|
|
38
|
+
Delegates to the `build-fixer` agent (Sonnet model) to:
|
|
39
|
+
|
|
40
|
+
1. **Collect Errors**
|
|
41
|
+
- Run `npx tsc --noEmit` to get all TypeScript errors
|
|
42
|
+
- Or run `npm run build` to get build failures
|
|
43
|
+
- Categorize errors by type and severity
|
|
44
|
+
|
|
45
|
+
2. **Fix Strategically**
|
|
46
|
+
- Add type annotations where missing
|
|
47
|
+
- Add null checks where needed
|
|
48
|
+
- Fix import/export statements
|
|
49
|
+
- Resolve module resolution issues
|
|
50
|
+
- Fix linter errors blocking build
|
|
51
|
+
|
|
52
|
+
3. **Minimal Diff Strategy**
|
|
53
|
+
- NO refactoring of unrelated code
|
|
54
|
+
- NO architectural changes
|
|
55
|
+
- NO performance optimizations
|
|
56
|
+
- ONLY what's needed to make build pass
|
|
57
|
+
|
|
58
|
+
4. **Verify**
|
|
59
|
+
- Run `npx tsc --noEmit` after each fix
|
|
60
|
+
- Ensure no new errors introduced
|
|
61
|
+
- Stop when build passes
|
|
62
|
+
|
|
63
|
+
## Agent Delegation
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
[BUILD-FIXER | sonnet]
|
|
67
|
+
BUILD FIX TASK
|
|
68
|
+
|
|
69
|
+
Fix all build and TypeScript errors with minimal changes.
|
|
70
|
+
|
|
71
|
+
Requirements:
|
|
72
|
+
- Run tsc/build to collect errors
|
|
73
|
+
- Fix errors one at a time
|
|
74
|
+
- Verify each fix doesn't introduce new errors
|
|
75
|
+
- NO refactoring, NO architectural changes
|
|
76
|
+
- Stop when build passes
|
|
77
|
+
|
|
78
|
+
Output: Build error resolution report with:
|
|
79
|
+
- List of errors fixed
|
|
80
|
+
- Lines changed per fix
|
|
81
|
+
- Final build status"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Stop Conditions
|
|
85
|
+
|
|
86
|
+
The build-fixer agent stops when:
|
|
87
|
+
- `npx tsc --noEmit` exits with code 0
|
|
88
|
+
- `npm run build` completes successfully
|
|
89
|
+
- No new errors introduced
|
|
90
|
+
|
|
91
|
+
## Output Format
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
BUILD FIX REPORT
|
|
95
|
+
================
|
|
96
|
+
|
|
97
|
+
Errors Fixed: 12
|
|
98
|
+
Files Modified: 8
|
|
99
|
+
Lines Changed: 47
|
|
100
|
+
|
|
101
|
+
Fixes Applied:
|
|
102
|
+
1. src/utils/validation.ts:15 - Added return type annotation
|
|
103
|
+
2. src/components/Header.tsx:42 - Added null check for props.user
|
|
104
|
+
3. src/api/client.ts:89 - Fixed import path for axios
|
|
105
|
+
...
|
|
106
|
+
|
|
107
|
+
Final Build Status: ✓ PASSING
|
|
108
|
+
Verification: npx tsc --noEmit (exit code 0)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Best Practices
|
|
112
|
+
|
|
113
|
+
- **One fix at a time** - Easier to verify and debug
|
|
114
|
+
- **Minimal changes** - Don't refactor while fixing
|
|
115
|
+
- **Document why** - Comment non-obvious fixes
|
|
116
|
+
- **Test after** - Ensure tests still pass
|
|
117
|
+
|
|
118
|
+
## Use with Other Skills
|
|
119
|
+
|
|
120
|
+
Combine with other skills for comprehensive fixing:
|
|
121
|
+
|
|
122
|
+
**With Ultrawork:**
|
|
123
|
+
```
|
|
124
|
+
$ultrawork fix all build errors
|
|
125
|
+
```
|
|
126
|
+
Spawns multiple build-fixer agents in parallel for different files.
|
|
127
|
+
|
|
128
|
+
**With Ralph:**
|
|
129
|
+
```
|
|
130
|
+
$ralph fix the build
|
|
131
|
+
```
|
|
132
|
+
Keeps trying until build passes, even if it takes multiple iterations.
|
|
133
|
+
|
|
134
|
+
**With Pipeline:**
|
|
135
|
+
```
|
|
136
|
+
$pipeline debug "build is failing"
|
|
137
|
+
```
|
|
138
|
+
Uses: explore → architect → build-fixer workflow.
|
|
139
|
+
|
|
140
|
+
## Imported from everything-codex
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
name: ecc-build-fix
|
|
144
|
+
description: Imported from everything-codex command build-fix
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
# Build and Fix
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
## Native Subagent Protocol (Codex)
|
|
151
|
+
|
|
152
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
153
|
+
|
|
154
|
+
Execution preference:
|
|
155
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
156
|
+
2. Merge results in main thread and run final verification.
|
|
157
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
158
|
+
|
|
159
|
+
Minimal orchestration pattern:
|
|
160
|
+
```text
|
|
161
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Incrementally fix TypeScript and build errors:
|
|
165
|
+
|
|
166
|
+
1. Run build: npm run build or pnpm build
|
|
167
|
+
|
|
168
|
+
2. Parse error output:
|
|
169
|
+
- Group by file
|
|
170
|
+
- Sort by severity
|
|
171
|
+
|
|
172
|
+
3. For each error:
|
|
173
|
+
- Show error context (5 lines before/after)
|
|
174
|
+
- Explain the issue
|
|
175
|
+
- Propose fix
|
|
176
|
+
- Apply fix
|
|
177
|
+
- Re-run build
|
|
178
|
+
- Verify error resolved
|
|
179
|
+
|
|
180
|
+
4. Stop if:
|
|
181
|
+
- Fix introduces new errors
|
|
182
|
+
- Same error persists after 3 attempts
|
|
183
|
+
- User requests pause
|
|
184
|
+
|
|
185
|
+
5. Show summary:
|
|
186
|
+
- Errors fixed
|
|
187
|
+
- Errors remaining
|
|
188
|
+
- New errors introduced
|
|
189
|
+
|
|
190
|
+
Fix one error at a time for safety!
|