cspec-discover
SKILL.md
C-Spec Discover
Discovers and inventories all vertical slices for an MVP, outputting a structured manifest to .cspec/manifest.md.
Input Mode Detection
Determine mode from context:
- User provides a document (file path or pasted content) → document-driven or hybrid mode
- No document provided → interactive interview mode
Re-run Behavior
If .cspec/manifest.md already exists, present the existing slices and ask the user:
- Amend — Add, remove, or modify slices in the existing manifest. Preserve statuses of existing slices.
- Start fresh — Discard existing manifest and begin discovery from scratch. Warn that this does not delete already-written slice spec files.
Interactive Process
- Understand the product — Ask what it is, who it's for, what problem it solves. One question at a time. Prefer multiple choice when possible.
- Identify features — Ask about the major user-facing capabilities.
- Break into vertical slices — Each slice is one user flow at user-story granularity (e.g., "user signs up with email" not "authentication system"). One flow per slice.
- Group into domains — Cluster related slices under domain names (e.g., auth, billing, content).
- Determine ordering — Identify dependencies between slices and assign priority. Slices with no dependencies come first.
- Present for validation — Show the complete slice inventory to the user for review before writing the manifest.
Document-Driven Process
- Read the document — Analyze the provided brief, PRD, or product description.
- Extract slices and domains — Identify vertical slices and group them.
- Present findings — Show extracted slices to the user for validation.
- Fill gaps (hybrid) — Ask follow-up questions one at a time for anything unclear or missing from the document.
- Finalize — Confirm the complete inventory with the user before writing.
Manifest Output
Write the manifest to .cspec/manifest.md using this template:
# [Product Name] — Manifest
## Product Summary
[Brief description of the product, target users, and core value proposition]
## Tech Preferences
[Any tech stack preferences or constraints expressed during discovery, or "None specified"]
## Domains
### [Domain Name]
[Brief description of this domain's scope]
### [Domain Name]
[Brief description of this domain's scope]
## Slice Inventory
| Slice | Domain | Description | Priority | Dependencies | Status |
|-------|--------|-------------|----------|--------------|--------|
| [slice-name] | [domain] | [One-line description] | [1-N] | [comma-separated slice names, or "none"] | unwritten |
All slices start with status unwritten. Priority 1 is highest (build first).
Completion
After writing the manifest, inform the user:
"Manifest written to
.cspec/manifest.mdwith [N] slices across [N] domains. Run/cspec-writeto begin writing slice specs."
Weekly Installs
2
Repository
carlelieser/cspecFirst Seen
Mar 18, 2026
Security Audits
Installed on
amp2
cline2
opencode2
cursor2
kimi-cli2
codex2