Skip to content

Consolidate skills 11→5 and make SDD complement superpowers - #1

Merged
sebastian-iancu merged 3 commits into
mainfrom
refactor/consolidate-skills
Jun 18, 2026
Merged

Consolidate skills 11→5 and make SDD complement superpowers#1
sebastian-iancu merged 3 commits into
mainfrom
refactor/consolidate-skills

Conversation

@sebastian-iancu

Copy link
Copy Markdown
Contributor

Summary

Refactors the plugin's component surface from 11 skills → 5 and re-scopes it to be complementary to the superpowers plugin rather than overlapping it. SDD now owns only the spec / document / traceability layer; the generic engineering loop (explore, plan, TDD, execute, verify, code-review, branch-finish) is delegated to superpowers.

Combined flow:

superpowers:brainstorming → sdd-specify → superpowers:writing-plans → executing-plans/TDD
   → sdd-trace + superpowers:verification-before-completion → sdd-archive + superpowers:finishing-a-development-branch

What changed

  • Skills 11→5: merged sdd-requirement+sdd-spec+sdd-adrsdd-specify; refocused sdd-trace (traceability/drift gate) and sdd-archive (document-side Definition of Done); rewrote spec-driven-development as the SDD↔superpowers integration map. Kept sdd-scaffold.
  • Removed (capability preserved elsewhere): sdd-plan/sdd-implement → superpowers; sdd-verifysdd-trace + sdd-archive + superpowers; sdd-gapreferences/cross-repo-gap.md.
  • Agents (2, read-only): trimmed descriptions, added ## When to invoke sections; sdd-doc-reviewer scoped to SDD documents (not code); sdd-traceability-auditor kept self-contained.
  • References: new sdd-with-superpowers.md (boundary + the docs/superpowers/* → canonical-tree path redirect).
  • Cross-host hardening: sdd-scaffold resolves bundled templates host-agnostically (Glob fallback for Cursor); cursor-hooks.json adds "version": 1; thinned rules/sdd-context.mdc.

Impact

  • User-facing /sdd-* commands: 10 → 4 (scaffold, specify, trace, archive) + the router.
  • Always-on description cost: ~−49% vs the initial build.
  • scripts/validate.py ✓ · claude plugin validate . ✓ · public-safety scan clean.

Notes for the reviewer

  • Breaking (skill renames/removals) — pre-1.0, so shippable in a minor; consider tagging 0.2.0 on merge.
  • Unverified, needs a Cursor dogfood: whether Cursor exposes a plugin-root variable and whether cursor-hooks.json version: 1 fires correctly. Code works either way (Glob fallback; additive field).
  • Open call: whether to drop sdd-traceability-auditor (overlaps sdd-trace's scan; kept for context-isolated whole-repo audits).

🤖 Generated with Claude Code

sebastian-iancu and others added 3 commits June 18, 2026 15:36
Scope SDD to the spec/document/traceability layer and defer the engineering
loop (planning, TDD, execution, generic verification, code review,
branch-finishing) to the superpowers plugin.

- Skills 11→5: merge requirement+spec+adr into sdd-specify; refocus sdd-trace
  (traceability/drift gate) and sdd-archive (document-side Definition of Done);
  rewrite the spec-driven-development router as the SDD↔superpowers integration
  map. Command surface 10→4; always-on description cost ~-33%.
- Remove sdd-requirement/spec/adr (→sdd-specify), sdd-plan/sdd-implement
  (→superpowers), sdd-verify (→sdd-trace+sdd-archive+superpowers), sdd-gap
  (→references/cross-repo-gap.md).
- Add references/sdd-with-superpowers.md (boundary + docs/superpowers path
  redirect) and references/cross-repo-gap.md.
- Trim both agents to 2 examples; scope sdd-doc-reviewer to SDD docs, not code.
- Propagate across router, scaffold templates, hooks, Cursor rule, README,
  AGENTS.md, docs, issue templates, and CHANGELOG.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…-invoke

Address QA review (F1/F3 + Cursor feedback):
- Agents: cut sdd-doc-reviewer / sdd-traceability-auditor descriptions from
  ~1.8k to ~1.05k chars (one example each); move triggering detail into a
  "When to invoke" body section (on-load, not always-on).
- Skills: tighten sdd-specify / sdd-trace / sdd-archive descriptions; sharpen
  sdd-specify anti-triggers (existing-§ edit; traceability audit).
- Trim duplicated superpowers handoff prose in skill bodies; keep the
  contextual one-liner handoffs (the full map stays in the router + reference).
- Always-on description cost ~1,614 → ~1,212 tokens (agents 55% → 44%).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… auditor self-contained

Builds on a Cursor-agent review pass, with two corrections:
- sdd-scaffold: resolve bundled templates host-agnostically — ${CLAUDE_PLUGIN_ROOT}
  with a Glob fallback for Cursor/other installs (fixes Claude-only template lookup);
  fold the superpowers redirect into step 4.
- cursor-hooks.json: add "version": 1.
- Thin rules/sdd-context.mdc (~50%); dedup superpowers routing in the router and the
  worker skills to one-liners + references/sdd-with-superpowers.md.
- sdd-traceability-auditor: keep the drift-class list INLINE — an isolated agent can't
  load the sdd-trace skill, so self-containment beats the dedup.
- Don't assert an unconfirmed ${CURSOR_PLUGIN_ROOT} in docs; lead on the Glob fallback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sebastian-iancu
sebastian-iancu merged commit c00c9ea into main Jun 18, 2026
1 check passed
@sebastian-iancu
sebastian-iancu deleted the refactor/consolidate-skills branch June 18, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant