What problem does it solve? Teams accumulate inconsistent ways of doing the same thing across a codebase, causing bugs, review friction, and slow onboarding. This Skill guides an agent to find patterns worth standardizing, gather real evidence from the code, and produce concrete convention specs. ## Core Features & Use Cases - Pattern triage: Applies frequency, inconsistency, impact, and onboarding-cost criteria to decide which patterns deserve a convention. - Evidence gathering: Searches the codebase with glob and grep to count conforming instances, find best examples, and identify worst violations. - Spec authoring: Produces convention specs in .hero/conventions/{slug}/spec.md with frontmatter, scope globs, pattern, examples, anti-patterns, and exceptions sections. - Use Case: A delivery lead notices three different error-handling styles across API routes and asks for a convention; the agent surveys the codebase, picks the cleanest implementation, and writes a scoped spec with real examples and anti-patterns. ## Quick Start Ask the agent to analyze the codebase for inconsistent error handling and write a convention spec documenting the standard approach.