ac-framework 1.9.4 → 1.9.6

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.
Files changed (114) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +21 -1
  3. package/bin/postinstall.js +2 -0
  4. package/framework/mobile_development/.agent/workflows/ac-lite.md +70 -179
  5. package/framework/mobile_development/.agent/workflows/ac.md +273 -404
  6. package/framework/mobile_development/.amazonq/prompts/ac-lite.md +70 -179
  7. package/framework/mobile_development/.amazonq/prompts/ac.md +273 -404
  8. package/framework/mobile_development/.antigravity/workflows/ac-lite.md +70 -179
  9. package/framework/mobile_development/.antigravity/workflows/ac.md +273 -404
  10. package/framework/mobile_development/.augment/commands/ac-lite.md +70 -179
  11. package/framework/mobile_development/.augment/commands/ac.md +273 -404
  12. package/framework/mobile_development/.claude/commands/opsx/ac-lite.md +70 -179
  13. package/framework/mobile_development/.claude/commands/opsx/ac.md +273 -404
  14. package/framework/mobile_development/.cline/commands/opsx/ac-lite.md +70 -179
  15. package/framework/mobile_development/.cline/commands/opsx/ac.md +273 -404
  16. package/framework/mobile_development/.clinerules/workflows/ac-lite.md +70 -179
  17. package/framework/mobile_development/.clinerules/workflows/ac.md +273 -404
  18. package/framework/mobile_development/.codebuddy/commands/opsx/ac-lite.md +70 -179
  19. package/framework/mobile_development/.codebuddy/commands/opsx/ac.md +273 -404
  20. package/framework/mobile_development/.continue/prompts/ac-lite.md +70 -179
  21. package/framework/mobile_development/.continue/prompts/ac.md +273 -404
  22. package/framework/mobile_development/.cospec/openspec/commands/ac-lite.md +70 -179
  23. package/framework/mobile_development/.cospec/openspec/commands/ac.md +273 -404
  24. package/framework/mobile_development/.crush/commands/opsx/ac-lite.md +70 -179
  25. package/framework/mobile_development/.crush/commands/opsx/ac.md +273 -404
  26. package/framework/mobile_development/.cursor/commands/ac-lite.md +70 -179
  27. package/framework/mobile_development/.cursor/commands/ac.md +273 -404
  28. package/framework/mobile_development/.factory/commands/ac-lite.md +70 -179
  29. package/framework/mobile_development/.factory/commands/ac.md +273 -404
  30. package/framework/mobile_development/.gemini/commands/opsx/ac-lite.md +70 -179
  31. package/framework/mobile_development/.gemini/commands/opsx/ac.md +273 -404
  32. package/framework/mobile_development/.github/prompts/ac-lite.md +70 -179
  33. package/framework/mobile_development/.github/prompts/ac.md +273 -404
  34. package/framework/mobile_development/.github/prompts/ac.prompt.md +282 -177
  35. package/framework/mobile_development/.iflow/commands/ac-lite.md +70 -179
  36. package/framework/mobile_development/.iflow/commands/ac.md +273 -404
  37. package/framework/mobile_development/.kilocode/workflows/ac-lite.md +70 -179
  38. package/framework/mobile_development/.kilocode/workflows/ac.md +273 -404
  39. package/framework/mobile_development/.kimi/workflows/ac-lite.md +70 -179
  40. package/framework/mobile_development/.kimi/workflows/ac.md +273 -404
  41. package/framework/mobile_development/.opencode/command/ac-lite.md +70 -179
  42. package/framework/mobile_development/.opencode/command/ac.md +273 -404
  43. package/framework/mobile_development/.qoder/commands/opsx/ac-lite.md +70 -179
  44. package/framework/mobile_development/.qoder/commands/opsx/ac.md +273 -404
  45. package/framework/mobile_development/.qwen/commands/ac-lite.md +70 -179
  46. package/framework/mobile_development/.qwen/commands/ac.md +273 -404
  47. package/framework/mobile_development/.roo/commands/ac-lite.md +70 -179
  48. package/framework/mobile_development/.roo/commands/ac.md +273 -404
  49. package/framework/mobile_development/.windsurf/workflows/ac-lite.md +70 -179
  50. package/framework/mobile_development/.windsurf/workflows/ac.md +273 -404
  51. package/framework/mobile_development/AGENTS.md +205 -416
  52. package/framework/mobile_development/CLAUDE.md +205 -416
  53. package/framework/mobile_development/GEMINI.md +205 -416
  54. package/framework/mobile_development/copilot-instructions.md +205 -416
  55. package/framework/new_project/.agent/workflows/ac.md +39 -0
  56. package/framework/new_project/.amazonq/prompts/ac.md +39 -0
  57. package/framework/new_project/.antigravity/workflows/ac.md +39 -0
  58. package/framework/new_project/.augment/commands/ac.md +39 -0
  59. package/framework/new_project/.claude/commands/opsx/ac.md +39 -0
  60. package/framework/new_project/.cline/commands/opsx/ac.md +39 -0
  61. package/framework/new_project/.clinerules/workflows/ac.md +39 -0
  62. package/framework/new_project/.codebuddy/commands/opsx/ac.md +39 -0
  63. package/framework/new_project/.continue/prompts/ac.md +39 -0
  64. package/framework/new_project/.cospec/openspec/commands/ac.md +39 -0
  65. package/framework/new_project/.crush/commands/opsx/ac.md +39 -0
  66. package/framework/new_project/.cursor/commands/ac.md +39 -0
  67. package/framework/new_project/.factory/commands/ac.md +39 -0
  68. package/framework/new_project/.gemini/commands/opsx/ac.md +39 -0
  69. package/framework/new_project/.github/prompts/ac.md +39 -0
  70. package/framework/new_project/.iflow/commands/ac.md +39 -0
  71. package/framework/new_project/.kilocode/workflows/ac.md +39 -0
  72. package/framework/new_project/.kimi/workflows/ac.md +39 -0
  73. package/framework/new_project/.opencode/command/ac.md +39 -0
  74. package/framework/new_project/.qoder/commands/opsx/ac.md +39 -0
  75. package/framework/new_project/.qwen/commands/ac.md +39 -0
  76. package/framework/new_project/.roo/commands/ac.md +39 -0
  77. package/framework/new_project/.windsurf/workflows/ac.md +39 -0
  78. package/framework/new_project/AGENTS.md +27 -0
  79. package/framework/web_development/.agent/workflows/ac.md +39 -0
  80. package/framework/web_development/.amazonq/prompts/ac.md +39 -0
  81. package/framework/web_development/.antigravity/workflows/ac.md +39 -0
  82. package/framework/web_development/.augment/commands/ac.md +39 -0
  83. package/framework/web_development/.claude/commands/opsx/ac.md +39 -0
  84. package/framework/web_development/.cline/commands/opsx/ac.md +39 -0
  85. package/framework/web_development/.clinerules/workflows/ac.md +39 -0
  86. package/framework/web_development/.codebuddy/commands/opsx/ac.md +39 -0
  87. package/framework/web_development/.continue/prompts/ac.md +39 -0
  88. package/framework/web_development/.cospec/openspec/commands/ac.md +39 -0
  89. package/framework/web_development/.crush/commands/opsx/ac.md +39 -0
  90. package/framework/web_development/.cursor/commands/ac.md +39 -0
  91. package/framework/web_development/.factory/commands/ac.md +39 -0
  92. package/framework/web_development/.gemini/commands/opsx/ac.md +39 -0
  93. package/framework/web_development/.github/prompts/ac.md +39 -0
  94. package/framework/web_development/.iflow/commands/ac.md +39 -0
  95. package/framework/web_development/.kilocode/workflows/ac.md +39 -0
  96. package/framework/web_development/.kimi/workflows/ac.md +39 -0
  97. package/framework/web_development/.opencode/command/ac.md +39 -0
  98. package/framework/web_development/.qoder/commands/opsx/ac.md +39 -0
  99. package/framework/web_development/.qwen/commands/ac.md +39 -0
  100. package/framework/web_development/.roo/commands/ac.md +39 -0
  101. package/framework/web_development/.windsurf/workflows/ac.md +39 -0
  102. package/framework/web_development/AGENTS.md +27 -0
  103. package/package.json +1 -1
  104. package/src/agents/config-store.js +48 -0
  105. package/src/agents/model-selection.js +38 -0
  106. package/src/agents/opencode-client.js +3 -2
  107. package/src/agents/orchestrator.js +10 -3
  108. package/src/agents/runtime.js +80 -0
  109. package/src/agents/state-store.js +3 -0
  110. package/src/commands/agents.js +301 -85
  111. package/src/commands/init.js +33 -0
  112. package/src/mcp/collab-server.js +299 -0
  113. package/src/services/dependency-installer.js +20 -1
  114. package/src/services/mcp-installer.js +82 -54
