cleanup

Run sequential code quality checks and apply fixes to a codebase scope.

1|Updated Jun 11, 2025
One-click install
npx skills add https://github.com/AdelEddarai/agent --skill cleanup-adeleddarai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup
Source: https://github.com/AdelEddarai/agent/tree/main/.agents/skills/cleanup
Command: npx skills add https://github.com/AdelEddarai/agent --skill cleanup-adeleddarai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the sequential execution of multiple code quality checks to ensure your codebase is clean and efficient.

Core Features & Use Cases

  • Sequential Code Quality Checks: Runs a series of predefined code quality checks in a row.
  • Scope Selection: Allows you to select the scope of the review, such as a specific branch, pull request, or directory.
  • Fix Application: Optionally applies fixes to the identified issues.
  • Use Case: If you're about to merge a pull request and want to ensure it meets code quality standards, use this Skill to run all the checks and fix any issues that arise.

Quick Start

Run the cleanup skill on your current changes with fixes applied: cleanup --fix true.

Frequently Asked Questions about cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run multiple code quality checks at once before merging a pull request?

Sequential code quality checks run multiple validation steps in a row on a specified scope like a pull request. This process executes effect, memo, callbacks, state, React Query, and design reviews to ensure your codebase meets standards.

Can I automatically apply fixes when code checks identify issues in my codebase?

Yes, you can automatically apply fixes to identified issues by enabling the fix option during execution. This sequentially runs checks and applies corrections to ensure your codebase meets quality standards without manual intervention.

What is the best way to perform codebase maintenance on a specific directory or branch?

The best way to perform codebase maintenance is using a sequential code quality check process that supports scope selection. You can target a specific directory, branch, or pull request to run checks and apply fixes efficiently.

Does the sequential code review process support React Query and state checks?

Yes, the sequential code review process explicitly supports React Query and state checks. It executes these validations alongside effect, memo, callback, and design reviews within a single automated run.

How do I streamline my development workflow when handling multiple code checks?

You can streamline your development workflow by executing multiple code quality checks sequentially in one run. This handles effect, memo, callbacks, state, React Query, and design reviews automatically instead of manual checks.

When should I not use an automated code fix application tool?

You should avoid automated code fix application when you need manual review of complex logic changes. The tool is designed for sequential standard checks like effect and state validation, not deep architectural redesign.