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.