skills/openspec-skills/openspec-schema/SKILL.md
Create and manage custom workflow schemas using `openspec schema init/fork/validate/which`. Use when the user says "create a custom workflow", "custom schema", "fork a schema", or wants to define their own artifact types and dependencies.
npx skillsauth add teachingai/agent-skills openspec-schemaInstall 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.
Use openspec schema subcommands to create and manage custom workflow schemas. Schemas define what artifacts exist and their dependencies. The default spec-driven schema provides proposal -> specs -> design -> tasks, but custom schemas allow different workflows.
openspec schema which).openspec schema init my-workflow
# Interactive: prompts for description, artifacts, default
# Non-interactive:
openspec schema init rapid --description "Rapid iteration" --artifacts "proposal,tasks" --default
Creates openspec/schemas/my-workflow/ with schema.yaml and templates/.
openspec schema fork spec-driven my-workflow
Copies the spec-driven schema for customization.
openspec schema validate my-workflow
# Or validate all:
openspec schema validate
openspec schema which spec-driven
# Shows: package, project, or user source
openspec schema which --all
openspec/schemas/<name>/
├── schema.yaml # Artifact definitions and dependencies
└── templates/
├── proposal.md # Template for each artifact
├── specs.md
├── design.md
└── tasks.md
name: research-first
artifacts:
- id: research
generates: research.md
requires: []
- id: proposal
generates: proposal.md
requires: [research]
- id: tasks
generates: tasks.md
requires: [proposal]
openspec/schemas/<name>/ (local, version controlled)~/.local/share/openspec/schemas/<name>/ (global)spec-driven)openspec/schemas/<name>/ with schema.yaml and templates./opsx:new my-change --schema my-workflow.openspec/config.yaml).openspec schemas for available schemas; check openspec schema which <name> for resolution.openspec schema validate <name> --verbose for details.openspec schemas --json for artifact IDs per schema.development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.