infer-architecture
CommunityInfer architecture from an existing codebase
Software Engineering#design patterns#codebase analysis#framework conventions#module structure#low-level design#architecture inference#evidence-based reporting
Authorkapilvirenahuja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents teams from getting stuck by opaque codebases by converting existing implementation details into an explicit, shareable logical architecture that can guide subsequent engineering work.
Core Features & Use Cases
- Module structure inference: Enumerates top-level modules and assigns roles based on content, not just naming.
- Evidence-backed pattern detection: Identifies design patterns by grepping for known constructs and records file-level evidence.
- Conventions and LLD characterization: Infers framework conventions and low-level design patterns such as dependency injection, error handling, logging, validation, and async/concurrency style.
- Optional LTM alignment: Matches observed patterns against provided long-term architecture knowledge to cite relevant references.
- Architecture output generation: Writes architecture-inference.yaml with structured results suitable for downstream tech-spec and planning workflows.
Quick Start
Run infer-architecture with the codebase root as project_root and set output_base to the directory where you want architecture-inference.yaml written.
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: infer-architecture Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#infer-architecture 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.