extract-feature-behavior-spec
CommunityConvert feature code into deterministic behavior specs.
Software Engineering#tests-first#behavior-spec#intent extraction#code synthesis#evidence citations#stack-aware parsing#YAML contract
Authorkapilvirenahuja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extracting enterprise-ready behavior specifications from mixed source and tests is slow and error-prone, especially when teams need deterministic outcomes and precise, line-level evidence for every rule and contract.
Core Features & Use Cases
- Tests-first intent extraction: Reads feature tests before production source to derive Given/When/Then scenarios that reflect intended behavior.
- Tech-aware source decoding: Dispatches stack-specific extraction to synthesized temp skills so rules, contracts, and integrations match the feature’s tech stack.
- Evidence-grade citations: Produces a behavior-spec with cited_locations at file:line precision and surfaces test-code drift as ambiguities.
- Single-feature spec output: Generates exactly one behaviors/{feature-id}.yaml per feature during /decode, conforming to C4a shape requirements.
Quick Start
Ask the tech-architect to run extract-feature-behavior-spec for feature MEM-F001-signup to produce behaviors/MEM-F001-signup.yaml from the feature’s file surface and tests.
Dependency Matrix
Required Modules
None requiredComponents
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: extract-feature-behavior-spec Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#extract-feature-behavior-spec Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.