@@ -10,132 +10,168 @@ If you attempt to proceed without completing a required step, you MUST STOP and
10
10
 
11
11
  ## Available Skills
12
12
 
13
- ### Quality and Security Skills
13
+ ### AC Framework Core Skills
14
14
 
15
15
  | Skill | Description | Primary Use | Required Before |
16
16
  |-------|-------------|-------------|-----------------|
17
- | `secure-coding-cybersecurity` | Detects and prevents security vulnerabilities (SQLi, XSS, command injection, hardcoded secrets). Follows OWASP Top 10 standards. | Secure code validation | `code-maintainability` |
18
- | `code-maintainability` | Analyzes code maintainability: duplication, documentation, error handling, naming conventions, SOLID architecture, performance. | Refactoring and standards | `project-constitution` |
19
- | `error-handling-patterns` | Error handling patterns in multiple languages: exceptions, Result types, retry, circuit breaker, graceful degradation. | Application resilience | `secure-coding-cybersecurity` |
20
- | `performance-optimizer` | Methodologies for measuring, profiling, and optimizing code (caching, algorithm complexity, resource usage). | Performance Engineering | After Implementation |
21
- | `test-generator` | Generate comprehensive test suites (Unit, Integration, E2E) ensuring requirements are met. | Test Driven Development | `openspec-continue-change` |
17
+ | `acfm-spec-workflow` | **START HERE - MANDATORY**. Understand spec-driven workflow, `.acfm/` vs `openspec/`, and required CLI commands. | Foundation | **ANYTHING ELSE** |
18
+ | `acfm-memory` | **PERSISTENT MEMORY PROTOCOL**. Recall project context on session start and save reusable decisions/patterns after significant work. | Knowledge persistence | Session start and after significant work |
19
+
20
+ ### OpenSpec Workflow Skills
22
21
 
23
- ### SpecKit Consistency & Quality Skills
22
+ | Skill | Description | Primary Use | Required Before |
23
+ |-------|-------------|-------------|-----------------|
24
+ | `openspec-explore` | Explore architecture, constraints, and integration points before committing implementation details. | Pre-analysis | `acfm-spec-workflow` |
25
+ | `openspec-new-change` | Start a new change with structured artifacts. | Structured start | `brainstorming` |
26
+ | `openspec-ff-change` | Fast-forward artifact creation when speed is needed and scope is clear. | Accelerated start | `brainstorming` |
27
+ | `openspec-continue-change` | Continue artifact generation in sequence (proposal/specs/design/tasks). | Workflow continuation | `openspec-new-change` OR `microtask-decomposition` |
28
+ | `openspec-apply-change` | Implement tasks from artifacts. | Implementation | `openspec-continue-change` |
29
+ | `openspec-verify-change` | Verify implementation against artifacts. | Validation | `openspec-apply-change` |
30
+ | `openspec-sync-specs` | Merge delta specs to main specs without archiving. | Spec synchronization | `openspec-verify-change` |
31
+ | `openspec-archive-change` | Archive completed change. | Change closure | `openspec-verify-change` |
32
+ | `openspec-bulk-archive-change` | Archive multiple completed changes. | Batch closure | `openspec-verify-change` |
33
+ | `openspec-onboard` | Guided walkthrough to learn full OpenSpec lifecycle. | Learning | `acfm-spec-workflow` |
34
+
35
+ ### Spec and Planning Skills
24
36
 
25
37
  | Skill | Description | Primary Use | Required Before |
26
38
  |-------|-------------|-------------|-----------------|
27
- | `project-constitution` | Manage the project's core principles and ensuring alignment. | Project Governance | **PHASE 1 START** |
28
- | `requirement-checklist` | Generate quality control checklists for requirements (unit tests for specs). | Requirements Quality | `spec-clarification` |
29
- | `spec-analysis` | Analyze consistency across Spec, Plan, and Tasks. | Consistency Check | `openspec-continue-change` |
30
- | `spec-clarification` | Interactively clarify specific sections of the spec. | Ambiguity Resolution | `openspec-new-change` |
39
+ | `project-constitution` | Define and maintain core project principles. | Governance | **PHASE 1 START** |
40
+ | `project-index` | Map codebase structure and document domains/agent guidance. | Context mapping | `project-constitution` |
41
+ | `context-synthesizer` | Maintain continuity in long sessions and multi-change efforts. | Context management | `project-constitution` |
42
+ | `research-retrieval` | Pull external references and technical docs. | Research | `openspec-explore` |
43
+ | `brainstorming` | Generate all key questions up front to reduce hidden assumptions. | Design thinking | `openspec-explore` |
44
+ | `spec-clarification` | Resolve ambiguity in specs with targeted clarifications. | Requirement clarity | `openspec-new-change` |
45
+ | `spec-analysis` | Check consistency across proposal/specs/design/tasks. | Consistency check | `openspec-continue-change` |
46
+ | `microtask-decomposition` | Split complex tasks into smaller executable microtasks (only when needed). | Advanced decomposition | `openspec-continue-change` |
31
47
 
