一键导入
manifold-m-quick
Light mode: 3-phase workflow for simple changes. Use instead of full workflow for bug fixes, small features, or quick iterations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Light mode: 3-phase workflow for simple changes. Use instead of full workflow for bug fixes, small features, or quick iterations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backward reasoning from desired outcome. Derives required conditions by asking 'What must be TRUE?'
Verify ALL artifacts against ALL constraints. Produces a verification matrix showing coverage and gaps
Generate parallel execution plan from constraint network. Identifies waves, critical path, and bidirectional dependencies
Initialize a constraint manifold for a feature. Creates .manifold/<feature>.json + .manifold/<feature>.md
Interview-driven constraint discovery across 5 categories (business, technical, UX, security, operational)
Surface and resolve constraint conflicts (trade-offs). Identifies direct conflicts, resource tensions, and competing requirements
| name | manifold-m-quick |
| description | Light mode: 3-phase workflow for simple changes. Use instead of full workflow for bug fixes, small features, or quick iterations. |
Streamlined 3-phase workflow for simple changes that don't require full constraint analysis.
Discipline: This command follows
references/execution-discipline.md— the Iron Law of verification, the never-start-on-mainrule, and the Red Flags below.
| Scenario | Use Light Mode? | Use Full Workflow? |
|---|---|---|
| Bug fix (single file) | YES | No |
| Add simple feature | YES | No |
| Refactor existing code | YES | No |
| New system/subsystem | No | YES |
| Cross-cutting concern | No | YES |
| Security-critical change | No | YES |
| Multi-team coordination | No | YES |
Rule of Thumb: If you can describe the change in one sentence, use light mode.
FULL WORKFLOW (7 phases):
INITIALIZED → CONSTRAINED → TENSIONED → ANCHORED → GENERATED → VERIFIED
↑ |
└──────────────────── (iteration) ─────────────────────────────┘
LIGHT MODE (3 phases):
CONSTRAINED → GENERATED → VERIFIED
↑ |
└─── (quick fix) ───────┘
/manifold:m-quick <feature-name> [--outcome="<brief description>"]
Simplified constraint discovery focusing on:
Questions to answer:
Generate artifacts with minimal ceremony:
Lightweight verification:
User: /manifold:m-quick fix-login-timeout --outcome="Fix 504 timeout on login"
Response:
LIGHT MODE: fix-login-timeout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUICK CONSTRAIN (1/3)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Constraints:
- T1 [boundary]: Login must complete in <5s
- T2 [invariant]: Auth token must be valid
- T3 [goal]: Reduce timeout errors by 95%
No formal tension analysis needed.
QUICK GENERATE (2/3)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Files to create/modify:
- src/auth/login.ts (modify timeout handling)
- tests/auth/login.test.ts (add timeout test)
[Implementation proceeds...]
QUICK VERIFY (3/3)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ T1: Login completes in 2.3s (< 5s boundary)
✓ T2: Auth token valid in all test cases
✓ T3: Timeout errors: 0 in test suite
COMPLETE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Light mode workflow complete.
Upgrade to full workflow? /manifold:m0-init fix-login-timeout --from-quick
Light mode creates a minimal manifold for traceability:
.manifold/fix-login-timeout.json (structure):
{
"schema_version": 3,
"feature": "fix-login-timeout",
"phase": "VERIFIED",
"mode": "light",
"constraints": {
"technical": [
{ "id": "T1", "type": "boundary" },
{ "id": "T2", "type": "invariant" },
{ "id": "T3", "type": "goal" }
],
"business": [], "user_experience": [], "security": [], "operational": []
},
"tensions": [],
"anchors": { "required_truths": [] },
"iterations": [],
"convergence": { "status": "CONVERGED" },
"quick_summary": {
"started": "2026-01-21T10:00:00Z",
"completed": "2026-01-21T10:15:00Z",
"files_changed": 2,
"tests_added": 1
}
}
.manifold/fix-login-timeout.md (content):
# fix-login-timeout
## Outcome
Fix 504 timeout on login
## Constraints
### Technical
#### T1: Login Response Time
Login must complete in <5s
#### T2: Auth Token Validity
Auth token must be valid
#### T3: Timeout Error Reduction
Reduce timeout errors by 95%
If a "simple" change turns out to be complex:
/manifold:m0-init <feature> --from-quick
This:
| Aspect | Light Mode | Full Workflow |
|---|---|---|
| Phases | 3 | 6 |
| Constraints | 1-3 key | Comprehensive (5 categories) |
| Tensions | Inline | Formal analysis |
| Anchoring | Skip | Backward reasoning |
| Artifacts | Code + tests | Code + tests + docs + ops |
| Time | Minutes | Hours to days |
| Traceability | Basic | Complete |
Start Light, Upgrade if Needed
/manifold:m-quick for new workDon't Force Light Mode
Keep the Trail
Before proceeding with light mode, check the feature name and outcome for security-relevant keywords: auth, token, password, permission, secret, encrypt, certificate, credential, oauth, session, login.
If any keyword is detected, use AskUserQuestion:
"This feature appears security-related (detected: [keyword]). Security changes benefit from full constraint analysis (GAP-09 crypto/auth checks, GAP-10 resource exhaustion). Would you like to: A. Switch to full workflow (
/manifold:m0-init <feature>) B. Continue with light mode (I understand the risk)"
If the user chooses B, proceed with light mode but note the override in the manifold.
When this command is invoked:
.manifold/ directory if neededmode: lightmanifold validate <feature> — the light-mode manifold must pass schema validation before displaying results. Fix any errors; do not display the confirmation summary until validation passes.After creating manifold files, you MUST run validation before showing results:
manifold validate <feature>
If validation fails, fix the JSON structure before proceeding. The light-mode manifold must conform to the same schema as full-mode manifolds.
/manifold:m0-init - Full workflow initialization/manifold:m-status - Check manifold status (works with light mode)/manifold:m5-verify - Full verification (can be run on light mode manifolds)AskUserQuestion tool with structured options. NEVER ask questions as plain text without options./manifold:mN-xxx <feature>) and a one-line explanation of what the next phase does.AskUserQuestion with labeled choices (A, B, C) and descriptions.| Thought | Reality |
|---|---|
| "Quick means skip verification" | Light mode still verifies — the Iron Law applies. |
| "This is too small for a manifold" | If it needs changing, it needs constraints. |
| "Generated it, so it's done" | Run the verification command before any completion claim. |