What problem does it solve? Teams often lack documented coding standards, leading to inconsistent formatting, naming, and commenting styles across a codebase. This Skill analyzes existing source files and produces a formal coding standards document that reflects the conventions already in use. ## Core Features & Use Cases - Syntax-Based Analysis: Examines indentation, variable naming, commenting, conditionals, and function patterns in one file or an entire folder to derive style rules. - Flexible Output Targets: Writes the standards to a new file (e.g., CODING_STANDARDS.md, CONTRIBUTING.md), inserts them into README.md at a chosen position, or outputs them directly to the prompt. - Inconsistency Detection and Fixing: Counts syntax variations across files, identifies minority patterns, and optionally fixes them to match the majority style. - Language Style Guide References: Optionally fetches official style guides (PEP 8, Google Shell Guide, C++ Core Guidelines, and more) to enrich the generated standards. - Use Case: Point the Skill at your project's src folder to produce a STYLE.md documenting the conventions your team already follows, then add a test file verifying future code adheres to them. ## Quick Start Analyze the file main.py and generate a coding standards document based on its syntax and style conventions.