Synthèse automatique
Génère des « context packs » structurés (patterns, bonnes pratiques, exemples de code, anti-patterns et tables de référence) pour un framework, une bibliothèque ou un domaine technique.
Points forts
- Parcours interactif en trois questions qui cadre le périmètre (minimal, standard, complet) et les axes prioritaires (tests, performance, sécurité)
- Phase de recherche qui inspecte un codebase existant via Glob, Read et Grep pour aligner le pack sur les conventions réelles de l'équipe
- Structure de sortie imposée et équilibrée : patterns avec exemples complets, anti-patterns en binôme mauvais/bon exemple, tables de décision
- Utilise le mode plan pour valider la structure et le public cible avant de rédiger
Limites
- Les instructions d'installation référencent la commande `hit install context/[name]`, propre à un outillage particulier et non décrite ici
- La qualité et l'exactitude technique des patterns générés dépendent du modèle et ne sont pas vérifiées automatiquement
- Dépend fortement des questions interactives (AskUserQuestion, EnterPlanMode), donc peu utilisable en exécution non supervisée
À utiliser lorsqu'il faut produire un document de référence réutilisable et lisible par une IA pour une technologie ou un domaine précis.
À éviter pour une réponse ponctuelle ou une simple question sur une API, car la génération d'un pack complet est longue et structurée.
Analyse de sécurité
SûrThe skill is purely a documentation-generation workflow. Its declared tools (Read, Glob, Grep, Write, Edit, AskUserQuestion, EnterPlanMode) are read-only inspection plus writing markdown output into the workspace, which is exactly what its stated purpose requires. There is no shell execution, no network access, no credential handling, no obfuscated payloads, and no instructions to disable safety mechanisms. The only external references are documentation links and a `hit install context/[name]` installation string placed in generated content, not executed by the skill. Residual risk is limited to normal file-write scope.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
Create a context pack for Angular covering core patterns, anti-patterns and reference tables for our team.Build a knowledge base on authentication patterns for our backend, with bad and good code examples.Generate a patterns and best practices guide for our NestJS services, and scan the repo first to match our existing conventions.name: context-pack-builder description: >- Generates comprehensive context packs for frameworks, technologies, or domains with patterns, best practices, code examples, and anti-patterns. Use when user asks to "create a context pack", "build a knowledge base", "generate patterns guide", or mentions "context pack" or "best practices reference". version: 3.0.0 allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, EnterPlanMode
Context Pack Builder
Generates comprehensive context packs for frameworks, technologies, or domains. Creates structured knowledge bases with patterns, best practices, complete code examples, anti-patterns, and reference tables that can be used to guide AI assistants and serve as team documentation.
When to Activate
- User asks to create a context pack or knowledge base
- User wants to generate a patterns and best practices guide for a technology
- User mentions building reusable reference material for a framework or domain
- User asks to document team patterns, coding standards, or architectural decisions
- User wants to create AI-consumable documentation for a technology stack
Interactive Flow
Step 1: Gather Context
<AskUserQuestion> <question>What technology or domain should this context pack cover?</question> <option value="framework">Frontend framework (Angular, React, Vue)</option> <option value="backend">Backend framework (NestJS, Express, Fastify)</option> <option value="library">Library (RxJS, NgRx, Apollo)</option> <option value="domain">Domain (authentication, testing, deployment)</option> <option value="custom">Other technology or domain</option> </AskUserQuestion> <AskUserQuestion> <question>What scope should the context pack cover?</question> <option value="minimal">Minimal (core patterns only)</option> <option value="standard">Standard (patterns, anti-patterns, reference tables)</option> <option value="comprehensive">Comprehensive (full guide with examples, testing, security)</option> </AskUserQuestion> <AskUserQuestion> <question>Are there specific focus areas to emphasize?</question> <option value="general">General best practices</option> <option value="testing">Testing strategies</option> <option value="performance">Performance optimization</option> <option value="security">Security patterns</option> <option value="custom">Custom focus areas</option> </AskUserQuestion>Step 2: Research Phase
If the user has an existing codebase:
- Use Glob to find files related to the target technology
- Use Read to examine existing patterns and implementations
- Use Grep to identify current conventions, common patterns, and recurring issues
- Catalog the team's existing coding standards and architectural decisions
Step 3: Plan
For comprehensive context packs, enter plan mode to organize the knowledge base:
<EnterPlanMode> <summary> Outline the context pack structure with proposed sections. List the key patterns and anti-patterns to document. Identify code examples needed and their complexity level. Confirm the target audience skill level and any technology-specific focus areas with the user. </summary> </EnterPlanMode>Step 4: Generate Context Pack
Build the context pack with these components:
Overview Section
- Clear description of what the context pack covers
- Bullet list of included topics
- Installation instructions using
hit install context/[name]
Key Patterns For each pattern:
- TypeDoc-style comments explaining the pattern's purpose
- Complete, working code examples
- When to use this pattern and common variations
- Edge cases and considerations
Anti-Patterns For each anti-pattern:
- Bad example with clear label and explanation of the problem
- Good example with correct approach and explanation of why it is better
- Real-world consequences of the anti-pattern
Reference Tables
- Decision trees for choosing between approaches
- Quick reference for common operations
- Configuration options and their effects
- Operator or API selection guides
Related Resources
- Links to related context packs in the toolkit
- Links to related prompts and skills
Step 5: Deliver Results
Write the context pack to a markdown file in the workspace.
Output Format
<output_format> Title and Description Context pack name and overview paragraph describing its purpose and scope.
What's Included Bullet list of topics covered with brief descriptions.
Installation
CLI installation command using hit install context/[name].
Key Patterns Named pattern sections with TypeDoc-commented code examples, usage guidance, and common variations.
Anti-Patterns Paired bad/good examples with labels and explanations for each anti-pattern.
Reference Tables Decision tables, operator guides, or configuration references as markdown tables.
Related Resources Links to related context packs and skills in the toolkit. </output_format>
Best Practices
- Use TypeDoc comments above code examples rather than inline comments
- Ensure all code examples are complete and working, not snippets
- Show modern patterns for the target framework (e.g., Angular 16+ signals, standalone components)
- Include both happy path and error handling patterns in examples
- Provide practical, real-world examples rather than trivial demonstrations
- Keep examples concise but complete enough to be copy-pasted
- Follow the project's naming conventions in all code examples
Anti-Patterns
- Do not use inline comments in code examples; use TypeDoc-style comments above the code
- Do not provide incomplete code snippets that cannot be understood in isolation
- Do not include external URLs that may break over time
- Do not mix patterns from different framework versions without clearly labeling each
- Do not create context packs that are too broad to be actionable
- Do not skip the anti-patterns section; showing what not to do is as valuable as showing correct patterns
Examples
Example 1: RxJS Context Pack
Input: "Create a comprehensive context pack for RxJS in Angular applications, focusing on error handling, memory management, and testing"
Output: Full context pack covering subscription management with takeUntilDestroyed and AsyncPipe, error handling strategies with catchError and retry, caching patterns with shareReplay, stream combination operators, marble testing examples, and an operator decision tree reference table.
Example 2: GraphQL Context Pack
Input: "Build a context pack for GraphQL with Apollo Client in Angular, standard scope, focusing on caching and code generation"
Output: Standard context pack covering Apollo module setup with error handling, type-safe queries with GraphQL Codegen, optimistic UI updates for mutations, component-level error handling, cache strategy reference table, and anti-patterns for untyped query usage.
Example 3: Authentication Context Pack
Input: "Generate a comprehensive context pack for JWT authentication with Angular and NestJS, focusing on security and token management"
Output: Full context pack covering Angular auth service with token refresh, HTTP interceptor for automatic token injection, functional route guards with role-based access, NestJS JWT strategy and roles guard, security best practices table, and anti-patterns for insecure token storage.
Human-in-the-Loop by codewizwit
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/context-pack-builder-mrx3xxdm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/context-pack-builder-mrx3xxdm/download' --output '.skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md.part' && mv '.skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md.part' '.skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Glob, Grep, Write, Edit, AskUserQuestion, EnterPlanMode
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md' && test -s '.skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/context-pack-builder' && cp -R '.skill-downloads/context-pack-builder-mrx3xxdm' '.claude/skills/context-pack-builder'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/context-pack-builder-mrx3xxdm'openskills read 'context-pack-builder-mrx3xxdm'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/context-pack-builder-mrx3xxdm/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Rédaction de docs Supabase
Documentation
Rédigez, éditez et révisez le contenu de la documentation Supabase : guides, tutoriels, références et partiels. Suivez les guides de style et les règles de validation MDX/TOML.
Créer un enregistrement de décision d'architecture
Documentation
Créer un nouveau ADR avec numérotation séquentielle, l'enregistrer dans le graphe AgentDB et le lier aux ADR associés.
Mise à jour de plan avec recherche approfondie
Documentation
Met à jour un document de plan en lançant des sous-agents en parallèle pour analyser un sujet sur tous les passes du compilateur, puis consolide les résultats.