Agent Skills: review-code-simplicity
Use when a code change, diff, PR, branch, patch, or tests should be examined for local implementation complexity — meaningful duplication and reuse opportunities, unnecessary control flow, and bespoke code an established repository module or justified dependency already covers. Accepts either raw evidence or the repository-owned shared review packet. Read-only, and preserves the chosen architecture and behavior. Returns only the shared result shape.
ID: shaug/agent-scripts/review-code-simplicity
Install this agent skill to your local
Skill Files
The files that make up review-code-simplicity.
More agent skills
- create-llmsCreate an llms.txt file from scratch based on repository structure following the llms.txt specification at https://llmstxt.org/
- sagElevenLabs text-to-speech with mac-style say UX.
- prototypeBuild a throwaway prototype to answer a focused logic, state-model, or UI question before committing to production design. Use when the user asks to prototype, sanity-check a model, mock up UI, explore design options, or try a few designs.
- scanning-experiments-with-replay-visionProvisions a Replay Vision scanner scoped to one experiment's exposed sessions: sets `experiment_targeting` so the API derives the person-scoped exposure filter server-side, templates a prompt that stays comparable across variants, sizes credit spend against the experiment's own population, and creates the scanner disabled so its prompt can be previewed on real sessions before it sweeps.\nTRIGGER when: user wants Replay Vision to watch an experiment, asks to scan or analyze an experiment's recordings with AI, asks \"what are users actually doing in the test variant\", or wants a scanner scoped to an experiment's exposed sessions.\nDO NOT TRIGGER when: creating a general-purpose scanner not tied to an experiment (use creating-replay-vision-scanners), reading observations a scanner already produced (use exploring-replay-vision-observations), or manually browsing an experiment's recordings without AI analysis (use analyzing-experiment-session-replays).
- docusaurus-expertBuild fast, SEO-optimized static sites with Docusaurus v3.9.2 using Markdown/MDX, SEO metadata, and plugins. Helps with setup, docs, SEO optimization, plugin integration, and GitHub Pages deployment.
- finding-deleted-feature-flagsFind feature flags that were soft-deleted in the active project within a recent time window. Use when the user asks "what flags were deleted in the last N days", "show me recently deleted feature flags", "who deleted flag X", "audit recent flag deletions", or anything similar. Handles the non-obvious gotcha that system.feature_flags exposes the deleted boolean but does not expose a deletion timestamp — the actual deleted-at time lives in the per-flag activity log and must be cross-referenced.