Synthèse automatique
Met à jour un fichier README.md existant en analysant le code source, l'historique Git et le journal des modifications pour garantir une documentation à jour.
Points forts
- Utilise l'historique Git pour détecter les changements depuis la dernière mise à jour du README
- Analyse automatiquement la structure du projet et les fichiers clés
- Exécute des agents de recherche en parallèle pour plus d'efficacité
- Met à jour le CHANGELOG comme prérequis pour une cohérence complète
Limites
- Nécessite un README existant substantiel (ne crée pas de nouveau fichier)
- Dépend de l'historique Git pour une détection précise des modifications
- Ne met à jour que les sections existantes, n'ajoute pas de nouvelles sections automatiquement
Lorsque le README est obsolète et doit refléter les changements récents du code.
Lorsque vous devez créer un README à partir de zéro (utilisez plutôt la compétence make-readme).
Analyse de sécurité
SûrThe skill only uses safe Read/Glob/Grep/Write/Edit operations on local files and delegates to subagents with no destructive commands. It does not invoke shell, network, or sensitive data exfiltration. No obfuscated payloads or privilege escalation are present.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
My README is outdated, can you update it?Sync my README with the current state of the codebase.My README needs updating based on recent git commits.name: update-readme description: > This skill should be used when the user asks to "update my README", "refresh the README", "README is outdated", "sync README with the codebase", "improve my README", "keep README up to date", "fix the README", "my README is stale", "update the readme file", "README needs updating", "update readme from git history", or "readme is out of date". model: sonnet context: fork allowed-tools:
- Read
- Glob
- Grep
- Write
- Edit
- Task
- AskUserQuestion
- Skill
Update README
Refresh an existing README.md using current codebase state, git history, and
changelog intelligence. Always updates CHANGELOG.md first so changelog content
is available when revising README sections.
Step 1 — Check README Existence
Glob for README.md, readme.md, and Readme.md in the working directory.
If not found, or if the file has fewer than 5 lines of real content:
- Inform the user no substantial README was found
- Invoke
Skill: claude-coding:make-readme - Stop — make-readme handles creation from scratch
If a substantial README exists: continue.
Step 2 — Update Changelog
Invoke Skill: claude-coding:make-changelog.
make-changelog detects fill mode automatically — it adds only versions missing since the last documented entry. If the repo has no git history, make-changelog will report an error; note it and continue without changelog context.
Step 3 — Parallel Research
Record the current README line count before edits.
Launch the three agents below in a single message (all in parallel):
Agent A — README Audit (subagent_type: Explore)
Prompt:
Read README.md. For each section (every H1/H2/H3 heading), record:
- Section name and approximate line count
- Stale content: version numbers, paths, commands, or features that look incorrect
- Placeholder text never replaced (e.g. "YOUR_USERNAME", "TODO", angle-bracket values)
- Thin sections with fewer than 3 lines of real content
Also identify which standard sections are MISSING:
installation, usage, configuration, API reference, contributing, license.
Return structured notes:
- existing_sections: list of heading names
- stale_items: list of {location, description} objects
- missing_sections: list
- thin_sections: list
Agent B — Codebase Scan (subagent_type: Explore)
Prompt:
Scan the working directory to extract:
- Project name and current version from the first found manifest:
package.json, pyproject.toml, Cargo.toml, go.mod, .claude-plugin/plugin.json
- Primary language and framework (file extensions, config files)
- Top-level directory structure, max 2 levels deep
- Key public-facing files: entry points, config templates, example files, CLI scripts
- Documentation files beyond README: CONTRIBUTING.md, docs/, ARCHITECTURE.md, etc.
Return: project_name, version, language, framework, structure_summary,
key_files (paths), extra_docs (paths).
Agent C — Git History Since Last README Touch (subagent_type: Explore)
Prompt:
Run: git log --follow -1 --format="%ai" -- README.md
This gives the date README.md was last committed.
If README.md has no git history, use the initial commit date:
git log --reverse --format="%ai" | head -1
Then run: git log --since="[date from above]" --format="%s" --no-merges
Categorize each commit subject into:
- new_features: new capabilities users can invoke
- breaking_changes: removed or incompatible changes
- deprecations: features flagged for future removal
- significant_fixes: user-visible bug fixes
- other: everything else
Skip: merge commits, CI/CD changes, formatting/whitespace, version-bump commits.
Return: readme_last_updated (ISO date), changes_since (object with 5 category lists).
Wait for all three agents to complete before Step 4.
Step 4 — Read Updated Changelog
Read CHANGELOG.md and extract the most recent version section (the first ## [x.y.z]
block). This provides structured change context for README sections like Features.
Step 5 — Synthesize and Update
Apply targeted updates to README.md. Preserve existing style, header format,
badge patterns, and overall structure — do not restructure unless clearly broken.
Apply in this priority order — highest-confidence fixes first, judgment-heavy additions last, because objective errors (wrong version, broken path) have deterministic answers while structural additions require codebase context to get right:
- Version/badge updates — update all version numbers and shields.io badge URLs to the version from Agent B
- Stale content — correct outdated paths, commands, flags, or removed features flagged by Agent A
- Placeholder cleanup — replace any unfilled placeholders with real values from Agent B
- New features — add or expand the Features section using Agent C's
new_featureslist and the latest CHANGELOG section - Missing sections — add any standard sections identified by Agent A as absent, with minimal viable content drawn from Agent B's codebase scan
- Thin sections — expand underdeveloped sections using Agent B context
If no updates are needed after applying all criteria, skip edits and proceed to Step 6.
For each change, make the smallest edit that achieves accuracy. Use Edit for
targeted section updates — it preserves git blame and is safer for incremental
changes. Use Write only if more than 60% of the file changes, because at that
point the document is being regenerated, not updated.
Step 6 — Report
Output a diff summary after writing:
- Line count: N → M lines
- Sections updated: list with one-line description of each change
- Sections added: list
- Sections removed: list with reason (if any)
- Version bumped: old → new (if applicable)
- Changelog: versions added by make-changelog
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/update-readme-mm8o528e/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/update-readme-mm8o528e' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/update-readme-mm8o528e/download' --output '.skill-downloads/update-readme-mm8o528e/SKILL.md.part' && mv '.skill-downloads/update-readme-mm8o528e/SKILL.md.part' '.skill-downloads/update-readme-mm8o528e/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.
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/update-readme-mm8o528e/SKILL.md' && test -s '.skill-downloads/update-readme-mm8o528e/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/update-readme' && cp -R '.skill-downloads/update-readme-mm8o528e' '.claude/skills/update-readme'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/update-readme-mm8o528e'openskills read 'update-readme-mm8o528e'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/update-readme-mm8o528e/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.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.