32
- ### Planning and Design Skills
48
+ ### Mobile Platform and Stack Skills
33
49
 
34
50
  | Skill | Description | Primary Use | Required Before |
35
51
  |-------|-------------|-------------|-----------------|
36
- | `brainstorming` | Generates ALL questions at once about decisions before implementing. Explores requirements, constraints, and success criteria in a SINGLE comprehensive prompt. | Design and architecture | `openspec-explore` |
37
- | `api-design-principles` | REST and GraphQL design principles: resources, endpoints, pagination, versioning, HATEOAS. | API design | `spec-clarification` [IF APIs] |
38
- | `interface-design` | Interface design (dashboards, admin panels, apps). NOT for landing pages/marketing. | UI design | `spec-clarification` [IF UI] |
52
+ | `mobile-design` | Mobile-first doctrine: touch, performance, offline, platform behavior. | Baseline mobile standards | `project-constitution` |
53
+ | `mobile-ios-design` | iOS HIG-driven UI/UX guidance and SwiftUI-oriented patterns. | iOS interface design | `spec-clarification` [IF iOS UI] |
54
+ | `mobile-android-design` | Material 3 and Android UX patterns. | Android interface design | `spec-clarification` [IF Android UI] |
55
+ | `react-native-design` | React Native layout, animation, navigation, and mobile UX design. | RN UI design | `spec-clarification` [IF React Native] |
56
+ | `react-native-architecture` | React Native architecture, native modules, offline/data boundaries. | RN architecture | `spec-clarification` [IF React Native] |
57
+ | `react-state-management` | Choose and implement robust state strategy (Redux Toolkit/Zustand/Jotai/etc.). | RN/React state design | `spec-clarification` [IF complex state] |
58
+ | `flutter-expert` | Flutter/Dart architecture and implementation guidance. | Flutter implementation | `spec-clarification` [IF Flutter] |
59
+ | `ios-developer` | Native iOS engineering (Swift/SwiftUI/UIKit, platform integration). | Native iOS implementation | `spec-clarification` [IF native iOS] |
39
60
 
40
- ### AC Framework Core Skills
61
+ ### Delivery and Support Skills
41
62
 
42
63
  | Skill | Description | Primary Use | Required Before |
43
64
  |-------|-------------|-------------|-----------------|
44
- | `acfm-spec-workflow` | **START HERE - MANDATORY** - Understand the spec-driven workflow, directory structure (.acfm/ vs openspec/), and CLI commands. Essential before using any OpenSpec skills. | Foundation | **ANYTHING ELSE** |
45
- | `acfm-memory` | **PERSISTENT MEMORY PROTOCOL** - Consult memory at the start of every new chat/session, recall relevant project context, and automatically save reusable decisions and patterns after significant work. Prefer the available memory tool/MCP and use CLI fallback when needed. | Knowledge persistence | Session start and after significant work |
65
+ | `systematic-debugging` | Structured bug isolation and root-cause resolution. | Debugging | When bugs appear |
66
+ | `documentation` | Generate technical docs, architecture notes, and usage guidance. | Documentation | `openspec-verify-change` |
67
+ | `sync-index` | Keep project index and generated guidance synchronized with implementation. | Documentation sync | `openspec-apply-change` |
68
+ | `changelog-generator` | Create user-facing release notes from implementation changes. | Release communication | `openspec-archive-change` |
69
+
70
+ ---
46
71
 
47
- ### Persistent Memory Protocol (Mandatory)
72
+ ## Persistent Memory Protocol (Mandatory)
48
73
 
49
74
  The AC Framework includes a persistent memory system that agents must use proactively.
50
75
 
51
76
  **Session-start requirement (always):**
52
- 1. At the start of every new chat/session, consult the available persistent memory tool or MCP before planning, implementing, or giving project-specific guidance.
77
+ 1. At the start of every new chat/session, consult the available persistent memory tool or MCP before planning or implementing.
53
78
  2. Recall project-level context first, then search for task-specific decisions, conventions, bugfixes, and architecture notes.
54
- 3. Treat recalled memory as active project context unless the current repository state or an explicit user instruction supersedes it.
55
- 4. If memory tooling is unavailable, continue with repository inspection and use the AC Framework CLI fallback when possible.
56
-
57
- **What gets saved automatically:**
58
- - Architectural decisions from proposals/designs
59
- - Bugfix patterns and solutions
60
- - Performance optimizations
61
- - Refactoring techniques
62
- - Security fixes
63
- - API patterns and conventions
64
- - Reusable workflow conventions and project constraints
65
-
66
- **How to use memory:**
79
+ 3. Treat recalled memory as active project context unless current repository state or explicit user instruction supersedes it.
80
+ 4. If memory tooling is unavailable, continue with repository inspection and use AC Framework CLI fallback.
81
+
82
+ **What gets saved automatically (only reusable context):**
83
+ - Architectural decisions from proposal/design artifacts
84
+ - Bugfix patterns and repeated solutions
85
+ - Performance and optimization insights
86
+ - Refactoring techniques and conventions
87
+ - Reusable workflow constraints and team rules
88
+
89
+ **Memory hygiene rules:**
90
+ - Never save secrets, credentials, tokens, or sensitive one-off values
91
+ - Redact content inside `<private>...</private>` before saving
92
+ - Use concise titles, correct memory type, useful tags, realistic confidence
93
+
94
+ **User communication:** `Memory saved: [brief description]`
95
+
96
+ ### SynapseGrid Collaborative MCP Protocol (Optional)
97
+
98
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
99
+
100
+ **Session-start requirement when collaboration is enabled:**
101
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
102
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
103
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
104
+
105
+ **How to use SynapseGrid collaboration:**
67
106
  ```text
68
- Preferred: use the available persistent memory tool or MCP for recall, search, save, and project-scoped context.
69
- Fallback: use the AC Framework memory CLI commands when direct tool access is not available.
107
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
108
+ Fallback: use AC Framework agents CLI commands directly.
70
109
  ```
