docs-writer
Ce qu’il fait
Ce skill fait de l'IA une rédactrice technique rigoureuse pour les documentations, les README et les guides. Elle vérifie le code avant d'écrire, pour que la documentation soit exacte. Il s'adresse aux développeurs et aux équipes qui entretiennent des fichiers de documentation.
Quand l’utiliser
- ✓Quand vous avez besoin de rédiger un nouveau guide, un README ou une page de documentation.
- ✓Quand vous voulez qu'un fichier markdown existant soit relu et amélioré.
- ✓Quand la documentation doit être mise à jour après un changement de commande ou de fonctionnalité.
Lien du skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/docs-writer/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Relis notre guide d'installation dans le dossier docs, vérifie-le par rapport au code et améliore la formulation.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA précise la demande, lit le code et la documentation existante concernés, établit un plan, puis rédige ou modifie les fichiers pour respecter les consignes du projet.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
docs-writer skill instructions
As an expert technical writer and editor, your goal is to produce and refine documentation that is accurate, clear, consistent, and easy for users to understand. You must adhere to the documentation contribution process outlined in CONTRIBUTING.md.
Step 1: Understand the goal and create a plan
- Clarify the request: Fully understand the user's documentation request. Identify the core feature, command, or concept that needs work.
- Differentiate the task: Determine if the request is primarily for writing new content or editing existing content. If the request is ambiguous (e.g., "fix the docs"), ask the user for clarification.
- Formulate a plan: Create a clear, step-by-step plan for the required changes.
Step 2: Investigate and gather information
- Read the code: Thoroughly examine the relevant codebase, primarily within the
packages/directory, to ensure your work is backed by the implementation and to identify any gaps. - Identify files: Locate the specific documentation files in the
docs/directory that need to be modified. Always read the latest version of a file before you begin work. - Check for connections: Consider related documentation. If you change a command's behavior, check for other pages that reference it. If you add a new page, check if
docs/sidebar.jsonneeds to be updated. Make sure all links are up to date.
Step 3: Write or edit the documentation
- Follow the style guide: Adhere to the rules in
references/style-guide.md. Read this file to understand the project's documentation standards. - Ensure the new documentation accurately reflects the features in the code.
- Use
replaceandwrite_file: Use file system tools to apply your planned changes. For small edits,replaceis preferred. For new files or large rewrites,write_fileis more appropriate.
Sub-step: Editing existing documentation (as clarified in Step 1)
- Gaps: Identify areas where the documentation is incomplete or no longer reflects existing code.
- Tone: Ensure the tone is active and engaging, not passive.
- Clarity: Correct awkward wording, spelling, and grammar. Rephrase sentences to make them easier for users to understand.
- Consistency: Check for consistent terminology and style across all edited documents.
Step 4: Verify and finalize
- Review your work: After making changes, re-read the files to ensure the documentation is well-formatted, and the content is correct based on existing code.
- Link verification: Verify the validity of all links in the new content. Verify the validity of existing links leading to the page with the new content or deleted content.
- Offer to run npm format: Once all changes are complete, offer to run the project's formatting script to ensure consistency by proposing the command:
npm run format
Questions fréquentes
Écrit-il les commentaires dans le code ?
Non. Les commentaires en ligne et la génération de référence d'API ne sont pas couverts.
Vérifie-t-il d'abord le code ?
Oui. Il lit l'implémentation pour que la documentation corresponde à ce que fait réellement le logiciel.
Suit-il les règles de mon projet ?
Oui. Il suit le guide de contribution du projet quand il en existe un.
Détails
Description originale de l’auteur
Write, review, and edit documentation files with consistent structure, tone, and technical accuracy. Use when creating docs, reviewing markdown files, writing READMEs, updating `/docs` directories, or when user says "write documentation", "review this doc", "improve this README", "create a guide", or "edit markdown". Do NOT use for code comments, inline JSDoc, or API reference generation.
Popularité
- Étoiles GitHub
- 7.1k
- Position au classement
- #13525
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
component-common-domain-detection
7.1kAide votre agent à repérer les règles métier répétées dans plusieurs parties d'une base de code et à suggérer comment les regrouper.
component-flattening-analysis
7.1kAide votre agent à repérer le code mal placé et à aplatir des structures de dossiers de composants désordonnées, pour que chaque élément se trouve à sa place.
component-identification-sizing
7.1kAide votre agent à cartographier les parties d'une base de code et à mesurer leur taille, pour trouver le module à découper en premier.
coupling-analysis
7.1kAide votre agent à vérifier à quel point les parties d'une base de code dépendent les unes des autres, et quelles liaisons assouplir en premier.
Skills similaires
obsidian-vault-maintainer
394kAide votre agent à entretenir un coffre de mémoire compatible Obsidian, avec des liens wiki fonctionnels, des propriétés cohérentes et des sections générées sûres.
wiki-maintainer
394kAide votre agent à entretenir un wiki de mémoire OpenClaw avec des pages reproductibles, des blocs gérés sûrs et des contrôles des contradictions ou lacunes.
obsidian
394kPermet à votre agent de lire, rechercher, créer et modifier des notes, tâches, liens et propriétés Obsidian grâce à la ligne de commande officielle d'Obsidian.