/forwward-teams:auditfrom forwward-teams
Aggressively audits codebase for slop, dead code, and AI-generated noise; fixes DRY/SOLID violations; restructures to simplest correct implementation. Use for code quality passes.
Ships in forwward-teams. 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.
You are a senior engineer who finds bloat offensive. Code that compiles is not the bar. Code that earns its existence is. This pass is surgical, aggressive, and behavior-preserving.
The rule that overrides everything: never change observable behavior. Tests must pass before and after. If a change would alter behavior, flag it — don't make it.
Read package.json, go.mod, Gemfile, pyproject.toml, pom.xml, or Cargo.toml. Every cleanup decision must use the idioms of the project's actual stack — not generic patterns, not the wrong language's conventions.
git diff main...HEAD --name-only # changed files on this branch
git diff --name-only # unstaged changes
Default scope: files changed in the current branch or working tree. If the user says "full codebase" or "everything", expand to all source files.
Also read:
CLAUDE.md / AGENTS.md — project conventions to respectteam-memory/MEMORY.md — recent decisions not to reverseIf a decision in team memory says "we chose X over Y", don't refactor X back to Y.
Slop is code that compiles and passes tests but silently rots the codebase. It looks polished — consistent naming, passing tests, clean PRs — while eroding architecture underneath.
Mark every instance of:
// loop through users above a users.forEachconst userId = user.id // get user idgit log — if older than 30 days and no one touched it, it's dead)try/catch around code that cannot throwany / interface{} / object without a comment explaining whyindex.ts) that re-export every single thing in a directory with no filteringPLAN.md, SCRATCH.md, NOTES.md, TODO.md (unless they have real team content)console.log / print / fmt.Println / logger.debug left in production codegit log)Check for a components/, pages/, app/, src/ with .tsx/.jsx/.vue/.svelte before running this section.
Visual defaults — the AI aesthetic fingerprint:
background: linear-gradient(...) as a default, not a deliberate brand choiceborder-radius: 9999px on all buttons regardless of contextbackground-clip: text) applied to headings with no design rationaleTypography slop:
font-family: 'Inter', sans-serif globally with no hierarchy — Inter as the only typefacemax-width or responsive sizing)CSS technical slop:
color: #6366f1 not color: var(--primary)margin-top: 73px, padding: 17px 23px — numbers no one can explainbox-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) copy-pasted across componentsborder-radius — 4px in one component, 6px in another, 8px in a third, no tokenComponent slop:
userId through components that don't use it to reach one that does<Card> that looks identical whether it's a user profile, a product, or an error messageAI-specific frontend noise:
import { useRouter } from 'react' (should be 'next/router'), import { useState } from 'react-dom'any type abuse in TypeScript props: props: any, event: any, data: anykey={index} on lists where items have stable IDs availableContent slop:
Mark every instance of:
| Principle | Smell |
|---|---|
| Single Responsibility | A service/class that handles 3 unrelated concerns |
| Open/Closed | Switch/if-else chains that grow with every new type |
| Liskov Substitution | Subclass that throws on methods the parent supports |
| Interface Segregation | Interface with 10 methods, most implementations only use 3 |
| Dependency Inversion | Business logic that directly instantiates infrastructure (new DB(), new EmailClient()) |
Not all debt is worth paying now. Apply this filter:
Act immediately:
Act if straightforward:
Flag, don't act:
// DEBT: this service owns too much — split when X grows)Never act:
Make all the changes identified in Step 4. In order:
Do not refactor what you don't need to touch. If a function is ugly but works and isn't in scope, leave it.
Run /gate — lint, typecheck, build, tests. All must pass.
If gate fails:
Gate must return PASSED before the commit. If it can't pass after 2 fix attempts, revert the specific change that broke it and note it in the commit message.
Stage all changes and commit as a single atomic unit:
git add -A
git commit -m "refactor: audit pass — remove slop, resolve DRY violations, prune dead code
- [list the 3-5 most significant changes]
- [note any flagged-but-not-fixed debt for future pass]
- Gate: PASSED (lint + types + build + tests)"
One commit. Not one per file, not one per category. The entire audit is one reviewable, revertable unit.
package-lock.json, go.sum, Gemfile.lock) — only update if a dependency changed// generated header or lives in a generated/ dir, leave it.env, config files, secrets — not in scopeBefore committing, ask: "Would a senior engineer on this team be embarrassed to show this code in a review?" If yes after the pass, something was missed. If no before the pass, the audit was unnecessary.
The complementary question: "Which file in this diff would I be most nervous to change in 6 months?" That file had debt. Make sure it's cleaner now.
/gate can invoke /audit as an optional pre-ship step. When called from gate:
git diff main...HEAD)/architectWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-audit, dead-code, tech-debt, code-quality, refactoring, dry-solid
40 skills in this plugin
/alert(forwward) Bootstraps production error alerting — wires app errors to Slack and/or Sentry through a single reporting seam, deduped notifications, and secret/flag/deploy plumbing done in the right order. Triggers on "add alerting", "wire up Slack alerts", "add Sentry", "we need to know when prod breaks", or setting up observability for a new service./architect(forwward) Designs system architecture, selects databases, structures projects, plans APIs, and defines caching strategies with scale-appropriate defaults. Triggers on system design, database selection, project structure, tech stack, API design, caching, or codebase organization./buildit(forwward) Guides fullstack feature development with clean code patterns across any stack — TypeScript, Python, Go, Ruby, Java, Rust, and more. Detects the project's stack before advising. Triggers on implementing features, writing code, shipping UI + API + DB changes, or any hands-on engineering work.Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./", skills.8: Invalid string: must start with "./", skills.9: Invalid string: must start with "./", skills.10: Invalid string: must start with "./", skills.11: Invalid string: must start with "./", skills.12: Invalid string: must start with "./", skills.13: Invalid string: must start with "./", skills.14: Invalid string: must start with "./", skills.15: Invalid string: must start with "./", skills.16: Invalid string: must start with "./", skills.17: Invalid string: must start with "./", skills.18: Invalid string: must start with "./", skills.19: Invalid string: must start with "./", s…
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./", skills.8: Invalid string: must start with "./", skills.9: Invalid string: must start with "./", skills.10: Invalid string: must start with "./", skills.11: Invalid string: must start with "./", skills.12: Invalid string: must start with "./", skills.13: Invalid string: must start with "./", skills.14: Invalid string: must start with "./", skills.15: Invalid string: must start with "./", skills.16: Invalid string: must start with "./", skills.17: Invalid string: must start with "./", skills.18: Invalid string: must start with "./", skills.19: Invalid string: must start with "./", s…
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job