71
110
  ```bash
72
- # Recall relevant context before starting work
73
- acfm memory recall "implementing authentication"
111
+ # Install/update collaborative MCP server integrations
112
+ acfm agents install-mcps
74
113
 
75
- # Search for specific patterns
76
- acfm memory search "JWT token refresh"
114
+ # Start collaborative runtime with visible 4-pane tmux war-room
115
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
77
116
 
78
- # Get full context for current project
79
- acfm memory recall
117
+ # If already running in background, attach to panes and inspect logs
118
+ acfm agents live
119
+ acfm agents logs --role all --lines 120
80
120
 
81
- # View statistics
82
- acfm memory stats
121
+ # Resume/list/export operations
122
+ acfm agents resume
123
+ acfm agents list
124
+ acfm agents export --format md --out synapse-session.md
125
+
126
+ # Fast diagnostics for OpenCode resolution errors
127
+ acfm agents setup
83
128
  ```
84
129
 
85
- **When the agent saves memory (automatic):**
86
- 1. After completing proposal.md (saves architectural decisions)
87
- 2. After fixing bugs (solutions are stored)
88
- 3. After refactoring (techniques are recorded)
89
- 4. After optimizations (performance insights)
90
- 5. After any significant decision with confidence > 0.7
91
- 6. After identifying conventions, constraints, or reusable operating rules worth preserving
130
+ **Troubleshooting notes:**
131
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
132
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
133
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
134
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
92
135
 
93
- **Memory hygiene rules:**
94
- - Save only reusable information likely to matter in future chats.
95
- - Do not save secrets, credentials, tokens, or one-off sensitive data.
96
- - Redact content inside `<private>...</private>` before saving.
97
- - Prefer concise titles, the correct memory type, clear tags, and realistic confidence scores.
136
+ ## SynapseGrid Collaborative MCP Protocol (Optional)
98
137
 
99
- **User communication:** "Memory saved: [brief description]" when auto-saving occurs.
138
+ If SynapseGrid is enabled in `acfm init`, AC Framework installs the collaborative MCP server automatically for detected assistants.
100
139
 
140
+ **Session-start requirement when collaboration is enabled:**
141
+ 1. Prefer the available SynapseGrid MCP tools for collaborative session control before falling back to direct CLI.
142
+ 2. Use shared session state and transcript as the source of truth for role-by-role collaboration.
143
+ 3. If collaborative MCP is unavailable, use CLI fallback commands and keep behavior equivalent.
101
144
 
102
- ### OpenSpec Skills (The heart of the framework)
145
+ **How to use SynapseGrid collaboration:**
146
+ ```text
147
+ Preferred: use SynapseGrid MCP tools (ac-framework-collab) for start/status/step/resume/stop.
148
+ Fallback: use AC Framework agents CLI commands directly.
149
+ ```
150
+ ```bash
151
+ # Install/update collaborative MCP server integrations
152
+ acfm agents install-mcps
103
153
 
104
- | Skill | Description | Primary Use | Required Before |
105
- |-------|-------------|-------------|-----------------|
106
- | `openspec-explore` | Exploration mode to investigate problems, map architecture, find integration points before implementing. | Pre-analysis | `acfm-spec-workflow` |
107
- | `openspec-new-change` | Creates a new change with step-by-step workflow (proposal → specs → design → tasks). | Structured start | `brainstorming` |
108
- | `openspec-ff-change` | Fast-forward: creates all artifacts at once to start implementation quickly. | Quick start | `brainstorming` |
109
- | `openspec-continue-change` | Continues an existing change by creating the next artifact in the sequence. | Continue workflow | `openspec-new-change` OR `microtask-decomposition` |
110
- | `openspec-apply-change` | Implements tasks from a change (applies code according to specs and tasks). | Change execution | `test-generator` |
111
- | `openspec-verify-change` | Verifies that implementation matches artifacts (specs, tasks, design). | Validation | `openspec-apply-change` |
112
- | `openspec-archive-change` | Archives a completed change by moving it to `{specDir}/changes/archive/`. | Change closure | `openspec-verify-change` |
113
- | `openspec-onboard` | Guided tutorial to learn OpenSpec with a complete example workflow. | Learning | `acfm-spec-workflow` |
114
- | `openspec-sync-specs` | Synchronizes delta specs to main specs (intelligent merge). | Update specs | `openspec-verify-change` |
115
- | `openspec-bulk-archive-change` | Archives multiple completed changes at once. | Bulk cleanup | `openspec-verify-change` |
116
-
117
- ### Documentation and Debugging Skills
154
+ # Start collaborative runtime with visible 4-pane tmux war-room
155
+ acfm agents start --task "design and implement feature X" --attach --model-coder provider/model
118
156
 
119
- | Skill | Description | Primary Use | Required Before |
120
- |-------|-------------|-------------|-----------------|
121
- | `project-index` | Generates structured project documentation: structure analysis, domains, agent guides. | Indexing and context | `project-constitution` |
122
- | `sync-index` | Keep project documentation (`project-index` and sub-skills) in sync with codebase changes. | Documentation Sync | `openspec-apply-change` |
123
- | `systematic-debugging` | Structured debugging in 4 phases: root cause investigation, pattern analysis, hypothesis, implementation. | Problem resolution | When bugs found |
124
- | `changelog-generator` | Creates automated changelogs from git commits, translating technical to user language. | Version history | `openspec-archive-change` |
125
- | `skill-writer` | Guide to create new skills for Claude Code with correct structure and frontmatter. | Create new skills | Anytime |
126
- | `vercel-react-best-practices` | React and Next.js performance optimization guidelines from Vercel Engineering. | React/Next.js optimization | [IF REACT] |
157
+ # If already running in background, attach to panes and inspect logs
158
+ acfm agents live
159
+ acfm agents logs --role all --lines 120
127
160
 
128
- ### AC Framework Enhancement Skills
161
+ # Resume/list/export operations
162
+ acfm agents resume
163
+ acfm agents list
164
+ acfm agents export --format md --out synapse-session.md
129
165
 
130
- | Skill | Description | Primary Use | Required Before |
131
- |-------|-------------|-------------|-----------------|
132
- | `microtask-decomposition` | **LEVEL 2+ DECOMPOSITION** - Use when a single task from tasks.md is still too complex (affects 3+ files or requires multiple logic blocks). Breaks tasks into MICROTASKS (1 file/function each) for granular implementation. NOT for initial task breakdown. | Microtask planning & delegation | `openspec-continue-change` |
133
- | `testing-qa` | Automate generation and maintenance of unit, integration, and E2E tests; generate test data and debugging. | Quality assurance | `openspec-apply-change` |
134
- | `code-review` | Review generated code for style, security, and architecture issues; suggest refactorings and performance improvements. | Code quality & security | `openspec-apply-change` |
135
- | `documentation` | Generate clear documentation for each task: technical descriptions, architecture diagrams, usage guides. | Documentation & communication | `openspec-verify-change` |
136
- | `research-retrieval` | Search external documentation (web pages, API docs, papers) and generate useful summaries for development. | Research & context gathering | `openspec-explore` |
137
- | `context-synthesizer` | Manage memory in long projects and summarize current state to prevent agent context loss. | Memory & context management | `project-constitution` |
138
- | `ci-deploy` | Automate continuous integration, deployment, and post-deployment verification of developed solutions. | CI/CD automation | `openspec-verify-change` |
166
+ # Fast diagnostics for OpenCode resolution errors
167
+ acfm agents setup
168
+ ```
169
+
170
+ **Troubleshooting notes:**
171
+ - If transcript shows `Agent failed: spawn opencode ENOENT`, run `acfm agents setup` and restart/resume session.
172
+ - If session exists but panes are not visible, use `acfm agents live` (or `acfm agents attach`) or `tmux attach -t <session-name>`.
173
+ - For MCP-first flows, ensure session start enables worker spawning so tmux panes are created.
174
+ - Per-role models can be set at start (`--model-planner`, `--model-critic`, `--model-coder`, `--model-reviewer`) or persisted via `acfm agents model set`.
139
175
 
