What problem does it solve?
Contributors need a reliable way to add new cross-cutting decision patterns for Nemotron steps without breaking the repo’s required frontmatter format, catalog regeneration, or pattern tests.
Core Features & Use Cases
- Guided pattern authoring: Ensures new pattern files follow the required frontmatter fields, body sections, and naming conventions under
src/nemotron/steps/patterns/.
- Catalog and validation automation: Regenerates
src/nemotron/steps/PATTERNS.md and runs uv run pytest tests/steps -q to prevent inconsistent wiring.
- Scope and trigger calibration: Prompts for pattern scope (
steps or global []), concrete triggers, and confidence selection (high, medium, experimental) before writing files.
Quick Start
Invoke the skill as /nemotron-add-pattern from the Nemotron repo root and answer the five orientation questions so it creates the correct src/nemotron/steps/patterns/{id}.md, regenerates PATTERNS.md, and passes uv run pytest tests/steps -q.