Skip to content
← All skills

amend-coding-standards

Add, revise, or retire one coding-standards rule without hand-editing — confirms scope and generic-vs-project placement with you, dedupes against existing rules, and keeps the maps in sync.

User-invoked — reachable only when you type it.

Confirms scope and generic-vs-project placement, dedupes the rule against existing ones, writes it in house style, and updates the routing maps.

Quickstart

Install
npx skills add EddyVinck/skills --skill=amend-coding-standards
Update
npx skills update amend-coding-standards
Source on GitHub

What it does

amend-coding-standards changes exactly one rule in your coding standards — add, revise, or retire — and handles all the bookkeeping a hand-edit would forget: routing by the transplant test, deduping against every rule already in the destination doc, writing in the standards style, and regenerating the maps and entry summaries so the routing structure never drifts from the docs. One rule in, bookkeeping handled — it never rewrites more than the rule you brought.

A PR-comment URL works as input: the comment body becomes the rule material and the reviewer’s proposed fix becomes the example.

When to reach for it

Prerequisites

An existing standards structure: a CODING_STANDARDS/CODING_STANDARDS.md in the repo (see setup-coding-standards) whose map links lead to the docs the amendment lands in.

Route, then confirm

The transplant test runs on the rule’s substance: concrete paths and domain nouns get neutralized to role names first, and the question is whether the remainder still instructs correctly in a stranger’s repo with the same stack. The verdict is a recommendation, not a decision — one question goes to you carrying the scope reading, the generic-vs-project choice, and the recommendation, and no file is touched until you answer. A rule can also split: a generic core plus a project-specific companion carrying the stripped specifics.

It’s working if

Where it fits

The maintenance step of the coding-standards chain — the small tool between big distillations: distill-coding-standards produces the rules in bulk, this skill edits them one at a time, and review-with-coding-standards feeds it candidates — legitimate review points no rule covers yet. For the map of the whole set, see ask-eddy.