SDD Cursor Commands

June 22, 2026 · View on GitHub

Cursor 3.8+ Cursor 3.8 optimized

Full reference for SDD v6.0. For a quick start, see the README.

What's NewCommandsMemorySubagents & SkillsWorkflowsArchitectureProject Structure


What's New in v6.0

  • Cursor 3.8 throughout — Aligned to the latest runtime (was 3.2). New badges, docs, and command guidance.
  • Pluggable Memory — Optional long-term memory with three backends: standard (rules-only, default), cursor-native (Cursor 3.8 Memories), and mem0 (free self-host). Configure with /sdd-memory; agents recall before planning and persist durable facts after. See Memory.
  • Native Review integrationsdd-reviewer and /audit now lean on /review (Bugbot + Security Review) for mechanical checks and own the spec-compliance verdict.
  • Cloud Subagents/execute-parallel and sdd-orchestrator can offload long-running, risky, or environment-heavy tasks via /in-cloud, and prep PRs with /babysit. Ships .cursor/environment.json for fast cloud startup.
  • Removed session/logging hooks — Dropped the noisy stop/subagentStop log hooks (.cursor/hooks.json, .session-log.txt). Cursor's own UI already surfaces this. Less clutter, fewer moving parts.
  • Deep Research — Multi-pass external investigation with web search, documentation deep-dives, and confidence scoring (/research --deep).
  • File Conflict Detection — Tasks declare touchedFiles so the orchestrator prevents parallel edits to the same files.
  • Progressive Context Loading — Heavy roadmaps (40+ tasks) load only the current batch.
  • Checkpoints & Resumeexecution-checkpoint.json enables /execute-parallel --resume.
  • Downstream Propagation/evolve marks stale downstream docs when a spec changes.
  • Sandbox Controls — Granular network access via .cursor/sandbox.json.
  • Plugin Packaging — Distributable as a Cursor Marketplace plugin (.cursor-plugin/).

Commands

Planning

CommandPurposeOutput
/brief30-min quick planningfeature-brief.md
/researchPattern investigation (supports --deep)research.md
/specifyDetailed requirementsspec.md
/planTechnical architectureplan.md
/tasksTask breakdowntasks.md
/generate-prdPRD via Socratic questionsfull-prd.md
/sdd-full-planComplete project roadmaproadmap.json + tasks

Execution

CommandPurpose
/implementExecute implementation with todo tracking
/execute-taskRun single task from roadmap (--until-finish supported)
/execute-parallelParallel DAG execution via async subagents (--resume, --dry-run)

Maintenance

CommandPurpose
/evolveUpdate specs with discoveries + downstream propagation
/refineIterate on specs through discussion
/upgradeBrief → Full SDD planning
/auditCompare implementation against specs (folds in native /review)
/generate-rulesAuto-generate coding rules
/sdd-memoryConfigure the memory backend (standard / cursor-native / mem0)

Native Cursor 3.8 tools SDD plugs into

ToolHow SDD uses it
/review, /review-bugbot, /review-securitysdd-reviewer + /audit run these for fast Bugbot/Security checks, then add spec compliance
/in-cloudsdd-orchestrator / /execute-parallel offload long-running or risky tasks to isolated cloud VMs
/babysitHand a finished task's PR to a cloud agent to reach merge-ready
/multitaskQuick ad hoc parallel prompts with no SDD roadmap state
MemoriesThe cursor-native memory provider stores durable facts as Cursor Memories

Memory

SDD ships an optional, pluggable memory layer so agents can recall prior decisions, conventions, and gotchas across sessions — or stay completely stateless. The active backend lives in .sdd/config.jsonmemory and is managed with /sdd-memory.

ProviderSetupCostBest for
standard (default)NoneFreeSolo work, max portability, or Privacy Mode users. Relies only on .cursor/rules/ + specs/.
cursor-nativeToggle onFree (Free/Pro/Team)Anyone on Cursor 3.8 — durable facts captured as Cursor Memories, editable/deletable in the UI.
mem0mem0 MCP / local APIFree (self-host)Semantic, cross-session/cross-project recall you fully control (works even in Privacy Mode if self-hosted).

