GitPedia

Intent driven template

OpenSpec and OpenCode template for intent-driven development with specs, ADRs, C4 diagrams, Gherkin, TDD, Multi-Model Adversarial Spec Authoring, Glossary for Domain Terms, and reusable engineering workflows.

From intent-driven-dev·Updated June 28, 2026·View on GitHub·

This is a template project for intent-driven software delivery with [OpenSpec](https://github.com/Fission-AI/OpenSpec), [OpenCode](https://opencode.ai/), and reusable engineering skills. The project is first published in 2026. Key topics include: adversarial-ai, aicoding, architectural-decision-records, c4model, context-engineering.

Intent-Driven Template

This is a template project for intent-driven software delivery with OpenSpec,
OpenCode, and reusable engineering skills.

It is intended for teams that want changes to start from clear intent, move
through explicit behaviour and design artifacts, and finish with implementation
tasks that preserve the reasoning behind the work.

Walkthrough

Read the full walkthrough: Spec-Driven Development with OpenSpec and OpenCode.

Spec-Driven Development with OpenSpec and OpenCode

Spec-Driven Development Multi-Model Adversarial Authoring and Glossary with OpenCode and OpenSpec

How To Use This Template

Start A New Project From This Template

Clone this repository, open it with OpenCode, and start working from the bundled
OpenSpec configuration, commands, skills, and schema.

Add This Template To An Existing Project

Open your existing project with OpenCode and ask it to install the template:

text
Read and understand INSTALL_TEMPLATE.md and follow the instructions there.

What This Template Uses

The bundled OpenSpec schema is a local copy of the intent-driven schema from
https://github.com/intent-driven-dev/openspec-schemas/tree/main/openspec/schemas/intent-driven.

Workflow

The intent-driven workflow moves through these artifacts in order:

text
proposal -> specs -> design -> adr -> tasks
  • proposal captures why the change matters.
  • specs describe observable behaviour with Gherkin-style scenarios.
  • design explains the implementation approach and trade-offs.
  • adr records durable architectural decisions.
  • tasks turn the accepted intent, behaviour, design, and decisions into work.

Schema

This repository includes a bundled local copy of the intent-driven schema at
openspec/schemas/intent-driven/. The upstream schema lives in
https://github.com/intent-driven-dev/openspec-schemas/tree/main/openspec/schemas/intent-driven.

To activate the schema, set this in openspec/config.yaml:

yaml
schema: intent-driven

To validate it, run:

bash
openspec schema validate intent-driven

Skills

Standard OpenSpec lifecycle skills in .opencode/skills/ — names are self-explanatory:
openspec-new-change, openspec-propose, openspec-continue-change, openspec-explore,
openspec-apply-change, openspec-verify-change, openspec-sync-specs, openspec-archive-change

SkillLocationPurpose
openspec-bulk-apply-change.opencode/skills/Applies multiple active changes concurrently in isolated worktrees with parallel verification.
adversarial-authoring.opencode/skills/Runs author and reviewer agents in sequence to reduce model bias in drafts.
grill-me.agents/skills/Interrogates plans and designs with probing questions to surface hidden assumptions.
c4-diagrams.agents/skills/Visualises system architecture using C4 model levels in ASCII or Mermaid.
architectural-decision-records.agents/skills/Captures architectural decisions with rationale, tradeoffs, and supersession chains.
gherkin-authoring.agents/skills/Drafts and improves Gherkin scenarios for observable, domain-language behaviour.
glossary.agents/skills/Maintains consistent business and technical terminology across all specification artifacts.
openspec-git-discipline.agents/skills/Enforces that proposals reach main before apply, and implementation merges before archive.

Agents

Specialist agents used within skills, in .opencode/agent/:

AgentPurpose
adversarial-authorWrites an initial draft of a specification artifact or design document.
adversarial-reviewerReviews the author's draft with challenges and improvement suggestions.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from intent-driven-dev/intent-driven-template via the GitHub API.Last fetched: 6/29/2026