A collection of skills and commands for AI coding agents.
Skills auto-activate when relevant tasks are detected. They follow the Agent Skills format.
React Query v4 (TanStack Query) best practices, patterns, and troubleshooting. Based on TkDodo's comprehensive blog series.
Use when:
- Implementing new queries or mutations
- Integrating WebSockets with React Query
- Setting up query invalidation patterns
- Debugging React Query behavior
- Optimizing render performance
- TypeScript integration questions
Categories covered:
- Query Keys & Patterns (Critical)
- Mutations & Updates (Critical)
- Caching Strategy (High)
- WebSocket Integration (High)
- TypeScript Integration (Medium)
- Testing Patterns (Medium)
- Common Pitfalls (Medium)
Feature planning, specification, phased implementation, progress tracking, per-phase PRs, and archival workflow.
Use when:
- Starting a new feature or migration
- Creating or updating a spec document
- Breaking work into implementation phases
- Tracking progress within a spec
- Deciding PR scope and branch strategy
- Archiving completed specs
Categories covered:
- Spec Structure & Content (Critical)
- Phase Design (Critical)
- Progress Tracking (High)
- PR Strategy (High)
- Archival (Medium)
- Workflow Collaboration (Medium)
Commands require explicit invocation via /command-name. They use Claude Code's native command format.
Validate AI-generated PR review comments. Checks if AI comments are accurate or hallucinated by cross-referencing with actual code changes.
Prerequisites: Requires gh CLI installed and authenticated.
Usage:
/validate-pr 123
/validate-pr https://github.com/owner/repo/pull/123
Install via the skills CLI:
npx skills add arraydude/agent-skills --skill react-query-best-practices
npx skills add arraydude/agent-skills --skill feature-workflowCopy the .claude/commands/ directory to your project:
# Copy all commands
cp -r .claude/commands/ /path/to/your/project/.claude/commands/
# Or copy a specific command
cp .claude/commands/validate-pr.md /path/to/your/project/.claude/commands/Skills are automatically available once installed. The agent will use them when relevant tasks are detected:
Help me set up React Query with proper caching
Review this useQuery implementation
How should I handle WebSocket updates with React Query?
Commands require explicit invocation with the / prefix:
/validate-pr 123
Each skill contains:
SKILL.md- Instructions for the agentAGENTS.md- Full compiled document with all rules expandedrules/- Individual rule files with code examplesmetadata.json- Version and reference information
Commands are stored in .claude/commands/ as Markdown files with optional frontmatter:
*.md- Command file with instructions- Frontmatter can specify
allowed-toolsand other metadata
MIT