140
176
  ---
141
177
 
@@ -146,363 +182,196 @@ acfm memory stats
146
182
  **Rule 1: Phase Completion Checkpoint**
147
183
  After EACH phase, you MUST confirm completion:
148
184
  ```
149
- ╔══════════════════════════════════════════════════════════╗
150
- PHASE [X] COMPLETION CHECKPOINT
151
- ╠══════════════════════════════════════════════════════════╣
152
- Have you COMPLETED ALL skills in Phase [X]?
153
- [ ] Yes - I have read and executed every skill
154
- [ ] No - I need to go back
155
- ╚══════════════════════════════════════════════════════════╝
185
+ +------------------------------------------------------------+
186
+ | PHASE [X] COMPLETION CHECKPOINT |
187
+ +------------------------------------------------------------+
188
+ | Have you COMPLETED ALL skills in Phase [X]? |
189
+ | [ ] Yes - I read and executed every required skill |
190
+ | [ ] No - I must go back and complete missing skills |
191
+ +------------------------------------------------------------+
156
192
  ```
157
193
  **IF NO: STOP. Go back and complete missing skills.**
158
194
 
159
195
  **Rule 2: Skill Dependency Chain**
160
- Each skill table above shows "Required Before". You CANNOT use a skill until its dependency is satisfied.
196
+ Each skill table above shows `Required Before`. You CANNOT use a skill before satisfying its dependency.
161
197
 
162
198
  **Rule 3: Output Verification**
163
- Before proceeding to next phase, verify you have these outputs:
199
+ Before proceeding to next phase, verify outputs exist:
164
200
 
165
201
  | Phase | Required Outputs | Check |
166
- |-------|-----------------|-------|
167
- | Phase 0 | `acfm spec status` shows initialized and session memory recall completed | [ ] |
168
- | Phase 1 | project-constitution.md defined | [ ] |
169
- | Phase 2 | project-index.md exists, exploration notes | [ ] |
170
- | Phase 3 | proposal.md, specs/, design.md, tasks.md | [ ] |
171
- | Phase 4 | Tests written, code implemented, tasks marked complete | [ ] |
172
- | Phase 5 | Verification passed, docs updated, change archived | [ ] |
202
+ |-------|------------------|-------|
203
+ | Phase 0 | `acfm spec status` validated + memory recall completed | [ ] |
204
+ | Phase 1 | `project-constitution` defined + mobile baseline declared | [ ] |
205
+ | Phase 2 | exploration notes + platform/stack decision recorded | [ ] |
206
+ | Phase 3 | `proposal.md`, `specs/`, `design.md`, `tasks.md` + `spec-analysis` review | [ ] |
207
+ | Phase 4 | implementation done + tasks updated + issues debugged | [ ] |
208
+ | Phase 5 | verification passed + docs/index synced + archive/sync complete | [ ] |
173
209
 
174
210
  **Rule 4: Pre-Implementation Safety Check**
175
211
  Before `openspec-apply-change`, ALL must be TRUE:
176
- - [ ] tasks.md exists and has checkboxes
177
- - [ ] All tests from `test-generator` are written
178
- - [ ] design.md has been reviewed
179
- - [ ] spec-analysis shows consistency
212
+ - [ ] `tasks.md` exists and contains actionable checkboxes
213
+ - [ ] Target platform(s) and stack (Flutter / React Native / Native iOS) are explicit
214
+ - [ ] Required mobile skills for selected stack/platform have been applied
215
+ - [ ] `design.md` and `spec-analysis` were reviewed
180
216
 
181
217
  **IF ANY IS FALSE: STOP. Complete missing items.**
182
218
 
183
219
  ---
184
220
 
185
- ## Workflow: New Project
221
+ ## Workflow: New Mobile Project
186
222
 
187
- When starting a project **from scratch**, follow this **MANDATORY** workflow:
223
+ When starting a mobile project **from scratch**, follow this **MANDATORY** workflow:
188
224
 
