One-click install
npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill convention-learner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convention-learner
Source: https://github.com/codewithmukesh/dotnet-claude-kit/tree/main/skills/convention-learner
Command: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill convention-learner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects and enforces project-specific coding conventions by analyzing the existing codebase to learn patterns in naming, structure, test organization, and style, helping teams achieve consistency.

Core Features & Use Cases

  • Convention discovery: Learn naming conventions, folder structures, test layouts, and coding style from the current repository.
  • Enforcement guidance: Propose project-specific rules and generate guidance (CLAUDE.md, editorconfig) to enforce the learned conventions.
  • Documentation & onboarding: Produce a concise convention report to assist new contributors and maintainers.
  • Use Case: Join an existing .NET project to align conventions without altering code manually.

Quick Start

Analyze the codebase to learn and enforce your project's conventions and apply them to future code.

Frequently Asked Questions about convention-learner

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

FAQPage Schema
How do I detect and enforce .NET coding conventions from an existing codebase?

You can detect and enforce .NET coding conventions by analyzing your existing repository to learn patterns in naming, folder structures, test organization, and coding style. This process generates convention summaries and guidance files to maintain consistency.

What is the best way to generate an editorconfig for a .NET project automatically?

Generating an editorconfig automatically involves analyzing your current codebase to learn existing coding styles and anti-patterns. The extracted conventions are then translated into editorconfig guidance to enforce rules across the project.

Can I learn folder structures and test organization patterns without manually reading the code?

Yes, repository analytics can learn folder structures and test organization patterns automatically. By analyzing the existing project graph and public APIs, it discovers your current conventions and produces a concise report without manual code inspection.

Does this convention detection work for joining an existing .NET project to align coding standards?

Yes, convention detection is designed specifically for joining an existing .NET project. It aligns your coding standards by learning the repository's current naming and style patterns, then generating CLAUDE.md recommendations to guide future contributions.

How do I document project-specific coding standards for new contributors?

You document project-specific coding standards by analyzing the codebase to produce a concise convention report. This report captures naming rules, test layouts, and folder structures, assisting new contributors and maintainers with onboarding.