code-style-analyst

Analyze code style consistency and generate a deviation report.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jralph/.config-opencode --skill code-style-analyst
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-style-analyst
Source: https://github.com/jralph/.config-opencode/tree/main/skills/code-style-analyst
Command: npx skills add https://github.com/jralph/.config-opencode --skill code-style-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes and enforces code style consistency across a codebase, helping teams maintain coherent patterns and reduce stylistic drift.

Core Features & Use Cases

  • Analyze multiple files to identify naming conventions, indentation, comment style, and module organization.
  • Generate a portable style profile tailored to the repository's dominant patterns and surface inconsistencies for remediation.
  • Use case: Integrate with CI to warn on style violations or to auto-correct formatting in pull requests.

Quick Start

Apply the skill to a repository path to generate a style profile and deviation report. Example: code-style-analyst --path /workspace/my-project

Frequently Asked Questions about code-style-analyst

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

FAQPage Schema
How do I analyze code style consistency across a multi-file codebase?▼

To analyze code style consistency, you can apply this Skill to a repository path. It reviews multiple files to identify patterns and deviations, then generates a structured style profile and deviation report for remediation.

What code style conventions can I enforce in my software project?▼

You can enforce naming conventions, indentation, comment style, modular organization, and error handling patterns. The Skill reviews these dimensions across the codebase to surface inconsistencies for remediation.

Can I use code style analysis for projects of different languages and scales?▼

Yes, code style analysis is applicable to software projects of various languages and scales. It identifies the dominant patterns in your repository to build a tailored style profile regardless of the project size.

How do I generate a style profile to warn on code style violations in CI?▼

You generate a style profile by applying the Skill to a repository path. The resulting profile and deviation report can be integrated with CI to warn on style violations or auto-correct formatting in pull requests.

What is the best way to reduce stylistic drift in a repository?▼

The best way to reduce stylistic drift is to analyze multiple files to identify naming conventions and indentation, generate a portable style profile, and use the structured report to correct deviations across the codebase.