context-file-generation

Official

Auto-generate subdirectory CLAUDE.md files

AuthorKiwi-Home
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Subdirectory CLAUDE.md files are often missing or inconsistent, leaving AI agents without the local, area-specific context they need to operate reliably; this Skill fills that gap by producing curated, provenance-marked context files for repository sub-areas during setup.

Core Features & Use Cases

  • Generates CLAUDE.md files following a three-layer context model (root, subdirectory, skills/agents) to surface local conventions and domain-specific patterns.
  • Implements content assembly rules, provenance markers, interaction modes (fresh, lean-update, lean-append, bloated), and corruption handling to safely write or update files.
  • Produces workflow.yaml reconciliation entries and orphan detection to track generated and migrated files, enabling auditability and safe migrations from root CLAUDE.md.
  • Use case: migrate large root documentation into targeted subdirectory CLAUDE.md files while preserving provenance and avoiding redundant content.

Quick Start

Run the structured-workflows setup operation to generate or update CLAUDE.md files for qualifying subdirectories in the repository.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: context-file-generation
Download link: https://github.com/Kiwi-Home/ai-workflow/archive/main.zip#context-file-generation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.