Date: 2026-01-23 Project: Claude Code WordPress Template Purpose: Reorganize documentation to eliminate redundancy and improve clarity
Current State:
- 65+ documentation files across 8 directories
- Significant redundancy (Figma-to-FSE documented in 14 files)
- Unclear documentation hierarchy
- Mixing of template docs, internal dev docs, and historical reports
- Root directory cluttered with 5 markdown files
Recommendations:
- Consolidate Figma-to-FSE documentation (14 files → 3-4 files)
- Establish clear documentation hierarchy
- Archive historical reports and plans
- Fix .gitignore to properly track/ignore files
- Create single entry point for template users
Problem: Same information documented in 14+ files
Current Structure:
Root Level:
├── FIGMA-TO-FSE-AUTOMATION.md # Pattern-first overview
└── IMPLEMENTATION-SUMMARY.md # Improvement status
.claude/skills/figma-to-fse-autonomous-workflow/:
├── SKILL.md # Main skill (22KB)
├── README.md # Skill overview
├── IMPLEMENTATION-GUIDE.md # Setup instructions
├── TESTING-GUIDE.md # Validation procedures
├── AUTONOMOUS-EXECUTION.md # Workflow details
└── TEMPLATE-EXAMPLES.md # Examples
.claude/skills/fse-pattern-first-architecture/:
└── skill.md # Pattern-first approach
.claude/agents/:
├── figma-fse-converter.md # Agent definition
└── (PATTERN-FIRST-ARCHITECTURE.md moved to docs/architecture/)
.claude/reports/:
├── figma-fse-implementation-plan.md # Phase breakdown
├── figma-fse-comparison.md # Comparison analysis
└── rcvmd-conversion-report.md # Conversion results
.claude/plans/:
└── figma-fse-rcvmd-conversion.md # Conversion plan
Redundancy Analysis:
- Pattern-first architecture: Documented 4 times
- Setup/implementation: Documented 3 times
- Testing/validation: Documented 2 times
- Examples: Spread across multiple files
Recommendation: Consolidate to 3 files
docs/figma-to-wordpress/:
├── README.md # User guide + quick start
├── IMPLEMENTATION.md # Technical implementation details
└── EXAMPLES.md # Template examples
archive/figma-development/: # Historical docs
├── implementation-plan.md # Original planning
├── comparison.md # Analysis from development
└── rcvmd-conversion.md # March Medical case study
Problem: Same information in 3-4 different files
CLAUDE.md- Lists 5 plugins + descriptions.claude/SETUP-COMPLETE.md- Setup verification.claude/PLUGINS-REFERENCE.md- Command reference
Recommendation:
- Keep
.claude/PLUGINS-REFERENCE.mdas single source of truth - CLAUDE.md should reference it, not duplicate
- Move SETUP-COMPLETE.md to
archive/setup/
CLAUDE.md- Lists 24 agents.claude/CUSTOM-AGENTS-GUIDE.md- Same 24 agents.claude/agents/*.md- Individual definitions (27 files)
Recommendation:
- Keep
.claude/CUSTOM-AGENTS-GUIDE.mdas catalog - Keep individual agent files (functional requirement)
- Remove agent list from CLAUDE.md, just reference guide
CLAUDE.md- Lists 8 WordPress skills.claude/skills/README.md- Same 8 skills- Individual SKILL.md files in subdirectories
Recommendation:
- Keep
.claude/skills/README.mdas catalog - Keep individual skill files (functional requirement)
- Remove skill list from CLAUDE.md, just reference catalog
Current Root-Level Markdown Files:
├── README.md # Project overview
├── CLAUDE.md # Claude Code guidance (400+ lines)
├── FIGMA-TO-FSE-AUTOMATION.md # Figma automation overview
├── IMPLEMENTATION-SUMMARY.md # Status document
└── LOCAL-DEVELOPMENT.md # Docker setup
Problem: Unclear hierarchy, too many entry points
Recommendation: Streamline to 2 entry points
Root:
├── README.md # Main entry point for template users
└── CLAUDE.md # Claude Code automation reference
docs/:
├── LOCAL-DEVELOPMENT.md # Docker setup guide
└── figma-to-wordpress/ # Figma conversion docs
├── README.md
├── IMPLEMENTATION.md
└── EXAMPLES.md
archive/:
└── development/
├── IMPLEMENTATION-SUMMARY.md # Historical status
└── figma-development/ # Historical reports
Problem: No clear path for different user types
Current: User doesn't know where to start Needed: Clear entry points for:
- Template users (want to use template)
- Developers (want to modify template)
- Claude Code automation (how to use automation features)
Recommendation: Create clear hierarchy
README.md (Template Users)
├── Quick Start
├── Requirements
├── Features Overview
└── Links to detailed docs
├── docs/LOCAL-DEVELOPMENT.md
├── docs/figma-to-wordpress/
└── CLAUDE.md
CLAUDE.md (Claude Code Reference)
├── Project Overview
├── Critical Requirements (root-level folders)
├── Development Scripts
├── WordPress Standards
└── References (not duplicating):
├── Plugins: see .claude/PLUGINS-REFERENCE.md
├── Agents: see .claude/CUSTOM-AGENTS-GUIDE.md
├── Skills: see .claude/skills/README.md
└── Figma: see docs/figma-to-wordpress/
.claude/ (Functional Files)
├── agents/ # Agent definitions (required by system)
├── skills/ # Skill definitions (required by system)
├── commands/ # Command definitions (required by system)
├── hooks/ # Hook scripts (functional)
├── validation/ # Validation scripts (functional)
├── PLUGINS-REFERENCE.md # Plugin command reference
├── CUSTOM-AGENTS-GUIDE.md # Agent catalog
└── AGENT-NAMING-GUIDE.md # Agent disambiguation
Current:
.claude/reports/:
├── figma-fse-implementation-plan.md
├── figma-fse-comparison.md
└── rcvmd-conversion-report.md
.claude/plans/:
└── figma-fse-rcvmd-conversion.md
Problem: Historical/development artifacts mixed with active documentation
Recommendation: Archive development history
archive/figma-development/:
├── implementation-plan.md # Planning document
├── comparison.md # Analysis during development
├── rcvmd-conversion-plan.md # March Medical plan
└── rcvmd-conversion-report.md # March Medical results
Keep .claude/reports/ and .claude/plans/ empty or remove them.
Line 3-7 Problem:
.claude/* # Ignore everything
!.claude/agents/ # Un-ignore agents
!.claude/skills/ # Un-ignore skills
!.claude/validation/ # Un-ignore validation
!.claude/*.md # Un-ignore markdown filesMissing Un-ignore Patterns:
.claude/commands/- Should be tracked (functional requirement).claude/hooks/- Should be tracked (functional requirement)
Currently Ignored but Present:
.claude/logs/- Correctly ignored (temporary).claude/reports/- Should be removed (see Issue 5).claude/plans/- Should be removed (see Issue 5)
Add these un-ignore patterns:
.claude/*
!.claude/agents/
!.claude/skills/
!.claude/commands/ # ADD THIS
!.claude/hooks/ # ADD THIS
!.claude/validation/
!.claude/*.mdExplicitly ignore (redundant but clear):
# Claude Code temporary/user-specific files
.claude/logs/
.claude/settings.local.json
.claude/reports/ # Remove directory first
.claude/plans/ # Remove directory firstConsider adding:
# Documentation archive (if keeping historical docs)
/archive/
# Docker development files (if sensitive)
.env
docker-compose.override.yml
# Theme/plugin development artifacts
themes/*/node_modules/
themes/*/.DS_Store
plugins/*/node_modules/
plugins/*/.DS_Store-
Create documentation directories:
mkdir -p docs/figma-to-wordpress mkdir -p archive/figma-development mkdir -p archive/setup
-
Consolidate Figma documentation:
- Create
docs/figma-to-wordpress/README.md(user guide) - Create
docs/figma-to-wordpress/IMPLEMENTATION.md(technical) - Create
docs/figma-to-wordpress/EXAMPLES.md(examples) - Move reports to
archive/figma-development/ - Move plans to
archive/figma-development/
- Create
-
Move historical documentation:
IMPLEMENTATION-SUMMARY.md→archive/development/.claude/SETUP-COMPLETE.md→archive/setup/
-
Update .gitignore:
- Add
!.claude/commands/ - Add
!.claude/hooks/ - Add
archive/to ignored paths (if desired)
- Add
-
Streamline CLAUDE.md:
- Remove plugin list (reference PLUGINS-REFERENCE.md)
- Remove agent list (reference CUSTOM-AGENTS-GUIDE.md)
- Remove skill list (reference .claude/skills/README.md)
- Keep only WordPress standards and critical requirements
- Target: 200 lines (currently 400+)
-
Remove root-level files:
FIGMA-TO-FSE-AUTOMATION.md→ Consolidated into docs/IMPLEMENTATION-SUMMARY.md→ archive/
-
Clean up .claude/ directories:
- Remove
.claude/reports/(after archiving) - Remove
.claude/plans/(after archiving)
- Remove
- Update README.md to reference new structure
- Update CLAUDE.md to reference new locations
- Update skill files that reference moved documentation
- Test all documentation links
project-root/
├── README.md # Main entry point (template users)
├── CLAUDE.md # Claude Code reference (~200 lines)
├── LOCAL-DEVELOPMENT.md # Or move to docs/
├── .gitignore # Updated with proper patterns
│
├── docs/
│ ├── LOCAL-DEVELOPMENT.md # Docker setup (if moved)
│ └── figma-to-wordpress/
│ ├── README.md # User guide + quick start
│ ├── IMPLEMENTATION.md # Technical details
│ └── EXAMPLES.md # Template examples
│
├── .claude/
│ ├── agents/ # 27 agent definition files
│ ├── skills/ # Skill definitions
│ │ ├── README.md # Skills catalog
│ │ └── [8 skill directories]
│ ├── commands/ # Command definitions
│ ├── hooks/ # Hook scripts (tracked)
│ ├── validation/ # Validation scripts
│ ├── logs/ # Temporary (gitignored)
│ ├── settings.local.json # User-specific (gitignored)
│ ├── PLUGINS-REFERENCE.md # Plugin command reference
│ ├── CUSTOM-AGENTS-GUIDE.md # Agent catalog
│ └── AGENT-NAMING-GUIDE.md # Disambiguation
│
├── archive/ # Historical documentation
│ ├── setup/
│ │ └── SETUP-COMPLETE.md
│ ├── development/
│ │ └── IMPLEMENTATION-SUMMARY.md
│ └── figma-development/
│ ├── implementation-plan.md
│ ├── comparison.md
│ ├── rcvmd-conversion-plan.md
│ └── rcvmd-conversion-report.md
│
├── themes/ # Development themes (tracked)
├── plugins/ # Development plugins (tracked)
├── mu-plugins/ # Development mu-plugins (tracked)
└── scripts/ # WordPress validation scripts
└── README.md
- ✅ Fix .gitignore (add commands, hooks)
- ✅ Consolidate Figma docs (14 files → 3 files)
- ✅ Archive reports and plans
- ✅ Streamline CLAUDE.md (remove duplicated lists)
- Move IMPLEMENTATION-SUMMARY.md to archive
- Move SETUP-COMPLETE.md to archive
- Update cross-references in remaining docs
- Test all documentation links
- Move LOCAL-DEVELOPMENT.md to docs/
- Create comprehensive index in README.md
- Add documentation contribution guidelines
After Reorganization:
- Clarity: Single source of truth for each topic
- Maintainability: Updates only needed in one place
- Onboarding: Clear entry points for different users
- Cleanliness: Root directory streamlined to 2-3 files
- Version Control: Proper tracking of functional files
- History: Development artifacts preserved but separated
Metrics:
- Root markdown files: 5 → 2-3
- Figma documentation files: 14 → 3
- CLAUDE.md length: 400+ lines → ~200 lines
- Redundant information: High → Minimal
- Archive directory: Should
archive/be tracked in git or gitignored? - Historical reports: Keep or delete rcvmd-conversion reports?
- LOCAL-DEVELOPMENT.md: Keep in root or move to
docs/? - Agent pruning: Remove 16 non-WordPress agents from template?
- Setup documentation: Keep SETUP-COMPLETE.md for reference or archive?
Next Steps: Review recommendations and approve Phase 1 implementation.