generate-doc

Generate and update CLAUDE.md, CONTEXT.md, and scoped rules from project analysis.

2|1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Vekta/PolyForge --skill generate-doc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-doc
Source: https://github.com/Vekta/PolyForge/tree/main/skills/generate-doc
Command: npx skills add https://github.com/Vekta/PolyForge --skill generate-doc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation and updating of project documentation, ensuring it's optimized for AI understanding and developer efficiency.

Core Features & Use Cases

  • Automated Documentation Generation: Creates CLAUDE.md, docs/CONTEXT.md, and .claude/rules/ based on project analysis.
  • AI-Optimized Content: Generates concise CLAUDE.md (under 200 lines) and detailed docs/CONTEXT.md for AI consumption.
  • Scoped Rules: Creates path-specific rules for consistent project standards.

Quick Start

Use the generate-doc skill to update all project documentation files.

Frequently Asked Questions about generate-doc

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

FAQPage Schema
How do I generate AI-optimized project documentation automatically?

To generate AI-optimized project documentation, this Skill analyzes your project structure, stack, and architecture to automatically create concise CLAUDE.md files and detailed CONTEXT.md files for AI consumption.

What is the best way to create path-specific rules for consistent code standards?

Creating path-specific rules involves generating scoped configurations within your project directories. This Skill automatically creates .claude/rules/ files to enforce consistent project standards across different code paths.

How do I update existing CLAUDE.md files without losing manual edits?

To update existing CLAUDE.md files safely, this Skill supports interactive updates and file merging strategies, ensuring your manual edits are preserved while synchronizing new architectural changes.

Does AI-optimized documentation require a specific project structure or stack?

AI-optimized documentation does not require a specific stack. This Skill dynamically analyzes your existing project structure, stack, architecture, and conventions to produce tailored documentation without rigid prerequisites.

Why keep generated CLAUDE.md files under 200 lines?

Keeping generated CLAUDE.md files under 200 lines ensures AI-optimized context remains concise for efficient model consumption. Detailed architectural information is separated into docs/CONTEXT.md to prevent token overload.