pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/intent-driven-dev/openspec-schemas

nonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-6534fbc3f5e83ac0.css" /> GitHub - intent-driven-dev/openspec-schemas: Collection of OpenSpec Custom Schema for Workflows other than standard spec-driven schema that is included in OpenSpec. · GitHub
Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSpec Custom Schemas

Custom OpenSpec schemas packaged as copyable folders under openspec/schemas/.

Default OpenSpec includes the spec-driven schema, which is a strong general-purpose workflow. This repo adds more focused workflows for specific delivery contexts, and also demonstrates how to customise OpenSpec for different styles of work.

Detailed write-up: https://intent-driven.dev/blog/2026/02/12/openspec-custom-schemas/

Video

Watch on YouTube

Choosing a Schema

For most projects, the built-in spec-driven schema is all you need. For complex projects — meaningful behaviour, technical design, and long-lived architectural decisions — intent-driven is the most complete general-purpose schema in this collection. The remaining schemas are either lighter subsets or specialised for a particular style of delivery.

Schema Artifact flow Choose when
spec-driven (built-in) proposal -> specs -> design -> tasks Default for most projects; ships with OpenSpec
behaviour-driven proposal -> (specs, design) -> tasks Gherkin in fenced blocks inside spec.md carries the behavioural intent, and cucumber-js or behave runs it against the implementation
spec-driven-with-adr proposal -> specs / design -> adr -> tasks You need durable Architecture Decision Records on top of spec-driven
intent-driven proposal -> (specs, design) -> adr -> tasks behaviour-driven plus durable ADRs: behaviour specs verified against the implementation, design, and long-lived decisions
event-driven event-storming -> event-modeling -> specs -> design -> asyncapi -> tasks Event-Driven Architecture Systems
minimalist specs -> tasks Small, well-scoped, low-risk changes

How the schemas relate: intent-driven is behaviour-driven plus a durable ADR artifact — the same fenced-Gherkin specs verified by the same acceptance suite, adding per-change ADR review and repository-level decision records. It still subsumes spec-driven-with-adr (same ADR handling, richer specs, larger companion skill set). Choose behaviour-driven when you don't need durable ADRs. event-driven is domain-specific for event-centric/AsyncAPI-first systems, and minimalist is for small, low-risk changes.

To try these schemas without installing anything, start from a template repo — intent-driven-template or behaviour-driven-template — each a starter project with the schema, OpenSpec config, commands, and companion skills already installed.

Install a Schema

Ask your coding agent to read the install guide and follow the instructions:

Read this file: https://raw.githubusercontent.com/intent-driven-dev/openspec-schemas/refs/heads/main/AGENT_INSTALL.md and follow the instructions.

If you already know which schema you want, include the name and the guide will confirm it exists before proceeding:

Read this file: https://raw.githubusercontent.com/intent-driven-dev/openspec-schemas/refs/heads/main/AGENT_INSTALL.md and install schema intent-driven.

Otherwise the guide will enumerate all available schemas and ask you to pick one.

Schemas declare their companion skills in a skills.txt manifest inside the schema directory. The install guide's Step 6 installs those skills from intent-driven-dev/skills into your project's .agents/skills/, so installing a schema also brings in the skills it works best with.

Example: intent-driven config.yaml

schema: intent-driven
stack: javascript # javascript | python

context: |
  Tech Stack:
    - Node.js, TypeScript
    - PostgreSQL

rules:
  proposal:
    - Maximum of 250 words
  tasks:
    - Break tasks to logical commits.

Artifact alignment source: openspec/schemas/intent-driven/schema.yaml (proposal, specs, design, adr, tasks).

For the full step-by-step install flow, see AGENT_INSTALL.md.

Custom Schemas

Behaviour-Driven

Spec-as-source BDD workflow: business use cases are Gherkin scenarios inside fenced ```gherkin blocks in spec.md, and those scenarios run as the acceptance suite every change must keep green (cucumber-js or behave, selected by stack: in config.yaml). Two rules govern the workflow: acceptance tests always pass, and specs and code are never modified together.

To try it without installing anything, start from the behaviour-driven-template — a starter project with the schema, OpenSpec config, commands, and companion skills already installed.

Artifact order:

proposal -> (specs, design) -> tasks

Activation:

schema: behaviour-driven

Validate:

openspec schema validate behaviour-driven

For more details, see openspec/schemas/behaviour-driven/README.md.

Spec-Driven With ADR

Experimental proposal-to-tasks workflow for changes that also need durable Architecture Decision Records persisted under the target repository's top-level adr/ folder. intent-driven shares this schema's ADR handling and adds fenced-Gherkin specs verified by an acceptance suite plus a larger skill set — prefer it unless you want plain spec-driven specs with ADRs and nothing more.

Artifact order:

proposal -> specs / design -> adr -> tasks

Activation:

schema: spec-driven-with-adr

Validate:

openspec schema validate spec-driven-with-adr

For more details, see openspec/schemas/spec-driven-with-adr/README.md.

Intent-Driven

behaviour-driven plus durable Architecture Decision Records: behaviour is written as Gherkin scenarios inside fenced blocks in spec.md, and the acceptance suite (cucumber-js or behave) runs them against the implementation, technical design is constrained by in-force ADRs, and each change completes an ADR review before task planning.

To try it without installing anything, start from the intent-driven-template — a starter project with the schema, OpenSpec config, commands, and companion skills already installed. (Companion skills are canonically hosted at intent-driven-dev/skills.)

Artifact order:

proposal -> (specs, design) -> adr -> tasks

Activation:

schema: intent-driven

Validate:

openspec schema validate intent-driven

For more details, see openspec/schemas/intent-driven/README.md.

Event-Driven

Structured workflow for event-centric systems with Event Storming discovery followed by AsyncAPI specification.

Artifact order:

event-storming -> event-modeling -> specs -> design -> asyncapi -> tasks

Activation:

schema: event-driven

Validate:

openspec schema validate event-driven

For more details, see openspec/schemas/event-driven/README.md.

Minimalist

Fast path from spec to execution using user-story requirements and Gherkin acceptance-criteria style. Lightweight schema for well-scoped, low-risk changes.

Artifact order:

specs -> tasks

Activation:

schema: minimalist

Validate:

openspec schema validate minimalist

For more details, see openspec/schemas/minimalist/README.md.

Contributing

See CONTRIBUTING.md for how to create/customize schemas using openspec schema init / openspec schema fork, and how to validate before opening a PR.

About

Collection of OpenSpec Custom Schema for Workflows other than standard spec-driven schema that is included in OpenSpec.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy