/go-ultimate:pr-simplifyfrom go-ultimate
Shrinks a diff to its smallest complete fix by removing unnecessary architecture, redundant paths, and unrelated hunks before opening a PR.
Ships in go-ultimate. 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.
Read when SKILL.md points to them.
An editing pass by the change's author: run it on your own branch before you open the PR, and again before you push large repairs. It precedes review and never replaces it. Inherit the task's scope and repair authority; a review-only request gets findings instead of edits. The chosen maintainer workflow owns publication, review and merge.
The diff is a proposal. Passing tests show it works, not that its architecture or every added test is needed.
Rules: the repo's own instruction files — the root AGENTS.md (or equivalent: CLAUDE.md, .cursorrules), every scoped AGENTS.md on the changed paths, and the project's stated design priorities. Steps 2 and 3 apply every rule to every changed file.
Read the user's outcome and latest scope, the complete diff against the target merge base, and retained proof. Reuse session context already gathered. Then ask:
Starting from the base, what is the smallest complete fix using the owners already present? Would I still introduce this architecture?
Inspect the largest added modules, state, adapters and test scaffolding first. Read their direct callers and relevant history: apparently redundant behavior may protect a shipped configuration or an earlier regression. Scope is the changed system and the paths it replaces.
Trace every changed hunk to the stated outcome. A hunk that serves another goal leaves this change: drop it or move it to its own PR.
Count the non-mechanical changed lines. Above about 800, or about 500 for complex logic, name the smallest coherent stage that can land first and cut the change to that stage.
Done when you can state the defect, the required invariant, and the smallest complete fix in one sentence each, and every remaining hunk serves that fix.
Apply each supported simplification in the diff:
try/catch blocks that match the surrounding module and guard real states;as any, as unknown as T, widen-then-assert);Preserve the requested fix and supported behavior, not the proposal's accidental design. Keep real domain differences and justified public compatibility. When history (git log -p -S <symbol>) leaves a path's purpose unclear, keep it and report it. Report new product decisions, breaking contracts, unrelated cleanup and destructive branch replacement as findings for the owner.
For each added or changed test group and its setup helpers, name the distinct observable failure it catches.
Keep regressions for the actual defect and distinct boundaries: ordering, cancellation, stale authority, restart, rejection, real errors and affected consumer differences. Keep static contract guards that independently protect a real boundary. Remove duplicate same-path cases, mock echoes, incidental field-copy or wording assertions, assertions on statically defined values, tests that only prove removed logic is gone, tests of obsolete implementations, and scaffolding or test-only production hooks. Consolidate useful cases in an existing owner suite.
Removing tests never weakens the assertions, coverage of real boundaries or baselines that remain.
Done when every remaining test group has a named failure.
Batch the edits, then rerun the reproduction and focused checks for the changed contracts and affected consumers. Reuse proof whose inputs are unchanged. A preserved restart, upgrade or transport claim needs applicable proof. The existing workflow selects broader checks.
Done when the complete diff is inspected, every rule has a verdict for each changed file, supported simplifications are applied, superseded paths are unreachable and affected behavior still has proof. No change is a valid result when the existing shape is justified. Aim for net-negative code, not a deletion quota.
Report in the PR body or existing task evidence: the responsibility or machinery that disappeared, the behavior still protected, and production/test deltas against the merge base. Label a reduction against an earlier revision separately from the whole-change delta. Name any necessary remaining growth or unresolved decision.
Then open or update the PR. After later repairs, simplify only the new changes and the owners they touch before pushing them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
go-ultimate@djarvur-plugin-marketplace is listed by djarvur/cc-mplace — review the source before installing
npx claudepluginhub djarvur/cc-mplace --plugin go-ultimate7 skills in this plugin
/go-ultimateThe complete Go development skill. REQUIRED for ALL Go work — writing, refactoring, reviewing, generating, scaffolding, or discussing Go code, including any change to .go files. Use whenever the user mentions Go, Golang, go.mod, a Go package, or asks to build a Go backend service, CLI, library, script, MCP server (Model Context Protocol), or AI/LLM agent with tool calling or ReAct-style reasoning. Routes by project type to the right architecture, conventions, and review checklist. Also gates six language-agnostic companion skills (ponytail minimal-change mode, ponytail-review, ponytail-audit, pr-simplify, test-audit, technical-documentation) that refine change size, test proof, review/audit output and docs for Go work. Highly opinionated; overrides generic Go style and lint guidance on conflicts.
/ponytailLazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.
/ponytail-auditQuality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split. Ranked, each finding explained in plain English. One-shot report, changes nothing. Use for "audit this codebase", "review the whole repo", "find bloat", "what can I delete", /ponytail-audit.
/ponytail-reviewQuality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed. Reads the connected code, not only the diff. Each finding is explained in plain English. Use for "review this", "code review", "review the last commit", "review my PR", "is this over-engineered", /ponytail-review.
/technical-documentationBuild and review high-quality technical docs as well as agent instruction files in your repository./test-auditWriting/changing/reviewing/sweeping tests: reject duplicate or implementation-coupled proof; remove test-only production seams.Other plugins' skills for the same job