Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
docs(agents): Remove skill-auditor, add QA Agents Guide
Jeremy Dawese6cdd081d55a
diff --git a/.claude/agents/content-accuracy-auditor.md b/.claude/agents/content-accuracy-auditor.mdindex cd5f9b5b..ed8de9fc 100644--- a/.claude/agents/content-accuracy-auditor.md+++ b/.claude/agents/content-accuracy-auditor.md@@ -68,12 +68,22 @@ Look for docs in this priority order:4. **Known documentation sources** (fallback):| Technology | Documentation URL ||------------|-------------------|- | Cloudflare | https://developers.cloudflare.com/ |+ | Cloudflare Workers | https://developers.cloudflare.com/workers/ |+ | Cloudflare D1 | https://developers.cloudflare.com/d1/ |+ | Cloudflare R2 | https://developers.cloudflare.com/r2/ |+ | Cloudflare KV | https://developers.cloudflare.com/kv/ || Vercel AI SDK | https://sdk.vercel.ai/docs || OpenAI | https://platform.openai.com/docs || Anthropic | https://docs.anthropic.com |+ | Google Gemini | https://ai.google.dev/gemini-api/docs || Clerk | https://clerk.com/docs || Hono | https://hono.dev/docs |+ | React | https://react.dev/reference |+ | Tailwind CSS | https://tailwindcss.com/docs |+ | shadcn/ui | https://ui.shadcn.com/docs |+ | Drizzle ORM | https://orm.drizzle.team/docs |+ | TanStack Query | https://tanstack.com/query/latest/docs |+ | TanStack Router | https://tanstack.com/router/latest/docs |### Step 3: Fetch Official Documentationdiff --git a/.claude/agents/skill-auditor.md b/.claude/agents/skill-auditor.mddeleted file mode 100644index 9a56e029..00000000--- a/.claude/agents/skill-auditor.md+++ /dev/null@@ -1,154 +0,0 @@-----name: skill-auditor-description: |- Deep audit specialist for claude-skills. MUST BE USED when auditing skills against official documentation, checking for knowledge gaps, validating accuracy, or performing deep content audits. Use PROACTIVELY for any skill quality review.-tools: Read, Write, Edit, Glob, Grep, Bash, WebFetch-model: sonnet------You are a skill audit specialist who validates claude-skills against official documentation.--## Audit Modes--**Quick Audit** (default): Check versions, validate structure, report issues-**Deep Audit** (when asked): Fetch official docs, compare feature coverage, identify gaps--If the prompt says "quick" or doesn't specify depth, do a quick audit.-If the prompt says "deep", "thorough", or "comprehensive", do a deep audit with WebFetch.--## Quick Audit Process--1. Read `skills/[name]/SKILL.md` and `README.md`-2. Check package versions via `npm view [package] version`-3. Verify YAML frontmatter is valid-4. Check for internal inconsistencies (version mismatches, broken links)-5. Score and report--**Output**: Concise summary with issues table and score.--## Deep Audit Process--1. **Read skill files** - SKILL.md, README.md, templates/-2. **Fetch official documentation** - Use WebFetch to get current docs-3. **Compare coverage** - What does official docs cover that skill doesn't?-4. **Check versions** - npm view for current package versions-5. **Identify gaps** - Missing features, outdated patterns, new APIs-6. **Apply fixes** - Update skill with missing information-7. **Report** - Full audit report with gaps and fixes--## Research Delegation--For fetching official documentation and web content during deep audits, delegate to the `web-researcher` agent:--```-Use web-researcher agent to fetch:-- Official documentation pages-- API references and changelogs-- GitHub issues for error patterns-- Release notes and migration guides-```--The web-researcher automatically handles:-- Method selection (WebFetch → Firecrawl → Browser Rendering → Local Playwright)-- Anti-bot bypass when needed-- Cloud IP block workarounds-- Structured data extraction if schema provided--**Only research directly** if:-- Simple `npm view` or CLI commands-- Reading local skill files-- Quick version checks--## Official Documentation Sources--| Technology | Documentation URL |-|------------|-------------------|-| Cloudflare Workers | https://developers.cloudflare.com/workers/ |-| Cloudflare D1 | https://developers.cloudflare.com/d1/ |-| Cloudflare R2 | https://developers.cloudflare.com/r2/ |-| Vercel AI SDK | https://sdk.vercel.ai/docs |-| React | https://react.dev/reference |-| Tailwind CSS | https://tailwindcss.com/docs |-| shadcn/ui | https://ui.shadcn.com/docs |-| Clerk | https://clerk.com/docs |-| OpenAI | https://platform.openai.com/docs |-| Anthropic | https://docs.anthropic.com |-| Claude Code | https://code.claude.com/docs |-| Hono | https://hono.dev/docs |-| Drizzle ORM | https://orm.drizzle.team/docs |--## Version Checking--```bash-# npm packages-npm view [package] version-npm view [package] time.modified--# Multiple packages-npm view ai @clerk/nextjs tailwindcss version--# GitHub releases-gh release list -R [owner/repo] -L 3-```--## Output Format--### Quick Audit Output--```markdown-## Quick Audit: [skill-name]--**Score**: X/10-**Versions**: ✅ Current / ⚠️ Outdated--### Issues Found--| Type | Issue | Location |-|------|-------|----------|-| VERSION | [email protected] → 6.0.26 | SKILL.md:25 |-| INCONSISTENCY | vite version differs | lines 37, 276 |--### Recommendations-1. [Specific fix]-```--### Deep Audit Output--```markdown-## Deep Audit: [skill-name]--**Date**: YYYY-MM-DD-**Official Source**: [URL fetched]-**Score**: X/10--### Coverage Analysis--| Feature | Official Docs | Skill Coverage |-|---------|---------------|----------------|-| Feature A | ✅ Documented | ✅ Covered |-| Feature B | ✅ Documented | ❌ Missing |--### Gaps Found-1. [Missing feature from official docs]-2. [Outdated pattern - new approach available]--### Fixes Applied-1. [What was updated]--### Remaining Issues-- [Manual review needed]-```--## Quality Thresholds--| Score | Meaning |-|-------|---------|-| 9-10 | Production ready, comprehensive |-| 7-8 | Good coverage, minor gaps |-| 5-6 | Usable but needs updates |-| <5 | Significant gaps, needs rework |--## Working Directory--All skills in: `skills/`-Audit reports go to: `planning/CONTENT_AUDIT_[skill].md` (for deep audits only)diff --git a/.claude/agents/web-researcher.md b/.claude/agents/web-researcher.mdindex c4c52103..c2f92167 100644--- a/.claude/agents/web-researcher.md+++ b/.claude/agents/web-researcher.md@@ -199,7 +199,7 @@ Sites that typically require escalation:## Integration with Other Agents-When called by skill-creator, skill-auditor, or doc-validator:+When called by content-accuracy-auditor, api-method-checker, skill-creator, or doc-validator:1. Accept the URL(s) to research2. Attempt fetch using escalation pyramiddiff --git a/CLAUDE.md b/CLAUDE.mdindex 48a0cd28..edfb1ea8 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -61,11 +61,13 @@ claude-skills/│ └── README.md│├── .claude/agents/ # Custom agents for managing this repo-│ ├── skill-auditor.md # Deep audit vs official docs-│ ├── version-checker.md # Check/update package versions-│ ├── skill-creator.md # Scaffold new skills-│ ├── bulk-updater.md # Batch operations-│ └── doc-validator.md # Documentation quality+│ ├── content-accuracy-auditor.md # Find missing features vs official docs+│ ├── code-example-validator.md # Validate code syntax and methods+│ ├── api-method-checker.md # Verify APIs exist in packages+│ ├── version-checker.md # Check/update package versions+│ ├── skill-creator.md # Scaffold new skills+│ ├── bulk-updater.md # Batch operations+│ └── doc-validator.md # Documentation quality│├── docs/ # Extended documentation│ ├── SKILLS_CATALOG.md # Full skill detailsdiff --git a/README.md b/README.mdindex 9cee500f..563abd6f 100644--- a/README.md+++ b/README.md@@ -99,7 +99,7 @@ Popular requests get prioritized. No need to build it yourself unless you want tWant your own skills ecosystem with your own authorship? **Fork this repo** or use it as a template:1. Fork → customize skills with your preferences-2. Use our agents (`skill-auditor`, `version-checker`) to maintain currency+2. Use our QA agents (`content-accuracy-auditor`, `code-example-validator`, `version-checker`) to maintain currency3. Pull upstream updates when usefulThis works well if you maintain skills across multiple machines or want to publish your own collection.diff --git a/docs/QA_AGENTS_GUIDE.md b/docs/QA_AGENTS_GUIDE.mdnew file mode 100644index 00000000..d14b5d7a--- /dev/null+++ b/docs/QA_AGENTS_GUIDE.md@@ -0,0 +1,255 @@+# QA Agents Guide++This guide explains how to use the skill quality assurance agents in claude-skills.++## Quick Reference++| I want to... | Use Agent | How to Invoke |+|--------------|-----------|---------------|+| **Full skill audit** | All 4 agents | `/audit-skill-deep skill-name` |+| **Find missing features** | content-accuracy-auditor | "Check what features are missing from cloudflare-d1 skill" |+| **Validate code examples** | code-example-validator | "Validate code examples in ai-sdk-core" |+| **Verify APIs exist** | api-method-checker | "Check if documented methods in clerk-auth exist" |+| **Check package versions** | version-checker | "Check versions in hono-routing skill" |++## The QA Agent Squad++### 1. content-accuracy-auditor++**Purpose**: Find features documented in official docs but missing from skill.++**Catches**:+- Missing API features (the "Firecrawl 40% gap" problem)+- Deprecated patterns still recommended+- New features not documented++**Invocation**:+```+"Audit cloudflare-d1 skill for content accuracy"+"Compare hono-routing skill against official Hono documentation"+```++**Output**: Coverage report with missing features, confidence ratings, and recommendations.++---++### 2. code-example-validator++**Purpose**: Validate code examples are syntactically correct and use valid APIs.++**Catches**:+- Wrong method names (`topK` vs `topN`)+- Outdated imports (`experimental_` prefixes)+- Syntax errors in code blocks++**Invocation**:+```+"Validate code examples in ai-sdk-core skill"+"Check if code blocks in clerk-auth are syntactically correct"+```++**Output**: Issues with line numbers, confidence ratings, and suggested fixes.++---++### 3. api-method-checker++**Purpose**: Verify documented methods actually exist in current package versions.++**Catches**:+- Renamed APIs+- Removed methods+- Changed function signatures++**Invocation**:+```+"Verify APIs documented in better-auth skill exist"+"Check if ai-sdk-core methods are in [email protected]"+```++**Output**: Verification results with TypeScript definition evidence.++---++### 4. version-checker++**Purpose**: Keep package version references current.++**Catches**:+- Outdated version numbers+- Version mismatches within skill+- Breaking changes needing migration++**Invocation**:+```+"Check package versions in cloudflare-worker-base"+"Update version references in tailwind-v4-shadcn"+```++**Output**: Version report with current vs documented versions.++---++## Confidence Ratings++All agents rate their findings:++| Rating | Meaning | Evidence |+|--------|---------|----------|+| **HIGH** | Certain | Verified programmatically (npm exports, TypeScript defs) |+| **MEDIUM** | Likely correct | Found in changelog/search but can't fully verify |+| **LOW** | Uncertain | Couldn't access sources, multiple interpretations possible |++**What to do**:+- HIGH: Fix immediately+- MEDIUM: Verify then fix+- LOW: Manual review needed++---++## Common Workflows++### Quarterly Skill Audit++Full audit of high-priority skills:++```bash+# Run comprehensive audit+/audit-skill-deep ai-sdk-core+/audit-skill-deep cloudflare-d1+/audit-skill-deep hono-routing++# Review findings, fix CRITICAL/HIGH first+# Then run with --fix to auto-apply safe fixes+/audit-skill-deep ai-sdk-core --fix+```++### After Package Update++When a package releases a new version:++```+1. "Check if ai-sdk-core skill matches [email protected]"+2. Agent runs, finds issues+3. Agent suggests which other agents should verify+4. Apply fixes, commit+```++### Quick Syntax Check++Before committing skill changes:++```+"Validate code examples in my-skill"+```++Fix any HIGH confidence issues before committing.++### Finding Missing Features++When you suspect a skill is incomplete:++```+"Compare cloudflare-kv skill against official Cloudflare KV documentation"+```++Agent will list what's missing with priority levels.++---++## Orchestrated vs On-Demand++### Orchestrated: `/audit-skill-deep`++Runs all agents in coordinated workflow:++```+/audit-skill-deep skill-name [--quick] [--fix]+```++- `--quick`: Skip content-accuracy (faster, syntax/API only)+- `--fix`: Auto-apply safe fixes++**Flow**:+1. version-checker (establishes baseline)+2. Three agents in parallel (content, code, API)+3. Aggregated report with overall score++### On-Demand: Ask Directly++Ask Claude to use a specific agent:++```+"Use code-example-validator to check ai-sdk-core"+"Ask content-accuracy-auditor about missing features in hono-routing"+```++Good for quick targeted checks.++---++## Cross-Agent Coordination++Agents suggest follow-ups when they find related issues:++| Agent Finds | Suggests |+|-------------|----------|+| Missing feature | content-accuracy-auditor → "add to skill" |+| Wrong method name | code-example-validator → api-method-checker to verify |+| Renamed API | api-method-checker → code-example-validator to update examples |+| Version mismatch | version-checker → all agents to re-verify |++Example output:+```markdown+### Suggested Follow-up++**For api-method-checker**: Verify if `experimental_generateSpeech`+has graduated to stable `generateSpeech` in [email protected].+```++---++## Output Locations++| Agent | Output Location |+|-------|-----------------|+| `/audit-skill-deep` | `planning/QA_AUDIT_[skill].md` |+| version-checker | `VERSIONS_REPORT.md` (repo root) |+| Individual agents | Inline report in conversation |++---++## Troubleshooting++### Agent can't access documentation++The content-accuracy-auditor has a 3-tier fallback:+1. WebFetch (fast)+2. WebSearch (alternative sources)+3. Firecrawl via web-researcher (anti-bot)++If all fail, agent reports LOW confidence and suggests manual verification.++### Too many findings++If an audit returns 20+ issues:+1. Focus on CRITICAL and HIGH confidence first+2. Use `--quick` mode for faster checks+3. Batch fixes by category (versions, then code, then content)++### Agent keeps investigating++Agents have stop conditions:+- Max 5 pages fetched per audit+- Max 3 verification attempts per issue+- Escalates to human when uncertain++If an agent seems stuck, it will report what it tried and suggest manual steps.++---++## Related Resources++- **Command**: `commands/audit-skill-deep.md`+- **Protocol**: `planning/skill-audit-protocol.md`+- **Scripts**: `scripts/check-all-versions.sh`