Clean Code
Language-neutral skills for visualizing, designing, building, testing, and verifying maintainable software.
Ships a Codex manifest but no marketplace file, so Codex can't add it by name yet. Add it to a local marketplace (.agents/plugins/marketplace.json).
Plugin clean-code in shashank-sn/clean-code. Commands read from the repo's manifest — 1 month ago.
What it installs
Skills (31)
clean-arenaRun a bounded competing-design workflow with independently reasoned options, structured comparison, and a revision-bound decision record. Use for consequential design choices; do not invoke for routine fixes.
clean-auditProduce an immutable, revision-bound release receipt from deterministic verification, independent test planning, review, human spot checks, policy identity, exceptions, and evidence hashes. Use before release or merge, when handing work to another team, or when a durable record of checked and unchec
clean-auditorProduce the immutable release receipt mapping requirements to evidence, decoupled from implementers so it cannot self-whitewash. Use for release qualification, final evidence reconciliation, and audit receipt generation.
clean-brainstormExplore vague product ideas into a requirements-only plan with scope boundaries, acceptance signals, and explicit non-goals. Use before clean-plan when behavior, users, or success criteria are still open.
clean-buildImplement one bounded behavior through short, verified steps while protecting requirements, architecture policy, repository conventions, and unrelated code. Use when adding a feature, fixing a bug, changing behavior, or continuing an implementation from an approved design and test plan.
clean-compoundDocument a solved problem as durable repo learning under docs/solutions and update CONCEPTS.md vocabulary when present. Use after shipping or fixing something worth remembering.
clean-debugDiagnose bugs and failing behavior with causal-chain discipline before fixing. Use for errors, regressions, failed tests, or stuck investigations after a bad fix.
clean-designTurn requirements into use cases, stable policy boundaries, delivery and data boundaries, dependency direction, acceptance examples, and repository-owned architecture constraints. Use before implementing a feature, when splitting components, when a change crosses framework or vendor boundaries, or w
clean-discoverInspect a repository read-only to identify languages, project metadata, configuration, and available paths for deterministic quality checks.
clean-dispatcherDispatch implementation, test-writing, review, and audit to their dedicated sub-agents with bounded ownership and isolated contexts, preserving clean-orchestrate as the authority on role assignment. Use for multi-part coding work requiring structural independence.
clean-eval-discoverTurn real work outcomes and bounded human judgment into representative, reviewable evaluation candidates. Use when escaped defects, rejected outputs, human edits, review outcomes, or correct silence may reveal a repeatable quality signal; discover and calibrate candidates without approving, activati
clean-learnTurn confirmed defects, false positives, accepted changes, review outcomes, and benchmark results into reversible policy, threshold, adapter, convention, or calibration proposals. Use after an audit or repeated outcome reveals a useful local rule change; keep every proposal separate from execution a
clean-lfgRun the full autonomous shipping pipeline from planning through implementation, simplification, dead-code pruning, final verification, review, ship, and CI watch. Use only when the user wants end-to-end delivery to an open PR without step-by-step check-ins.
clean-merge-resolverResolve an in-progress git merge or rebase conflict hunk by hunk, tracing each resolution to both sides' primary sources, then finish the operation. Never abort. Use when git reports conflict or unmerged paths.
clean-orchestrateCoordinate specification, implementation, independent testing, deterministic verification, review, human spot checks, and audit without treating agent narration as proof. Use for multi-part coding work, release qualification, agent collaboration, or any change where correlated mistakes and stale evi
clean-planEnrich a requirements-only plan into an implementation-ready plan with units, verification contract, files, dependencies, and definition of done. Use after clean-brainstorm or when a feature needs structured breakdown before build.
clean-probePlan and run adversarial acceptance probes after implementation for medium/high-risk work before claiming success. Distinguishes primary acceptance from post-hoc diagnostics and feeds failures into a bounded repair/reverify loop.
clean-pruneDelete dead, unreachable, and leftover code from the change set, with a recorded reference search behind every deletion. Use after implementation and simplification, before final verification and review.
clean-refactorImprove names, functions, duplication, responsibility placement, dependency direction, boundaries, and module structure through behavior-preserving changes. Use when code works but is hard to change, a new case exposes a missing abstraction, metrics identify review pressure, or architecture dependen
clean-reviewReview code, requirements, architecture, tests, and deterministic evidence with concrete findings, structural simplification, and permission to return zero findings. Use after implementation and final verification, during pull-request review, when interpreting metric or tool output, or when checking
clean-reviewerReview a diff against repo standards and the originating spec with evidence-backed findings, in an isolated context where the change author is not the approver. Use after final verification, during pull-request review, or any time an independent reviewer is required.
clean-routeSelect a bounded adaptive workflow shape from task signals without choosing models by brand or writing host config. Use at the start of consequential engineering work when change type, risk, ambiguity, boundaries, evidence needs, or host capabilities should drive playbook selection.
clean-setupDetect a coding host's capabilities and select a native or generic Clean Code integration without changing repository quality policy.
clean-shipCommit, push, and open a pull request with a plain-English, human-readable description tied to requirements and evidence. Use when implementation is verified and ready to ship, or when asked to open or update a PR.
clean-show-meExplain the current software topic with the smallest useful visual, including pseudocode, code-shape sketches, Mermaid diagrams, diffs, or a focused HTML artifact.
clean-simplifySimplify recently changed code for clarity and reuse while preserving behavior and structure pins from the plan. Use after implementation before pruning and review.
clean-test-writerAuthor independent unit, acceptance, integration, and UI/QA test tracks from requirements and public contracts, withholding implementation details where feasible so tests cannot mirror implementation mistakes. Use when tests must be decoupled from the code that implements the behavior.
clean-testDerive independent unit, acceptance, integration or contract, and UI/QA evidence from requirements and public behavior. Use when planning tests, implementing a feature or bug fix, reviewing test quality, creating Gherkin examples, writing user-interaction procedures, or checking whether implementati
clean-verifyRun repository-declared deterministic checks, enforce trusted execution policy, validate required output artifacts, and preserve revision-bound evidence. Use after implementation or refactoring, before claiming completion, during code review, and in local IDE terminals, coding-agent platforms, CLI s
clean-watch-prWatch an open pull request until CI is green or a blocker is identified. Use after clean-ship when automated checks must pass before merge.
clean-worktreeCreate or attach an isolated git worktree for parallel or focused work. Use before large features or when the default branch must stay clean.
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.