@chenmk/superflow 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/INSTALL.en.md +106 -0
- package/INSTALL.md +664 -0
- package/LICENSE +21 -0
- package/README.md +142 -0
- package/README.zh-CN.md +117 -0
- package/assets/context-templates/business-rules.md +98 -0
- package/assets/context-templates/decisions.md +153 -0
- package/assets/context-templates/external-systems.md +166 -0
- package/assets/context-templates/incidents.md +89 -0
- package/assets/manifest.json +53 -0
- package/assets/prompts/superflow-archive.md +9 -0
- package/assets/prompts/superflow-clarify.md +10 -0
- package/assets/prompts/superflow-design.md +10 -0
- package/assets/prompts/superflow-docs.md +10 -0
- package/assets/prompts/superflow-implement.md +10 -0
- package/assets/prompts/superflow-pipeline.md +13 -0
- package/assets/prompts/superflow-verify.md +10 -0
- package/assets/rules/superflow-phase-guard.md +50 -0
- package/assets/scripts/claude-auto-backup-hook.sh +313 -0
- package/assets/scripts/codex-auto-backup-hook.sh +361 -0
- package/assets/scripts/install-sql-pre-commit.sh +44 -0
- package/assets/scripts/superflow-contract-hooks.sh +744 -0
- package/assets/scripts/superflow-delivery-check.sh +315 -0
- package/assets/scripts/superflow-dependency-update-hook.sh +161 -0
- package/assets/scripts/superflow-enforce-hook.sh +70 -0
- package/assets/scripts/superflow-hook-guard.sh +132 -0
- package/assets/scripts/superflow-integration-evidence-hook.sh +80 -0
- package/assets/scripts/superflow-sql-sync-hook.py +950 -0
- package/assets/scripts/superflow-test-report-lint.py +433 -0
- package/assets/scripts/superflow-verify-integration.sh +90 -0
- package/assets/scripts/sync-settings-json.py +52 -0
- package/assets/skills/api-doc-changelog/SKILL.md +193 -0
- package/assets/skills/openspec-apply-change/SKILL.md +156 -0
- package/assets/skills/openspec-archive-change/SKILL.md +114 -0
- package/assets/skills/openspec-explore/SKILL.md +288 -0
- package/assets/skills/openspec-propose/SKILL.md +110 -0
- package/assets/skills/superflow-archive/SKILL.md +61 -0
- package/assets/skills/superflow-clarify/SKILL.md +146 -0
- package/assets/skills/superflow-clarify/agents/openai.yaml +4 -0
- package/assets/skills/superflow-design/SKILL.md +83 -0
- package/assets/skills/superflow-design/agents/openai.yaml +4 -0
- package/assets/skills/superflow-docs/SKILL.md +316 -0
- package/assets/skills/superflow-docs/agents/openai.yaml +4 -0
- package/assets/skills/superflow-hotfix/SKILL.md +48 -0
- package/assets/skills/superflow-implement/SKILL.md +461 -0
- package/assets/skills/superflow-implement/agents/openai.yaml +4 -0
- package/assets/skills/superflow-pipeline/SKILL.md +844 -0
- package/assets/skills/superflow-pipeline/agents/openai.yaml +4 -0
- package/assets/skills/superflow-pipeline/references/api-design-template.md +431 -0
- package/assets/skills/superflow-pipeline/references/architecture-design-template.md +119 -0
- package/assets/skills/superflow-pipeline/references/batch-prompt-template.md +536 -0
- package/assets/skills/superflow-pipeline/references/batch-split-guide.md +140 -0
- package/assets/skills/superflow-pipeline/references/decision-point.md +30 -0
- package/assets/skills/superflow-pipeline/references/dirty-worktree.md +35 -0
- package/assets/skills/superflow-pipeline/references/document-templates.md +123 -0
- package/assets/skills/superflow-pipeline/references/feature-gated-workflow.md +124 -0
- package/assets/skills/superflow-pipeline/references/implementation-prompt-template.md +1056 -0
- package/assets/skills/superflow-pipeline/references/mock-strategy-guide.md +86 -0
- package/assets/skills/superflow-pipeline/references/openspec-format.md +57 -0
- package/assets/skills/superflow-pipeline/references/orchestration.md +639 -0
- package/assets/skills/superflow-pipeline/references/p0-baseline-template.md +174 -0
- package/assets/skills/superflow-pipeline/references/project-config.md +40 -0
- package/assets/skills/superflow-pipeline/references/prompt-usage-template.md +152 -0
- package/assets/skills/superflow-pipeline/references/quality-gate.md +299 -0
- package/assets/skills/superflow-pipeline/references/quality-standards.md +190 -0
- package/assets/skills/superflow-pipeline/references/reviewer-checklist.md +154 -0
- package/assets/skills/superflow-pipeline/references/sql-risk-review-checklist.md +323 -0
- package/assets/skills/superflow-pipeline/references/subagent-progress.md +90 -0
- package/assets/skills/superflow-pipeline/references/superpower-technical-design-template.md +125 -0
- package/assets/skills/superflow-pipeline/references/test-execution-template.md +220 -0
- package/assets/skills/superflow-pipeline/references/test-guide.md +30 -0
- package/assets/skills/superflow-pipeline/references/traceability-matrix.md +106 -0
- package/assets/skills/superflow-pipeline/references/validation-integrity.md +134 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-archive.sh +178 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-env.sh +118 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-guard.sh +428 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-handoff.sh +296 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-state.sh +574 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-status.sh +172 -0
- package/assets/skills/superflow-pipeline/scripts/superflow-yaml-validate.sh +138 -0
- package/assets/skills/superflow-table-impact-analysis/SKILL.md +77 -0
- package/assets/skills/superflow-tweak/SKILL.md +46 -0
- package/assets/skills/superflow-verify/SKILL.md +112 -0
- package/assets/skills-en/api-doc-changelog/SKILL.md +193 -0
- package/assets/skills-en/openspec-apply-change/SKILL.md +156 -0
- package/assets/skills-en/openspec-archive-change/SKILL.md +114 -0
- package/assets/skills-en/openspec-explore/SKILL.md +288 -0
- package/assets/skills-en/openspec-propose/SKILL.md +110 -0
- package/assets/skills-en/superflow-archive/SKILL.md +61 -0
- package/assets/skills-en/superflow-clarify/SKILL.md +146 -0
- package/assets/skills-en/superflow-clarify/agents/openai.yaml +4 -0
- package/assets/skills-en/superflow-design/SKILL.md +83 -0
- package/assets/skills-en/superflow-design/agents/openai.yaml +4 -0
- package/assets/skills-en/superflow-docs/SKILL.md +316 -0
- package/assets/skills-en/superflow-docs/agents/openai.yaml +4 -0
- package/assets/skills-en/superflow-hotfix/SKILL.md +48 -0
- package/assets/skills-en/superflow-implement/SKILL.md +461 -0
- package/assets/skills-en/superflow-implement/agents/openai.yaml +4 -0
- package/assets/skills-en/superflow-pipeline/SKILL.md +844 -0
- package/assets/skills-en/superflow-pipeline/agents/openai.yaml +4 -0
- package/assets/skills-en/superflow-pipeline/references/api-design-template.md +431 -0
- package/assets/skills-en/superflow-pipeline/references/architecture-design-template.md +119 -0
- package/assets/skills-en/superflow-pipeline/references/batch-prompt-template.md +536 -0
- package/assets/skills-en/superflow-pipeline/references/batch-split-guide.md +140 -0
- package/assets/skills-en/superflow-pipeline/references/decision-point.md +30 -0
- package/assets/skills-en/superflow-pipeline/references/dirty-worktree.md +35 -0
- package/assets/skills-en/superflow-pipeline/references/document-templates.md +123 -0
- package/assets/skills-en/superflow-pipeline/references/feature-gated-workflow.md +124 -0
- package/assets/skills-en/superflow-pipeline/references/implementation-prompt-template.md +1056 -0
- package/assets/skills-en/superflow-pipeline/references/mock-strategy-guide.md +86 -0
- package/assets/skills-en/superflow-pipeline/references/openspec-format.md +57 -0
- package/assets/skills-en/superflow-pipeline/references/orchestration.md +639 -0
- package/assets/skills-en/superflow-pipeline/references/p0-baseline-template.md +174 -0
- package/assets/skills-en/superflow-pipeline/references/project-config.md +40 -0
- package/assets/skills-en/superflow-pipeline/references/prompt-usage-template.md +152 -0
- package/assets/skills-en/superflow-pipeline/references/quality-gate.md +299 -0
- package/assets/skills-en/superflow-pipeline/references/quality-standards.md +190 -0
- package/assets/skills-en/superflow-pipeline/references/reviewer-checklist.md +154 -0
- package/assets/skills-en/superflow-pipeline/references/sql-risk-review-checklist.md +323 -0
- package/assets/skills-en/superflow-pipeline/references/subagent-progress.md +90 -0
- package/assets/skills-en/superflow-pipeline/references/superpower-technical-design-template.md +125 -0
- package/assets/skills-en/superflow-pipeline/references/test-execution-template.md +220 -0
- package/assets/skills-en/superflow-pipeline/references/test-guide.md +30 -0
- package/assets/skills-en/superflow-pipeline/references/traceability-matrix.md +106 -0
- package/assets/skills-en/superflow-pipeline/references/validation-integrity.md +134 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-archive.sh +178 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-env.sh +118 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-guard.sh +428 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-handoff.sh +296 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-state.sh +574 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-status.sh +172 -0
- package/assets/skills-en/superflow-pipeline/scripts/superflow-yaml-validate.sh +138 -0
- package/assets/skills-en/superflow-table-impact-analysis/SKILL.md +77 -0
- package/assets/skills-en/superflow-tweak/SKILL.md +46 -0
- package/assets/skills-en/superflow-verify/SKILL.md +112 -0
- package/dist/cli/index.js +186 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/commands/archive.js +6 -0
- package/dist/commands/archive.js.map +1 -0
- package/dist/commands/clarify.js +6 -0
- package/dist/commands/clarify.js.map +1 -0
- package/dist/commands/design.js +6 -0
- package/dist/commands/design.js.map +1 -0
- package/dist/commands/docs.js +6 -0
- package/dist/commands/docs.js.map +1 -0
- package/dist/commands/doctor.js +473 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/implement.js +6 -0
- package/dist/commands/implement.js.map +1 -0
- package/dist/commands/init.js +471 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/pipeline.js +6 -0
- package/dist/commands/pipeline.js.map +1 -0
- package/dist/commands/scan.js +59 -0
- package/dist/commands/scan.js.map +1 -0
- package/dist/commands/status.js +173 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/uninstall.js +213 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.js +187 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/verify.js +6 -0
- package/dist/commands/verify.js.map +1 -0
- package/dist/core/assets.js +27 -0
- package/dist/core/assets.js.map +1 -0
- package/dist/core/context.js +100 -0
- package/dist/core/context.js.map +1 -0
- package/dist/core/dependencies.js +146 -0
- package/dist/core/dependencies.js.map +1 -0
- package/dist/core/detect.js +71 -0
- package/dist/core/detect.js.map +1 -0
- package/dist/core/i18n.js +103 -0
- package/dist/core/i18n.js.map +1 -0
- package/dist/core/integrity.js +46 -0
- package/dist/core/integrity.js.map +1 -0
- package/dist/core/manifest.js +18 -0
- package/dist/core/manifest.js.map +1 -0
- package/dist/core/prompts.js +20 -0
- package/dist/core/prompts.js.map +1 -0
- package/dist/core/registry.js +134 -0
- package/dist/core/registry.js.map +1 -0
- package/dist/core/rules.js +17 -0
- package/dist/core/rules.js.map +1 -0
- package/dist/core/scripts.js +40 -0
- package/dist/core/scripts.js.map +1 -0
- package/dist/core/skill-check.js +31 -0
- package/dist/core/skill-check.js.map +1 -0
- package/dist/core/skills.js +56 -0
- package/dist/core/skills.js.map +1 -0
- package/dist/core/state.js +43 -0
- package/dist/core/state.js.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/path.js +11 -0
- package/dist/utils/path.js.map +1 -0
- package/dist/utils/shell.js +29 -0
- package/dist/utils/shell.js.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: openspec-explore
|
|
3
|
+
description: Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: Requires openspec CLI.
|
|
6
|
+
metadata:
|
|
7
|
+
author: openspec
|
|
8
|
+
version: "1.0"
|
|
9
|
+
generatedBy: "1.3.1"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.
|
|
13
|
+
|
|
14
|
+
**IMPORTANT: Explore mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create OpenSpec artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.
|
|
15
|
+
|
|
16
|
+
**This is a stance, not a workflow.** There are no fixed steps, no required sequence, no mandatory outputs. You're a thinking partner helping the user explore.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## The Stance
|
|
21
|
+
|
|
22
|
+
- **Curious, not prescriptive** - Ask questions that emerge naturally, don't follow a script
|
|
23
|
+
- **Open threads, not interrogations** - Surface multiple interesting directions and let the user follow what resonates. Don't funnel them through a single path of questions.
|
|
24
|
+
- **Visual** - Use ASCII diagrams liberally when they'd help clarify thinking
|
|
25
|
+
- **Adaptive** - Follow interesting threads, pivot when new information emerges
|
|
26
|
+
- **Patient** - Don't rush to conclusions, let the shape of the problem emerge
|
|
27
|
+
- **Grounded** - Explore the actual codebase when relevant, don't just theorize
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## What You Might Do
|
|
32
|
+
|
|
33
|
+
Depending on what the user brings, you might:
|
|
34
|
+
|
|
35
|
+
**Explore the problem space**
|
|
36
|
+
- Ask clarifying questions that emerge from what they said
|
|
37
|
+
- Challenge assumptions
|
|
38
|
+
- Reframe the problem
|
|
39
|
+
- Find analogies
|
|
40
|
+
|
|
41
|
+
**Investigate the codebase**
|
|
42
|
+
- Map existing architecture relevant to the discussion
|
|
43
|
+
- Find integration points
|
|
44
|
+
- Identify patterns already in use
|
|
45
|
+
- Surface hidden complexity
|
|
46
|
+
|
|
47
|
+
**Compare options**
|
|
48
|
+
- Brainstorm multiple approaches
|
|
49
|
+
- Build comparison tables
|
|
50
|
+
- Sketch tradeoffs
|
|
51
|
+
- Recommend a path (if asked)
|
|
52
|
+
|
|
53
|
+
**Visualize**
|
|
54
|
+
```
|
|
55
|
+
┌─────────────────────────────────────────┐
|
|
56
|
+
│ Use ASCII diagrams liberally │
|
|
57
|
+
├─────────────────────────────────────────┤
|
|
58
|
+
│ │
|
|
59
|
+
│ ┌────────┐ ┌────────┐ │
|
|
60
|
+
│ │ State │────────▶│ State │ │
|
|
61
|
+
│ │ A │ │ B │ │
|
|
62
|
+
│ └────────┘ └────────┘ │
|
|
63
|
+
│ │
|
|
64
|
+
│ System diagrams, state machines, │
|
|
65
|
+
│ data flows, architecture sketches, │
|
|
66
|
+
│ dependency graphs, comparison tables │
|
|
67
|
+
│ │
|
|
68
|
+
└─────────────────────────────────────────┘
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Surface risks and unknowns**
|
|
72
|
+
- Identify what could go wrong
|
|
73
|
+
- Find gaps in understanding
|
|
74
|
+
- Suggest spikes or investigations
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## OpenSpec Awareness
|
|
79
|
+
|
|
80
|
+
You have full context of the OpenSpec system. Use it naturally, don't force it.
|
|
81
|
+
|
|
82
|
+
### Check for context
|
|
83
|
+
|
|
84
|
+
At the start, quickly check what exists:
|
|
85
|
+
```bash
|
|
86
|
+
openspec list --json
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
This tells you:
|
|
90
|
+
- If there are active changes
|
|
91
|
+
- Their names, schemas, and status
|
|
92
|
+
- What the user might be working on
|
|
93
|
+
|
|
94
|
+
### When no change exists
|
|
95
|
+
|
|
96
|
+
Think freely. When insights crystallize, you might offer:
|
|
97
|
+
|
|
98
|
+
- "This feels solid enough to start a change. Want me to create a proposal?"
|
|
99
|
+
- Or keep exploring - no pressure to formalize
|
|
100
|
+
|
|
101
|
+
### When a change exists
|
|
102
|
+
|
|
103
|
+
If the user mentions a change or you detect one is relevant:
|
|
104
|
+
|
|
105
|
+
1. **Read existing artifacts for context**
|
|
106
|
+
- `openspec/changes/<name>/proposal.md`
|
|
107
|
+
- `openspec/changes/<name>/design.md`
|
|
108
|
+
- `openspec/changes/<name>/tasks.md`
|
|
109
|
+
- etc.
|
|
110
|
+
|
|
111
|
+
2. **Reference them naturally in conversation**
|
|
112
|
+
- "Your design mentions using Redis, but we just realized SQLite fits better..."
|
|
113
|
+
- "The proposal scopes this to premium users, but we're now thinking everyone..."
|
|
114
|
+
|
|
115
|
+
3. **Offer to capture when decisions are made**
|
|
116
|
+
|
|
117
|
+
| Insight Type | Where to Capture |
|
|
118
|
+
|----------------------------|--------------------------------|
|
|
119
|
+
| New requirement discovered | `specs/<capability>/spec.md` |
|
|
120
|
+
| Requirement changed | `specs/<capability>/spec.md` |
|
|
121
|
+
| Design decision made | `design.md` |
|
|
122
|
+
| Scope changed | `proposal.md` |
|
|
123
|
+
| New work identified | `tasks.md` |
|
|
124
|
+
| Assumption invalidated | Relevant artifact |
|
|
125
|
+
|
|
126
|
+
Example offers:
|
|
127
|
+
- "That's a design decision. Capture it in design.md?"
|
|
128
|
+
- "This is a new requirement. Add it to specs?"
|
|
129
|
+
- "This changes scope. Update the proposal?"
|
|
130
|
+
|
|
131
|
+
4. **The user decides** - Offer and move on. Don't pressure. Don't auto-capture.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## What You Don't Have To Do
|
|
136
|
+
|
|
137
|
+
- Follow a script
|
|
138
|
+
- Ask the same questions every time
|
|
139
|
+
- Produce a specific artifact
|
|
140
|
+
- Reach a conclusion
|
|
141
|
+
- Stay on topic if a tangent is valuable
|
|
142
|
+
- Be brief (this is thinking time)
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Handling Different Entry Points
|
|
147
|
+
|
|
148
|
+
**User brings a vague idea:**
|
|
149
|
+
```
|
|
150
|
+
User: I'm thinking about adding real-time collaboration
|
|
151
|
+
|
|
152
|
+
You: Real-time collab is a big space. Let me think about this...
|
|
153
|
+
|
|
154
|
+
COLLABORATION SPECTRUM
|
|
155
|
+
════════════════════════════════════════════
|
|
156
|
+
|
|
157
|
+
Awareness Coordination Sync
|
|
158
|
+
│ │ │
|
|
159
|
+
▼ ▼ ▼
|
|
160
|
+
┌────────┐ ┌────────┐ ┌────────┐
|
|
161
|
+
│Presence│ │Cursors │ │ CRDT │
|
|
162
|
+
│ "3 │ │ Multi │ │Conflict│
|
|
163
|
+
│online" │ │ select │ │ free │
|
|
164
|
+
└────────┘ └────────┘ └────────┘
|
|
165
|
+
│ │ │
|
|
166
|
+
trivial moderate complex
|
|
167
|
+
|
|
168
|
+
Where's your head at?
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**User brings a specific problem:**
|
|
172
|
+
```
|
|
173
|
+
User: The auth system is a mess
|
|
174
|
+
|
|
175
|
+
You: [reads codebase]
|
|
176
|
+
|
|
177
|
+
┌─────────────────────────────────────────────┐
|
|
178
|
+
│ CURRENT AUTH FLOW │
|
|
179
|
+
└─────────────────────────────────────────────┘
|
|
180
|
+
│
|
|
181
|
+
┌─────────────┼─────────────┐
|
|
182
|
+
▼ ▼ ▼
|
|
183
|
+
┌─────────┐ ┌─────────┐ ┌─────────┐
|
|
184
|
+
│ Google │ │ GitHub │ │ Email │
|
|
185
|
+
│ OAuth │ │ OAuth │ │ Magic │
|
|
186
|
+
└────┬────┘ └────┬────┘ └────┬────┘
|
|
187
|
+
│ │ │
|
|
188
|
+
└─────────────┼─────────────┘
|
|
189
|
+
▼
|
|
190
|
+
┌───────────┐
|
|
191
|
+
│ Session │
|
|
192
|
+
└─────┬─────┘
|
|
193
|
+
│
|
|
194
|
+
▼
|
|
195
|
+
┌───────────┐
|
|
196
|
+
│ Perms │
|
|
197
|
+
└───────────┘
|
|
198
|
+
|
|
199
|
+
I see three tangles. Which one's burning?
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**User is stuck mid-implementation:**
|
|
203
|
+
```
|
|
204
|
+
User: /opsx:explore add-auth-system
|
|
205
|
+
The OAuth integration is more complex than expected
|
|
206
|
+
|
|
207
|
+
You: [reads change artifacts]
|
|
208
|
+
|
|
209
|
+
You're on task 4: "Implement OAuth flow"
|
|
210
|
+
|
|
211
|
+
Let me trace what's involved...
|
|
212
|
+
|
|
213
|
+
[draws diagram, explores options, suggests paths]
|
|
214
|
+
|
|
215
|
+
Want to update the design to reflect this?
|
|
216
|
+
Or add a spike task to investigate?
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**User wants to compare options:**
|
|
220
|
+
```
|
|
221
|
+
User: Should we use Postgres or SQLite?
|
|
222
|
+
|
|
223
|
+
You: Generic answer is boring. What's the context?
|
|
224
|
+
|
|
225
|
+
User: A CLI tool that tracks local dev environments
|
|
226
|
+
|
|
227
|
+
You: That changes everything.
|
|
228
|
+
|
|
229
|
+
┌─────────────────────────────────────────────────┐
|
|
230
|
+
│ CLI TOOL DATA STORAGE │
|
|
231
|
+
└─────────────────────────────────────────────────┘
|
|
232
|
+
|
|
233
|
+
Key constraints:
|
|
234
|
+
• No daemon running
|
|
235
|
+
• Must work offline
|
|
236
|
+
• Single user
|
|
237
|
+
|
|
238
|
+
SQLite Postgres
|
|
239
|
+
Deployment embedded ✓ needs server ✗
|
|
240
|
+
Offline yes ✓ no ✗
|
|
241
|
+
Single file yes ✓ no ✗
|
|
242
|
+
|
|
243
|
+
SQLite. Not even close.
|
|
244
|
+
|
|
245
|
+
Unless... is there a sync component?
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## Ending Discovery
|
|
251
|
+
|
|
252
|
+
There's no required ending. Discovery might:
|
|
253
|
+
|
|
254
|
+
- **Flow into a proposal**: "Ready to start? I can create a change proposal."
|
|
255
|
+
- **Result in artifact updates**: "Updated design.md with these decisions"
|
|
256
|
+
- **Just provide clarity**: User has what they need, moves on
|
|
257
|
+
- **Continue later**: "We can pick this up anytime"
|
|
258
|
+
|
|
259
|
+
When it feels like things are crystallizing, you might summarize:
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
## What We Figured Out
|
|
263
|
+
|
|
264
|
+
**The problem**: [crystallized understanding]
|
|
265
|
+
|
|
266
|
+
**The approach**: [if one emerged]
|
|
267
|
+
|
|
268
|
+
**Open questions**: [if any remain]
|
|
269
|
+
|
|
270
|
+
**Next steps** (if ready):
|
|
271
|
+
- Create a change proposal
|
|
272
|
+
- Keep exploring: just keep talking
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
But this summary is optional. Sometimes the thinking IS the value.
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Guardrails
|
|
280
|
+
|
|
281
|
+
- **Don't implement** - Never write code or implement features. Creating OpenSpec artifacts is fine, writing application code is not.
|
|
282
|
+
- **Don't fake understanding** - If something is unclear, dig deeper
|
|
283
|
+
- **Don't rush** - Discovery is thinking time, not task time
|
|
284
|
+
- **Don't force structure** - Let patterns emerge naturally
|
|
285
|
+
- **Don't auto-capture** - Offer to save insights, don't just do it
|
|
286
|
+
- **Do visualize** - A good diagram is worth many paragraphs
|
|
287
|
+
- **Do explore the codebase** - Ground discussions in reality
|
|
288
|
+
- **Do question assumptions** - Including the user's and your own
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: openspec-propose
|
|
3
|
+
description: Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: Requires openspec CLI.
|
|
6
|
+
metadata:
|
|
7
|
+
author: openspec
|
|
8
|
+
version: "1.0"
|
|
9
|
+
generatedBy: "1.3.1"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Propose a new change - create the change and generate all artifacts in one step.
|
|
13
|
+
|
|
14
|
+
I'll create a change with artifacts:
|
|
15
|
+
- proposal.md (what & why)
|
|
16
|
+
- design.md (how)
|
|
17
|
+
- tasks.md (implementation steps)
|
|
18
|
+
|
|
19
|
+
When ready to implement, run /opsx:apply
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
**Input**: The user's request should include a change name (kebab-case) OR a description of what they want to build.
|
|
24
|
+
|
|
25
|
+
**Steps**
|
|
26
|
+
|
|
27
|
+
1. **If no clear input provided, ask what they want to build**
|
|
28
|
+
|
|
29
|
+
Use the **AskUserQuestion tool** (open-ended, no preset options) to ask:
|
|
30
|
+
> "What change do you want to work on? Describe what you want to build or fix."
|
|
31
|
+
|
|
32
|
+
From their description, derive a kebab-case name (e.g., "add user authentication" → `add-user-auth`).
|
|
33
|
+
|
|
34
|
+
**IMPORTANT**: Do NOT proceed without understanding what the user wants to build.
|
|
35
|
+
|
|
36
|
+
2. **Create the change directory**
|
|
37
|
+
```bash
|
|
38
|
+
openspec new change "<name>"
|
|
39
|
+
```
|
|
40
|
+
This creates a scaffolded change at `openspec/changes/<name>/` with `.openspec.yaml`.
|
|
41
|
+
|
|
42
|
+
3. **Get the artifact build order**
|
|
43
|
+
```bash
|
|
44
|
+
openspec status --change "<name>" --json
|
|
45
|
+
```
|
|
46
|
+
Parse the JSON to get:
|
|
47
|
+
- `applyRequires`: array of artifact IDs needed before implementation (e.g., `["tasks"]`)
|
|
48
|
+
- `artifacts`: list of all artifacts with their status and dependencies
|
|
49
|
+
|
|
50
|
+
4. **Create artifacts in sequence until apply-ready**
|
|
51
|
+
|
|
52
|
+
Use the **TodoWrite tool** to track progress through the artifacts.
|
|
53
|
+
|
|
54
|
+
Loop through artifacts in dependency order (artifacts with no pending dependencies first):
|
|
55
|
+
|
|
56
|
+
a. **For each artifact that is `ready` (dependencies satisfied)**:
|
|
57
|
+
- Get instructions:
|
|
58
|
+
```bash
|
|
59
|
+
openspec instructions <artifact-id> --change "<name>" --json
|
|
60
|
+
```
|
|
61
|
+
- The instructions JSON includes:
|
|
62
|
+
- `context`: Project background (constraints for you - do NOT include in output)
|
|
63
|
+
- `rules`: Artifact-specific rules (constraints for you - do NOT include in output)
|
|
64
|
+
- `template`: The structure to use for your output file
|
|
65
|
+
- `instruction`: Schema-specific guidance for this artifact type
|
|
66
|
+
- `outputPath`: Where to write the artifact
|
|
67
|
+
- `dependencies`: Completed artifacts to read for context
|
|
68
|
+
- Read any completed dependency files for context
|
|
69
|
+
- Create the artifact file using `template` as the structure
|
|
70
|
+
- Apply `context` and `rules` as constraints - but do NOT copy them into the file
|
|
71
|
+
- Show brief progress: "Created <artifact-id>"
|
|
72
|
+
|
|
73
|
+
b. **Continue until all `applyRequires` artifacts are complete**
|
|
74
|
+
- After creating each artifact, re-run `openspec status --change "<name>" --json`
|
|
75
|
+
- Check if every artifact ID in `applyRequires` has `status: "done"` in the artifacts array
|
|
76
|
+
- Stop when all `applyRequires` artifacts are done
|
|
77
|
+
|
|
78
|
+
c. **If an artifact requires user input** (unclear context):
|
|
79
|
+
- Use **AskUserQuestion tool** to clarify
|
|
80
|
+
- Then continue with creation
|
|
81
|
+
|
|
82
|
+
5. **Show final status**
|
|
83
|
+
```bash
|
|
84
|
+
openspec status --change "<name>"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Output**
|
|
88
|
+
|
|
89
|
+
After completing all artifacts, summarize:
|
|
90
|
+
- Change name and location
|
|
91
|
+
- List of artifacts created with brief descriptions
|
|
92
|
+
- What's ready: "All artifacts created! Ready for implementation."
|
|
93
|
+
- Prompt: "Run `/opsx:apply` or ask me to implement to start working on the tasks."
|
|
94
|
+
|
|
95
|
+
**Artifact Creation Guidelines**
|
|
96
|
+
|
|
97
|
+
- Follow the `instruction` field from `openspec instructions` for each artifact type
|
|
98
|
+
- The schema defines what each artifact should contain - follow it
|
|
99
|
+
- Read dependency artifacts for context before creating new ones
|
|
100
|
+
- Use `template` as the structure for your output file - fill in its sections
|
|
101
|
+
- **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
|
|
102
|
+
- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
|
|
103
|
+
- These guide what you write, but should never appear in the output
|
|
104
|
+
|
|
105
|
+
**Guardrails**
|
|
106
|
+
- Create ALL artifacts needed for implementation (as defined by schema's `apply.requires`)
|
|
107
|
+
- Always read dependency artifacts before creating a new one
|
|
108
|
+
- If context is critically unclear, ask the user - but prefer making reasonable decisions to keep momentum
|
|
109
|
+
- If a change with that name already exists, ask if user wants to continue it or create a new one
|
|
110
|
+
- Verify each artifact file exists after writing before proceeding to next
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: superflow-archive
|
|
3
|
+
description: Use when an SDD/OpenSpec change has passed verification and needs final archive confirmation, lifecycle closeout, archived state recording, or recovery from phase archive.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Archive
|
|
7
|
+
|
|
8
|
+
Use this only after verification has passed. Archive is a user decision point:
|
|
9
|
+
do not mark archived until the user confirms final closeout.
|
|
10
|
+
|
|
11
|
+
## Preconditions
|
|
12
|
+
|
|
13
|
+
- `.sdd/state.yaml` exists.
|
|
14
|
+
- `phase: archive`.
|
|
15
|
+
- `verify_result: pass`.
|
|
16
|
+
- `verification_report` points to an existing report.
|
|
17
|
+
- `superflow-state.sh recover <change-dir>` gives a coherent archive recovery action.
|
|
18
|
+
|
|
19
|
+
## Procedure
|
|
20
|
+
|
|
21
|
+
1. Run:
|
|
22
|
+
```bash
|
|
23
|
+
~/.codex/skills/superflow-pipeline/scripts/superflow-yaml-validate.sh <change-dir>
|
|
24
|
+
~/.codex/skills/superflow-pipeline/scripts/superflow-state.sh status <change-dir>
|
|
25
|
+
~/.codex/skills/superflow-pipeline/scripts/superflow-archive.sh <change-dir> --dry-run
|
|
26
|
+
```
|
|
27
|
+
2. Show the user a short archive summary:
|
|
28
|
+
- change/task directory
|
|
29
|
+
- verification report
|
|
30
|
+
- branch/worktree state
|
|
31
|
+
- whether `openspec archive <change-name> --yes` will be used
|
|
32
|
+
- any remaining `Blocked` or `Partially verified` boundary
|
|
33
|
+
3. Ask for explicit confirmation before archive closeout.
|
|
34
|
+
4. After confirmation, run:
|
|
35
|
+
```bash
|
|
36
|
+
~/.codex/skills/superflow-pipeline/scripts/superflow-archive.sh <change-dir> --apply
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
- Do not archive if verification failed or is only partially verified unless
|
|
42
|
+
the user explicitly accepts the boundary.
|
|
43
|
+
- Do not use archive to hide missing API, DB, hook, SQL, test-report, or real
|
|
44
|
+
integration evidence.
|
|
45
|
+
- In a standard `openspec/changes/<name>` layout, archive must use OpenSpec
|
|
46
|
+
archive semantics so delta specs are merged and the change is moved to
|
|
47
|
+
`openspec/changes/archive/`. State-only archive is only a fallback for
|
|
48
|
+
non-standard task directories.
|
|
49
|
+
- Archive must annotate the `technical_design`, compatibility `design_doc`, and
|
|
50
|
+
`plan` paths recorded in `.sdd/state.yaml` when those files exist. The
|
|
51
|
+
annotation is `archived-with: <archive-dir-name>`; `technical_design` and
|
|
52
|
+
`design_doc` also record `status: final`. This is a lifecycle checkpoint for
|
|
53
|
+
compressed sessions and later readers, not a replacement for OpenSpec archive.
|
|
54
|
+
- After OpenSpec moves the change, verify the archived directory contains
|
|
55
|
+
`.sdd/state.yaml` with `archived: true`. Do not run guards against the old
|
|
56
|
+
active path after a successful move.
|
|
57
|
+
- If the user wants adjustments, run:
|
|
58
|
+
```bash
|
|
59
|
+
~/.codex/skills/superflow-pipeline/scripts/superflow-state.sh transition <change-dir> archive-reopen
|
|
60
|
+
```
|
|
61
|
+
then return to verify or implement as needed.
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: superflow-clarify
|
|
3
|
+
description: SDD 需求理解、澄清、功能点串行确认和 API 草案冻结。Use when Codex reads a PRD, Lark/Feishu document, screenshots, prototype images, downloaded requirement docs, or oral product requirements and must process one feature at a time before generating full SDD docs. Triggers include 需求澄清、读产品文档、分析原型、功能点确认、接口草案、API 先行、feature gate、source ingestion, or preventing over-design before coding.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SDD Clarify
|
|
7
|
+
|
|
8
|
+
Use this skill for the first phase of SDD: understand one feature, bind text to images,
|
|
9
|
+
ask only current-feature questions, draft the API shape, and freeze the feature before
|
|
10
|
+
any full SDD document or implementation prompt is generated.
|
|
11
|
+
|
|
12
|
+
## Hard Gates
|
|
13
|
+
|
|
14
|
+
- Before freezing any new requirement or bug fix, perform platform-level impact
|
|
15
|
+
discovery. Prefer understand-anything artifacts when present, such as
|
|
16
|
+
`.understand-anything/`, `understand-anything.md`, `understand anything.md`,
|
|
17
|
+
or the project-specific graph output, but treat them only as locator evidence.
|
|
18
|
+
If artifacts are missing, stale, incomplete, or unavailable, degrade to `rg`,
|
|
19
|
+
source reading, Mapper/XML, configuration, database table names, log
|
|
20
|
+
templates, and sibling-repo search. Do not block only because
|
|
21
|
+
understand-anything is missing; block only when no platform-level impact
|
|
22
|
+
discovery evidence exists.
|
|
23
|
+
- Do not freeze a feature from product text or understand-anything output alone
|
|
24
|
+
when code impact is relevant. Current source, Mapper/XML, database samples,
|
|
25
|
+
API contracts, or real consumer entry points must confirm the design.
|
|
26
|
+
- When the feature depends on existing code relationships, field ownership,
|
|
27
|
+
table joins, data permissions, status transitions, or upstream/downstream
|
|
28
|
+
calls, verify the relationship before freezing with current evidence:
|
|
29
|
+
platform-level impact discovery -> source/Mapper/XML anchors -> read-only
|
|
30
|
+
database checks when source is insufficient. If the relationship is still
|
|
31
|
+
unclear, ask the programmer/user to clarify and mark the feature blocked; do
|
|
32
|
+
not invent a design from field names, graph output, or assumptions.
|
|
33
|
+
- When a feature adds, changes, synchronizes, or relies on a database table or
|
|
34
|
+
status field, perform table-to-code reverse impact analysis before freezing:
|
|
35
|
+
start from each table/field, find all writers, readers, filters, status
|
|
36
|
+
recovery paths, scheduled jobs, MQ consumers, frontend/applet endpoints,
|
|
37
|
+
third-party adapters, and sibling-repo consumers. Include reverse cases such
|
|
38
|
+
as unavailable -> available, deleted -> restored, missing -> reappearing, and
|
|
39
|
+
old invalid values left behind when upstream omits a field. If the final
|
|
40
|
+
user-facing entry points are unknown, block and ask; do not freeze a design
|
|
41
|
+
that only proves the sync/write path.
|
|
42
|
+
Use `$superflow-table-impact-analysis` for this step when available.
|
|
43
|
+
- When a feature relies on a status, enum, sync field, derived field, default
|
|
44
|
+
value, or compatibility behavior, freeze the business semantics before API or
|
|
45
|
+
design freezing. Record:
|
|
46
|
+
`真源字段 | 真源枚举 | 目标字段 | 目标枚举 | 消费方解释 | 业务依据 | 不确定项`.
|
|
47
|
+
Do not treat non-null, present, successful, or "has any value" as correct.
|
|
48
|
+
Do not accept fallback/default/keep-old-value behavior unless the requirement
|
|
49
|
+
or owner explicitly approves it for dirty historical data or uncontrollable
|
|
50
|
+
external input. If semantics are unclear, mark the feature blocked instead of
|
|
51
|
+
inventing a fallback.
|
|
52
|
+
- Process one feature at a time, in product-document order.
|
|
53
|
+
- For long PRDs, Lark/Feishu exports, screenshots, or mixed product docs, do
|
|
54
|
+
not read the whole document and generate all tasks in one pass. First create
|
|
55
|
+
a source index, then process one bounded section or feature at a time. Each
|
|
56
|
+
section must record source range/page/screenshot IDs, AI understanding,
|
|
57
|
+
open questions, API draft, confirmation status, and freeze result before the
|
|
58
|
+
next section is analyzed.
|
|
59
|
+
- Do not clarify the next feature until the current feature is confirmed by the programmer.
|
|
60
|
+
- Do not generate `spec.md`, `design.md`, `tasks.md`, `tests.md`, or implementation prompts before the current feature is frozen.
|
|
61
|
+
- Do not rely on conversation memory for unpersisted requirement details.
|
|
62
|
+
- Do not make page-invisible fields required. If the backend needs a field not shown in the UI, mark it as backend default or backend-derived.
|
|
63
|
+
- Stop whenever the programmer has not confirmed the AI understanding or the rough API draft.
|
|
64
|
+
|
|
65
|
+
## Required Outputs
|
|
66
|
+
|
|
67
|
+
Create or update these files in the active OpenSpec change directory:
|
|
68
|
+
|
|
69
|
+
- `source-ingestion.md`: source documents, read ranges, screenshots, attachments, failed reads.
|
|
70
|
+
- `feature-gates.md`: per-feature status and gates.
|
|
71
|
+
- `feature-inventory.md`: all discovered features and whether they reached spec/task/tests.
|
|
72
|
+
- `ui-contract.md`: page fields, controls, buttons, list columns, dropdowns, API/DTO/DB mapping.
|
|
73
|
+
- `gap-analysis.md`: UI/document/source gaps and over-design risks.
|
|
74
|
+
- `spec-freeze-review.md`: freeze card for the current feature.
|
|
75
|
+
- Platform impact evidence in one of the above documents: discovery method,
|
|
76
|
+
understand-anything index status when available, analyzed platform scope,
|
|
77
|
+
impacted modules/interfaces/tables, regression risks, source/DB/API
|
|
78
|
+
confirmation plan, and validation approach.
|
|
79
|
+
- Existing-code/data relationship evidence in one of the above documents when
|
|
80
|
+
applicable: graph scope, source anchors, database checks or reason skipped,
|
|
81
|
+
final relationship judgment, and unresolved clarification questions.
|
|
82
|
+
- Table reverse impact evidence when database-backed behavior is involved:
|
|
83
|
+
table/field list, all read/write/filter consumers, real user-facing entry
|
|
84
|
+
points, reverse-state scenarios, and tests required to prove those consumers.
|
|
85
|
+
- Business semantic evidence when status/enum/sync/default behavior is involved:
|
|
86
|
+
source-of-truth field, enum mapping, consumer interpretation, business basis,
|
|
87
|
+
explicitly rejected fallback/default choices, and unresolved owner questions.
|
|
88
|
+
|
|
89
|
+
Use the detailed workflow in:
|
|
90
|
+
|
|
91
|
+
- `../superflow-pipeline/references/feature-gated-workflow.md`
|
|
92
|
+
- `../superflow-pipeline/references/api-design-template.md`
|
|
93
|
+
|
|
94
|
+
## Per-Feature Procedure
|
|
95
|
+
|
|
96
|
+
0. For any multi-section requirement source, build or update
|
|
97
|
+
`source-ingestion.md` and `feature-inventory.md` before analysis:
|
|
98
|
+
`source | section/page/range | candidate feature | screenshots | status`.
|
|
99
|
+
Mark every candidate as `pending`, `confirmed`, `blocked`, or `out-of-scope`.
|
|
100
|
+
Do not summarize the whole PRD into tasks before this index exists.
|
|
101
|
+
1. Read only the current feature's text, neighboring screenshots, and relevant attachments.
|
|
102
|
+
2. Output AI understanding: business goal, user action, page entry, visible fields, buttons, list columns, dropdowns.
|
|
103
|
+
3. Bind each screenshot/image to the current feature or mark it unassigned.
|
|
104
|
+
4. Write the current feature into `feature-inventory.md` and `feature-gates.md`.
|
|
105
|
+
5. Produce `ui-contract.md` rows for all visible and implied fields.
|
|
106
|
+
6. Produce `gap-analysis.md`, especially:
|
|
107
|
+
- UI has it, backend lacks it.
|
|
108
|
+
- Backend has it, UI lacks it.
|
|
109
|
+
- Document has it, UI lacks it.
|
|
110
|
+
- UI has it, document lacks it.
|
|
111
|
+
7. Identify real validation data needed by this feature, especially park codes,
|
|
112
|
+
operator/site ids, tokens, frontend payloads, external SDK data, devices,
|
|
113
|
+
payment/refund ids, exports, imports, or database seed records. If missing,
|
|
114
|
+
add a blocker instead of assuming placeholders.
|
|
115
|
+
8. For existing-code-dependent decisions, write the evidence chain:
|
|
116
|
+
platform impact discovery method, understand-anything nodes/files if used,
|
|
117
|
+
source/Mapper/XML anchors, DB query evidence or why DB was not needed. If
|
|
118
|
+
any key relation is unresolved, stop and ask only current-feature
|
|
119
|
+
clarification questions.
|
|
120
|
+
9. For database-backed behavior, add a table reverse impact table before
|
|
121
|
+
freezing:
|
|
122
|
+
`表/字段 | 写入方 | 读取/过滤方 | 跨仓/外部消费方 | 真实入口 | 反向状态场景 | 必测用例`.
|
|
123
|
+
If any consumer or real entry is unknown, mark the feature blocked.
|
|
124
|
+
10. For status/enum/sync/default behavior, add a semantic mapping table before
|
|
125
|
+
freezing:
|
|
126
|
+
`真源字段 | 真源枚举 | 目标字段 | 目标枚举 | 消费方解释 | 业务依据 | 不确定项`.
|
|
127
|
+
If a proposed default, fallback, old-value retention, or null conversion is
|
|
128
|
+
not explicitly approved by the requirement or owner, mark it rejected and do
|
|
129
|
+
not include it in the design.
|
|
130
|
+
11. Ask only current-feature clarification questions.
|
|
131
|
+
12. Wait for programmer confirmation.
|
|
132
|
+
13. Draft a rough API contract: path, action, core request, core response. Field types can be approximate.
|
|
133
|
+
14. Wait for programmer confirmation of the rough API.
|
|
134
|
+
15. Produce a precise API section with field names, types, requiredness, defaults, enums, errors, examples, and curl.
|
|
135
|
+
16. Mark the feature as `已冻结` only when understanding, rough API, precise API,
|
|
136
|
+
and validation data needs are confirmed or explicitly blocked.
|
|
137
|
+
17. Only after the current feature is frozen or blocked, move to the next
|
|
138
|
+
indexed feature. Do not batch-confirm multiple features from memory or a
|
|
139
|
+
compressed chat summary.
|
|
140
|
+
|
|
141
|
+
## Handoff
|
|
142
|
+
|
|
143
|
+
When the feature is frozen, tell the user to continue with `$openspec-propose`
|
|
144
|
+
for OpenSpec document generation. After `$openspec-propose` creates the base
|
|
145
|
+
artifacts, use `$superflow-docs` only for SDD quality gates, traceability, API/test
|
|
146
|
+
evidence, and prompt handoff checks.
|