cleanup

Run sequential React, Python, and TypeScript compliance checks with optional fixes.

1|1|Updated May 13, 2026
One-click install
npx skills add https://github.com/bibektimilsina00/fuse_monorepo --skill cleanup-bibektimilsina00
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup
Source: https://github.com/bibektimilsina00/fuse_monorepo/tree/main/.agents/skills/cleanup
Command: npx skills add https://github.com/bibektimilsina00/fuse_monorepo --skill cleanup-bibektimilsina00

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The cleanup Skill prevents risky merges by consistently running the repo’s core code quality checks in the right order, so issues are caught before review or release.

Core Features & Use Cases

  • React Hooks Audit: Flags unnecessary or harmful React patterns such as redundant effects, overly-cautious memoization, and missing React Query usage for server state.
  • React Query Best Practices: Applies standardized conventions to server-state code via the dedicated react-query-best-practices skill.
  • Python + TypeScript Quality Gates: Runs Python linting (ruff) and TypeScript type checking (tsc) to ensure style and correctness.
  • Frontend Design & Logging Compliance: Enforces design token usage, Tailwind-local styling, and consistent logger usage instead of print/console.log.
  • Import Convention Checks: Ensures Python absolute imports and TypeScript frontend alias conventions.

Quick Start

Run the cleanup skill on your current changes with fixing enabled by providing scope as "your current changes" and fix as true.

Frequently Asked Questions about cleanup

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

FAQPage Schema
How do I run code quality checks before a pull request?

Run code quality checks by executing sequential frontend, backend, and styling compliance passes across your specified scope. This process catches React hooks issues, Python ruff linting errors, and TypeScript type inconsistencies before review.

Can I automatically fix React hooks and Python ruff issues during a pre-release check?

Yes, you can automatically fix issues during a pre-release check by enabling the fix option. The cleanup process applies fixes sequentially across React hooks, Python ruff, and TypeScript tsc passes, then outputs an end-to-end summary of proposed and applied changes.

What does a React hooks audit check for in my codebase?

A React hooks audit flags unnecessary or harmful patterns such as redundant effects, overly-cautious memoization, and missing React Query usage for server state. This ensures your frontend code follows standardized conventions before shipping.

Does this code quality tool enforce design token usage and frontend import conventions?

Yes, this code quality tool enforces design token usage, Tailwind-local styling, and consistent logger usage instead of print or console.log. It also checks import conventions to ensure Python absolute imports and TypeScript frontend aliases are used correctly.

What is the best way to ensure TypeScript tsc type checking and Python ruff linting pass before merging?

The best way to ensure TypeScript tsc type checking and Python ruff linting pass is to run sequential code quality gates across your changes. This validates style and correctness while enforcing import conventions and logging compliance.

Why should I run sequential compliance checks instead of individual linters before shipping?

Running sequential compliance checks instead of individual linters prevents risky merges by ensuring the repo's core checks execute in the correct order. This coordinated approach catches React Query, design token, and logger consistency issues that isolated linters might miss.