.claude/skills/skill-builder/SKILL.md
Create, structure, and optimize skills for the FTC Metrics project. Use when creating a new skill, improving an existing skill, or needing guidance on skill design patterns, triggers, frontmatter, and progressive disclosure.
npx skillsauth add ftc8569/ftcmetrics skill-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill teaches you how to create high-quality skills for the FTC Metrics project. Skills are knowledge packs that help AI coding agents with specific technologies, patterns, or workflows.
| Element | Purpose | Required |
|---------|---------|----------|
| name | Unique identifier (kebab-case) | Yes |
| description | WHAT it does + WHEN to use it | Yes |
| license | Usually MIT | Recommended |
| compatibility | Which agents support it | Recommended |
| metadata | Author, version, category | Recommended |
| SKILL.md | Main instructions (<500 lines) | Yes |
| Category | Description | Examples |
|----------|-------------|----------|
| database | Database and ORM | Prisma, PostgreSQL patterns |
| api | Backend API patterns | Hono, authentication, FTC Events API |
| frontend | UI components and pages | Next.js, React, Tailwind |
| analytics | Stats and calculations | EPA, OPR, match predictions |
| realtime | WebSocket and live updates | Soketi, Pusher patterns |
| tools | Development utilities | Testing, deployment, skill creation |
All skills are stored in:
.claude/skills/<skill-name>/
├── SKILL.md # Main instructions (required)
├── API_REFERENCE.md # Detailed API docs (optional)
├── TROUBLESHOOTING.md # Common issues (optional)
└── EXAMPLES.md # Extended examples (optional)
The description field determines when your skill activates. It must answer:
description: >-
Configure and use Prisma 7 ORM with PostgreSQL driver adapters.
Use when setting up database schemas, migrations, or troubleshooting
Prisma configuration in the FTC Metrics project.
description: Helps with database stuff.
Include these in descriptions where relevant:
Stack:
Domain:
---
name: your-skill-name # Required: kebab-case, max 64 chars
description: >- # Required: max 1024 chars
What this skill does.
Use when [trigger 1], [trigger 2], or [trigger 3].
license: MIT # Recommended
compatibility: [Claude Code] # Array format
metadata:
author: ftcmetrics
version: "1.0.0"
category: database # See categories above
allowed-tools: Read, Write, Edit # Optional: restrict tool access
---
Essential setup that 80% of users need.
Table of important terms and their meanings.
Frequently used code patterns with examples.
What NOT to do, marked with ❌
Good AND Bad examples side by side.
Links to detailed files for on-demand loading.
---
name: your-skill-name
description: >-
[What this skill does - specific capabilities].
Use when [trigger 1], [trigger 2], or [trigger 3].
license: MIT
compatibility: [Claude Code]
metadata:
author: ftcmetrics
version: "1.0.0"
category: database | api | frontend | analytics | realtime | tools
---
# [Skill Name]
Brief introduction - what this helps accomplish.
## Quick Start
### Installation/Setup
[How to add dependencies or configure]
### Basic Usage
\`\`\`typescript
// Minimal working example
\`\`\`
## Key Concepts
| Term | Description |
|------|-------------|
| **Term 1** | What it means |
| **Term 2** | What it means |
## Common Patterns
### Pattern 1: [Descriptive Name]
\`\`\`typescript
// Code example
\`\`\`
## Anti-Patterns
- ❌ [Thing to avoid] - [Why it's bad]
- ❌ [Thing to avoid] - [Why it's bad]
## Examples
### Good: [Descriptive title]
\`\`\`typescript
// Working example with comments
\`\`\`
### Bad: [Descriptive title]
\`\`\`typescript
// ❌ What not to do
\`\`\`
## References
- [Official Documentation](https://example.com/docs)
Before finalizing your skill:
name in frontmatter is kebab-casedescription includes WHAT and WHEN triggersdescription includes relevant keywordsCreate directory:
mkdir -p .claude/skills/your-skill-name
Create SKILL.md with frontmatter and content
Test by asking Claude about the skill's topic
Claude should use the skill automatically based on triggers
development
Configure TypeScript in a Bun/npm workspaces monorepo with shared base config, package-specific overrides, path aliases, and cross-package type sharing. Use when setting up tsconfig files, configuring path aliases, resolving module errors, or sharing types between packages.
development
Tailwind CSS styling for FTC Metrics with official FIRST colors and component patterns. Use when styling React components, creating responsive layouts, or implementing dark mode.
development
Configure and integrate Soketi WebSocket server with FTC Metrics for real-time updates. Use when setting up WebSocket connections, broadcasting scouting data changes, implementing presence channels for team collaboration, or debugging real-time features.
data-ai
Configure and use Prisma 7 ORM with PostgreSQL driver adapters in the FTC Metrics project. Use when setting up database schemas, running migrations, troubleshooting Prisma configuration, or working with the packages/db package.