qa-workflow

Automate QA workflows for PHP GitHooks projects with static analysis and tests.

9|Updated Apr 12, 2020
One-click install
npx skills add https://github.com/Wtyd/githooks --skill qa-workflow-wtyd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qa-workflow
Source: https://github.com/Wtyd/githooks/tree/main/.claude/skills/qa-workflow
Command: npx skills add https://github.com/Wtyd/githooks --skill qa-workflow-wtyd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gestión del QA del proyecto GitHooks: ejecutar herramientas de análisis estático y tests, interpretar y corregir violaciones, y garantizar que el código está limpio antes de commitear. Usa esta skill SIEMPRE antes de commitear, o cuando un commit falle por un hook de QA, o cuando el usuario pida "ejecutar QA", "pasar análisis", "arreglar phpmd", "arreglar phpstan", "limpiar violaciones", "preparar para commit".

Core Features & Use Cases

  • Flow de QA orquestado para aplicar las herramientas configuradas en qa/githooks.php.
  • Interpretación y corrección de violaciones para facilitar un commit limpio.
  • Garantiza ejecución basada en configuración y uso repetible en proyectos PHP.

Quick Start

Ejecuta la secuencia de QA antes de cada commit para analizar y corregir violaciones automáticamente.

Frequently Asked Questions about qa-workflow

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

FAQPage Schema
How do I automate pre-commit QA checks for my PHP project?

Automate pre-commit QA checks by running a configuration-driven workflow that executes static analysis and tests from your githooks configuration, interpreting and correcting violations to ensure clean commits.

Why does my Git commit fail the pre-commit hook and how do I fix it?

Your commit fails the pre-commit hook because static analysis tools detected code violations. You can fix it by running a QA workflow that interprets the specific violations and automatically applies the necessary corrections.

How do I fix phpmd and phpstan violations before committing?

Fix phpmd and phpstan violations by triggering an on-demand QA request that analyzes the errors, interprets the reported code quality issues, and standardizes the corrections to prepare your code for a clean commit.

Can I use this QA workflow for any PHP project with custom static analysis rules?

Yes, you can use this QA workflow for any PHP project because it enforces configuration-driven analysis. It reads your defined static analysis and testing rules from the qa/githooks.php configuration to standardize violation correction.

What is the best way to standardize code quality checks across a PHP team?

Standardize code quality checks by implementing a configuration-driven QA workflow that applies consistent static analysis and test execution before every commit, ensuring all violations are interpreted and corrected uniformly.