brewcode:convention

Analyze project code to extract design patterns and architectural conventions.

30|2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode-convention
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brewcode:convention
Source: https://github.com/kochetkov-ma/claude-brewcode/tree/main/brewcode/skills/convention
Command: npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode-convention

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the analysis of your project's codebase to identify and document architectural patterns, coding conventions, and best practices, ensuring consistency and quality.

Core Features & Use Cases

  • Pattern Discovery: Identifies etalon classes, design patterns, and architectural styles.
  • Convention Generation: Creates documentation for coding standards, naming, and structure.
  • Rule Extraction: Extracts actionable rules for code quality and consistency.
  • Use Case: After a new developer joins a project, run this Skill to generate a comprehensive guide on the established conventions, helping them onboard faster and adhere to project standards.

Quick Start

Run a full analysis of the project to generate convention documents and rules.

Frequently Asked Questions about brewcode:convention

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

FAQPage Schema
How do I extract coding conventions and design patterns from an existing codebase?

You can extract coding conventions by analyzing project code to identify etalon classes and architectural patterns. The process generates documentation in `.claude/convention/` and organizes extracted rules into `.claude/rules/`.

What is automated architectural convention analysis and how does it work?

Architectural convention analysis scans code to discover design patterns and coding standards. It uses bash scripts for stack detection and scanning, then outputs structured documentation and actionable rules.

Can I run code convention analysis on a specific directory instead of the full project?

Yes, you can perform scoped path analysis on a specific directory instead of a full project scan. This extracts conventions and design patterns from the targeted path without processing the entire codebase.

How do I generate code quality documentation for new developers onboarding to a project?

Run a convention analysis to extract established coding rules and patterns. This generates comprehensive documentation in `.claude/convention/` to help new developers onboard faster and adhere to project standards.

Does this code pattern extractor require any external dependencies or setup?

No external dependencies are required. The tool integrates internal bash scripts for setup, stack detection, and scanning, enabling architectural convention analysis directly within your environment.