/goodcode:goodcodefrom goodcode
Enforces the GoodCode standard: DRY, single-responsibility modules, visible flow, valid state, input parsing at boundaries, no silent failures, readable code, and minimal scope. Use on any coding task or when referencing clean code principles.
Ships in goodcode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The standard lives in one file: CODE_ARCHITECTURE.md at the plugin root, two
folders above this skill's base directory (../../CODE_ARCHITECTURE.md). Read
it in full before the first change of a session. It is the only home of the
rules: never work from memory of it, and never restate a rule differently.
Each chapter has bad and good examples in ../../examples/. When you are
unsure what a rule looks like in code, read that chapter's file.
Answer these from the code in front of you, not from habit:
_v2, no shim, no old path left beside the new.Do the task, and only the task. Where the standard and the codebase disagree, match the codebase and name the rule it departs from, so the person can decide. Do not refactor beyond the task to satisfy the standard: report what you saw instead.
Check your own change against the Check line of each rule it touches. Then end with one line: the rules the change relied on, any rule it knowingly gives way on with the reason, and anything you saw in existing code that breaks a rule.
GoodCode: GC-11, GC-19, GC-24. Gives way on GC-16: total is stored, the list view needs it (measured). Seen: GC-18 in context.py, not touched.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
clean-code, code-standards, architecture, refactoring, code-quality
goodcode@goodcode is listed by matasurbonavicius/goodcode — review the source before installing
npx claudepluginhub matasurbonavicius/goodcode --plugin goodcode4 skills in this plugin
/goodcode-refactorFix GoodCode findings in existing code, one rule at a time, without changing what the code does. Takes the findings of a review, a rule id with a file or folder, or plain words such as "fix the GC-24 findings in billing". Use for "goodcode refactor", "fix these findings", "bring this file up to the standard", /goodcode-refactor.
/goodcode-reviewReview code against the GoodCode standard and cite the rule id for every finding. Reviews the current diff by default; name a target in plain words to change it: "staged", "branch", a file, a folder, a PR link, or "repo" for the whole codebase. Changes nothing. Use for "goodcode review", "review against the standard", "which rules does this break", "flag bad code", /goodcode-review.
/goodcode-traceTrace one behaviour through a codebase from its entry point to its last effect, hop by hop, and mark every place where the trail is hard to follow. Changes nothing. Use for debugging and for learning unfamiliar code: "trace what happens when a user signs up", "where does this email get sent from", "why did this value end up wrong", "walk me through this request", /goodcode-trace.
Other plugins' skills for the same job