spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

feat: add Claude Code plugin for spec-kit commands

Open HamedMP opened this issue 10 months ago • 9 comments

Summary

  • Adds a complete Claude Code plugin that provides spec-driven development workflow commands
  • Includes 9 slash commands mirroring the existing template commands
  • Adds an SDD (Spec-Driven Development) skill for automatic methodology guidance
  • Includes marketplace.json for easy plugin distribution

Plugin Structure

plugin/
├── .claude-plugin/
│   ├── plugin.json          # Plugin manifest
│   └── marketplace.json     # Marketplace catalog
├── commands/
│   ├── constitution.md      # /speckit:constitution
│   ├── specify.md           # /speckit:specify
│   ├── clarify.md           # /speckit:clarify
│   ├── plan.md              # /speckit:plan
│   ├── tasks.md             # /speckit:tasks
│   ├── implement.md         # /speckit:implement
│   ├── analyze.md           # /speckit:analyze
│   ├── checklist.md         # /speckit:checklist
│   └── taskstoissues.md     # /speckit:taskstoissues
└── skills/
    └── spec-driven-development/
        └── SKILL.md          # SDD methodology guidance

Installation

Users can install via:

# Option 1: Direct plugin directory
claude --plugin-dir ./plugin

# Option 2: As marketplace (once merged)
/plugin marketplace add github/spec-kit --path plugin
/plugin install speckit@speckit-plugins

Test plan

  • [ ] Verify plugin loads with claude --plugin-dir ./plugin
  • [ ] Test /speckit:specify command creates spec correctly
  • [ ] Verify skill activates when discussing SDD methodology
  • [ ] Confirm marketplace.json validates correctly

HamedMP avatar Jan 08 '26 15:01 HamedMP

Hey @HamedMP, thanks for putting this together. I'm a daily Claude Code user so this caught my eye.

Genuine question: what's the practical advantage of wrapping the spec-kit templates as a Claude Code plugin versus just referencing them directly in a project's CLAUDE.md or as slash commands pointing at the existing markdown files?

I can see the discoverability angle (someone installs the plugin and gets all 9 commands ready to go), but I'm wondering if you've found specific workflow benefits in practice. For example, does the SDD skill meaningfully change how Claude Code reasons about the spec workflow compared to just including the methodology in project context?

Curious to hear your experience with it

adamkwhite avatar Feb 01 '26 15:02 adamkwhite

hi @adamkwhite, from my experience, discoverability has been the main advantage, both for humans and agents.

when it comes to agent, it has 2 consequences:

  1. skills are always available in the context, with short command names, if working with SDD, more likely to be invoked without explicit prompt
  2. they can be installed user wide, i use SDD extensively, and didn't like installing it per repo. this way i have it at my ~/.claude skills and all my current and future projects get to have SDD workflow.

HamedMP avatar Feb 09 '26 14:02 HamedMP

One benefit this would give to us: we have initialised spec kit in ~6 repos in our org.

When there's an update to the skill files, we have to update them in each repo. If we had a single marketplace, we could just add that, enable auto-update, and we'd automatically get the updated versions across all our repos

One update to this proposal I'd make, now things have changed: specify now outputs the skills to .claude/skills, in your screenshot it looks like you are using the deprecated .claude/commands directory 👍

echarrod avatar May 11 '26 13:05 echarrod

Also is the spec-driven-development/ skill necessary? Won't having the other spec kit skills remove the need for that?

echarrod avatar May 11 '26 13:05 echarrod

Is it possible to add extension when speckit is installed via marketplace?

yskkin avatar May 11 '26 15:05 yskkin

Sorry, but this will not be accepted as a contribution as this would deliver a stale, scaffolded out version of the skills that violate the coding agent agnostic design. This is the reason why the specify CLI exist. If you need better integration for Claude it should be delivered as part of the specify CLI and the Claude integration

mnriem avatar May 11 '26 20:05 mnriem

Is it possible to add extension when speckit is installed via marketplace?

No that is what you completely lose with that

mnriem avatar May 11 '26 20:05 mnriem

Hello, would you entertain a "contrib/" style submission for this feature?

jeremyeder avatar May 21 '26 19:05 jeremyeder

@jeremyeder We have a dedicated section in our documentation that link to our friends. See https://github.github.com/spec-kit/community/friends.html

If you host your own GitHub repository we can link it from there

mnriem avatar May 26 '26 13:05 mnriem