Skip to content
Back to skills

Sdd Next

ASecurity

Suggest next unblocked SDD tasks to assign across per-spec indexes.

  • 34 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentsgoshellrailsgit

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add phenobarbital/ai-parrot --skill sdd-next --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sdd Next?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sdd Next
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phenobarbital-sdd-next/badge)](https://www.skillsdirectory.com/skills/phenobarbital-sdd-next)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sdd-next
description: Suggest next unblocked SDD tasks to assign across per-spec indexes.
---

# SDD Next

## Full procedure and host adaptations

Before executing, read the [full sdd-next procedure](../../../.claude/commands/sdd-next.md)
and your host's adaptation contract: the [Codex adaptation contract](../../../docs/sdd/CODEX.md#codex-adaptation-contract)
on Codex, or the [Antigravity adaptation contract](../../../docs/sdd/AGY.md#antigravity-adaptation-contract) on Google Antigravity (`agy`).
Follow the full procedure for details omitted from this summary. The adaptation
contract and the Codex-specific instructions below override Claude runtime syntax
and legacy shell examples; retain all workflow gates and evidence requirements.

Use this skill when the user asks what task to work on next, runs `sdd-next`, or needs unblocked SDD assignments.

Invocation: `sdd-next`.

## Purpose

Inspect all per-spec indexes (`sdd/tasks/index/*.json`), identify tasks whose dependencies are satisfied, and suggest optimal work assignments with worktree commands.

## Guardrails

- Read-only: does not modify index or task files.
- Skip `sdd/tasks/index/_orphans.json` (orphans are displayed only by `sdd-status`).
- Only suggest tasks with `status: "pending"` where all `depends_on` tasks are `"done"`.

## Workflow

1. Aggregate tasks:
   - Read all `sdd/tasks/index/*.json` excluding `_orphans.json`.
   - Optional `--project` / `--tag` (FEAT-576): get matching spec paths from `parrot sdd docs list --kind spec --paths-only ...` and keep only indexes whose `spec` is listed.
2. Inspect worktrees:
   - Run `git worktree list` to match active feature worktrees.
   - Additionally run `parrot sdd worktree status --json` for task-level progress and `ready_for_done` flags.
   - Ignore `flow_type: "non-sdd"` entries — they have no tasks and are not suggestion candidates.
3. Compute unblocked tasks:
   - Check `status == "pending"`.
   - Verify every ID in `depends_on` has `status == "done"`.
4. Group & annotate:
   - Tasks with active worktree: suggest running `sdd-start TASK-NNN` inside the worktree.
   - Tasks needing new worktree: provide `git worktree add` command.
   - Parallel tasks: indicate `parallel: true` tasks that can run concurrently.
   - For features with `ready_for_done: true`: suggest `/sdd-done` instead of new tasks.
   - For features with worktree progress: annotate header with `(N/M done in worktree)`.
5. Sort:
   - Priority (high -> medium -> low), then effort (S -> M -> L -> XL).
6. Present list and show currently in-progress tasks.
7. (FEAT-566, best-effort) Show ready ledger issues:
   - `wikitoolkit ledger ready 2>/dev/null || true`
   - list open, unclaimed issues (discovered work with no TASK-NNN yet)
   - each entry suggests `sdd-fix <id>` (FEAT-572: plan-fix routes the issue's group to the Fast or SDD lane)
   - a missing/unbuilt ledger prints nothing here; never fatal, never blocks the rest of `sdd-next`

## References

- `sdd/tasks/index/*.json`
- `sdd/WORKFLOW.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.