infer-design-patterns-from-code

Community

Turn existing codebases into pattern maps

Authorkapilvirenahuja
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It extracts and catalogs likely design patterns from a brownfield repository so the pattern catalogue matches what’s actually implemented in code and architecture artifacts.

Core Features & Use Cases

  • Pattern inference from scans: Reads scan-index.json and identifies architectural/design patterns from naming suffixes, framework idioms, and directory-layer trees.
  • Scoped, evidence-based outputs: Produces a structured design-patterns.yaml with system, layer, component, and cross-cutting scopes, each backed by concrete evidence paths.
  • Architecture-aware validation: Cross-checks inferred component patterns against physical-architecture runtime tiers and records resolution trace + decision manifest for auditability.

Quick Start

Ask the agent to run infer-design-patterns-from-code during /codify to generate architecture/design-patterns.yaml from scan-index.json and the logical/physical architecture proposals.

Dependency Matrix

Required Modules

None required

Components

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-design-patterns-from-code
Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#infer-design-patterns-from-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.