mblode/agent-skills

tidy

Applies diff-scoped simplifications using reuse, ownership, efficiency, and test-value checks, including actionable review findings.

Quelltext ansehen
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Tidy

Apply simplifications inside the current diff and incorporate actionable review findings. A clean diff may need no edits. For a read-only report use pr-reviewer; wider architectural changes belong to codebase-architecture.

Workflow

  1. Record the staged and unstaged scope, or the requested branch range, plus existing edits. Use applicable project instructions and check results already available at this revision.
  2. Inspect the relevant angles below. Reuse prior findings; do not repeat a full review simply because a different command produced it. Work locally by default. Delegation is useful only for substantial independent scopes supported by the host.
  3. Merge findings by root cause, discard false positives, and apply the smallest complete fixes. Correctness fixes precede simplification; ownership fixes precede polishing code they remove.
  4. Run checks affected by the changes, plus repository-required gates. Preserve exit codes and distinguish baseline failures. Report applied changes, material deferred decisions, and check results.

Review angles

AngleDistinctive questionEvidence for a change
ReuseDoes this code need to exist, or does a live repository helper, stdlib, platform feature, or installed dependency cover it?Existing contract and call site, including the boundary cases it handles
QualityDoes this introduce a second owner of state, an unused extension point, or unnecessary compatibility?Actual consumers and state ownership, not line count alone
EfficiencyDoes this add repeated work on a real hot path?Call frequency, duplicate reads, unbounded retention, or a defeated no-change signal
OwnershipIs a caller patch compensating for a shared mechanism, or placed outside the subsystem that owns this behavior?Writers, callers, and adjacent implementations; the deeper fix must be smaller than the special case
Test valueCan the test fail for a reason someone would act on?A named regression, reachable branch, or public contract; literal diff mirrors and mock echoes add no assurance

Constraints that earn their place

  • Guard deletion requires system evidence. Before removing a fallback, retry, lock, or validation, identify the writers, reachable states, staleness tolerance, and recovery owner. A guard that looks redundant locally can protect another caller. If its state cannot be ruled out, retain it and report the uncertainty.
  • Prior reviews are input, not authority. Apply supported findings. If current evidence refutes a prior finding, explain why it was not applied; do not blindly implement it because the report called it confirmed.
  • No whole-file rollback of unrelated edits. Scope formatters. If a formatter causes churn, remove only changes introduced by this run; git restore <path> can discard the user's earlier edits in the same file.
  • No abstraction quota. Fewer lines is not a win if it hides different lifecycles or drops behavior. An existing owning subsystem is stronger evidence than a preferred generic pattern.
  • Tests follow risk. Add or update a regression check when the edit changes behavior that can independently regress. Do not require tests for copy, a literal config change, or framework behavior already covered elsewhere.
  • Stop on evidence, not ceremony. Once affected checks pass, repeat only for new changes, failures, or unresolved concerns. A second pass that keeps adding guards to the same spot calls for revisiting the mechanism.

Output

Summarize what changed and why, checks and their results, and any substantial fix requiring a broader scope. Omit empty sections and "no findings" entries for every angle. Leave commits and PR creation to the user's request or pr-creator.

Maintenance only: evals/evals.json contains regression scenarios for changes to this skill; it does not load during a user task.

aus demselben Repository

Weitere Skills

Alle Skills
mblode
Community

agent-ready

Implements agent-readiness on public sites and docs from Mintlify Agent Score, AFDocs, Is Agentic, Is It Agent Ready, or url-discovery-bench reports, or from server logs of agents 404ing on guessed URLs. Use when asked to "make this agent-ready", "improve Agent Score", "fix llms.txt coverage", "agents keep 404ing on our docs", or when a pasted scorecard is the brief. For docs prose use docs-writing; for CLI/SDK ergonomics use dx-audit; for agentic product UX use ax-audit; for crawler policy, Next.js markdown routes, and AEO measurement use seo.

Installationen
1
GitHub Stars
126
Aktualisiert
19. Sept.
mblode
Community

agents-md

Audits and edits agent instruction files, verifies repository commands, and migrates repositories to AGENTS.md as the single shared source. Use when asked to "improve my AGENTS.md", "migrate CLAUDE.md to AGENTS.md", or make instructions work across agents. For SKILL.md use agent-skills-creator.

Installationen
1
GitHub Stars
126
Aktualisiert
19. Sept.
mblode
Community

autoship

Runs a changesets npm release through the version PR, CI publish, and registry verification. Use when asked to "release this package", "autoship", "merge Version Packages", or diagnose a release that did not publish. For feature PRs use pr-creator or pr-babysitter.

Installationen
1
GitHub Stars
126
Aktualisiert
19. Sept.
mblode
Community

docs-writing

Writes and audits technical docs with Diataxis type gating, runnable examples, and 51 documentation rules. Use when asked to "review my docs", "write an API reference", or improve a documentation page. For a whole README use readme-creator; for agent instructions use agents-md.

Installationen
1
GitHub Stars
126
Aktualisiert
19. Sept.