About cursor-native: Cursor Memories is available on all plans (Free, Pro, Team) at the individual, per-project level — it is not a Team-plan feature. Enable it at Settings → Rules → "Generate Memories." It does require Privacy Mode off (it needs server-side state); if you run Privacy/Ghost mode, use standard or a self-hosted mem0 instead.

How it works: the sdd-memory skill recalls relevant memories before planning/implementation and persists durable discoveries afterward. It never stores secrets, tokens, or file dumps. When the provider is standard, it is a no-op — the toolkit stays dependency-free.

/sdd-memory                  # interactive picker + status
/sdd-memory use cursor-native
/sdd-memory use mem0
/sdd-memory off              # back to standard

Adding another free/local backend is just a new entry under memory.providers plus a recipe in .cursor/skills/sdd-memory/references/providers.md — no agent changes required.


Subagents & Skills

Subagents (.cursor/agents/)

Specialized agents with isolated context. Background agents run asynchronously — the parent continues working.

SubagentModelModePurpose
sdd-explorerinheritforeground, readonlyCodebase discovery
sdd-plannerinheritforegroundArchitecture design
sdd-implementerinheritbackgroundCode generation
sdd-verifierinheritforegroundPost-implementation completeness check
sdd-reviewerinheritforeground, readonlyPre-merge quality review
sdd-orchestratorinheritbackgroundParallel task coordination with DAG

Reviewer vs Verifier: The reviewer is a pre-merge quality gate (security, performance, style). The verifier is a post-implementation completeness check (does the code match the spec?). Verifier answers "is it done?", Reviewer answers "is it good?"

Subagent Tree

Subagents can spawn their own subagents to any depth, enabling true parallel DAG execution:

sdd-orchestrator (background)
├── sdd-implementer (task 1) → sdd-verifier
├── sdd-implementer (task 2) → sdd-verifier
└── sdd-implementer (task 3) → sdd-verifier

Skills (.cursor/skills/)

Auto-invoked domain knowledge packages with progressive loading:

SkillAuto-Invoke WhenKey References
sdd-researchTechnical approach unclearpatterns.md, deep-research-guide.md
sdd-planningSpec exists, need planestimation-heuristics.md, diagram-templates.md
sdd-implementationPlan ready for executionpatterns.md, progress.sh
sdd-auditCode review requestedchecklist.md, validate.sh
sdd-evolveDiscoveries during developmentchangelog-format.md, propagation-guide.md, check-staleness.sh
sdd-memoryStart/finish of planning or implementationproviders.md

Each skill folder contains:

sdd-[name]/
├── SKILL.md          # Core instructions
├── references/       # Loaded on demand
├── scripts/          # Executable helpers
└── assets/           # Templates

Workflows

flowchart LR
    subgraph quick [Quick Planning]
        A["/brief"] --> B["/evolve"]
        B --> C["/refine"]
    end
    subgraph full [Full Planning]
        D["/research"] --> E["/specify"] --> F["/plan"] --> G["/tasks"] --> H["/implement"]
    end
    subgraph parallel [Parallel Execution]
        I["/sdd-full-plan"] --> J["/execute-parallel"]
    end
FlowCommands
Quick (80% of features)/brief/evolve/refine
Full (complex features)/research/specify/plan/tasks/implement
Deep Research (unfamiliar domain)/research --deep/specify/plan/tasks/implement
Parallel (project roadmap)/sdd-full-plan/execute-parallel
Heavy App (20+ tasks)/sdd-full-plan (Option C: Phased for 40+) → /execute-parallel --until-finish

Heavy App Path

For new apps with 20+ tasks or enterprise complexity:

  1. /sdd-full-plan [project-id] [description] — create roadmap with DAG
  2. For 40+ tasks: choose Option C: Phased Creation to create epics incrementally
  3. /execute-parallel [project-id] --until-finish — run all tasks with conflict detection
  4. /execute-parallel [project-id] --resume — resume after interruption via checkpoint

