prep

Execute a multi-stage cleanup and review pipeline before code commit.

1|Updated Dec 20, 2018
One-click install
npx skills add https://github.com/parkerhendo/home-config --skill prep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prep
Source: https://github.com/parkerhendo/home-config/tree/main/dotfiles/claude/skills/prep
Command: npx skills add https://github.com/parkerhendo/home-config --skill prep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of cleaning and reviewing code before committing, ensuring higher quality and consistency.

Core Features & Use Cases

  • Code Cleanup: Removes AI-generated "slop," simplifies complex code, and fixes linting/type errors.
  • Dead Code Removal: Identifies and removes unused files and exports.
  • Quality Assurance: Performs a final code review to catch bugs and ensure adherence to standards.
  • Use Case: After generating code with an AI assistant, use this Skill to polish it into production-ready code, ensuring it's clean, efficient, and bug-free.

Quick Start

Run the prep skill to clean and review your code before committing.

Frequently Asked Questions about prep

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

FAQPage Schema
How do I clean up AI-generated code before committing?

To clean up AI-generated code before committing, you run a multi-stage pipeline that removes AI artifacts, simplifies logic, executes linting and type checks, and performs a final review to ensure quality and readiness.

What is the best way to remove dead code and unused exports before a commit?

The best way to remove dead code and unused exports is using an automated cleanup pipeline that identifies unused files and exports, deleting them to streamline your project before executing final code reviews.

How does automated code review work for commit preparation?

Automated code review for commit preparation works by sequentially executing deslop, simplify, dead code removal, and lint/type checks, coordinating these stages to catch bugs and enforce project standards before you commit.

Can I fix linting and type errors automatically when polishing AI code?

Yes, you can fix linting and type errors automatically when polishing AI code by running a multi-stage cleanup pipeline that enforces project standards and addresses type checking as part of its sequential review process.

Do I need any specific dependencies to run a code cleanup and review pipeline?

You do not need any specific external dependencies to run this code cleanup and review pipeline, as it coordinates its own sequential execution of deslop, simplify, knip, lint/type checks, and code-review skills internally.