aibuilder.sh
SkillsAgentsCommandsPlugins
LearnStats
aibuilder.sh

Composable building blocks for Claude Code

Built with BrainGrid

Filters

Filters1

Type

Task

Filters1

Type

Task

author:kaptinlin
1 artifact found
agentby kaptinlin
1w ago

code-simplifier

Use this agent when code has just been written or modified and needs refinement for clarity, consistency, and maintainability. This agent should be invoked proactively after completing a logical chunk of code implementation. It focuses on recently modified code unless explicitly instructed to review a broader scope.\n\nExamples:\n\n<example>\nContext: User has just implemented a new function\nuser: "Write a function that validates user input and returns appropriate error messages"\nassistant: "Here is the validation function:"\n<function implementation completed>\nassistant: "Now let me use the code-simplifier agent to refine this code for clarity and consistency"\n<commentary>\nSince a new function was just written, use the code-simplifier agent to review and refine it for clarity, consistency with project standards, and maintainability.\n</commentary>\n</example>\n\n<example>\nContext: User has modified existing code with new logic\nuser: "Add error handling to the API client"\nassistant: "I've added the error handling:"\n<code modifications completed>\nassistant: "Let me invoke the code-simplifier agent to ensure this follows project standards and is as clear as possible"\n<commentary>\nAfter modifying existing code, use the code-simplifier agent to review the changes and ensure they align with project conventions and maintain readability.\n</commentary>\n</example>\n\n<example>\nContext: User completed a refactoring task\nuser: "Refactor this component to use hooks instead of class syntax"\nassistant: "Here's the refactored component using hooks:"\n<refactoring completed>\nassistant: "I'll use the code-simplifier agent to review this refactored code for any further simplification opportunities"\n<commentary>\nAfter refactoring, the code-simplifier agent can identify additional opportunities to improve clarity and ensure the refactored code follows best practices.\n</commentary>\n</example>

1 repos0 installs
$npx ai-builder add agent kaptinlin/code-simplifier
You've reached the end