Deep Research

For high-stakes technical decisions (database engines, auth providers, cloud platforms):

/research auth-provider Compare Auth0 vs Clerk vs Supabase Auth --deep

Deep research performs 4 passes: landscape scan → documentation deep-dive → real-world validation → integration feasibility. Results include source URLs, reliability ratings, and a confidence assessment.

Automated Execution

# Execute until complete
/execute-task epic-001 --until-finish

# Create and execute entire project
/sdd-full-plan my-project --until-finish

Architecture

graph TD
    User["User Request"] --> MainAgent["Main Agent"]
    MainAgent -->|foreground| Explorer["sdd-explorer"]
    MainAgent -->|foreground| Planner["sdd-planner"]
    MainAgent -->|background| Orchestrator["sdd-orchestrator"]
    MainAgent -->|background| Implementer["sdd-implementer"]
    MainAgent -->|foreground| Reviewer["sdd-reviewer"]

    Orchestrator -->|"conflict check"| BatchSelector["Batch Selector"]
    BatchSelector -->|spawns| Impl1["implementer (task 1)"]
    BatchSelector -->|spawns| Impl2["implementer (task 2)"]
    BatchSelector -->|spawns| Impl3["implementer (task 3)"]

    Orchestrator -->|checkpoint| Checkpoint["execution-checkpoint.json"]

    Implementer -->|spawns| Verifier["sdd-verifier"]
    Impl1 -->|spawns| V1["verifier"]
    Impl2 -->|spawns| V2["verifier"]
    Impl3 -->|spawns| V3["verifier"]

Project Structure

.cursor/
├── agents/           # 6 subagents (foreground + background)
├── skills/           # 6 skills with progressive loading (incl. sdd-memory)
├── commands/         # Slash commands
├── rules/            # Always-applied rules
├── environment.json  # Cloud agent environment setup (3.7+)
└── sandbox.json      # Network access controls

.cursor-plugin/
└── plugin.json       # Cursor Marketplace manifest

.sdd/
├── config.json       # Project configuration (incl. memory provider)
├── guidelines.md     # Methodology guide
├── ROADMAP_FORMAT_SPEC.md  # Roadmap JSON schema (with DAG)
├── FULL_PLAN_EXAMPLES.md   # Worked examples at 3 complexity levels
├── templates/        # Document templates (compact + specialized)
└── archive/          # Historical implementation docs

specs/
├── active/           # Features in development
├── backlog/          # Future features
├── todo-roadmap/     # Project roadmaps with DAG
└── completed/        # Delivered features

Cloud & Sandbox

Cloud environment (.cursor/environment.json)

Captures how cloud agents (/in-cloud, /babysit) set up their VM so they start fast. This toolkit is prompt/markdown-only, so the default install step is a no-op — point it at your project's real install/build commands when you adopt SDD in an app repo. See the Cursor cloud docs.

Sandbox (.cursor/sandbox.json)

Granular network access controls for sandboxed commands. Defaults allow common package registries (npm, pypi, GitHub, Docker, Deno) while denying private networks. Customize by editing .cursor/sandbox.json.


Templates

Available in .sdd/templates/:

TemplatePurpose
feature-brief-v2.mdQuick 30-min planning brief
spec-compact.mdRequirements specification
plan-compact.mdTechnical plan (with heavy-app extensions)
tasks-compact.mdTask breakdown
research-compact.mdResearch findings
todo-compact.mdImplementation checklist
audit-report.mdStructured audit output
changelog.mdSpec evolution log
progress-report.mdExecution progress summary
retrospective.mdPost-mortem / lessons learned
roadmap-template.jsonKanban JSON structure
roadmap-template.mdHuman-readable roadmap
decision-matrix.mdBrief vs Full SDD decision guide

Plugin Distribution

SDD is packaged as a Cursor Marketplace plugin. Install via /add-plugin or clone the repo directly. See .cursor-plugin/plugin.json for the manifest.


Contributing