Skillquality 0.59
code-style
Enforce mirror, reuse, and symmetry principles to keep new code consistent with surrounding code. Use when writing new code in an existing codebase, adding new features, refactoring, or making any code changes.
What it does
Code Style: Mirror, Reuse, Symmetry
When writing new code in an existing codebase, follow these principles:
- Mirror the surrounding code exactly: Match brace style, comment style, naming conventions, blank line spacing, code density, and level of detail by reading nearby code first.
- Reuse existing patterns: Find the closest analogous feature and replicate its structure (method decomposition, control flow, annotations, guard clauses). Don't introduce new patterns when an existing one fits.
- Reuse existing code: Before writing a new helper, check if an existing method can be reused or generalized. If a new helper is needed, model it after its closest sibling.
- Maintain symmetry: If adding
fooB()parallel tofooA(), ensure naming, parameter order, and structure are symmetric. RenamefooA()if needed. - Logical ordering: Place new methods, switch cases, and fields in the order that mirrors the existing grouping or business lifecycle, not just appended at the end.
Capabilities
skillsource-tobihagemannskill-code-styletopic-agent-skillstopic-claude-codetopic-claude-skillstopic-developer-toolstopic-skills
Install
Installnpx skills add tobihagemann/turbo
Transportskills-sh
Protocolskill
Quality
0.59/ 1.00
deterministic score 0.59 from registry signals: · indexed on github topic:agent-skills · 280 github stars · SKILL.md body (1,013 chars)
Provenance
Indexed fromgithub
Enriched2026-04-22 00:54:07Z · deterministic:skill-github:v1 · v1
First seen2026-04-18
Last seen2026-04-22