source-command-sparc-refinement-optimization-mode

Refactor system components, optimize database queries, and enforce configuration best practices.

Updated May 11, 2026
One-click install
npx skills add https://github.com/FrekiManagarm/pav-d-mill --skill source-command-sparc-refinement-optimization-mode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-sparc-refinement-optimization-mode
Source: https://github.com/FrekiManagarm/pav-d-mill/tree/main/.agents/skills/source-command-sparc-refinement-optimization-mode
Command: npx skills add https://github.com/FrekiManagarm/pav-d-mill --skill source-command-sparc-refinement-optimization-mode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for efficient code optimization and modularization to enhance system performance.

Core Features & Use Cases

  • System Optimization: Refactors code to improve modularity and performance.
  • Performance Management: Ensures optimal database query performance and enforces file size limits.
  • Dependency Decoupling: Promotes cleaner configurations and dependency management.
  • Use Case: Refactoring a large component to reduce its size below 500 lines, moving configurations to environment files, and optimizing database queries to enhance system speed and maintainability.

Quick Start

Activate the source-command-sparc-refinement-optimization-mode Skill to optimize your system's database queries.

Frequently Asked Questions about source-command-sparc-refinement-optimization-mode

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

FAQPage Schema
How do I automate code refactoring to improve system performance?

Automating code refactoring for system performance involves using script-based modifications to restructure components, enforce file size limits, and decouple dependencies. This approach enhances modularity and maintainability without manual intervention.

What is the best way to optimize database queries during component refactoring?

Optimizing database queries during component refactoring requires enforcing configuration best practices and utilizing automated scripts. This ensures query efficiency and overall system speed improvements are maintained alongside structural code changes.

Can I enforce file size limits when modularizing large code components?

Yes, you can enforce file size limits when modularizing large code components by using automated script modifications. This process automatically refactors components to remain below 500 lines, moving configurations to environment files for cleaner management.

How does dependency decoupling improve system maintainability?

Dependency decoupling improves system maintainability by promoting cleaner configurations and separating interconnected code modules. This structural separation allows developers to update or modify individual components without triggering widespread system failures.

Do I need specific environment configurations to run database optimization scripts?

Running database optimization scripts requires context management via the Model Context Protocol or NPX CLI fallbacks. IT professionals must ensure their environment supports these script-based modifications for automated task execution.