
inherit-legacy-style
Prevent AI style drift on legacy projects by scanning the codebase
by affaan-mFree
Description
inherit-legacy-style is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It stops AI-written code from drifting away from the style of an older, hand-written project. It scans the codebase for implicit conventions across four meta-architecture dimensions, raises the conflicts it finds with the operator one at a time for a decision, and writes the agreed result into an enforceable .ai-style-rules.md file, which can also be referenced from CLAUDE.md. The listing says the approach is independent of language and framework. It runs when the user types /inherit-legacy-style, when onboarding an AI onto a legacy project that was hand-written, or when someone wants to extract and write down the coding rules a project follows without saying them. Git is recommended, and a project without Git uses file timestamps for incremental mode. It needs read and write access to the project root. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Scans for implicit project conventions
- Resolves conflicts one at a time
- Writes an enforceable .ai-style-rules.md
- Language and framework agnostic
Ratings & Reviews
No ratings yet
Be the first to rate inherit-legacy-style.
People also visit

codebase-onboarding
Analyze an unfamiliar codebase and generate a structured onboarding guide

perl-patterns
Modern Perl 5.36+ idioms, best practices, and conventions for building robust

content-research-writer
Assists in writing high-quality content by conducting research

batch-grill-me
A relentless interview that asks every frontier question at once, round by round
inherit-legacy-style FAQ
What does the inherit-legacy-style skill do?
It learns a legacy project's unwritten coding conventions, confirms conflicts with you, and saves the result as style rules for AI to follow.
What file does it produce?
An .ai-style-rules.md file in the project root, and optionally a CLAUDE.md reference.
Does it need Git?
Git is recommended. Projects without Git fall back to file timestamps for incremental runs.
How do I start it?
Install with npx skills add https://github.com/affaan-m/ecc --skill inherit-legacy-style, then type /inherit-legacy-style.
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best inherit-legacy-style alternatives?
Popular alternatives to inherit-legacy-style include zoom-out, codebase-onboarding and ecc-guide. See all inherit-legacy-style alternatives
