CLAUDE.md ยท diff
git:20260829.7ecf025 to git:20260917.a0994f7
49 added, 156 removed. Audit A to A.
# Claude Skills - Project Context
**Repository**: https://github.com/secondsky/claude-skills
**Purpose**: Production-ready skills for Claude Code CLI
**Owner**: Claude Skills Maintainers
- **Status**: Active Development | 139 Plugins | 136 Skills Complete
- **Last Updated**: 2026-06-21
- **Last Audit**: 2026-06-21 (31 deprecated plugins removed)
+ **Status**: Active Development | 145 Plugins
---
## โ ๏ธ CRITICAL: Communication Rule โ THE MOST IMPORTANT RULE
**๐จ ABSOLUTE RULE: Always talk to the user in clear, easy, short, plain language. NEVER use jargon. This rule is more important than any other rule in this file. ๐จ**
When communicating with the user:
- Use plain, simple words that a non-expert understands right away
- Keep answers short and to the point
- Never use jargon or technical buzzwords โ if a technical term is truly needed, explain it in one simple phrase
- Lead with the outcome: say what happened, then give detail only if it helps
---
## โ ๏ธ CRITICAL: Repository Policy - NEVER TOUCH JEZWEB REPO
**๐จ ABSOLUTE RULE: The `jezweb/claude-skills` repository must NEVER be modified under ANY circumstances! ๐จ**
**ONLY work in the official repository: https://github.com/secondsky/claude-skills**
### โ FORBIDDEN ACTIONS (jezweb repo):
- โ NEVER push commits to `jezweb` remote
- โ NEVER create PRs to `jezweb/claude-skills`
- โ NEVER create branches targeting `jezweb`
- โ NEVER make ANY changes to `jezweb` repository
- โ NEVER use `git push jezweb` or `git push upstream` (both point to jezweb)
- โ NEVER use `gh pr create` without explicitly specifying `--repo secondsky/claude-skills`
### โ
REQUIRED ACTIONS (secondsky repo):
- โ
ALWAYS use `origin` remote pointing to `secondsky/claude-skills`
- โ
ALWAYS push to: `git push origin <branch>`
- โ
ALWAYS create PRs to: `secondsky/claude-skills` via `gh pr create --repo secondsky/claude-skills`
- โ
ALWAYS verify remote before pushing: `git remote -v` (check origin = secondsky)
### Why This Matters:
The `jezweb/claude-skills` is a PERSONAL FORK that must remain untouched. All development happens in `secondsky/claude-skills`. Pushing to jezweb would corrupt the fork and cause serious issues.
**If user says "push" or "create PR" without specifying repo, ALWAYS default to secondsky/claude-skills.**
---
## โ ๏ธ CRITICAL: Plugin Development Prerequisites
### Install Official Plugin-Dev Toolkit (REQUIRED)
```bash
/plugin install plugin-dev@claude-code-marketplace
```
**What it provides**:
- Hook development โ `hook-development` skill
- MCP integration โ `mcp-integration` skill
- Plugin structure โ `plugin-structure` skill
- Agent creation โ `agent-creator` agent
- Command creation โ `command-development` skill
- Skill creation โ `skill-development` skill
**What our documentation provides**:
- Marketplace management (unique to this repository)
- System prompt budget optimization (production issue, 15k char limit)
- - Batch operations for 139 skills
+ - Batch operations across all skills
- Repository-specific workflows
See [PLUGIN_DEV_BEST_PRACTICES.md](docs/guides/PLUGIN_DEV_BEST_PRACTICES.md) for repository-specific guidance.
---
## What This Repository Is
This is a curated collection of **production-tested Claude Code skills** for building modern web applications. Skills are modular capabilities that extend Claude's knowledge in specific domains, enabling faster development with fewer errors.
**Focus**: Claude Code CLI skills (not claude.ai web interface)
**Target Audience**: Developers building with Cloudflare, React, Tailwind v4, and AI integrations.
---
## Quick Navigation
**๐ First Time Here?** โ Read [START_HERE.md](docs/getting-started/START_HERE.md)
**๐จ Building a Skill?** โ See [QUICK_WORKFLOW.md](docs/getting-started/QUICK_WORKFLOW.md)
**โ
Verifying Work?** โ Check [ONE_PAGE_CHECKLIST.md](docs/getting-started/ONE_PAGE_CHECKLIST.md)
**๐ Need Project Structure?** โ See [PROJECT_STRUCTURE.md](PROJECT_STRUCTURE.md)
---
## Codebase Exploration
**๐ For detailed project structure, see [PROJECT_STRUCTURE.md](PROJECT_STRUCTURE.md)** (generated with codemap)
Use the `codemap` CLI tool ([github.com/JordanCoin/codemap](https://github.com/JordanCoin/codemap)) to quickly understand the project structure:
```bash
# Generate project tree with file stats
codemap .
# Show dependency flow (imports/exports)
codemap --deps .
# Files changed vs main branch
codemap --diff
# Check impact of a file (who imports it)
codemap --importers lib/accounting/ledger.ts
# Limit tree depth
codemap --depth 2 .
# Filter by extension
codemap --only ts,tsx .
```
Install: `brew tap JordanCoin/tap && brew install codemap`
## Skill Review Process
When reviewing skills, use manual review with the ONE_PAGE_CHECKLIST:
**Manual Review Steps**:
1. Check against [ONE_PAGE_CHECKLIST.md](docs/getting-started/ONE_PAGE_CHECKLIST.md)
2. Verify package versions: `scripts/check-versions.sh`
3. Test installation: `/plugin install <skill-name>@claude-skills` (or `npx skills add secondsky/claude-skills --skill <skill-name>` for cross-harness)
4. Validate YAML frontmatter and structure
5. Check compliance with [claude-code-skill-standards.md](docs/reference/claude-code-skill-standards.md)
**Advanced Validation**:
Use official plugin-dev toolkit: `/plugin install plugin-dev@claude-code-marketplace`
---
## โ ๏ธ CRITICAL: Manual Review & Refactoring Process
**ALWAYS use MANUAL approaches when reviewing and refactoring skills.**
### What This Means:
**โ
ALLOWED:**
- Using existing scripts in `scripts/` directory (e.g., `review-skill.sh`, `check-versions.sh`)
- Using standard tools: Read, Edit, Write, Grep, Glob, Bash
- Manual analysis and judgment
- Reading files to understand structure
- Using ONE_PAGE_CHECKLIST.md for manual review
**โ FORBIDDEN:**
- Creating NEW Python/shell scripts to automate refactoring
- Using sed/awk to programmatically rewrite large sections
- Batch processing multiple files without human review of each change
- Auto-generating content via scripts
- ANY automation that bypasses manual review of changes
### Why Manual Process is Required:
1. **Human Judgment**: Skills require context-aware decisions about what to extract vs keep
2. **Quality Control**: Each change must be reviewed for accuracy and clarity
3. **Consistency**: Manual review ensures adherence to skill standards
4. **Traceability**: Manual changes are easier to review in PRs
5. **Error Prevention**: Automation can introduce subtle errors that break skills
### Correct Refactoring Process (Manual):
**Refactoring Process**:
1. **Read & Analyze** (Manual):
- Read entire SKILL.md
- Identify sections >100 lines that can be extracted
- Determine what MUST stay in SKILL.md (Quick Start, Top 3-5 errors)
2. **Extract Sections** (Manual):
- Read the section to extract
- Copy content to new `references/<name>.md` file using Write tool
- Review extracted content for completeness
3. **Update SKILL.md** (Manual):
- Read current section in SKILL.md
- Use Edit tool to replace with:
- Brief summary (2-3 sentences)
- Pointer: "Load `references/<name>.md` when..."
- Review the edit to ensure clarity
4. **Add "When to Load References"** (Manual):
- Use Edit tool to add new section explaining WHEN to load each reference
- This is the KEY section for Claude to know what to load when
5. **Verify** (Manual):
- Read final SKILL.md
- Count lines: should be <500
- Check all pointers are correct
- Ensure "When to Load References" section is clear
**Time Estimate**: 30 min - 2 hours per skill (depending on complexity)
**This is INTENTIONAL** - quality over speed!
---
## Official Standards We Follow
This repo aligns with **official Anthropic standards**:
- **Official Skills Repo**: https://github.com/anthropics/skills
- **Agent Skills Spec**: [agent_skills_spec.md](https://github.com/anthropics/skills/blob/main/agent_skills_spec.md)
- **Skill Creator Guide**: [skill-creator/SKILL.md](https://github.com/anthropics/skills/blob/main/skill-creator/SKILL.md)
- **Our Standards Doc**: [docs/reference/claude-code-skill-standards.md](docs/reference/claude-code-skill-standards.md)
- **Comparison**: [docs/reference/STANDARDS_COMPARISON.md](docs/reference/STANDARDS_COMPARISON.md)
**Last Verified**: 2025-10-29
---
## Directory Structure
**๐ For comprehensive structure details, see [PROJECT_STRUCTURE.md](PROJECT_STRUCTURE.md)**
- **Total**: 2,528 files | 19.8MB
- **Top Extensions**: .md (1,155), .ts (337), .json (242), .html (127), .sh (123)
-
```
claude-skills/
- โโโ .claude/ # Claude Code config
- โ โโโ settings.local.json
+ โโโ .agents/ # Codex CLI surface (generated)
+ โ โโโ plugins/
+ โ โโโ marketplace.json # Codex marketplace (from generate-codex-manifests.sh)
โโโ .claude-plugin/ # Plugin marketplace
- โ โโโ marketplace.json # 139 plugins containing 136 skills
- โโโ commands/ # Slash commands (8 files)
- โ โโโ explore-idea.md # Pre-planning exploration
- โ โโโ plan-project.md # Project planning generator
- โ โโโ plan-feature.md # Feature planning
- โ โโโ continue-session.md # Session resumption
- โ โโโ wrap-session.md # Session checkpoint
- โ โโโ release.md # Pre-release safety checks
- โ โโโ workflow.md # Interactive guidance
+ โ โโโ marketplace.json # 145 plugins (generated by generate-marketplace.sh)
+ โโโ .githooks/ # Git hooks (pre-commit, pre-push)
+ โโโ .github/ # CI workflows, issue templates, CODEOWNERS
โโโ docs/ # Documentation
- โ โโโ skills_workflow.md
- โโโ examples/ # Working examples
- โ โโโ cloudflare-d1-test/
- โ โโโ public/ # Static assets
- โ โโโ src/ # Source code
- โ โโโ test/ # Tests
- โ โโโ wrangler.jsonc # Cloudflare config
- โโโ docs/ # Documentation (consolidated)
- โ โโโ COMMON_MISTAKES.md # Learn from failures
- โ โโโ STANDARDS_COMPARISON.md # Official vs our standards
- โ โโโ claude-code-skill-standards.md
- โ โโโ research-protocol.md
- โ โโโ verification-checklist.md
- โ โโโ SKILL_CATEGORIZATION.md
- โ โโโ SKILL_REVIEW_PROCESS.md
- โ โโโ ... (7 more files)
- โโโ scripts/ # Automation (13 files)
- โ โโโ sync-plugins.sh # โญ Single entry point
- โ โโโ generate-marketplace.sh # Marketplace generation
- โ โโโ check-versions.sh # Verify package versions
- โ โโโ review-skill.sh # Skill review automation
- โ โโโ audit-keywords.sh # Keyword auditing
- โ โโโ baseline-audit-all.sh # Baseline validation
- โ โโโ ... (7 more scripts)
- โโโ plugins/ # โญ 142 production plugins (18.2MB)
- โ โโโ cloudflare-*/ # 23 Cloudflare plugins
- โ โ โโโ .claude-plugin/ # Plugin manifest
- โ โ โ โโโ plugin.json
- โ โ โโโ README.md # Public documentation
- โ โ โโโ skills/ # Skill subdirectory
- โ โ โโโ cloudflare-*/ # Skill name matches plugin
- โ โ โโโ SKILL.md # Main skill file
- โ โ โโโ references/ # Extended docs
- โ โ โโโ templates/ # Code templates
- โ โ โโโ scripts/ # Helper scripts
- โ โ โโโ assets/ # Images, data
- โ โโโ ai-*/ # 20 AI/ML plugins
- โ โโโ api-*/ # 17 API plugins
- โ โโโ mobile-*/ # 8 Mobile plugins
- โ โโโ *-testing/ # 5 Testing plugins
- โ โโโ ... (96 more plugins) # Run: ls plugins/
- โโโ skills-review/ # Review documentation
- โ โโโ ... (11 comprehensive reports)
+ โ โโโ archive/ # Historical records
+ โ โโโ getting-started/ # Onboarding guides
+ โ โโโ guides/ # Contribution, best practices, marketplace ops
+ โ โโโ reference/ # Standards, categorization, common mistakes
+ โ โโโ security-audit/ # Audit reports and findings
+ โ โโโ validation/ # JSON schema validation docs
+ โโโ schemas/ # JSON schemas (marketplace, plugin, codex variants)
+ โโโ scripts/ # Automation (8 scripts + lib/)
+ โ โโโ sync-plugins.sh # โญ Single entry point
+ โ โโโ generate-marketplace.sh # Marketplace + MARKETPLACE.md generation
+ โ โโโ generate-codex-manifests.sh # Codex CLI manifests
+ โ โโโ validate-frontmatter.sh # SKILL.md frontmatter validation (CI)
+ โ โโโ validate-json-schemas.sh # ajv schema validation (CI)
+ โ โโโ check-versions.sh # Verify dependency versions (manual)
+ โ โโโ review-skill.sh # Skill review automation (manual)
+ โ โโโ baseline-audit-all.sh # Baseline validation (manual)
+ โโโ plugins/ # โญ 145 production plugins
+ โ โโโ cloudflare-*/ # 21 Cloudflare plugins
+ โ โโโ ai-*/ # AI/ML plugins
+ โ โโโ api-*/ # API plugins
+ โ โโโ ... # Run: ls plugins/
โโโ templates/ # โญ Skill templates
- โ โโโ SKILL-TEMPLATE.md # Copy-paste starter
- โ โโโ README-TEMPLATE.md # Public doc starter
- โ โโโ skill-skeleton/ # Complete skeleton
- โ โโโ SKILL.md
- โ โโโ README.md
- โ โโโ .claude-plugin/
- โ โโโ scripts/
- โ โโโ references/
- โ โโโ assets/
+ โ โโโ SKILL-TEMPLATE.md # Copy-paste starter
+ โ โโโ README-TEMPLATE.md # Public doc starter
+ โ โโโ skill-skeleton/ # Complete skeleton
โโโ *.md # Root documentation
- โโโ CLAUDE.md # โ You are here
- โโโ README.md # Public overview
- โโโ CHANGELOG.md # Version history
- โโโ LICENSE # MIT License
+ โโโ CLAUDE.md # โ You are here
+ โโโ README.md # Public overview
+ โโโ MARKETPLACE.md # Generated plugin catalog (do not hand-edit)
+ โโโ CHANGELOG.md # Version history
+ โโโ SECURITY.md # Security policy
```
**Plugin Directory Structure** (standard for all plugins):
```
plugins/<plugin-name>/
โโโ .claude-plugin/
โ โโโ plugin.json # Plugin manifest
โโโ README.md # Public documentation
โโโ skills/ # Skills subdirectory (required)
โโโ <plugin-name>/ # Skill name matches plugin name
โโโ SKILL.md # โญ Main skill content
โโโ references/ # Extended docs (loaded as needed)
โ โโโ command-<name>.md
โ โโโ troubleshooting.md
โ โโโ advanced-usage.md
โโโ templates/ # Code templates
โ โโโ basic-setup.ts
โ โโโ advanced-example.tsx
โโโ scripts/ # Helper scripts
โ โโโ setup.sh
โ โโโ validate.sh
โโโ assets/ # Images, data
โโโ diagram.png
```
**Important**: Per official Claude Code plugin structure, SKILL.md files **MUST** be in a `skills/<skill-name>/` subdirectory for auto-discovery to work.
---
## Repository Architecture: Plugins vs Skills
This repository uses a **two-tier structure**:
- ### 139 Plugins (Marketplace Categories)
+ ### 145 Plugins (Marketplace Categories)
Plugins are **logical groupings** that organize related skills by domain:
- Each plugin appears in `.claude-plugin/marketplace.json`
- Plugins have names like "cloudflare-d1", "gemini-cli", "tailwind-v4-shadcn", etc.
- Users install plugins via: `/plugin install <plugin-name>@claude-skills`
- ### 136 Skills (Individual Capabilities)
+ ### Skills (Individual Capabilities)
Skills are the **actual knowledge units** that Claude loads:
- Each skill has its own directory in `plugins/<plugin-name>/skills/`
- Each skill has `SKILL.md`, `README.md`, templates, references
- Skills are discovered automatically when relevant to user tasks
### Example Structure
```
- Plugin: "cloudflare-d1" (1 of 139 plugins)
+ Plugin: "cloudflare-d1" (1 of 145 plugins)
โ contains
Skills: cloudflare-d1 (1 skill per plugin, some multi-skill like bun with 27)
```
- **Total**: 139 plugins organize 136 skills for optimal discoverability.
+ **Total**: 145 plugins; skills are auto-discovered from each plugin's `skills/` directory.
---
- ## Current Status (2025-11-20)
-
- ### โ
Repository Status
-
- - **139 plugins** in marketplace (`.claude-plugin/marketplace.json`)
- - **136 individual skills** in repository (`plugins/` directory)
- - Most plugins contain 1 skill; some contain multiple (bun: 27, cloudflare-workers: 10, nuxt-v4: 4)
-
- **Baseline Audit (2026-06-21):** 136 skills validated after removal of 31 deprecated plugins. All remaining skills production-ready with zero critical issues.
-
- All 136 skills are production-ready and organized by domain:
-
- **Cloudflare Platform** (20 skills):
- - cloudflare-d1, cloudflare-r2, cloudflare-kv
- - cloudflare-workers-ai, cloudflare-vectorize, cloudflare-queues, cloudflare-workflows
- - cloudflare-durable-objects, cloudflare-agents, cloudflare-mcp-server, cloudflare-turnstile
- - cloudflare-nextjs, cloudflare-cron-triggers, cloudflare-email-routing
- - cloudflare-hyperdrive, cloudflare-images, cloudflare-browser-rendering
- - cloudflare-zero-trust-access, cloudflare-manager, cloudflare-sandbox
-
- **AI & Machine Learning** (7 skills):
- - gemini-cli
- - ml-model-training, ml-pipeline-automation, model-deployment
- - multi-ai-consultant
- - tanstack-ai, thesys-generative-ui
-
- **Frontend & UI** (25 skills):
- - tailwind-v4-shadcn, react-hook-form-zod, tanstack-query, zustand-state-management
- - nextjs, hono-routing, firecrawl-scraper, inspira-ui, aceternity-ui, shadcn-vue
- - base-ui-react, auto-animate, motion, nuxt-v4, nuxt-ui-v4, frontend-design
- - tanstack-router, tanstack-start, tanstack-table, pinia-v3, pinia-colada
- - ultracite, zod, hugo, wordpress-plugin-core
-
- **Auth & Security** (1 skill):
- - better-auth
-
- **Content Management** (2 skills):
- - nuxt-content, nuxt-seo
-
- **Database & ORM** (1 skill):
- - drizzle-orm-d1
-
- **Tooling & Development** (27 skills):
- - **MCP & Integration**: mcp-dynamic-orchestrator, mcp-management
- - **Code Quality**: code-review, dependency-upgrade
- - **Testing**: jest-generator, playwright-testing, vitest-testing, mutation-testing, test-quality-analysis, api-testing
- - **Architecture & Patterns**: api-design-principles, architecture-patterns, microservices-patterns
- - **Debugging & Analysis**: systematic-debugging, root-cause-tracing, sequential-thinking, defense-in-depth-validation
- - **Automation**: github-project-automation, claude-code-bash-patterns
- - **Tools**: claude-hook-writer, turborepo, nano-banana-prompts
- - **Feature Development**: feature-dev, design-review
- - **WooCommerce**: woocommerce-backend-dev, woocommerce-code-review, woocommerce-copy-guidelines, woocommerce-dev-cycle
-
- **Quality Standards**:
- - โ
All production-tested
- - โ
Fully compliant with official Anthropic standards
- - โ
100% pass rate on automated baseline audit (2025-11-20)
- - โ
Package versions verified current
- - โ
Average token savings: 60-70%
- - โ
395+ documented errors prevented across all skills
-
- **Audit Details:**
- - Last Baseline Audit: 2026-02-07
- - Automated validation: 136/136 skills passed
- - Issues found: 0 Critical, 0 High, 0 Medium
- - 6 plugins removed to streamline collection
- - Full report: See CHANGELOG.md v3.2.0
+ ## Current Status
- **Recent Optimizations:**
- - **Tier 7 Optimization** (2025-12-17): 11 Tooling & Planning skills optimized
- - Total reduction: 9,558 โ 4,764 lines (-50.1%)
- - Progressive disclosure implemented across all 11 skills
- - "When to Load References" sections added for better discovery
- - Skills optimized: claude-hook-writer, github-project-automation, turborepo, design-review, multi-ai-consultant
- - Full summary: `docs/archive/TIER_7_OPTIMIZATION_SUMMARY.md` (if exists)
- - Note: project-planning, project-session-management, project-workflow removed in v3.2.0 (replaced by commands/)
+ - **145 plugins** in the marketplace (`.claude-plugin/marketplace.json`), all versions in lockstep at a single release version
+ - Most plugins contain 1 skill; some contain multiple (bun: 27, cloudflare-workers: 10, nuxt-v4: 4) โ skills are auto-discovered from each plugin's `skills/` directory
+ - Browse the catalog: generated [MARKETPLACE.md](MARKETPLACE.md) or the category table in [README.md](README.md)
+ - Quality gates: schema + frontmatter validation runs in CI on every PR; per-skill deep review via `scripts/review-skill.sh`; version staleness check via `scripts/check-versions.sh`
+ - For release history and past audits, see [CHANGELOG.md](CHANGELOG.md)
---
## Development Workflow
### Official Plugin-Dev Workflow (Recommended for First-Timers)
**Use the official `/plugin-dev:create-plugin` command for guided plugin creation**:
```bash
# Already installed if you followed prerequisites above
/plugin-dev:create-plugin
```
**Provides**:
- 8-phase guided workflow with validation
- Automatic scaffolding (SKILL.md, plugin.json, README.md)
- Access to official skills for hooks, MCP, agents, commands
- Built-in quality checks
**When to use**: First time creating plugins, need structure guidance, want to add hooks/MCP/agents
**When to use manual workflow below**: Building 2nd+ skill, fast iteration, repository-specific needs
See [PLUGIN_DEV_BEST_PRACTICES.md](docs/guides/PLUGIN_DEV_BEST_PRACTICES.md) Section 7 for integration.
---
### Standard Workflow (From Scratch)
```
1. RESEARCH
โข Read docs/reference/research-protocol.md
โข Check Context7 MCP for library docs
โข Verify latest package versions (npm view)
โข Document research findings
2. TEMPLATE
โข Copy: cp -r templates/skill-skeleton/ skills/new-skill/
โข Fill TODOs in SKILL.md
โข Fill TODOs in README.md
โข Add resources (scripts/, references/, assets/)
3. TEST
โข Install: /plugin install new-skill@claude-skills (or npx skills add secondsky/claude-skills --skill new-skill)
โข Test discovery: Ask Claude Code to use skill
โข Build example project to verify templates work
4. VERIFY
โข Check docs/getting-started/ONE_PAGE_CHECKLIST.md
โข Compare with docs/reference/claude-code-skill-standards.md
โข Run check-versions.sh if applicable
5. COMMIT
โข git add skills/new-skill
โข git commit -m "Add new-skill for [use case]"
โข Update roadmap documentation if needed
โข git push
6. MARKETPLACE
โข Generate marketplace: ./scripts/generate-marketplace.sh
โข Verify: jq '.plugins | length' .claude-plugin/marketplace.json
โข git add .claude-plugin/marketplace.json scripts/generate-marketplace.sh
โข git commit -m "Update marketplace with new-skill"
โข git push
```
### Quick Workflow (Experienced)
```bash
# 1. Copy template
cp -r templates/skill-skeleton/ skills/my-skill/
# 2. Edit SKILL.md and README.md (fill TODOs)
# 3. Add resources
# 4. Test
/plugin install my-skill@claude-skills
# 5. Verify & Commit
git add skills/my-skill && git commit -m "Add my-skill" && git push
# 6. Update marketplace
./scripts/generate-marketplace.sh
git add .claude-plugin/marketplace.json && git commit -m "Update marketplace with my-skill" && git push
```
---
## Plugin Management Workflow
**Single Entry Point**: `./scripts/sync-plugins.sh`
This script consolidates all plugin management into one command:
### What It Does
- 1. **Syncs version** from marketplace.json to all 139 plugin.json files
+ 1. **Syncs version** from marketplace.json to every plugin.json file
2. **Adds category** field based on skill name patterns
3. **Detects agents** in `agents/` directory โ adds agents array
4. **Detects commands** in `commands/` directory โ adds commands array
5. **Generates keywords** from skill name, category, and description
6. **Regenerates marketplace.json** with all updated data
### Usage
```bash
# Full sync (updates all plugin.json files + regenerates marketplace)
./scripts/sync-plugins.sh
# Preview changes without modifying files
./scripts/sync-plugins.sh --dry-run
# Show help
./scripts/sync-plugins.sh --help
```
### When to Run
- After adding new skills
- After modifying skill descriptions in SKILL.md
- After adding agents or commands to a skill
- Before releasing/pushing changes
- To sync version across all skills
### โ ๏ธ Versioning: Global Only
- `sync-plugins.sh` uses a **single global version** for all 139 plugins. The version is read from `marketplace.json` โ `.metadata.version` and stamped onto every `plugin.json` and marketplace entry. There is **no per-plugin versioning**.
+ `sync-plugins.sh` uses a **single global version** for all plugins. The version is read from `marketplace.json` โ `.metadata.version` and stamped onto every `plugin.json` and marketplace entry. There is **no per-plugin versioning**.
To bump version for any plugin change:
1. Update `.metadata.version` in `.claude-plugin/marketplace.json`
2. Run `./scripts/sync-plugins.sh`
3. All plugins receive the same version โ this is by design
**Do NOT manually edit** `plugin.json` version or keywords โ sync will overwrite them. Keywords are auto-generated from skill name, category, and description.
### Plugin.json Schema
Each skill's plugin.json follows the [official Claude Code plugin schema](https://docs.claude.com/en/docs/claude-code/plugins-reference). Only `name` is required:
```json
{
"name": "feature-dev",
"description": "...",
"version": "3.0.0",
"author": {"name": "...", "email": "...", "url": "..."},
"homepage": "https://docs.example.com/plugin",
"repository": "https://github.com/secondsky/claude-skills",
"license": "MIT",
"keywords": ["feature", "dev", "workflow"],
"agents": ["./agents/code-reviewer.md"],
"commands": ["./commands/feature-dev.md"],
"skills": "./custom/skills/",
"hooks": "./config/hooks.json",
"mcpServers": "./mcp-config.json",
"outputStyles": "./styles/",
"lspServers": "./.lsp.json",
"userConfig": {},
"channels": []
}
```
Component path fields (`commands`, `agents`, `skills`, `outputStyles`) accept `string | array` and **replace** the default directory. Fields `hooks`, `mcpServers`, `lspServers` accept `string | array | object` and **merge** from multiple sources.
**Note**: The `category` field is NOT valid in plugin.json (causes installation errors). Categories are only used in `marketplace.json` for organization purposes.
Validation schema: `schemas/plugin.schema.json` โ run `./scripts/validate-json-schemas.sh` to check.
### Note on Script Consolidation
All plugin management has been consolidated into `sync-plugins.sh`. The `scripts/generate-marketplace.sh` is still used internally by `sync-plugins.sh`.
---
## Key Principles
### 1. Atomic Skills Philosophy
- **One skill = One domain** (e.g., D1 database, not "all Cloudflare services")
- **Composable**: Claude combines skills automatically
- **Reusable**: Same skill works across different frameworks
- **Maintainable**: Update one skill, benefits all use cases
### 2. Production Quality
- All skills must be **tested in production**
- Package versions must be **current** (verified regularly)
- Known issues must be **documented with sources** (GitHub issues, etc.)
### 3. Official Standards Compliance
- YAML frontmatter: `name` and `description` (required)
- Optional fields: `license`, `allowed-tools`, `metadata`
- Directory structure: `scripts/`, `references/`, `assets/` (official)
- Writing style: Imperative/infinitive form, third-person descriptions
- See [docs/reference/STANDARDS_COMPARISON.md](docs/reference/STANDARDS_COMPARISON.md)
### 4. Progressive Disclosure
- **Metadata** (name + description): Always in context (~100 words)
- **SKILL.md body**: Loaded when skill triggers (<5k words)
- **Bundled resources**: Loaded as needed by Claude
---
## Commands & Scripts
Note: Bun is the preferred runtime and package manager for Node-based workflows in this repo. npm/pnpm examples remain supported equivalents.
### Installing Skills
```bash
# Add the marketplace once
/plugin marketplace add https://github.com/secondsky/claude-skills
# Install a single skill
/plugin install cloudflare-d1@claude-skills
# Cross-harness install (Cursor, opencode, Gemini CLI, etc.)
npx skills add secondsky/claude-skills --skill cloudflare-d1
# Codex CLI (native marketplace โ .codex-plugin/ manifests generated for all plugins)
codex plugin marketplace add secondsky/claude-skills
# Then /plugins in the Codex TUI to browse/install
# Verify installation
ls -la ~/.claude/skills/
```
### Development
```bash
# Check package versions
./scripts/check-versions.sh plugins/cloudflare-d1/
# Create new skill from template
cp -r templates/skill-skeleton/ skills/new-skill-name/
```
### Testing
```bash
# After installing skill, ask Claude Code:
"Use the cloudflare-d1 skill to set up a new project"
# Claude should discover and propose using the skill automatically
```
### Git Workflow
```bash
# Create feature branch
git checkout -b add-new-skill
# Make changes
git add skills/new-skill/
git commit -m "Add new-skill for [use case]
- Description of what it does
- Errors prevented: X
Production tested: [evidence]"
# Push and create PR
git push origin add-new-skill
```
---
## Quality Standards
### Before Committing (Checklist)
Use [ONE_PAGE_CHECKLIST.md](docs/getting-started/ONE_PAGE_CHECKLIST.md) to verify:
- [ ] YAML frontmatter valid (name + description)
- [ ] Description includes "Use when" scenarios
- [ ] **Description is concise** (<100 chars ideal, <300 chars max)
- [ ] Keywords comprehensive (technologies, use cases, errors)
- [ ] Third-person description style
- [ ] Instructions in imperative form
- [ ] Resources organized (scripts/, references/, assets/)
- [ ] Templates tested and working
- [ ] Package versions current
- [ ] Known issues documented with sources
- [ ] LICENSE field present (MIT)
- [ ] README.md has auto-trigger keywords
- [ ] Tested in ~/.claude/skills/
### Compliance Verification
Compare against:
1. [docs/reference/claude-code-skill-standards.md](docs/reference/claude-code-skill-standards.md) - Our standards
2. [docs/reference/STANDARDS_COMPARISON.md](docs/reference/STANDARDS_COMPARISON.md) - Official vs ours
- 3. [CLOUDFLARE_SKILLS_AUDIT.md](CLOUDFLARE_SKILLS_AUDIT.md) - Example audit
4. https://github.com/anthropics/skills - Official reference
---
## Common Pitfalls to Avoid
See [docs/reference/COMMON_MISTAKES.md](docs/reference/COMMON_MISTAKES.md) for detailed examples.
**Quick List**:
- โ Missing YAML frontmatter (skill invisible to Claude)
- โ Non-standard frontmatter fields (use only name, description, license, allowed-tools, metadata)
- โ Second-person descriptions ("You should..." instead of "This skill should be used when...")
- โ Vague descriptions (no "Use when" scenarios)
- โ **Verbose descriptions** (keep concise for better discoverability)
- โ Missing keywords (reduces discoverability)
- โ Outdated package versions
- โ Untested templates
- โ No production validation
---
## External Resources
### Official Anthropic
- **Skills Repository**: https://github.com/anthropics/skills
- **Skills Spec**: https://github.com/anthropics/skills/blob/main/agent_skills_spec.md
- **Skill Creator**: https://github.com/anthropics/skills/blob/main/skill-creator/SKILL.md
- **Engineering Blog**: https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills
### Support Articles
- [What are skills?](https://support.claude.com/en/articles/12512176-what-are-skills)
- [Using skills in Claude](https://support.claude.com/en/articles/12512180-using-skills-in-claude)
- [Creating custom skills](https://support.claude.com/en/articles/12512198-creating-custom-skills)
### Claude Code Docs
- **Skills Documentation**: https://docs.claude.com/en/docs/claude-code/skills
- **Overview**: https://docs.claude.com/en/docs/claude-code/overview
---
## Maintenance
### Regular Tasks
**Quarterly** (Every 3 months):
- Check package versions: `scripts/check-versions.sh`
- Update to latest stable versions
- Re-test all skills
- Update "Last Verified" dates
**When Package Updates**:
- Check breaking changes in changelog
- Update skill templates
- Test thoroughly
- Document migration if needed
**When Standards Change**:
- Review official Anthropic skills repo
- Update docs/reference/claude-code-skill-standards.md
- Update docs/reference/STANDARDS_COMPARISON.md
- Audit existing skills for compliance
---
## Getting Help
**Documentation Issues?**
- Check [START_HERE.md](docs/getting-started/START_HERE.md) for navigation
- Read [COMMON_MISTAKES.md](docs/reference/COMMON_MISTAKES.md)
- Review working examples in `plugins/` directory
**Technical Issues?**
- Open issue: https://github.com/secondsky/claude-skills/issues
- Email: maintainers@example.com
- Check official Claude Code docs
**Want to Contribute?**
- Read [CONTRIBUTING.md](docs/guides/CONTRIBUTING.md)
- Use templates in `templates/`
- Follow [QUICK_WORKFLOW.md](docs/getting-started/QUICK_WORKFLOW.md)
- Verify with [ONE_PAGE_CHECKLIST.md](docs/getting-started/ONE_PAGE_CHECKLIST.md)
---
## Project Goals
### Short Term (Next 3 Months)
- Complete Batch 2 skills (hono-routing, react-hook-form-zod)
- Add Batch 3 (tanstack-query)
- Maintain 100% compliance with official standards
- Keep all package versions current
### Long Term (Next Year)
- Expand to 20+ production skills
- Community contributions
- Validation/packaging scripts (ร la Anthropic)
- Automated testing for skill discovery
- Public skill marketplace compatibility
---
## Success Metrics
**Quality**:
- โ
100% compliance with official Anthropic standards
- โ
All skills production-tested
- โ
Package versions current (checked quarterly)
- โ
Zero reported errors from documented issues
**Efficiency**:
- โ
Average 60%+ token savings
- โ
100% error prevention (vs manual setup)
- โ
Sub-5-minute skill creation (with templates)
- โ
First-try skill discovery rate: 95%+
**Adoption**:
- โ
9 skills in production
- โ
GitHub stars: Growing
- โ
Community contributions: Welcome
- โ
Deployed examples: Verified working
---
**Last Updated**: 2025-11-12
**Next Review**: 2026-02-12 (Quarterly)
**Maintainer**: Claude Skills Maintainers | maintainers@example.com | https://github.com/secondsky/claude-skills
- if you condense skills, never remove info first (unless incorrect), always first extract the info into reference files or samples, then condense the old info in the skill.md and link to ref files. basically use best practices for skill creation.