Agent Capability Analysis
The class-refactoring skill by pekral is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.
Ideal Agent Persona
Ideal for PHP Analysis Agents requiring advanced code optimization and refactoring capabilities for stateless PHP classes
Core Value
Empowers agents to perform comprehensive class refactoring using PHPDoc for PHPStan, focusing on recently modified code and preserving functionality while ensuring clean, modern, and optimized code, all while adhering to strict rules loaded from .cursor/rules/.*mdc files
↓ Capabilities Granted for class-refactoring
! Prerequisites & Limits
- Requires access to .cursor/rules/.*mdc files for rule loading
- PHP environment only
- No increase in public API surface without strong justification
Browser Sandbox Environment
⚡️ Ready to unleash?
Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.
class-refactoring
Install class-refactoring, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.
FAQ & Installation Steps
These questions and steps mirror the structured data on this page for better search understanding.
? Frequently Asked Questions
What is class-refactoring?
Ideal for PHP Analysis Agents requiring advanced code optimization and refactoring capabilities for stateless PHP classes Basic skeleton for new php packages
How do I install class-refactoring?
Run the command: npx killer-skills add pekral/php-skeleton. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.
What are the use cases for class-refactoring?
Key use cases include: Refactoring PHP classes for improved code coverage, Analyzing and completing TODO list tasks in PHP projects, Optimizing PHP code for better performance and readability.
Which IDEs are compatible with class-refactoring?
This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.
Are there any limitations for class-refactoring?
Requires access to .cursor/rules/.*mdc files for rule loading. PHP environment only. No increase in public API surface without strong justification.
↓ How To Install
-
1. Open your terminal
Open the terminal or command line in your project directory.
-
2. Run the install command
Run: npx killer-skills add pekral/php-skeleton. The CLI will automatically detect your IDE or AI agent and configure the skill.
-
3. Start using the skill
The skill is now active. Your AI agent can use class-refactoring immediately in the current project.