determine-feature-slug

Scan thoughts namespaces for existing prefixes and generate kebab-case feature slugs.

10|2|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/eveld/claude --skill determine-feature-slug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: determine-feature-slug
Source: https://github.com/eveld/claude/tree/main/skills/determine-feature-slug
Command: npx skills add https://github.com/eveld/claude --skill determine-feature-slug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically determines the next feature slug in a thoughts namespace by scanning existing directories for numeric prefixes and proposing a kebab-case description.

Core Features & Use Cases

  • Auto-detects the next 4-digit feature number within a namespace.
  • Prompts for a kebab-case description and returns a ready-to-create path thoughts/{namespace}/NNNN-description.
  • Validates inputs (namespace format, number padding, description length) and prevents collisions.

Quick Start

Create a new feature slug by auto-detecting the next number in your thoughts namespace and entering a description

Frequently Asked Questions about determine-feature-slug

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

FAQPage Schema
How do I automatically determine the next feature slug in a thoughts namespace?

The next feature slug is determined by scanning existing directories in thoughts/{namespace}/ for the highest four-digit prefix and appending a validated kebab-case description. This produces a ready-to-create path thoughts/{namespace}/NNNN-description.

What is the correct format for a custom feature slug description?

A valid custom feature slug description must use lowercase alphanumeric characters separated by hyphens in kebab-case form. The Skill validates interactive input to enforce this formatting constraint before generating the final path.

Can I use this slug generation tool with personal namespace directories?

Yes, this slug generation tool works with personal namespace directories formatted as thoughts/{namespace}/. It applies to personal namespaces and automatically creates the directory if it does not already exist.

Does the feature slug tool prevent naming collisions and invalid padding?

Yes, the feature slug tool prevents naming collisions by scanning existing four-digit prefixes to calculate the next sequential number accurately. It also validates number padding and description length to ensure consistent directory naming.

How does interactive prompting work when creating a new feature slug?

Interactive prompting suggests an auto-detected feature slug and asks you to accept it or provide a custom kebab-case description. It validates your custom input and returns the result as thoughts/{namespace}/NNNN-description.