Notre avis
Effectue une maintenance approfondie du dépôt OlyBars en analysant le code pour les fonctions inutilisées et en optimisant les configurations GCP.
Points forts
- Identifie le code mort via une analyse statique
- Optimise les configurations Cloud Run sur GCP
- Produit un rapport d'hygiène clair et actionnable
- Réduit la taille et la complexité du projet
Limites
- Fonctionne uniquement avec le dépôt OlyBars
- Nécessite l'exécution d'un script spécifique
- Peut manquer des fonctions référencées dynamiquement
Utilisez cette compétence lorsque l'utilisateur demande d'optimiser ou de nettoyer le projet OlyBars.
Ne l'utilisez pas si le projet n'est pas OlyBars ou si vous avez besoin d'améliorations de qualité de code plus générales.
Analyse de sécurité
PrudenceThe skill uses a shell command to execute a repository script, which falls under powerful tooling. While the intent is legitimate maintenance, the script’s behavior is unverified, so caution is warranted.
- •The skill instructs running a locally-provided TypeScript script via npx, which could perform arbitrary file system operations or network requests. Although the script is intended for static analysis and cleanup, without auditing its contents, there is inherent risk in execution.
Exemples
Optimize the OlyBars project and clean up any redundant code.Clean up the site and find any unused functions in the codebase.Run the janitor script to perform a hygiene check on the repository.name: janitor description: Performs deep maintenance on the OlyBars repo. Use this when the user asks to "optimize the project," "clean up the site," or "find redundant code."
Janitor Skill
Goals
- Maintain a lean, high-performance us-west1 GCP footprint.
- Ensure the repository remains readable for other agents in the swarm.
Instructions
- Introspection: Read
ARCHITECTURE.mdand thepackage.jsonto understand the intended stack. - Analysis: Traverse the
src/directory. Use static analysis to find functions with no internal references. - GCP Guardrails: Verify Cloud Run configurations in
server/aren't bundling unnecessary folders (e.g.,tests/ordocs/) into the production container. - Propose: Create a "Hygiene Report" artifact with a checklist of suggested deletions.
Execution
Use the custom script scripts/janitor.ts to perform the heavy lifting of static analysis.
npx tsx scripts/janitor.ts
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.