convention-detection

Detect coding conventions and patterns across multi-language repositories.

39|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/hffmnnj/opencode-goopspec --skill convention-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convention-detection
Source: https://github.com/hffmnnj/opencode-goopspec/tree/main/skills/convention-detection
Command: npx skills add https://github.com/hffmnnj/opencode-goopspec --skill convention-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams identify, document, and standardize coding conventions, patterns, and style guidelines across a codebase to improve consistency and maintainability.

Core Features & Use Cases

  • Detects naming, layout, and formatting conventions across languages
  • Aggregates findings from config files (e.g., ESLint, EditorConfig) and representative source files
  • Generates a concise conventions report for onboarding, code reviews, and governance

Quick Start

Run convention-detection against your repository to generate a conventions report and recommendations.

Frequently Asked Questions about convention-detection

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

FAQPage Schema
How do I identify and document code conventions across my codebase?

Convention-detection analyzes your repository to identify naming, formatting, and structural patterns across files and languages. It examines config files like ESLint and Prettier, samples representative source files, and generates a structured Markdown and JSON report documenting discovered conventions for your team.

Can convention-detection work with multi-language repositories?

Yes, convention-detection applies across multi-language codebases. It detects naming, layout, and formatting conventions regardless of language, aggregates findings from configuration files and source samples, and outputs unified conventions documentation applicable to your entire repository.

What coding standards and patterns does convention-detection detect?

Convention-detection identifies naming conventions, code layout and structure, formatting style, and documentation practices. It reads ESLint, Prettier, and EditorConfig configuration to extract explicit rules, then samples files to discover implicit patterns and report both standardized and emergent conventions.

How can I use convention-detection for code review and onboarding?

Convention-detection generates a concise conventions report that documents your team's established patterns and standards. Use the Markdown and JSON output during code reviews to enforce consistency and provide new contributors with explicit guidelines on naming, style, and documentation expectations.

Does convention-detection require manual configuration of style rules?

No, convention-detection aggregates conventions automatically by analyzing existing config files like ESLint and EditorConfig alongside representative source files. It requires no manual rule setup—it detects and documents patterns already present in your codebase and tooling.