# Fix

> Auto-fix all code quality issues with rector, cs-fixer, and phpstan

- Skill: `phel-lang/fix` (Agent Skill)
- Install (CLI): `npx skillmds@latest add phel-lang/fix`
- Raw SKILL.md: https://api.skillmd.com/api/skills/phel-lang/fix/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: phel-lang (https://skillmd.com/u/phel-lang)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/phel-lang/fix

---


# Fix All Code Quality Issues

## Instructions

1. Run rector + cs-fixer:
   ```bash
   composer fix
   ```
   Or for a specific file:
   ```bash
   ./vendor/bin/php-cs-fixer fix "$ARGUMENTS"
   ```

2. Run static analysis to check for remaining issues:
   ```bash
   composer phpstan
   ```

3. Run tests to verify nothing broke:
   ```bash
   composer test-compiler
   ```

4. Summarize what was fixed and any remaining issues.

