code-patterns

Analyze codebases to derive conventions and detect consistency gaps.

1|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/bryonjacob/aug --skill code-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-patterns
Source: https://github.com/bryonjacob/aug/tree/main/aug-core/skills/code-patterns
Command: npx skills add https://github.com/bryonjacob/aug --skill code-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams derive prevailing coding conventions directly from their codebase, reducing ambiguity and guiding consistent implementation.

Core Features & Use Cases

  • Pattern Discovery: Detects common error-handling, tests, naming, and architecture patterns to surface project conventions.
  • Consistency Scoring: Quantifies adoption rates and highlights deviations to improve code quality.
  • Use Case: Run on a Python or JavaScript monorepo to reveal dominant conventions and suggest targeted improvements.

Quick Start

Run the code-patterns skill on a repository to scan for conventions, generate a report, and surface actionable recommendations.

Frequently Asked Questions about code-patterns

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

FAQPage Schema
How do I analyze a codebase to find existing coding conventions?

To analyze a codebase for coding conventions, the skill parses your repository using language-aware AST and regex fallbacks to quantify pattern adoption and generate a structured report on prevailing naming, imports, and error handling.

Can I detect consistency gaps in naming and architecture patterns across a multi-language monorepo?

Yes, you can detect consistency gaps in a multi-language monorepo by scanning Python and JavaScript files to surface dominant naming and architecture patterns, quantifying their adoption rates to highlight deviations.

What's the best way to derive project coding standards directly from existing source files?

The best way to derive project coding standards is to run static analysis on existing source files, extracting common testing and error-handling patterns to surface project conventions and suggest targeted improvements.

Does this convention analysis tool work with both Python and JavaScript repositories?

Yes, this convention analysis tool works with both Python and JavaScript repositories, applying language-aware parsing where available and regex fallbacks to identify patterns in imports, testing, and error handling across files.

How does static analysis quantify the adoption rate of error handling and testing patterns?

Static analysis quantifies adoption rates by parsing the codebase to count occurrences of specific error handling and testing patterns, generating a consistency score that highlights deviations from your project's prevailing conventions.