Back to Skills

sdd-next

Task preparation skill for spec-driven workflows. Reads specifications, identifies next actionable tasks, and creates detailed execution plans. Use when ready to implement a task from an existing spec - bridges the gap between planning and coding.

6stars1forksUpdated 3/10/2026

Security Assessment

Safe(100/100)
Security Score100/100

About sdd-next

The sdd-next skill is designed to bridge the gap between planning and implementation in spec-driven development workflows. It reads structured specifications, identifies the next actionable tasks, and generates detailed execution plans, ensuring that work proceeds in a controlled and repeatable manner. By automating the discovery and task-selection process, sdd-next helps reduce errors, prevent context overload, and streamline the transition from planning to coding, particularly in complex projects with multiple phases and large spec files.

Key features of sdd-next include support for both single-task workflows and autonomous phase loops, strict adherence to CLI commands for spec handling, and structured context gathering to maintain continuity across tasks. The skill enforces rules that prevent direct reading of large spec JSON files, instead relying on validated commands such as `sdd prepare-task`, `sdd task-info`, and `sdd progress`. It also ensures user checkpoints are respected in single-task mode, provides automatic phase completion in autonomous mode, and maintains project context by staying within the repo root and managing spec lifecycle folders. These capabilities allow AI agents to efficiently select, plan, and hand off tasks without bypassing built-in validation or hooks.

sdd-next is ideal for AI agents and automated systems orchestrating software development tasks based on specifications. It is particularly useful for teams working with complex, structured projects where maintaining context, ensuring compliance with spec validation, and managing phase-based task completion are critical. Target users include developers, AI workflow orchestrators, and automation systems that need to transform high-level specifications into actionable and well-planned development steps, while keeping human oversight and checkpoints integrated into the process.

FAQ

How do I determine which workflow mode to use?

You should first run `sdd get-work-mode --json` to read the user's configuration. If the output is `single`, follow the single-task workflow with explicit user approvals. If it is `autonomous`, the skill will complete all tasks in the current phase automatically.

Can I read spec JSON files directly?

No. Directly reading spec JSON files using tools like `cat`, `head`, `jq`, or `grep` is prohibited because the files are large and bypass validation and hooks. Always use validated `sdd` commands like `sdd prepare-task` or `sdd task-info`.

Where should I run sdd-next commands?

All commands must be executed from the project root directory. Spec folders should follow the lifecycle mapping: `specs/pending`, `specs/active`, and `specs/completed`.

What should I do after completing a task in single mode?

After completing a task, surface the next recommended task and wait for user approval before proceeding. This ensures human checkpoints are respected and tasks are executed sequentially.

What happens if context limits are reached in autonomous mode?

The autonomous workflow will stop execution if a blocker occurs, the plan deviates, or the context usage reaches 85% or higher, to prevent overloading the system and maintain effective task management.

Install sdd-next

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill