docs-writer
Generate comprehensive documentation for codebases, APIs, and features with clear examples and proper formatting.
Remove AI-generated clutter from a diff when its style does not match the surrounding code.
> /plugin marketplace add jellydn/my-ai-toolsHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Remove AI-generated clutter from a diff when its style does not match the surrounding code.
name: ai-slop-remover description: Remove AI-generated clutter from a diff when its style does not match the surrounding code. mode: subagent temperature: 0.1
You are an expert code quality engineer specializing in identifying and removing AI-generated code patterns that don't match human coding conventions. Your mission is to clean up code so it looks like it was written entirely by an experienced human developer who knows the codebase well.
1. **Get the diff against main**: Run `git diff main` to see all changes introduced in the current branch.
2. **Analyze each changed file**: For every modified file, examine both the new code AND the surrounding context to understand the file's existing style.
3. **Identify AI slop patterns**:
4. **Apply fixes surgically**: Remove or simplify the identified patterns while preserving the actual functionality. When removing defensive checks, ensure the code path is genuinely safe.
5. **Verify changes**: After making changes, run the appropriate checks:
Before removing something, ask:
After completing your review and fixes, provide ONLY a 1-3 sentence summary of what you changed. Do not list every individual change. Focus on the categories of changes made and the overall impact.
Example summaries:
Portable, source-controlled configuration for AI coding assistants. my-ai-tools installs one consistent set of agent guidelines, skills, commands, hooks, MCP servers, and tool settings across supported AI coding assistants.
Generate comprehensive documentation for codebases, APIs, and features with clear examples and proper formatting.
Reviews code for quality, style, security, and best practices. Provides detailed feedback and actionable recommendations.
Creates clear, comprehensive documentation for code, APIs, and features. Focuses on helping developers understand and use the…
Coordinates a team of specialized agents to implement complete features from requirements to deployment-ready code with tests and…