claude

clean-code

Commit-time clean-code review gate — blocks unreviewed commits, reviews the staged diff against a layered rubric, and resolves findings through a single apply/manual/approve decision; silent when there is nothing to report

3 on GitHubby Entelligentsiav0.1.0MITupdated 3 months ago
/

Plugin clean-code from marketplace skillforge in Entelligentsia/skillforge. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (4)

  • error-handling

    Use when writing or changing error handling — try/catch, raise/throw, Result or Option returns, validation, retries, resource cleanup, or how failures surface to users and API clients. Load before adding a catch block or deciding what an operation returns when it fails.

  • naming-and-structure

    Use when writing a new function, class, or module, or when renaming or restructuring existing code. Covers intent-revealing names, single responsibility, abstraction levels, argument design, and when a comment earns its place. Not for formatting or style questions the linter already decides.

  • refactoring-triggers

    Use when asked to clean up, refactor, simplify, or reduce duplication in existing code, or when a function you are editing has grown past comfort. Gives decidable triggers for extracting, splitting, or leaving code alone — and for when refactoring is out of scope.

  • testing-discipline

    Use when writing or modifying tests — choosing what to assert, naming test cases, handling async waits, designing fixtures, or deciding which paths of a change need coverage. Load before writing the first assertion, not after the suite goes red.

Slash commands (4)

  • /clean-code:remove

    Remove or pause the clean-code commit gate for this repository, restoring any hook it replaced

  • /clean-code:resume

    Re-open the clean-code review gate from findings saved earlier, without re-running the review

  • /clean-code:review

    Review the staged diff for clean-code violations, present findings for one decision, and satisfy the commit gate

  • /clean-code:setup

    Activate the clean-code commit gate for this repository — writes config and optionally installs the git pre-commit hook

Subagents (1)

  • clean-code-reviewer

    Reviews a staged git diff against the clean-code principles corpus and returns structured findings as JSON. Invoked by /clean-code:review at commit time; not intended for direct use.

Hooks (1)

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/hooks/gate.js" check

View source on GitHub

Problems found in this repo's manifests

  • "forge-usage" points to ./forge-usage, which doesn't exist in the repo — install will fail

More from Entelligentsia/skillforge

All 14 plugins →

13 skills for agent harness components — memory/compaction, session persistence, prompt caching, subagent orchestration, sandboxing, permissions, streaming, concurrency, telemetry, hooks, workspace state, model routing, rate limiting

13 skills

3

10 skills covering all 23 GoF patterns plus enterprise and DDD patterns

10 skills

3

9 skills for LLM integration patterns — RAG, tool use, agents, guardrails, tool synthesis

10 skills

3

In-browser annotation overlay for HTML/Markdown/text documents; click Apply in the browser to have Claude Code apply edits to source within ~60s

1 skill · 4 commands · hooks

3

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

ecc

claudecodex

Harness-native ECC operator layer - 71 agents, 314 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses

200 skills · 98 commands · 71 agents · 1 MCP server · hooks

affaan-m/ECC 302,088

Automated code review for pull requests using multiple specialized agents with confidence-based scoring to filter false positives

1 command

anthropics/claude-code 155,476

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Investigate incidents, review code and execute UAT for release readiness, scan code for vulnerabilities, and run penetration tests with AWS DevOps Agent and AWS Security Agent.

13 skills · 9 commands · 1 MCP server

anthropics/claude-plugins-official 47,076

ship-mate

claudecodex

Your AI development teammate. Turns a story file into a shipped, reviewed, and tested feature via orchestrator → architect → developer → PR reviewer → QA → Playwright.

1 skill · 2 commands · 6 agents

wshobson/agents 42,461

Maintain clean-code?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins14 plugins