Synchroniser la documentation avec le code

Met à jour les docstrings et fichiers de documentation (*.md, *.rst) pour qu'ils restent synchronisés avec l'implémentation du code source.

Spar Skills Guide Bot
DocumentationIntermédiaire1 vues0 installations28/02/2026
Claude CodeCursorCopilot
documentationdocstringscode-syncapi-referencemultilingual

name: sync_docs description: ソースコードの実装に合わせてドキュメント (docstring, *.md) を更新する

Sync Documentation

This skill ensures that the documentation is in sync with the actual code implementation.

Instructions

  1. Update Docstrings:

    • Read the target source code.
    • Check if parameters, return types, and exceptions in the docstring match the signature and logic.
    • Update the docstring using the standard format (NumPy or Google style, matching the project).
  2. Update Documentation Files:

    • Check docs/ or README.md for references to the changed code.
    • Crucial: Check both English (docs/reference/en/) and Japanese (docs/reference/ja/) documentation directories.
    • Update tutorials or API references if the usage has changed.
    • If a new feature was added, ensure it is mentioned in the appropriate section in both languages.
  3. Verify:

    • If possible, run the build_docs skill to ensure no syntax errors were introduced in ReStructuredText or Markdown.

Skills similaires