Notre avis
Cette compétence permet de construire les assets statiques, de lancer le serveur et d'obtenir une approbation visuelle avant de valider les modifications.
Points forts
- Intègre la vérification visuelle directement dans le flux de validation.
- Automatise les étapes de build et de migration.
- Réduit les risques de déploiement de modifications non vérifiées.
- Fonctionne avec des projets Go utilisant Templ et Tailwind CSS.
Limites
- Nécessite que le serveur soit accessible en local (port 8080).
- Dépend d'une validation humaine, ce qui peut ralentir le processus.
- Ne couvre pas les tests automatisés (ex: tests d'interface).
Utilisez cette compétence avant chaque validation qui modifie l'interface utilisateur (composants, templates, styles, migrations).
Ne l'utilisez pas pour des changements purement backend ou sans impact visuel, ni lorsqu'une validation humaine n'est pas possible (CI/CD).
Analyse de sécurité
SûrThe skill runs local build commands and a local development server; no destructive, exfiltrating, or obfuscated actions. User is prompted before database migrations. It is safe for its intended use.
Aucun point d'attention détecté
Exemples
I have changes to the homepage template and some CSS. Please verify the UI before I commit.Run the verify-ui workflow for my current changes.name: verify-ui description: Build assets, run server, and get visual approval before committing observable changes.
When to use
- Before committing any changes that affect observable UI behavior
- This includes: templates, components, styles, handlers, models surfaced in UI, migrations
- When CLAUDE.md or
/commitskill directs you here
Prerequisites
- Changes to verify should already be implemented (not staged/committed yet)
Workflow
-
Build static assets:
- Run
templ generateto regenerate templ files - Run
make cssto rebuild Tailwind CSS - Report any errors and stop if build fails
- Run
-
Database migrations (if applicable):
- Check for pending migrations:
make migrate-status - If pending, ask user before running:
make migrate - Skip if no database changes
- Check for pending migrations:
-
Start server:
- Run
go run ./cmd/tfo-webappin background - Wait for server to be ready (check output for listening message)
- Report the URL (typically http://localhost:8080)
- Run
-
Request visual inspection:
- Tell user: "Server running at http://localhost:8080 - please verify the UI"
- Use AskUserQuestion to get approval:
- "Does the UI look correct?"
- Options: "Yes, looks good" / "No, needs changes"
-
Handle response:
- If approved: Stop server, report ready to commit
- If not approved: Stop server, ask what needs to change, do NOT proceed to commit
-
Cleanup:
- Always stop the background server when done
Output
- Commands run and their outcomes
- Server URL for inspection
- User's verification decision
- Clear next step (proceed to commit or fix issues)
TDD Red-Green-Refactor
Testing
Skill qui guide Claude a travers le cycle TDD complet.
Audit d'Accessibilité Web
Testing
Réalise un audit d'accessibilité web complet selon les normes WCAG.
Générateur de Tests UAT
Testing
Génère des cas de test d'acceptation utilisateur structurés et complets.