Skip to main content
skill CX Codex

speckit-baseline — Claude Code skill: specs from existing code

This skill reads your source files and turns them into a framework-agnostic feature spec with user stories and requirements. Useful when a codebase exists but written requirements do not.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dceoy/speckit-agent-skills --skill speckit-baseline -a claude-code
Open on GitHub

What speckit-baseline does

You point the skill at a path, a file list or a glob pattern. It expands the pattern, opens the files and maps the structure: entry points, public interfaces, function signatures, data models, API routes. Language and framework come from the code itself. Then it picks a 2–4 word action-noun name and runs .specify/scripts/bash/create-new-feature.sh --json to create the feature branch and spec file, loading the template from .specify/templates/spec-template.md.

The draft covers user stories, acceptance scenarios, functional requirements, key entities and success criteria. Implementation details get abstracted: a check like user.role === 'admin' becomes a rule that only administrators may perform the action. Unclear spots are marked [NEEDS CLARIFICATION], at most 3 at a time. Inferences made during analysis go into the assumptions section, and a quality checklist lands at FEATURE_DIR/checklists/requirements.md.

You need a repo with .specify/ set up, scripts and templates included. An empty or vague target stops the skill, which then asks a focused question. Someone who knows the feature has to review the result, because a misinterpreted branch or route ends up as a wrong requirement. After that, speckit-clarify and speckit-plan pick up the spec for open questions and refactoring plans.

What it helps with

  • document an inherited codebase that has no written requirements
  • capture a feature's behaviour before refactoring it
  • recover business rules from conditionals in code
  • turn API routes and data models into formal requirements
  • flag code paths whose intent is unclear

Example prompts for the agent

  • Generate a spec from src/auth/ and list what needs clarification
  • Analyze src/services/*.ts and create a feature branch for the payments spec
  • Turn the legacy legacy/orders.py module into a specification

How to install speckit-baseline

1Skills CLI (Vercel)

npx skills add dceoy/speckit-agent-skills --skill speckit-baseline -a claude-code

2Manually: put the files in place

~/.claude/skills/speckit-baseline/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/speckit-baseline/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about speckit-baseline

How do I install speckit-baseline in Claude Code?

Run npx skills add dceoy/speckit-agent-skills --skill speckit-baseline -a claude-code. The skill lands in ~/.claude/skills/speckit-baseline/SKILL.md.

What does speckit-baseline do?

It analyzes the files you name, then creates a branch and specs/<feature>/spec.md from the Spec Kit template. The spec describes user stories, requirements and success criteria without framework specifics.

What does the skill need to run?

A repository containing .specify/ with create-new-feature.sh and spec-template.md. Without that setup the branch and spec creation step cannot run.

Similar skills

Everything for Writing and docs →

From the same set10

speckit-specify Turns a plain-language feature description into a spec folder: short name, number, spec.md from the template, and a path saved in .specify/feature.json. CX Codex +1 2,600installs speckit-constitution This skill writes and updates the project constitution in .specify/memory/constitution.md, turning your principles into a versioned governance doc. CX Codex +1 2,400installs speckit-implement Executes development tasks from tasks.md in spec-kit projects. It validates readiness checklists, triggers pre-implementation hooks, and configures ignore files. CX Codex +1 2,400installs speckit-tasks This skill turns plan.md and spec.md into a tasks.md ordered by dependencies and user stories. Useful when the feature is already described in spec-kit but the work queue is not. CX Codex +1 2,400installs speckit-clarify Scans a feature spec for gaps, asks up to 5 targeted questions and writes the answers back into the spec file. CX Codex +1 2,200installs speckit-taskstoissues Turns tasks from tasks.md into dependency-ordered GitHub issues. The skill is marked deprecated and points to a replacement extension. CX Codex +1 1,500installs speckit-checklist Generates a custom requirements-quality checklist for a feature specification. It helps reviewers catch ambiguous phrasing and missing edge cases before coding starts. CX Codex +1 1,500installs claude-command-converter Converts Claude Code slash commands into portable Agent Skills format. Useful when migrating workflows to Codex, Cursor, or Copilot. CX Codex +1 1,400installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor