review-and-refactor

Review and refactor project code to meet coding standards and pass tests.

Updated Jun 17, 2025
One-click install
npx skills add https://github.com/jax2730/workcode --skill review-and-refactor-jax2730
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-and-refactor
Source: https://github.com/jax2730/workcode/tree/main/xxsjMaptools/.github/skills/review-and-refactor
Command: npx skills add https://github.com/jax2730/workcode --skill review-and-refactor-jax2730

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of maintaining clean, efficient, and standards-compliant codebases over time by automating the review and refactoring process.

Core Features & Use Cases

  • Code Review: Analyzes code against defined project guidelines and best practices.
  • Refactoring: Modifies code to improve structure, readability, and performance without altering external behavior.
  • Use Case: Ensure a newly developed feature adheres to the project's established coding standards and improve the overall maintainability of the codebase before merging.

Quick Start

Review and refactor the code in the current project according to the guidelines in .github/instructions/*.md and .github/copilot-instructions.md.

Frequently Asked Questions about review-and-refactor

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

FAQPage Schema
How do I refactor code to improve maintainability without breaking existing tests?

To refactor code for maintainability without breaking tests, this Skill modifies project code to improve structure and readability while ensuring it passes existing tests. It analyzes your code against defined project guidelines and best practices.

What is the best way to review code against project coding standards?

The best way to review code against coding standards is to automate the review process. This Skill analyzes your project code against defined instructions in markdown files to ensure adherence to established best practices.

How do I clean up project code before merging a new feature?

To clean up project code before merging, this Skill reviews and refactors the newly developed feature to ensure it adheres to coding standards and improves overall maintainability according to specified instructions.

Can I use custom guidelines for automated code review?

Yes, you can use custom guidelines for code review. This Skill reviews and refactors code according to specified instructions stored in markdown files within your project's .github/instructions directory.

Does refactoring code alter its external behavior?

Refactoring code does not alter external behavior. This Skill modifies the internal structure to improve readability and performance while ensuring the code maintains its original functionality and passes existing tests.

What do I need to start automating code refactoring?

To start automating code refactoring, you need project code and defined coding instructions. This Skill uses guidelines from .github/instructions/*.md and copilot-instructions.md files to review and refactor your codebase.