Skills used with agents, by Emmanuel Paraskakis.
- design-api — End-to-end: requirements → stories → review → OpenAPI spec → lint → iterate. One skill, one flow. Defaults to OpenAPI 3.1.0 for maximum tool compatibility — override by specifying a version in your input. If you already have stories, provide them as input and the skill skips straight to spec generation.
- design-api-stories — Stories only. Use if you just need the stories step.
- design-api-spec — Spec only. Use if you already have stories and want to go straight to a spec.
The skills require four separate input files. They're separate because each has a different owner, changes at a different pace, and can be reused across projects:
- Requirements — Who the API consumers are, what they need, why they need it. Pain points, use cases, benefits. This is the product perspective.
- Domain model — The data objects, properties, enums, and relationships. The nouns of your system. This is the source of truth for schemas.
- API standards — Your organization's style guide: naming conventions, path rules, pagination, error handling, security. Reusable across all your APIs.
- OpenAPI best practices — How to write a good OpenAPI document: DRY principles, component extraction, description rules, SDK compatibility. Also reusable across projects.
Each skill includes a working example of these files in references/examples/ (conference scheduling API).
For the full experience (automated linting + local preview):
- RateMyOpenAPI API key (free) — api.ratemyopenapi.com/docs. Set as
RMOA_API_KEYenv var. - Node.js — for Swagger UI preview via
npx http-server. - curl + python3 — for the RMOA API call (usually pre-installed).
Without these, the skills still generate a complete OpenAPI spec.
npx skills add paraskakis/skillsnpx skills add paraskakis/skills/apinpx skills add paraskakis/skills --skill design-apinpx skills add paraskakis/skills/api -a claude-code
npx skills add paraskakis/skills/api -a cursor
npx skills add paraskakis/skills/api -a codexAdd -g for global (user-level, available in all projects):
npx skills add paraskakis/skills/api -a claude-code -gProject-scoped (committed with your code):
git clone https://github.com/paraskakis/skills.git /tmp/paraskakis-skills
mkdir -p .claude/skills
cp -R /tmp/paraskakis-skills/api/design-api .claude/skills/design-apiUser-global (available in all projects):
git clone https://github.com/paraskakis/skills.git /tmp/paraskakis-skills
mkdir -p ~/.claude/skills
cp -R /tmp/paraskakis-skills/api/design-api ~/.claude/skills/design-api