Speckit baseline

From dceoy/speckit-agent-skills · View interactive version

Speckit baseline is an AI agent skill from the GitHub repository dceoy/speckit-agent-skills. Generate feature specifications by analyzing existing source code.

How to use this skill

Skill file

Spec Kit Baseline Skill

When to Use

Inputs

If the target is missing or ambiguous, ask a focused question before continuing.

Goal

Generate a technology-agnostic spec for existing code, then create the feature branch/spec file using the standard Spec Kit templates.

Workflow

  1. Parse target input: Identify files, directories, or patterns to analyze.
  1. Discover and read source files:
  1. Analyze code structure:
  1. Generate a short name (2-4 words) from the analyzed code:
  1. Create the feature branch and spec file:
  1. Load the spec template from .specify/templates/spec-template.md.
  1. Draft the specification using the template structure:
  1. Abstract implementation details:
  1. Create spec quality checklist at FEATURE_DIR/checklists/requirements.md.
  1. Report completion with:

Outputs

Key rules

Examples

Code Pattern → Spec Requirement:

Code Pattern → User Story:

Next Steps

After generating spec.md:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.