speckit-cleanup

Validate and reorganize spec-kit documentation in the specs/ directory.

2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/pradeepmouli/lspeasy --skill speckit-cleanup-pradeepmouli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-cleanup
Source: https://github.com/pradeepmouli/lspeasy/tree/main/.github/skills/speckit-cleanup
Command: npx skills add https://github.com/pradeepmouli/lspeasy --skill speckit-cleanup-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spec-kit documentation in specs/ often suffers from disorganization, missing numbers, and improper folder structure. This Skill validates and reorganizes the specs/ directory to ensure sequential numbering and correct workflow placement, while never touching source code.

Core Features & Use Cases

  • Validate sequential numbering and proper directory structure within specs/
  • Detect gaps, duplicates, and missing required files, and suggest or perform doc-level reorganizations
  • Generate a structured report detailing issues, actions, and outcomes

Quick Start

Run the cleanup workflow from the repository root to validate and optionally fix the specs/ organization

Frequently Asked Questions about speckit-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix disorganized spec-kit documentation with missing numbers?

To fix disorganized spec-kit documentation, you validate and reorganize the specs/ directory to ensure sequential numbering and proper workflow structure. This process detects gaps, duplicates, and missing files, then optionally applies doc-level reorganizations.

Can I validate specs directory structure without modifying the files?

Yes, you can validate specs directory structure without modifying files using a dry-run validation safety guard. This checks for numbering issues, structural problems, and missing files, producing a structured JSON report detailing issues without touching source code or applying changes.

What is the best way to ensure sequential numbering in spec-kit workflows?

The best way to ensure sequential numbering in spec-kit workflows is to run an automated validation and cleanup process on the specs/ directory. It identifies gaps and duplicates in the documentation structure and optionally applies changes to maintain correct workflow placement.

Does the spec-kit cleanup process modify source code?

No, the spec-kit cleanup process never touches source code. It operates strictly on documentation within the specs/ directory, reporting issues with numbers, structure, and missing files, and only optionally applies changes to the documentation files themselves.

How do I detect gaps and duplicates in my specs documentation?

You detect gaps and duplicates in specs documentation by running a validation workflow from the repository root. This scans the specs/ directory to identify missing required files and numbering discrepancies, generating a structured JSON report that details all issues and suggested actions.