Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By matasurbonaviciusv1.0.0MITIn 1 marketplace
Makes Claude write, review and refactor code against 40 checkable rules, citing the rule behind each finding. It says benchmark programs under this standard rejected nonsense input in all 30 runs, versus 0 of 30 for plain Sonnet, at 2.2× the cost.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
code-standard, refactoring, clean-code, rule-based-review, tracing, standard, architecture, ai-agents
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
GoodCode forces AI agents to code to a strict standard: 40 rules, each one checkable. The agent writes to them, reviews against them, and cites the rule behind every finding.
Measured. Plain Sonnet: 30 of 30 programs silently accepted nonsense input. With GoodCode: 0 of 30, in functions less than half as long. Costs 2.2× more. See the benchmark.
/plugin marketplace add matasurbonavicius/GoodCode
/plugin install goodcode@goodcode
Two prompts in Claude Code, then code as usual. Other agents: it's one Markdown file that any of them can read.
The 40 rules · Benchmark · Examples · Commands · Any agent · FAQ
Ten lines any agent would happily write, and several ways to lose money quietly. /goodcode-review found seven problems (five shown), each with a rule id and a line. You argue about GC-24, not about taste. /goodcode-refactor fixes them one by one.
Before:
def refund(order_id, amount):
try:
order = db.get(order_id)
if order.status == "paid" or order.status == "shipped":
if amount > order.total:
amount = order.total # GC-24: quietly cut down
db.update(order_id, status="refunded", refunded=amount)
send_email(order.customer, f"Refunded {amount}")
except Exception:
pass # GC-24: refund failed? nobody knows
After. The rule is a pure, named function. The step around it shows every effect.
# orders/refund.py
REFUNDABLE = {Status.PAID, Status.SHIPPED}
def refund_amount(order: Order, requested: Money) -> Money:
if order.status not in REFUNDABLE:
raise NotRefundable(order.id, order.status)
if requested > order.total:
raise RefundExceedsTotal(order.id, requested, order.total)
return requested
# heart.py
def handle_refund(command: RefundCommand) -> None: # parsed at the door
order = orders.load(command.order_id)
amount = refund_amount(order, command.amount)
orders.save(order.refunded(amount))
mailer.send_refund_issued(order.customer, amount)
refund_amount is now tested with three values and no database, and every way it can fail has a name.
Claude Sonnet wrote three small programs, ten times each, under five prompts. Every program then got inputs that make no sense: an invoice for NaN euros, a shift that ends before it starts, a team that plays itself.
Example: an exchange rate mistyped as -0.92. The right total is 146.00.
$ python3 outstanding.py invoices.csv rates.json # plain Sonnet
{"zeta": "54.00"}
$ python3 outstanding.py invoices.csv rates.json # with GoodCode
error: rates.json: rate for USD is '-0.92'; it must be a number above 0
[!NOTE] A small benchmark: one model, three small programs, and we wrote both the standard and the test. Everything is in
benchmark/, with the full numbers and what it does not prove.
7-day copy clicks
goodcode@goodcode is listed by matasurbonavicius/goodcode — review the source before installing
npx claudepluginhub matasurbonavicius/goodcode --plugin goodcodeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground