BigHugger
sk Skill · affaan-m

inherit-legacy-style

Legacy-project style inheritance skill. Use when the user types /inherit-legacy-style, or when onboarding an AI coding agent onto a hand-written legacy project and you need to prevent "style drift" (the model imposing its pretrained mainstream idioms onto the project). Language — and framework-agnostic — it aligns meta-architecture only, not syntax. Once run, it becomes a behavioral constraint on all subsequent…

installs 8w
1,645
30-day movement
starts with the next reading
Related entries
2
Connections
7
bashJavaScript

An agent skill that scans a legacy codebase for implicit conventions across four meta-architecture dimensions and writes them to a `.ai-style-rules.md` file at the project root. Once generated, the rules act as a behavioral constraint on subsequent coding tasks, with incremental re-scans via Git diffs and per-turn compliance declarations.

Use it when onboarding an AI agent onto a hand-written legacy project and you need to stop the model from imposing its pretrained mainstream idioms on the codebase.

Use it to

  • Run a first-time full style scan on a legacy repo
  • Incrementally update style rules after new commits
  • Enforce style compliance on every coding task
  • Wire the rules file into CLAUDE.md
  • Resolve conflicts between detected conventions with user input

For Developers onboarding AI agents to legacy codebases

Host repository
affaan-m/ECC
Installs, lifetime
2,300
Installs, 8 weeks
1,645
Allowed tools
Read, Glob, Grep, Bash, Edit, Write, AskUserQuestion
Host stars
259k
Host language
JavaScript
topicslegacy-codestyle-driftagent-skillscode-conventionsonboardingclaude