Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

docs: Complete structural documentation and file conventions

Jez9c34353ce17e
diff --git a/.gitignore b/.gitignore
index d99ef5ee..c6af4e33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,9 @@ Thumbs.db
**/test-output/
**/scratch/
**/.temp/
+
+# Claude Skills Repository - Working Files
+SESSION.md # Working session tracking (constantly changing)
+*_REPORT.md # Auto-generated version/optimization reports
+archive/session-logs/ # Working audit logs (archived when needed)
+.claude/settings.local.json # Local Claude Code settings
diff --git a/CLAUDE.md b/CLAUDE.md
index 3d7b9264..365ca0f1 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -51,10 +51,14 @@ claude-skills/
├── QUICK_WORKFLOW.md # 5-minute skill creation
├── README.md # Public-facing overview
├── CONTRIBUTING.md # Contribution guidelines
+├── MARKETPLACE.md # Marketplace installation guide
├── CLOUDFLARE_SKILLS_AUDIT.md # Example compliance audit
├── ATOMIC-SKILLS-SUMMARY.md # Skill philosophy
├── CHANGELOG.md # Version history
+├── SESSION.md # Working session state (gitignored)
+├── *_REPORT.md # Auto-generated reports (gitignored)
├── LICENSE # MIT License
+├── .gitignore # Git ignore patterns
│
├── skills/ # ← All production skills (58 total)
│ ├── tailwind-v4-shadcn/ # Gold standard example
@@ -91,8 +95,9 @@ claude-skills/
│ ├── statusline/ # Custom statusline scripts
│ └── statusline-npm/ # NPM-based statusline
│
-├── archive/ # Archived skills (preserved in branches)
-│ └── low-priority-skills/ # 13 skills archived 2025-11-17
+├── archive/ # Archived content
+│ ├── low-priority-skills/ # 13 skills archived 2025-11-17 (in git branch)
+│ └── session-logs/ # Working audit logs (gitignored, archived when needed)
│
├── templates/ # ← Templates for new skills
│ ├── SKILL-TEMPLATE.md # Copy-paste SKILL.md starter
@@ -116,11 +121,15 @@ claude-skills/
├── scripts/ # Automation scripts
│ ├── install-skill.sh # Symlink skill to ~/.claude/skills/
│ ├── install-all.sh # Install all skills
+│ ├── check-symlinks.sh # Verify/repair skill symlinks
│ ├── check-npm-versions.sh # NPM package version checker
│ ├── check-github-releases.sh # GitHub release tracker
│ ├── check-metadata.sh # YAML metadata validator
│ ├── check-ai-models.sh # AI model reference checker
│ ├── check-all-versions.sh # Comprehensive checker (runs all)
+│ ├── generate-plugin-manifests.sh # Generate marketplace manifests
+│ ├── release-check.sh # Pre-release safety checks
+│ ├── review-skill.sh # Skill audit/review automation
│ └── check-versions.sh # Legacy checker (deprecated)
│
└── examples/ # Working example projects
@@ -160,7 +169,72 @@ ln -s /home/jez/Documents/claude-skills/commands/brief.md ~/.claude/commands/bri
---
-## Current Status (2025-11-28)
+## File Conventions
+
+This repository has three types of files:
+
+### 1. Version-Controlled Files (Committed to Git)
+
+**Production Skills**:
+- `skills/*/SKILL.md` - Skill documentation
+- `skills/*/README.md` - Auto-trigger keywords
+- `skills/*/templates/` - Code templates
+- `skills/*/references/` - Reference documentation
+- `skills/*/scripts/` - Helper scripts
+- `skills/*/assets/` - Images, diagrams
+
+**Commands**:
+- `commands/*.md` - Slash command definitions
+- `skills/project-workflow/commands/*.md` - Canonical workflow commands
+
+**Documentation**:
+- `*.md` files in root (README, CLAUDE, START_HERE, etc.)
+- `planning/*.md` - Standards, research, roadmaps
+- `templates/` - Skill creation templates
+
+**Configuration**:
+- `.gitignore` - Ignore patterns
+- `LICENSE` - MIT license
+- `.claude-plugin/marketplace.json` - Auto-generated marketplace manifest (committed)
+
+### 2. Auto-Generated Files (Gitignored)
+
+**Reports** (generated by `scripts/check-*.sh`):
+- `VERSIONS_REPORT.md` - Package version check results
+- `SKILLS_OPTIMIZATION_REPORT.md` - Description analysis
+- Generated by automation, recreated on each run
+
+**Manifests** (generated by `generate-plugin-manifests.sh`):
+- `skills/*/.claude-plugin/plugin.json` - Individual skill manifests
+- Used by Claude Code marketplace
+
+### 3. Working Files (Gitignored)
+
+**Session Tracking**:
+- `SESSION.md` - Active session state (changes constantly during work)
+- `archive/session-logs/*.md` - Archived audit logs (saved when needed)
+
+**Local Settings**:
+- `.claude/settings.local.json` - Claude Code local preferences
+
+**Why Gitignored**: These files change frequently during development and are specific to the current work session. They're preserved manually when needed (e.g., archiving session logs after completing a phase).
+
+### File Lifecycle Example
+
+```
+1. Create skill → skills/new-skill/SKILL.md (version controlled)
+2. Install skill → ./scripts/install-skill.sh new-skill (creates symlink)
+3. Generate manifest → ./scripts/generate-plugin-manifests.sh (auto-generated)
+4. Verify versions → ./scripts/check-all-versions.sh (creates VERSIONS_REPORT.md)
+5. Audit skill → ./scripts/review-skill.sh new-skill (updates SKILL.md)
+6. Track work → Update SESSION.md (working file, not committed)
+7. Archive session → mv SESSION.md archive/session-logs/phase-X.md (manual)
+8. Commit → git add skills/new-skill && git commit (version controlled only)
+```
+
+---
+
+## Current Status (2025-11-29)
### ✅ Active Skills (58)
@@ -361,6 +435,27 @@ ls -la ~/.claude/skills/
cp -r templates/skill-skeleton/ skills/new-skill-name/
```
+### Marketplace & Release
+
+```bash
+# Generate marketplace manifests for all skills
+./scripts/generate-plugin-manifests.sh
+
+# Generate manifest for specific skill
+./scripts/generate-plugin-manifests.sh <skill-name>
+
+# Pre-release safety checks (secrets, docs, config)
+./scripts/release-check.sh
+
+# Audit/review a skill (knowledge gaps, errors, token efficiency)
+./scripts/review-skill.sh <skill-name>
+```
+
+**Output Files** (auto-generated, gitignored):
+- `VERSIONS_REPORT.md` - Version check results
+- `SKILLS_OPTIMIZATION_REPORT.md` - Description optimization analysis
+- Individual skill manifests: `skills/*/. claude-plugin/plugin.json`
+
### Testing
```bash