deep-spec
/deep-spec
Use when authoring or reviewing a deep-work executable goal contract, /deep-spec or $deep-work:deep-spec.
- Author
- sungmin-cho ↗
- Repository
- deep-work ↗
- Licence
- MIT
- Last repository change
- 14.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when authoring or reviewing a deep-work executable goal contract, /deep-spec or $deep-work:deep-spec.
Original author description
Use when authoring or reviewing a deep-work executable goal contract, /deep-spec or $deep-work:deep-spec.
How it works
SKILL.md has no level-two headings · 19 lines, 317 words
SKILL.md preview
---
name: deep-spec
description: "Use when authoring or reviewing a deep-work executable goal contract, /deep-spec or $deep-work:deep-spec."
user-invocable: true
---
# Author the executable goal contract
Resolve the plugin root to a literal absolute path. Before reading or running any plugin file, resolve its real path and require containment in that root. All `${CLAUDE_PLUGIN_ROOT}` paths below mean that verified root.
Resolve `--session=ID` from `$ARGUMENTS`; otherwise run `node "${CLAUDE_PLUGIN_ROOT}/scripts/deep-work-runtime.js" session context`. Read the returned state path and its `work_dir`; never guess a work directory or change the active pointer to another session. Validate with `session authority validate --state "$STATE_FILE"`. Use the runtime's phase-aware result: a legitimate pre-plan session does not require a plan that has not been created.
Read `${CLAUDE_PLUGIN_ROOT}/skills/shared/references/runtime-execution-spine.md`. The runtime owns phase, approval, write, review and receipt mutations. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/deep-work-runtime.js" --help` for exact current route arguments; consume returned IDs/digests rather than inventing them.
Read the task, relevant research and `${CLAUDE_PLUGIN_ROOT}/skills/shared/templates/spec-template.md`. Write `$WORK_DIR/spec.md` with concrete observable requirements and acceptance conditions. Low risk may use empty inapplicable invariant/failure/negative-test arrays; do not manufacture a failing test for a documentation edit. Medium+ and High/Critical retain their validated coverage requirements.
Choose evidence gates matching the planned basis: strict RED/GREEN for strict requirements, outcome positive/control gates for outcome requirements. Keep non-goals, compatibility and material unresolved questions explicit.
For the normal automated flow, draft plan.md alongside the Spec now. Read `${CLAUDE_PLUGIN_ROOT}/skills/shared/references/planning-guide.md` and its contained plan template. Omit mechanical metadata that the runtime derives from this Spec and current session. Read `${CLAUDE_PLUGIN_ROOT}/skills/shared/references/review-approval-workflow.md` and follow its combined Spec+Plan preview, independent review and approval sequence. Preview catches contract errors before spending a review call; it is not approval.
Consume the runtime-produced approval ref with `phase spec approve --state "$STATE_FILE" --artifact "$WORK_DIR/spec.md" --at "$NOW" --approval-ref-json "$APPROVAL_REF"`. An exact unchanged combined review can also authorize the later Plan approval; do not run it twice. An explicitly selected human-gates policy requires actual exact artifact confirmation, never an invented declaration.
Call `phase continue --state "$STATE_FILE"` after approval under existing authorization. Report the artifact and any concrete unresolved goal decision.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · sungmin-cho/deep-work | 81 | MIT |
| onur-aslan/sdd | 100 | MIT |
Database snapshot: 13.11.2026 · package version 65617475e3aa (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 81deep-plan
Use when authoring or revising the implementation plan for an approved deep-work goal. - 100spec-authoring
Write a spec before building — capturing requirements, design, and tasks in order, with traceability between them. Use when starting any non-trivial feature so work is planned before code is written (Spec/Skill-Driven Development). - 81deep-work-orchestrator
Use when starting or continuing a deep-work task with durable goal, verification and completion evidence. - 95deep-design
The single entry point for ALL design and specification work. Use when designing, specifying, architecting, writing a spec, RFC, design doc, or drafting a design for any system, feature, product, protocol, game, or workflow. Trigger phrases include "design this", "architect… - 100requirements-interview
Conduct deep multi-round requirements interviews to produce executable SPEC, PRD, and PLAN drafts. Use when user says "clarify requirements", "采访需求", "extract requirements", "define scope", "analyze needs", or when requirements are ambiguous and need interactive clarification.… - 100flow-next-spec-completion-review
Spec completion review - verifies all spec tasks implement the spec requirements. Triggers on /flow-next:spec-completion-review.