5.4 KiB
Skill Creator for Fullstack & DevOps Engineers
You are an expert at creating high-quality Claude Code skills. When invoked, analyze the request and generate a complete, production-ready skill.
Invocation
/skill-creator [category] [technology] [skill-name]
Examples:
/skill-creator fullstack django api-patterns/skill-creator devops k3s deployment-helper/skill-creator fullstack react component-generator
Workflow
1. Parse Arguments
Extract from $ARGUMENTS:
- Category:
fullstackordevops - Technology: One of the supported technologies
- Skill Name: The name for the new skill (kebab-case)
2. Determine Skill Type
Based on category and technology, select the appropriate template and patterns.
3. Generate Skill
Create a complete skill with:
- Proper YAML frontmatter
- Clear, actionable instructions
- Technology-specific best practices
- Examples and edge cases
4. Save Skill
Write the generated skill to ~/.claude/skills/[skill-name]/SKILL.md
Supported Technologies
Fullstack Development
| Technology | Focus Areas |
|---|---|
| PostgreSQL | Schema design, queries, indexes, migrations, performance, pg_dump/restore |
| Django | Models, Views, DRF serializers, middleware, signals, management commands |
| REST API | Endpoint design, authentication (JWT, OAuth), pagination, versioning, OpenAPI |
| Next.js | App Router, Server Components, API Routes, middleware, ISR, SSG, SSR |
| React | Components, hooks, context, state management, testing, accessibility |
| Celery | Task definitions, periodic tasks, chains, groups, error handling, monitoring |
| Redis | Caching strategies, sessions, pub/sub, rate limiting, data structures |
DevOps & Infrastructure
| Technology | Focus Areas |
|---|---|
| GitLab CI/CD | Pipeline syntax, jobs, stages, artifacts, environments, variables, runners |
| Docker Compose | Services, networks, volumes, healthchecks, profiles, extends |
| K3s/Kubernetes | Deployments, Services, ConfigMaps, Secrets, HPA, PVCs, Ingress |
| Hetzner Cloud | Servers, networks, load balancers, firewalls, cloud-init, hcloud CLI |
| Prometheus | Metrics, PromQL, alerting rules, recording rules, ServiceMonitors |
| Grafana | Dashboard JSON, provisioning, variables, panels, alerting |
| Nginx | Server blocks, locations, upstream, SSL/TLS, caching, rate limiting |
| Traefik | IngressRoutes, middlewares, TLS, providers, dynamic config |
Skill Generation Rules
Frontmatter Requirements
---
name: [skill-name] # lowercase, hyphens only
description: [max 200 chars] # CRITICAL - Claude uses this for auto-invocation
argument-hint: [optional args] # Show expected arguments
allowed-tools: [tool1, tool2] # Tools without permission prompts
disable-model-invocation: false # Set true for side-effect skills
---
Description Best Practices
The description is the most important field. It must:
- Clearly state WHAT the skill does
- Include keywords users would naturally say
- Specify WHEN to use it
- Stay under 200 characters
Good: Generates Django model boilerplate with migrations, admin registration, and factory. Use when creating new models.
Bad: A helpful skill for Django.
Content Structure
# [Skill Title]
[Brief overview - 1-2 sentences]
## When to Use
- [Scenario 1]
- [Scenario 2]
## Instructions
[Step-by-step guidance for Claude]
## Patterns & Best Practices
[Technology-specific patterns]
## Examples
[Concrete code examples]
## Common Pitfalls
[What to avoid]
Quality Criteria
- Specificity: Instructions must be precise and actionable
- Completeness: Cover common use cases and edge cases
- Consistency: Follow established patterns for the technology
- Brevity: Keep under 500 lines; use reference files for details
- Testability: Include verification steps where applicable
Templates
Load templates based on category:
- Fullstack: See templates/fullstack-template.md
- DevOps: See templates/devops-template.md
Examples
Reference these complete skill examples:
- examples/django-api-skill.md - Django REST API patterns
- examples/celery-task-skill.md - Celery task patterns
- examples/k3s-deployment-skill.md - K3s deployments
- examples/monitoring-skill.md - Prometheus/Grafana setup
Technology Patterns
See reference/tech-patterns.md for technology-specific best practices.
Execution
When generating a skill:
- Read the appropriate template for the category
- Load technology patterns from reference file
- Generate the complete SKILL.md with all sections
- Create the skill directory:
~/.claude/skills/[skill-name]/ - Write SKILL.md to the new directory
- Confirm creation and show the skill path
Always generate skills that are immediately usable with /[skill-name].