189
225
  ```
190
- ┌─────────────────────────────────────────────────────────────────────────────────┐
191
- WORKFLOW: NEW PROJECT - ZERO SKIP
192
- └─────────────────────────────────────────────────────────────────────────────────┘
193
-
194
- ┌─────────────────┐
195
- │ START │
196
- └────────┬────────┘
197
-
198
-
199
- ╔══════════════════════════════════════════════╗
200
- ║ PHASE 0: AC FRAMEWORK SETUP (REQUIRED) ║
201
- ║ BLOCKING: Cannot proceed without this ║
202
- ╠══════════════════════════════════════════════╣
203
- ║ 1. acfm-spec-workflow ║
204
- ║ └─ **ALWAYS START HERE** ║
205
- ║ └─ Understand .acfm/ vs openspec/ ║
206
- ║ └─ Learn CLI commands and workflow ║
207
- ║ └─ Check project initialization status ║
208
- ║ └─ RUN: acfm spec init (if needed) ║
209
- ║ 2. acfm-memory ║
210
- ║ └─ Recall memory at chat start ║
211
- ║ └─ Load prior decisions and conventions ║
212
- ╚════════════════════╬═════════════════════════╝
213
-
214
- ║ CHECKPOINT: Phase 0 Complete?
215
- [ ] acfm spec status shows "initialized": true
216
-
217
- YES ▼
218
-
219
- ╔══════════════════════════════════════════════╗
220
- ║ PHASE 1: FOUNDATIONS & GOVERNANCE ║
221
- ╠══════════════════════════════════════════════╣
222
- ║ 1. project-constitution ║
223
- ║ └─ Define core principles ║
224
- ║ 2. secure-coding-cybersecurity ║
225
- ║ └─ Establish security guidelines ║
226
- 3. code-maintainability ║
227
- ║ └─ Define quality standards ║
228
- ║ 4. vercel-react-best-practices [IF REACT] ║
229
- ║ └─ Apply React/Next.js best practices ║
230
- ╚════════════════════╬═════════════════════════╝
231
-
232
- ║ CHECKPOINT: Phase 1 Complete?
233
- [ ] project-constitution defined
234
- ║ [ ] Security guidelines established
235
- ║ [ ] Quality standards set
236
-
237
- YES
238
-
239
- ╔══════════════════════════════════════════════╗
240
- ║ PHASE 2: CONTEXT & DISCOVERY ║
241
- ╠══════════════════════════════════════════════╣
242
- 5. context-synthesizer ║
243
- ║ └─ Initialize memory and context state ║
244
- ║ 6. project-index ║
245
- ║ └─ Document initial structure ║
246
- ║ 7. research-retrieval ║
247
- ║ └─ Gather external documentation ║
248
- ║ 8. openspec-explore ║
249
- ║ └─ Explore target architecture ║
250
- 9. brainstorming ║
251
- ║ └─ Generate ALL questions in ONE prompt ║
252
- ║ └─ Surface hidden assumptions ║
253
- ║ └─ Challenge constraints ║
254
- ╚════════════════════╬═════════════════════════╝
255
-
256
- ║ CHECKPOINT: Phase 2 Complete?
257
- ║ [ ] project-index.md exists
258
- ║ [ ] Exploration notes documented
259
- ║ [ ] Brainstorming questions answered
260
-
261
- ║ YES ▼
262
-
263
- ╔══════════════════════════════════════════════╗
264
- ║ PHASE 3: REQUIREMENTS & DESIGN ║
265
- ╠══════════════════════════════════════════════╣
266
- ║ 10. spec-clarification (CRITICAL) ║
267
- ║ └─ CLARIFY requirements first ║
268
- ║ 11. openspec-new-change ║
269
- ║ └─ Create proposal ║
270
- ║ 12. microtask-decomposition ║
271
- ║ └─ ONLY if task is still too complex ║
272
- ║ └─ Break into MICROTASKS (1 file each) ║
273
- ║ 13. openspec-continue-change ║
274
- ║ └─ Draft Specs, Design, Tasks ║
275
- ║ 14. spec-analysis ║
276
- ║ └─ Verify consistency ║
277
- ║ 15. requirement-checklist ║
278
- ║ └─ "Unit test" the specs ║
279
- ║ 16. api-design-principles [IF APIs] ║
280
- ║ └─ Design REST/GraphQL APIs ║
281
- ║ 17. interface-design [IF UI] ║
282
- ║ └─ Design dashboards/apps interface ║
283
- ╚════════════════════╬═════════════════════════╝
284
-
285
- ║ CHECKPOINT: Phase 3 Complete?
286
- ║ [ ] proposal.md created
287
- ║ [ ] specs/ directory with specs
288
- ║ [ ] design.md written
289
- ║ [ ] tasks.md with checkboxes
290
- ║ [ ] spec-analysis passed
291
-
292
- ║ YES ▼
293
-
294
- ╔══════════════════════════════════════════════╗
295
- ║ PHASE 4: IMPLEMENTATION ║
296
- ╠══════════════════════════════════════════════╣
297
- ║ SAFETY CHECK - ALL MUST BE TRUE: ║
298
- ║ [ ] tasks.md exists ║
299
- ║ [ ] Tests from test-generator written ║
300
- ║ [ ] design.md reviewed ║
301
- ║ [ ] spec-analysis shows consistency ║
302
- ╠══════════════════════════════════════════════╣
303
- ║ 18. test-generator ║
304
- ║ └─ TDD: Write tests first ║
305
- ║ 19. openspec-apply-change ║
306
- ║ └─ Implement code to pass tests ║
307
- ║ 20. testing-qa ║
308
- ║ └─ Automate test maintenance ║
309
- ║ 21. code-review ║
310
- ║ └─ Review for style/security/arch ║
311
- ║ 22. secure-coding-cybersecurity ║
312
- ║ └─ Audit code for security ║
313
- ║ 23. error-handling-patterns ║
314
- ║ └─ Verify robust error handling ║
315
- ║ 24. performance-optimizer ║
316
- ║ └─ Optimize critical paths ║
317
- ╚════════════════════╬═════════════════════════╝
318
-
319
- ║ CHECKPOINT: Phase 4 Complete?
320
- ║ [ ] All tasks in tasks.md marked [x]
321
- ║ [ ] Tests passing
322
- ║ [ ] Code reviewed
323
- ║ [ ] Security audited
324
-
325
- ║ YES ▼
326
-
327
- ╔══════════════════════════════════════════════╗
328
- ║ PHASE 5: VALIDATION & CLOSURE ║
329
- ╠══════════════════════════════════════════════╣
330
- ║ 25. systematic-debugging ║
331
- ║ └─ Resolve any issues ║
332
- ║ 26. openspec-verify-change ║
333
- ║ └─ Validate against specs ║
334
- ║ 27. documentation ║
335
- ║ └─ Generate technical docs & diagrams ║
336
- ║ 28. sync-index ║
337
- ║ └─ Update project documentation ║
338
- ║ 29. changelog-generator ║
339
- ║ └─ Generate release notes ║
340
- ║ 30. ci-deploy ║
341
- ║ └─ Deploy and verify solution ║
342
- ║ 31. openspec-archive-change ║
343
- ║ └─ Archive the change ║
344
- ╚══════════════════════════════════════════════╝
226
+ +--------------------------------------------------------------------------+
227
+ | WORKFLOW: NEW MOBILE PROJECT - ZERO SKIP |
228
+ +--------------------------------------------------------------------------+
229
+
230
+ START
231
+ |
232
+ v
233
+ PHASE 0 - AC FRAMEWORK SETUP (BLOCKING)
234
+ 1) acfm-spec-workflow
235
+ - verify initialization and workflow mode
236
+ - run `acfm spec init` if missing
237
+ 2) acfm-memory
238
+ - perform session-start memory recall
239
+
240
+ CHECKPOINT: initialized + memory recall complete
241
+ |
242
+ v
243
+ PHASE 1 - FOUNDATIONS AND MOBILE BASELINE
244
+ 3) project-constitution
245
+ 4) mobile-design (mandatory baseline doctrine)
246
+ 5) context-synthesizer
247
+ 6) project-index (if not created)
248
+
249
+ CHECKPOINT: constitution + baseline mobile rules documented
250
+ |
251
+ v
252
+ PHASE 2 - DISCOVERY AND REQUIREMENTS
253
+ 7) openspec-explore
254
+ 8) research-retrieval
255
+ 9) brainstorming (single comprehensive question set)
256
+ 10) openspec-new-change (or openspec-ff-change if explicitly chosen)
257
+ 11) spec-clarification
258
+
259
+ CHECKPOINT: scope clarified + platform/stack chosen
260
+ |
261
+ v
262
+ PHASE 3 - DESIGN AND TASK PLANNING
263
+ 12) openspec-continue-change (proposal/specs/design/tasks)
264
+ 13) spec-analysis
265
+ 14) microtask-decomposition [IF tasks are still too complex]
266
+ 15) platform/stack skills as required:
267
+ - mobile-ios-design [IF iOS UI]
268
+ - mobile-android-design [IF Android UI]
269
+ - react-native-design [IF RN UI]
270
+ - react-native-architecture [IF RN architecture]
271
+ - react-state-management [IF complex state]
272
+ - flutter-expert [IF Flutter]
273
+ - ios-developer [IF native iOS]
274
+
275
+ CHECKPOINT: proposal/spec/design/tasks coherent and implementation-ready
276
+ |
277
+ v
278
+ PHASE 4 - IMPLEMENTATION
279
+ 16) openspec-apply-change
280
+ 17) systematic-debugging [IF issues/regressions appear]
281
+ 18) update tasks progress in tasks.md continuously
282
+
283
+ CHECKPOINT: implementation complete and stable
284
+ |
285
+ v
286
+ PHASE 5 - VALIDATION AND CLOSURE
287
+ 19) openspec-verify-change
288
+ 20) documentation
289
+ 21) sync-index
290
+ 22) openspec-sync-specs [IF syncing specs without archive]
291
+ 23) openspec-archive-change OR openspec-bulk-archive-change
292
+ 24) changelog-generator
345
293
  ```
