code-documentation

Generate and update LLM-optimized README.md files for codebase directories.

2|1|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/MolcajeteAI/plugin --skill code-documentation-molcajeteai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-documentation
Source: https://github.com/MolcajeteAI/plugin/tree/main/molcajete/skills/code-documentation
Command: npx skills add https://github.com/MolcajeteAI/plugin --skill code-documentation-molcajeteai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and maintenance of LLM-optimized README.md files, ensuring code directories are easily navigable and understandable by AI agents.

Core Features & Use Cases

  • Standardized READMEs: Enforces consistent structure with YAML frontmatter, file listings, and diagrams.
  • AI Navigation: Optimizes READMEs for AI scanning and understanding of module purpose and structure.
  • Use Case: After implementing a new feature, use this Skill to automatically generate or update the README.md for the affected directory, including diagrams and file descriptions.

Quick Start

Use the code-documentation skill to generate a README.md for the current directory.

Frequently Asked Questions about code-documentation

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

FAQPage Schema
How do I generate LLM-optimized README files for my codebase directories?

An LLM-optimized README structures documentation for AI scannability using YAML frontmatter, file listings, and diagrams. It enforces consistent conventions for module naming, purpose statements, and timestamps to facilitate automated codebase navigation and semantic analysis.

What is the best way to automate code documentation updates for AI navigation?

Automating code documentation updates requires enforcing a consistent structure with YAML frontmatter, file listings, and diagrams. This standardization optimizes READMEs for AI scanning, ensuring agents can quickly understand module purpose and structure after new features are implemented.

Does generating AI-readable READMEs require specific frontmatter and file listings?

Generating AI-readable READMEs requires specific YAML frontmatter, file listings, and diagrams. Adhering to these defined conventions for module naming, purpose statements, and last-updated timestamps is necessary to optimize the files for scannability and AI-driven code navigation.

How do I structure a README.md for AI code navigation and semantic analysis?

To structure a README.md for AI code navigation, include YAML frontmatter, file listings, and diagrams. Organizing documentation with standardized module naming, purpose statements, and last-updated timestamps ensures the directory is optimized for AI scanning and semantic understanding.

When should I use an automated README generator for code directories?

You should use an automated README generator after implementing a new feature to automatically generate or update the README.md for affected directories. This maintains consistent documentation structure, including diagrams and file descriptions, for ongoing AI-driven code navigation.

Can I update existing README.md files while maintaining LLM optimization conventions?

Updating existing README.md files maintains LLM optimization conventions by enforcing consistent structure with YAML frontmatter, file listings, and diagrams. This ensures the updated documentation remains scannable and semantically understandable by AI agents navigating the codebase.