fixspec

Renumber spec directories sequentially and update markdown references.

1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/jayli/mc-lite --skill fixspec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fixspec
Source: https://github.com/jayli/mc-lite/tree/main/.claude/skills/fixspec
Command: npx skills add https://github.com/jayli/mc-lite --skill fixspec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the tedious and error-prone task of maintaining correct numbering sequences in spec directories, ensuring consistency and easier management.

Core Features & Use Cases

  • Numbering Correction: Finds the highest existing spec number and assigns the next available number for new or renamed directories.
  • Reference Updating: Searches and updates internal links and references within markdown files to match the new directory names.
  • Use Case: When multiple team members add or rename specs with inconsistent numbering, this Skill automates the correction process to maintain order.

Quick Start

Use the fixspec skill to automatically rename a specified spec directory or interactively choose one to fix numbering errors.

Frequently Asked Questions about fixspec

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

FAQPage Schema
How do I automatically fix spec directory numbering errors?

To fix spec directory numbering, you can run an automated process that finds the highest existing spec number and sequentially renames directories to correct misnumbered folders. This reduces manual renaming errors and maintains consistent numbering across your project.

What is the best way to maintain sequential numbering in spec directories?

The best way to maintain sequential numbering in spec directories is to use automated refactoring tools that find the highest existing spec number and assign the next available number when directories are added or renamed.

Can I automatically update markdown references when renaming a spec directory?

Yes, you can automatically update markdown references when renaming a spec directory. The process searches internal markdown files and updates links to match the new directory names, ensuring reference integrity is maintained.

How does spec directory numbering correction work for large project teams?

Spec directory numbering correction works by scanning the directory structure to find the highest existing spec number and assigning the next available number for new or renamed directories. This ensures consistency when multiple team members add specs with frequent updates.

Do I need any dependencies to automate spec directory file management?

No, you do not need any external dependencies to automate spec directory file management. The process runs standalone to handle directory renaming and reference updates without requiring additional packages.