infer-epics-from-code

Cluster code capabilities into epic YAML stubs with ICE-schema artifacts.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kapilvirenahuja/garura --skill infer-epics-from-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infer-epics-from-code
Source: https://github.com/kapilvirenahuja/garura/tree/main/core/components/skills/infer-epics-from-code
Command: npx skills add https://github.com/kapilvirenahuja/garura --skill infer-epics-from-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Infers human-readable epic boundaries for a brownfield repository by clustering capabilities using code co-change signals, knowledge-base domain groupings, version tags, and ADR titles—so teams can start planning milestones without getting blocked by missing structure.

Core Features & Use Cases

  • Brownfield epic inference: Creates one minimal intent-epic stub per derived epic for downstream enrichment.
  • Evidence-driven boundaries: Uses scan-index artifacts (co-change, tags, ADRs) and KB domain catalogs to ground epic clustering.
  • Knowledge-gap safe outputs: Avoids fabricating expectations by marking failure scenarios and business rules as knowledge gaps for stakeholder review.

Quick Start

Run the infer-epics-from-code skill as part of the /codify workflow after infer-features-from-code has produced features.yaml and enriched-capabilities.yaml, and let it write epic proposal stubs into the specified epics output directory.

Frequently Asked Questions about infer-epics-from-code

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

FAQPage Schema
How do I derive readable epic boundaries from a brownfield codebase?

Epic inference from code works by clustering inferred capabilities using git co-change signals, knowledge-base domain groupings, version tags, and ADR titles. This mechanism grounds the epic clustering process in actual repository evidence.

How do I generate epic proposal stubs from existing code evidence?

You generate epic proposal stubs by running an inference process that produces one YAML stub per derived epic. It creates ICE-schema artifacts and a decision manifest while recording resolution-trace probes for downstream enrichment.

Does epic inference require existing scan-index artifacts and feature proposals?

Yes, epic inference requires existing scan-index evidence and upstream proposals. Specifically, it runs after infer-features-from-code has produced features.yaml and enriched-capabilities.yaml to ensure boundaries are evidence-driven.

How does the system handle requirements that cannot be inferred from code evidence?

When requirements cannot be inferred from code evidence, the system emits knowledge-gap placeholders. It avoids fabricating expectations by marking failure scenarios and business rules as knowledge gaps for stakeholder review.

What is the best way to bootstrap agile milestones for a repository with missing structure?

The best way to bootstrap milestones for a repository with missing structure is to infer minimal, human-readable epic boundaries from code co-change and ADR titles. This allows teams to start planning without getting blocked by missing documentation.