This skill should be used when the user asks to "create CLAUDE.md", "initialize CLAUDE.md", "sync CLAUDE.md with code", "update documentation from codebase", "create .claude/rules/", "manage modular rules", "split large CLAUDE.md", or mentions project documentation setup. Manages complete lifecycle of project instructions including creation, synchronization with code patterns, and modular organization.
View on GitHubplugins/claude-code-forge/skills/instructions-development/SKILL.md
February 3, 2026
Select agents to install to:
npx add-skill https://github.com/OshanKHZ/cc-swiss-knife/blob/main/plugins/claude-code-forge/skills/instructions-development/SKILL.md -a claude-code --skill instructions-developmentInstallation paths:
.claude/skills/instructions-development/# Project Instructions Development Manages the complete lifecycle of project instructions: creating initial documentation, syncing with codebase patterns, and organizing modular rules. ## When to Use This Skill Use when: - "Create CLAUDE.md for this project" - "Initialize CLAUDE.md" or "generate CLAUDE.md" - "Sync CLAUDE.md with my code" - "Update documentation from codebase" - "Extract patterns from code" - "Create .claude/rules/ structure" - "Split large CLAUDE.md" - "Manage modular documentation" ## What This Skill Does Provides 4 main operations: - ✅ **Initialize**: Create new CLAUDE.md with opinionated baseline standards - ✅ **Sync**: Analyze codebase and update documentation with detected patterns - ✅ **Organize**: Create or manage .claude/rules/ modular structure - ✅ **Split**: Break large CLAUDE.md into focused rule files **Note**: .claude/rules/ only works in project directories, not in global ~/.claude/ ## CRITICAL RULES ### Language - **CLAUDE.md MUST be 100% in English** (industry standard) - Never mix languages in documentation - Code, comments, and docs all in English ### No Dynamic Data - **NEVER include**: line counts, file counts, commit statistics, dates, timestamps - **NEVER write**: "Analyzed X files", "Y lines of code", "Created on..." - **Only include**: stable patterns, timeless structures, architectural principles ### User Confirmation - **ALWAYS ask questions** to understand context and preferences - **ALWAYS show preview** before writing any files - **ALWAYS get explicit confirmation** before creating/modifying files ## Instructions ### Step 0: Check Global Configuration (CRITICAL) **Before creating any project-level documentation, ALWAYS read the user's global CLAUDE.md:** ```bash # Check if global CLAUDE.md exists ~/.claude/CLAUDE.md ``` **If it exists:** - Read and analyze what rules are already defined globally - **DO NOT duplicate** global rules in project CLAUDE.md - Only add project-specific patterns that differ from o