Skip to content
Back to skills

Fix

ASecurity

Auto-fix code style with composer fix, then check what static analysis and tests still report

  • 133 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
developmentphpbash

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add gacela-project/gacela --skill fix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gacela-project-fix/badge)](https://www.skillsdirectory.com/skills/gacela-project-fix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Auto-fix code style with composer fix, then check what static analysis and tests still report
argument-hint: "[file-path]"
disable-model-invocation: true
x-claude:
  allowed-tools: "Read, Edit, Bash(composer *), Bash(./vendor/bin/*)"
x-codex:
  interface:
    display_name: "Fix"
    short_description: "Run composer fix, then report what static analysis still finds"
---

# Fix Code Quality Issues

## Instructions

1. Auto-fix. For the whole project (normalize, rector, cs-fixer):
   ```bash
   composer fix
   ```
   For one file:
   ```bash
   ./vendor/bin/php-cs-fixer fix "<argument>"
   ```
   Rector can delete or privatize fixture methods that are dead on purpose. Revert those and skip the file in `rector.php`.

2. Check what the fixers cannot fix:
   ```bash
   composer quality
   ```
   Fix the remaining Psalm, PHPStan, and module-cycle findings by hand.

3. Verify nothing broke:
   ```bash
   composer phpunit
   ```

4. Summarize what was fixed and what remains.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.