Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By atournayrev1.3.2MITIn 1 marketplace
Fixes PHPStan level 9 errors in PHP code by iterating per file until zero errors or stagnation, then reports the results. Also checks classes against Elegant Objects rules, such as final classes and no getters or setters.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
French
1 marketplace, most starred first
phpstan, static-analysis, type-checking, elegant-objects, linting, automated-fixes, qa, quality ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Quality assurance : PHPStan, tests, linters.
/plugin install qa@atournayre
Le plugin qa fournit 2 skills (format natif Claude Code) :
Nouveauté v1.2.4 : Le skill PHPStan intègre le task management system pour suivre la boucle de résolution.
| Skill | Nombre de tâches | Type de workflow |
|---|---|---|
qa:phpstan | 5 tâches | Boucle itérative avec auto-fix (max 10 itérations) |
in_progress pendant toutes les itérations/qa:phpstan🔹 Skill disponible : phpstan-resolver
Résout les erreurs PHPStan en utilisant l'agent phpstan-error-resolver.
Usage :
/qa:phpstan
Workflow :
@phpstan-error-resolverTypes d'erreurs résolues :
Types stricts :
// Avant
public function process($data) { }
// Après
public function process(array $data): void { }
Annotations generics :
// Avant
/** @var Collection */
private Collection $items;
// Après
/** @var Collection<int, Item> */
private Collection $items;
Array shapes :
// Avant
/** @return array */
public function getData(): array { }
// Après
/** @return array{id: int, name: string} */
public function getData(): array { }
Collections Doctrine :
// Avant
/** @var Collection */
private Collection $users;
// Après
/**
* @var Collection<int, User>
* @phpstan-var Collection<int, User>
*/
private Collection $users;
Null safety :
// Avant
public function getName(): ?string
{
return $this->user->getName();
}
// Après
public function getName(): ?string
{
if ($this->user === null) {
return null;
}
return $this->user->getName();
}
Rapport :
🔍 Analyse PHPStan
Erreurs trouvées : 15
- Types stricts : 5
- Generics : 4
- Array shapes : 3
- Null safety : 3
Résolution :
✅ 15/15 erreurs corrigées
Vérification :
✅ PHPStan niveau 9 passe
/qa:elegant-objects🔹 Skill disponible : elegant-objects
Vérifie la conformité du code PHP aux principes Elegant Objects de Yegor Bugayenko.
Usage :
/qa:elegant-objects [fichier.php]
Arguments :
fichier.php (optionnel) : Fichier spécifique à analyserExemples :
# Fichier spécifique
/qa:elegant-objects src/Domain/User.php
# Tous les fichiers modifiés
/qa:elegant-objects
Règles vérifiées :
Conception des classes :
final (sauf abstraites)Méthodes :
nullnullStyle :
Tests :
Rapport :
## Score de conformité Elegant Objects
Score global: 75/100
## Violations critiques (bloquantes)
### Classes non-final
- **Fichier:** src/User.php:12
- **Problème:** Classe User non déclarée final
- **Suggestion:** final class User
## Statistiques
- Fichiers analysés: 5
- Classes analysées: 8
- Total violations: 12
phpstan-resolverLocalisation : skills/phpstan-resolver/
Skill spécialisé pour la résolution automatique des erreurs PHPStan. Utilisé automatiquement par /qa:phpstan.
Fonctionnalités :
@phpstan-error-resolver pour correctionsConfiguration :
ERROR_BATCH_SIZE: 5MAX_ITERATIONS: 10PHPSTAN_CONFIG: phpstan.neon ou phpstan.neon.distModèle : opus-4
Outils : Task, Bash, Read, Edit, Grep, Glob
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub atournayre/claude-marketplace --plugin qaPlugins from other owners that cover similar ground