docs-refresh

Synchronize generated documentation with skill definitions and Claude instructions.

10|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/genlayerlabs/skills --skill docs-refresh-genlayerlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-refresh
Source: https://github.com/genlayerlabs/skills/tree/main/.claude/skills/docs-refresh
Command: npx skills add https://github.com/genlayerlabs/skills --skill docs-refresh-genlayerlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your project's documentation, especially the skill reference and Claude's instructions, stays up-to-date with your source code and skill definitions, preventing outdated information and improving discoverability.

Core Features & Use Cases

  • Automated Documentation Generation: Keeps docs/skills/REFERENCE.md and CLAUDE.md synchronized with your skill definitions.
  • CI/CD Integration: Provides checks to ensure documentation is current before commits and deployments.
  • Use Case: After adding a new skill or modifying an existing one, run this skill to automatically update the project's documentation, ensuring that developers and AI assistants always have accurate information.

Quick Start

Run the command to refresh all project documentation.

Frequently Asked Questions about docs-refresh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep skill documentation synchronized with source files automatically?

To keep skill documentation synchronized with source files automatically, you can use an automation script that parses `.claude/skills/*/skill.yaml` definitions to update `docs/skills/REFERENCE.md` and the skills table in `CLAUDE.md`.

How do I validate that project documentation is current in a CI/CD pipeline?

To validate that project documentation is current in a CI/CD pipeline, implement validation checks that ensure generated documentation matches your skill definitions before commits and deployments, preventing outdated information.

Can I use automation to update Claude instructions when skill definitions change?

Yes, you can use automation to update Claude instructions when skill definitions change by processing `.claude/skills/*/skill.yaml` files to automatically refresh the skills table within `CLAUDE.md`.

What's the best way to generate reference documentation for multiple skills?

The best way to generate reference documentation for multiple skills is to run a deterministic generation workflow that extracts definitions from skill YAML files and compiles them into a centralized `REFERENCE.md` document.

Why does my documentation build fail after modifying skill definitions?

Your documentation build fails after modifying skill definitions because validation checks detect a mismatch between the updated source files and the existing generated documentation, requiring you to refresh the docs to maintain integrity.

Do I need deterministic generation workflows to maintain documentation integrity?

Yes, you need deterministic generation workflows to maintain documentation integrity, as they ensure consistent output for your reference docs and Claude instructions, which is required for reliable CI/CD validation checks.