code-polish

Simplify and review modified code files with automatic fixes.

Updated Feb 9, 2025
One-click install
npx skills add https://github.com/obada-jaras/nextboost-starter --skill code-polish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-polish
Source: https://github.com/obada-jaras/nextboost-starter/tree/main/.cursor/skills/code-polish
Command: npx skills add https://github.com/obada-jaras/nextboost-starter --skill code-polish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the code refinement process by combining simplification for readability and a comprehensive review for correctness and quality, including automatic fixes.

Core Features & Use Cases

  • Code Simplification: Improves code readability and maintainability.
  • Code Review with Fixes: Identifies and automatically corrects issues related to correctness, security, and quality.
  • Combined Workflow: Orchestrates simplification and review into a single, efficient pipeline.
  • Use Case: Automatically clean up and improve a recently modified code file to ensure it's both easy to understand and robust.

Quick Start

Run the code polish skill on the current file.

Frequently Asked Questions about code-polish

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

FAQPage Schema
How do I automatically refactor and review uncommitted code changes?

You can automatically refactor and review uncommitted code changes by running a skill that targets session-modified tracked files, simplifying them for readability and applying automated fixes for security and correctness.

What is the best way to simplify code for readability and maintainability?

To simplify code for readability and maintainability, use an automated refinement process that restructures session-modified files, ensuring the codebase remains clean and easy to understand.

Can I automatically fix security and quality issues in modified files?

Yes, you can automatically fix security and quality issues in modified files by executing a comprehensive review pipeline that identifies and corrects vulnerabilities and structural flaws in tracked changes.

Does automated code review work on session-modified files only?

Automated code review targets session-modified files and uncommitted tracked changes, ensuring the improvement workflow focuses strictly on the code you have recently altered rather than the entire repository.

How do I clean up a recently modified code file to ensure it is robust?

Clean up a recently modified code file by orchestrating a combined workflow that first simplifies the code for readability and then performs a thorough review with automated fixes.