SPECLAN ID Generator

Generate unique SPECLAN IDs by scanning existing directories and frontmatter.

8|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/thlandgraf/cc-marketplace --skill speclan-id-generator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: SPECLAN ID Generator
Source: https://github.com/thlandgraf/cc-marketplace/tree/main/plugins/speclan/skills/speclan-id-generator
Command: npx skills add https://github.com/thlandgraf/cc-marketplace --skill speclan-id-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill generates unique, collision-free IDs for SPECLAN entities to prevent duplication and ensure stable hierarchy.

Core Features & Use Cases

  • Collision detection by scanning existing SPECLAN directories and frontmatter to avoid ID reuse.
  • Parent-aware end-biased generation to preserve natural ordering within a hierarchy.
  • Batch generation support and cross-implementation availability (Node.js and Bash) for flexible workflows.

Quick Start

Run the Node.js generator with --type feature to create IDs, or use the Bash script when Node isn't available.

Frequently Asked Questions about SPECLAN ID Generator

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

FAQPage Schema
How do I generate collision-free IDs for SPECLAN goals and features?▼

To generate collision-free SPECLAN IDs, this tool scans existing SPECLAN directories and frontmatter to prevent ID reuse. It validates parent-child relationships and enforces correct ID formats for goals, features, requirements, and change-requests. You can run it via Node.js or Bash.

Can I generate SPECLAN IDs in batch without Node.js installed?▼

Yes, you can generate SPECLAN IDs in batch without Node.js by using the included Bash script, generate-id.sh. The Skill provides cross-implementation availability, offering both Bash and Node.js scripts to support flexible workflow environments.

How does parent-aware ID generation preserve hierarchy ordering in SPECLAN?▼

Parent-aware ID generation preserves SPECLAN hierarchy by using end-biased ordering. When using the --parent flag, the tool validates parent-child relationships and generates new IDs that maintain natural ordering within the existing directory structure.

What happens when the SPECLAN ID space is exhausted or inputs are invalid?▼

When the SPECLAN ID space is exhausted or inputs are invalid, the generator reports specific errors. It actively enforces correct ID formats and validates parent-child relationships, immediately stopping generation to prevent duplicate or malformed identifiers.

What is the best way to automate unique ID generation for requirements and change-requests?▼

The best way to automate unique ID generation for requirements and change-requests is using the Node.js generator with batch generation support. It scans existing frontmatter to ensure collision-free results while preserving the required hierarchy.