| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An OpenSpec and OpenCode template with the proposal -> specs -> design -> adr -> tasks workflow enabled, plus optional collaboration workflows for teams that choose to adopt them.
Read the full walkthrough: Spec-Driven Development with OpenSpec and OpenCode.
Read the full walkthrough: SDD with Multi-Model Spec Review and Glossary
Clone this repository, open it with OpenCode, and start working from the bundled OpenSpec configuration, commands, skills, and schema.
Open your existing project with OpenCode and ask it to install the template:
Read and understand https://raw.githubusercontent.com/intent-driven-dev/intent-driven-template/refs/heads/main/INSTALL_TEMPLATE.md and follow the instructions there.
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.
The intent-driven workflow moves through these artifacts in order:
proposal -> specs -> design -> adr -> tasks
openspec/config.yaml already selects the bundled intent-driven schema. Learn how to tailor artifact workflows in OpenSpec Custom Schemas.
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
| Skill | Location | Purpose | Enabled Or Updated By |
|---|---|---|---|
| openspec-bulk-apply-change | .opencode/skills/ | Applies multiple active changes concurrently in isolated worktrees with parallel verification. | Invoke directly with /opsx:bulk-apply command when applying multiple active openspec changes. |
| adversarial-authoring | .opencode/skills/ | Runs author and reviewer agents in sequence to reduce model bias in drafts. | Refer to the skill under rule in the rules section of openspec/config.yaml. |
| grill-me | .agents/skills/ | Interrogates plans and designs with probing questions to surface hidden assumptions. | Refer to this skill under rules section in openspec/config.yaml. |
| c4-diagrams | .agents/skills/ | Visualises system architecture using C4 model levels in ASCII or Mermaid. | Refer to this skill under design rule in openspec/config.yaml. |
| architectural-decision-records | .agents/skills/ | Captures architectural decisions with rationale, tradeoffs, and supersession chains. | Automatically invoked or can be explicilty referred to under adr rule in openspec/config.yaml. |
| gherkin-authoring | .agents/skills/ | Drafts and improves Gherkin scenarios for observable, domain-language behaviour. | Required by spec-as-source during the specs phase. |
| glossary | .agents/skills/ | Maintains business and technical terminology and companion glossary references for specification artifacts. | Can be referred to under proposal and/or design rule in openspec/config.yaml. |
| openspec-git-discipline | .agents/skills/ | Enforces that proposals reach main before apply, and implementation merges before archive. | Enabled through AGENTS.md. |
| spec-as-source | .agents/skills/ | Adds executable acceptance specifications to the intent-driven workflow. | Explicitly opt in by uncommenting both the specs and tasks rules in openspec/config.yaml. |
| acceptance-test-authoring | .agents/skills/ | Configures the acceptance runner, extraction, linting, and step definitions for spec-as-source. | Required by spec-as-source when configuring or changing acceptance-test infrastructure. |
| test-driven-development | .agents/skills/ | Guides strict red-green-refactor TDD: one behaviour per test, minimal implementation to pass, refactoring on green, with best-practice patterns and collaborator mocking guidance. | Loaded by the senior-dev agent in .opencode/agent/senior-dev.md; enable by uncommenting the context lines in openspec/config.yaml that route src work to senior-dev. |
Example configurations are available in openspec/config.yaml and AGENTS.md. You can comment/uncomment the skill references to enable them.
The spec-as-source skill is an opt-in layer on the intent-driven schema that uses fenced Gherkin in OpenSpec specifications as the source for generating acceptance tests. To enable spec-as-source capability add the skill reference under both the specs and tasks rules in openspec/config.yaml.
During specs, spec-as-source requires gherkin-authoring to author the fenced Gherkin scenarios. During tasks, it replaces the standard task template with acceptance-test-first work: configure and run the acceptance suite, then implement application work. Use acceptance-test-authoring to configure the runner, extraction, linting, and step definitions that execute the specifications. See Behavior-Driven Development and Spec-Driven Development with OpenSpec.
Specialist agents used within skills, in .opencode/agent/:
| Agent | Purpose |
|---|---|
| adversarial-author | Writes an initial draft of a specification artifact or design document. |
| adversarial-reviewer | Reviews the author's draft with challenges and improvement suggestions. |
| senior-dev | Implements src work test-first through strict red-green-refactor, following the test-driven-development skill. |
| senior-qa | Authors acceptance tests, step definitions, and runner configuration, following the acceptance-test-authoring skill. |
| Back | FazBrowse Home | New Git URL |