346
294
 
347
- **Conditional Skills Notes:**
348
- - `[IF REACT]`: Use vercel-react-best-practices only if the project uses React or Next.js
349
- - `[IF APIs]`: Use api-design-principles only if the project involves REST/GraphQL APIs
350
- - `[IF UI]`: Use interface-design only if the project has dashboards, admin panels, or apps
351
- - `microtask-decomposition`: Use ONLY when a single task from tasks.md is still too complex (3+ files). NOT for initial breakdown.
295
+ **Conditional Skill Notes:**
296
+ - Use only skills that match selected platform/stack and risk profile.
297
+ - `mobile-design` is mandatory for all mobile work regardless of stack.
298
+ - `microtask-decomposition` is only for complex tasks after tasks.md exists.
352
299
 
353
300
  ---
354
301
 
355
- ## Workflow: Existing Project
302
+ ## Workflow: Existing Mobile Project
356
303
 
357
- When working on an **existing codebase** (adding features, fixing bugs, refactoring):
304
+ When working on an **existing mobile codebase** (feature, bugfix, refactor):
358
305
 
359
306
  ```
360
- ┌─────────────────────────────────────────────────────────────────────────────────┐
361
- WORKFLOW: EXISTING PROJECT - ZERO SKIP
362
- └─────────────────────────────────────────────────────────────────────────────────┘
363
-
364
- ┌─────────────────┐
365
- │ START CHANGE │
366
- └────────┬────────┘
367
-
368
-
369
- ╔══════════════════════════════════════════════╗
370
- ║ PHASE 0: AC FRAMEWORK SETUP (REQUIRED) ║
371
- BLOCKING: Cannot proceed without this ║
372
- ╠══════════════════════════════════════════════╣
373
- ║ 1. acfm-spec-workflow ║
374
- ║ └─ **ALWAYS START HERE** ║
375
- ║ └─ Verify project initialization ║
376
- ║ └─ Check existing changes ║
377
- ║ 2. acfm-memory ║
378
- ║ └─ Recall memory at chat start ║
379
- ║ └─ Load prior decisions and conventions ║
380
- ╚════════════════════╬═════════════════════════╝
381
-
382
- CHECKPOINT: Phase 0 Complete?
383
-
384
- YES ▼
385
-
386
- ╔══════════════════════════════════════════════╗
387
- ║ PHASE 1: CONTEXT & ANALYSIS ║
388
- ╠══════════════════════════════════════════════╣
389
- ║ 2. context-synthesizer ║
390
- ║ └─ Load memory and context state ║
391
- ║ 3. project-index (if needed) ║
392
- ║ └─ Map current system ║
393
- ║ 4. research-retrieval ║
394
- ║ └─ Gather external documentation
395
- ║ 5. openspec-explore ║
396
- ║ └─ Deep dive into relevant modules ║
397
- ║ 6. brainstorming ║
398
- ║ └─ ALL questions in ONE prompt ║
399
- ║ └─ Ideate on feature/fix ║
400
- ╚════════════════════╬═════════════════════════╝
401
- ║ CHECKPOINT
402
-
403
- ╔══════════════════════════════════════════════╗
404
- ║ PHASE 2: DISCOVERY & CLARIFICATION ║
405
- ╠══════════════════════════════════════════════╣
406
- ║ 7. spec-clarification (CRITICAL) ║
407
- ║ └─ CLARIFY requirements first ║
408
- ║ 8. openspec-new-change ║
409
- ║ └─ Initialize change artifact ║
410
- ║ 9. microtask-decomposition ║
411
- ║ └─ If task too complex ║
412
- ╚════════════════════╬═════════════════════════╝
413
- ║ CHECKPOINT
414
-
415
- ╔══════════════════════════════════════════════╗
416
- ║ PHASE 3: DESIGN & PLANNING ║
417
- ╠══════════════════════════════════════════════╣
418
- ║ 10. openspec-continue-change ║
419
- ║ └─ Draft Specs, Design, Tasks ║
420
- ║ 11. spec-analysis ║
421
- ║ └─ Check consistency with existing ║
422
- ║ 12. requirement-checklist ║
423
- ║ └─ Validate requirements ║
424
- ║ 13. api-design-principles [IF APIs] ║
425
- ║ └─ Design API changes ║
426
- ║ 14. interface-design [IF UI] ║
427
- ║ └─ Design interface changes ║
428
- ╚════════════════════╬═════════════════════════╝
429
- ║ CHECKPOINT
430
-
431
- ╔══════════════════════════════════════════════╗
432
- ║ PHASE 4: IMPLEMENTATION ║
433
- ╠══════════════════════════════════════════════╣
434
- ║ SAFETY CHECK REQUIRED ║
435
- ╠══════════════════════════════════════════════╣
436
- ║ 15. test-generator ║
437
- ║ └─ Generate tests for new feature ║
438
- ║ 16. openspec-apply-change ║
439
- ║ └─ Implement code ║
440
- ║ 17. testing-qa ║
441
- ║ └─ Automate test maintenance ║
442
- ║ 18. code-review ║
443
- ║ └─ Review for style/security/arch ║
444
- ║ 19. secure-coding-cybersecurity ║
445
- ║ └─ Audit new code ║
446
- ║ 20. error-handling-patterns ║
447
- ║ └─ Verify error handling ║
448
- ║ 21. performance-optimizer ║
449
- ║ └─ Ensure no perf degradation ║
450
- ╚════════════════════╬═════════════════════════╝
451
- ║ CHECKPOINT
452
-
453
- ╔══════════════════════════════════════════════╗
454
- ║ PHASE 5: OPTIMIZATION & VERIFICATION ║
455
- ╠══════════════════════════════════════════════╣
456
- ║ 22. systematic-debugging ║
457
- ║ └─ Fix regressions ║
458
- ║ 23. openspec-verify-change ║
459
- ║ └─ Final verification ║
460
- ║ 24. documentation ║
461
- ║ └─ Generate technical docs & diagrams ║
462
- ║ 25. sync-index (IMPORTANT) ║
463
- ║ └─ Update docs with new changes ║
464
- ║ 26. changelog-generator ║
465
- ║ └─ Generate release notes ║
466
- ║ 27. ci-deploy ║
467
- ║ └─ Deploy and verify solution ║
468
- ║ 28. openspec-archive-change ║
469
- ║ └─ Archive change ║
470
- ╚══════════════════════════════════════════════╝
307
+ +--------------------------------------------------------------------------+
308
+ | WORKFLOW: EXISTING MOBILE PROJECT - ZERO SKIP |
309
+ +--------------------------------------------------------------------------+
310
+
311
+ START CHANGE
312
+ |
313
+ v
314
+ PHASE 0 - SETUP (BLOCKING)
315
+ 1) acfm-spec-workflow (status, current changes, initialization)
316
+ 2) acfm-memory (session-start recall)
317
+
318
+ PHASE 1 - CONTEXT AND DISCOVERY
319
+ 3) context-synthesizer
320
+ 4) project-index [if missing/stale]
321
+ 5) openspec-explore
322
+ 6) research-retrieval
323
+ 7) brainstorming
324
+
325
+ PHASE 2 - CLARIFICATION AND CHANGE INIT
326
+ 8) openspec-new-change
327
+ 9) spec-clarification
328
+
329
+ PHASE 3 - DESIGN, CONSISTENCY, AND PLATFORM FIT
330
+ 10) openspec-continue-change
331
+ 11) spec-analysis
332
+ 12) microtask-decomposition [if needed]
333
+ 13) apply required mobile platform/stack skills
334
+
335
+ PHASE 4 - IMPLEMENTATION
336
+ 14) openspec-apply-change
337
+ 15) systematic-debugging [if needed]
338
+
339
+ PHASE 5 - VALIDATION AND CLOSURE
340
+ 16) openspec-verify-change
341
+ 17) documentation
342
+ 18) sync-index
343
+ 19) openspec-sync-specs [if needed]
344
+ 20) openspec-archive-change / openspec-bulk-archive-change
345
+ 21) changelog-generator
471
346
  ```
