inherit-legacy-style
Prevent AI style drift on legacy projects by scanning the codebase for implicit conventions, resolving conflicts with the operator one at a time, and writing an enforceable .ai-style-rules.md (Golden Files, naming rules, DONTs) plus an optional CLAUDE.md hook. Use when onboarding an AI agent onto a hand-written legacy codebase or extracting a project's unwritten coding rules.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Inherit Legacy Style
- When to Activate
- When to Use
- Prerequisites
- Workflow
- Step 0 — Auto-Detect Mode
- Branch A — First-time Full-Scan
- Branch B — Incremental Sniff
Prevents AI code style drift in legacy projects by scanning the codebase for implicit conventions across 4 meta-architecture dimensions, resolving conflicts with the user one at a time, and crystallizing the consensus into an enforceable .ai-style-rules.md. Fully language- and framework-agnostic. User types /inherit-legacy-style User mentions onboarding AI onto a hand-written legacy project User is worried about AI-generated code "drifting" from existing project conventions User wants to extract and codify their project's implicit coding rules Use this skill when you need to preserve legacy project style and prevent AI-generated style drift. See When to Activate above for trigger conditions. Git (recommended; non-Git projects fall back to file timestamps for incremental mode) Read/Write access to the project root (generates .ai-style-rules.md and optionally CLAUDE.md) Silently check for .ai-style-rules.md at the project root: | File exists? | Mode | |---|---| | No | Branch A — First-time Full-Scan | | Yes | Branch B — Incremental Sniff | Announce the mode in one line and proceed — never ask the user to pick. 1. Measure scale, pick a scanning tier | Tier | Source files | Strategy |
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- pi/core/skills/inherit-legacy-style/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:43.040Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.