phase-argument-parsing

Community

Standardize phase references across agents.

Authorgonz0w
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Multiple agents need to parse phase arguments from user input. This skill standardizes the extraction, normalization (zero-padding), and validation pattern so all agents handle phase references consistently — whether the user types "8", "08", or "8.1".

Core Features & Use Cases

  • Extraction: From $ARGUMENTS, extract phase number (first numeric argument), flags (prefixed with --), and remaining text is description (for insert/add commands).
  • Normalization & Validation: Normalize to two-digit integer parts and preserve decimal suffixes (e.g., 8 -> 08, 2.1 -> 02.1), and validate existence via the roadmap using the bgsd-tools plan:roadmap get-phase route.
  • Directory Lookup: Resolve the phase directory path for downstream planning tasks and ensure consistent routing across phases.

Quick Start

To get an immediate result, ask the AI to normalize a phase reference such as 8 or 08 or 2.1 and return the normalized phase and its directory path.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: phase-argument-parsing
Download link: https://github.com/gonz0w/bgsd-oc/archive/main.zip#phase-argument-parsing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.