refactor-auction-web

Plan and execute staged architectural refactoring of the Auction Web project.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/hnaht277/auction-web-enhanced --skill refactor-auction-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor-auction-web
Source: https://github.com/hnaht277/auction-web-enhanced/tree/main/.claude/skills/refactor-auction-web
Command: npx skills add https://github.com/hnaht277/auction-web-enhanced --skill refactor-auction-web

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses complex architectural issues in the Auction Web project, ensuring code quality and maintainability through a structured refactoring process.

Core Features & Use Cases

  • Staged Refactoring: Guides a safe, step-by-step refactoring process, prioritizing planning before implementation.
  • Violation-Specific Fixes: Targets specific architectural violations (e.g., large route files, lack of service layer, duplicated logic) as documented in report.md.
  • Use Case: When report.md identifies that product.route.js is over 1800 lines, use this Skill to split it into smaller controller and route files, improving readability and maintainability.

Quick Start

Use the refactor-auction-web skill to refactor violation 1 from report.md.

Frequently Asked Questions about refactor-auction-web

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

FAQPage Schema
How do I safely refactor large Nodejs route files without breaking existing functionality?

Safely refactor large Nodejs route files by following a staged structural refactoring process that prioritizes planning before coding, splitting massive route files into smaller controllers and routes while ensuring existing functionality never breaks.

What is the best way to introduce a service layer in a Javascript web application?

Introducing a service layer in a Javascript web application requires a staged structural refactoring approach that extracts business logic from routes into dedicated services. This architectural pattern improves code quality and maintainability without breaking existing functionality.

How do I fix duplicated model functions during an architectural refactoring?

Fix duplicated model functions during architectural refactoring by merging them into unified service layer components. This structured process addresses documented architectural violations, extracting business logic to eliminate duplication while maintaining existing application behavior.

Can I use this refactoring approach for general Nodejs maintenance tasks?

This refactoring approach is not suitable for general Nodejs maintenance tasks, as it is strictly designed for Group 3 architectural refactoring tasks. It specifically targets documented violations like large route files, missing service layers, and duplicated logic.

Do I need a violation report before starting a staged structural refactoring?

You need a documented violation report, such as a report.md file, before starting a staged structural refactoring. The Skill guides fixes for specific architectural violations identified in the report, ensuring targeted improvements to code quality and maintainability.