472
347
 
473
- **Conditional Skills Notes:**
474
- - `[IF APIs]`: Use api-design-principles only if modifying/creating REST/GraphQL APIs
475
- - `[IF UI]`: Use interface-design only if modifying dashboards, admin panels, or apps
476
- - `project-index`: Run only if you haven't indexed the project yet or need to refresh context
477
-
478
348
  ---
479
349
 
480
350
  ## Skill Loading Reference
481
351
 
482
352
  All skills are located in: `skills/`
483
353
 
484
- To load a skill, read its SKILL.md file:
485
- - Example: Read `skills/spec-clarification/SKILL.md` to use the clarification workflow
486
- - Example: Read `skills/interface-design/SKILL.md` to use interface design principles
354
+ To load a skill, read its `SKILL.md` file:
355
+ - Example: `skills/spec-clarification/SKILL.md`
356
+ - Example: `skills/mobile-design/SKILL.md`
357
+ - Example: `skills/react-native-architecture/SKILL.md`
487
358
 
488
359
  ### MANDATORY SKILL EXECUTION CHECKLIST
489
360
 
490
- Before claiming a skill is "done", verify:
491
- - [ ] I have read the entire SKILL.md file
492
- - [ ] I have executed ALL steps in the skill
493
- - [ ] I have the required output artifacts
494
- - [ ] I can answer: "What did this skill produce?"
495
-
496
- **Remember**: Skills are documentation-based workflows with ZERO SKIP policy. Load them by reading the SKILL.md files, execute CLI commands when instructed, and NEVER proceed without completing all steps.
361
+ Before claiming a skill is done, verify:
362
+ - [ ] I read the entire `SKILL.md`
363
+ - [ ] I executed all required steps
364
+ - [ ] I produced required artifacts/checkpoints
365
+ - [ ] I can explain exactly what the skill produced
497
366
 
498
367
  ---
499
368
 
500
369
  ## VIOLATION CONSEQUENCES
501
370
 
502
- If you SKIP a skill or phase:
503
- 1. The framework integrity is compromised
504
- 2. Quality cannot be guaranteed
505
- 3. You MUST go back and complete what was skipped
506
- 4. No exceptions. No shortcuts. Follow the workflow.
371
+ If you skip a skill or phase:
372
+ 1. Workflow integrity is compromised
373
+ 2. Mobile quality and consistency are no longer guaranteed
374
+ 3. You MUST return and complete the missing steps
375
+ 4. No shortcuts. No exceptions.
507
376
 
508
377
  **Quality over speed. Documentation before code. Planning before execution.**