Build high-quality software faster with Spec-Driven Development.
Co-OmniSpec is an open-source toolkit that turns intent into structured specifications, design artefacts, and dependency-aware tasks, and then drives an AI coding agent through implementation. It is a localized and extended adaptation of GitHub Spec Kit, optimised for Claude Code and other agent environments.
Co-OmniSpec ships as two plugins from the CoMind-plugins marketplace: omni-dsdd for the
Spec-Driven Development pipeline and omni-reverse for the reverse-engineering side. Both
must be installed together.
- Project Overview & Spec-Driven Development
- Plugin Responsibilities
- Prerequisites
- Install Commands
- First Use
- Workflow Map (express / standard / deep / expert)
- Using Reverse Engineering
- Repository Layout
- Troubleshooting
- Contributing & Security
- Acknowledgements & License
中文说明 — 请参阅 README-zh-CN.md。
Spec-Driven Development flips the traditional code-first workflow: specifications drive implementation. You write the what and why in natural language; your AI agent translates them into structured specifications, design notes, dependency-aware tasks, and finally code.
Co-OmniSpec provides:
- A constitution that anchors every step in project-level principles.
- A repeatable pipeline:
constitution → specify → clarify → design → tasks → implement → archive. - Built-in support for brownfield work through reverse engineering of existing code.
- Quality gates at each stage (clarify, analyze, checklist, review).
Co-OmniSpec is two plugins in one marketplace. They share runtime assets but each focuses on half of the workflow:
| Plugin | Marketplace name | Focus | Plugin-local skills (highlights) | Shared assets |
|---|---|---|---|---|
omni-dsdd |
CoMind-plugins |
The Spec-Driven Development pipeline: harness, slash commands, shared templates, scripts, workflow YAML. | specify, clarify, design, tasks, implement, archive, analyze, checklist, constitution, routing, workflow-orchestrator, knowledge-retrieval, create-branch, sdd, and the on-demand reverse-on-demand. |
Owns .omni-infra/ (config, memory, metamodel, scripts, templates). |
omni-reverse |
CoMind-plugins |
Reverse engineering of existing code into SDD artefacts. | reverse, reverse-orchestration, reverse-shared, reverse-logic-architecture, reverse-deep-logic-architecture, reverse-interfaces, reverse-external-interfaces, reverse-functions, reverse-entities, reverse-scenarios, reverse-requirements, reverse-rules. |
Depends on omni-dsdd; resolves ${DSDD} through scripts/resolve-dsdd-root.{sh, py, ps1}. |
Both plugins must be installed side by side. omni-reverse cannot run without omni-dsdd; the
DSDD pipeline benefits from omni-reverse whenever the project has existing code to document.
| Requirement | Notes |
|---|---|
| Claude Code | code.claude.com with plugin marketplace support. |
| Git | Used for feature branches and the changes/ directory. |
| Bash or PowerShell | Required to execute the shared scripts under .omni-infra/scripts/. |
| Node + pnpm (optional) | Needed only when validating the plugin's own skills locally (pnpm validate inside omni-dsdd/); see CONTRIBUTING.md. |
Add the marketplace and install both plugins:
/plugin marketplace add ZTE-AICloud/Co-OmniSpec
/plugin install omni-dsdd@CoMind-plugins
/plugin install omni-reverse@CoMind-plugins
The first command is also accepted as /market add ZTE-AICloud/Co-OmniSpec.
Equivalent CLI form (for non-interactive shells or CI):
claude plugin marketplace add ZTE-AICloud/Co-OmniSpec
claude plugin install omni-dsdd@CoMind-plugins
claude plugin install omni-reverse@CoMind-pluginsVerify:
/plugin marketplace list(or/market list) —CoMind-pluginsis registered./plugin(Discover) — bothomni-dsddandomni-reverseare listed and enabled.- In your project workspace, open AI chat and check that
/constitution,/specify,/reverse,/routingare visible.
If a plugin is missing, re-run its install command. The plugin guides cover the same commands
in more detail (omni-dsdd/README.md,
omni-reverse/README.md).
A minimal first run uses only omni-dsdd:
- Constitution — run
/constitutionand describe the principles you want (code quality, testing standards, UX, performance). The agent creates or updates.omni-infra/memory/constitution.md. - Specify — run
/specifywith a feature description (the what and why). The agent creates a feature branch andchanges/<branch>/{spec.md, context.md, checklists/requirements.md}. - Clarify (recommended) — run
/clarifyto resolve ambiguities and write answers back into the spec. - Design — run
/designwith your stack. Generatesdesign.md,research.md,data-model.md,quickstart.md, and (when relevant)contracts/. - Tasks — run
/tasksto break the design into ordered, dependency-aware tasks (tasks.md). - Implement — run
/implementto execute tasks in order. - Archive (recommended after completion) — run
/archiveto archive/merge back completed feature artefacts.
For brownfield projects, install omni-reverse first and start with step 0: /reverse to
document existing behaviour before changing it (see Section 7).
Detailed walkthroughs live in omni-dsdd/GETTING_STARTED.md and the full command reference in omni-dsdd/USER_GUIDE.md.
The routing skill selects one of three YAML-defined workflows, executed by
workflow-orchestrator:
| flow_mode | YAML definition | Typical use case | Key difference |
|---|---|---|---|
express |
omni-dsdd/workflows/express.yaml |
Small, clear change | Skips clarify to reduce iterations. |
standard |
omni-dsdd/workflows/standard.yaml |
Medium-complexity feature | Full specify → clarify → design path. |
deep |
omni-dsdd/workflows/deep.yaml |
Large or architecture-heavy change | Adds reverse-on-demand before specify. |
expert |
omni-dsdd/workflows/expert.yaml |
Internal review variant | Not advertised as a public flow_mode; not user-selectable. |
Let routing decide by complexity, or force a mode with --workflow <express|standard|deep>.
Add --e2e to enable E2E test design in specify and design. Examples:
/routing Build a small dashboard for internal metrics.
/routing --workflow standard Build a partner API with auth and rate limiting.
/routing --workflow deep --e2e Refactor order orchestration and align cross-service contracts.
The trailing express|standard|deep are flow_mode values, not skill names; the workflow YAML
files live under omni-dsdd/workflows/.
Reverse engineering lives in the omni-reverse plugin. Use it for brownfield work or when you need to document an existing codebase before refactoring it.
Entry points (driven by the reverse skill in omni-reverse):
- Full —
/reverse --target all - On-demand —
/reverse --target on-demand --requirement "<requirement-or-file>" - By element —
/reverse --target requirements|scenarios|interfaces|rules|...
omni-reverse provides 12 dedicated skills (reverse, reverse-orchestration, reverse-shared,
reverse-logic-architecture, reverse-deep-logic-architecture, reverse-interfaces,
reverse-external-interfaces, reverse-functions, reverse-entities, reverse-scenarios,
reverse-requirements, reverse-rules) that produce the corresponding SDD artefacts. The shared
infrastructure — paths, templates, scripts — comes from omni-dsdd's .omni-infra/.
See omni-reverse/README.md for the full reverse-side reference.
Co-OmniSpec/
├── .claude-plugin/
│ └── marketplace.json # Registers both plugins under CoMind-plugins
├── omni-dsdd/
│ ├── .claude-plugin/plugin.json
│ ├── agents/ # AI subagents (constitution, knowledge extractors, ...)
│ ├── hooks/ # Lifecycle hooks
│ ├── omni-infra/ # Shared .omni-infra/ assets
│ │ ├── config/
│ │ ├── memory/
│ │ ├── metamodel/
│ │ ├── scripts/
│ │ └── templates/
│ ├── scripts/ # Node-based validation helpers
│ ├── skills/ # Slash-command and workflow skills
│ ├── workflows/ # express.yaml / standard.yaml / deep.yaml / expert.yaml
│ ├── README.md / README-zh-CN.md
│ ├── GETTING_STARTED.md / GETTING_STARTED_zh-CN.md
│ ├── USER_GUIDE.md / USER_GUIDE_zh-CN.md
│ ├── CHANGELOG.md
│ ├── LICENSE # Same bytes as root LICENSE
│ ├── package.json
│ └── pnpm-workspace.yaml
├── omni-reverse/
│ ├── .claude-plugin/plugin.json
│ ├── agents/ # Reverse-specific subagents
│ ├── scripts/ # resolve-dsdd-root.{sh,py,ps1}
│ ├── skills/ # 12 reverse skills (see omni-reverse/README.md)
│ ├── README.md
│ └── require.txt
├── README.md / README-zh-CN.md # This document (English / 中文)
├── CONTRIBUTING.md
├── SECURITY.md
├── THIRD_PARTY_NOTICES.md
└── LICENSE # MIT, Copyright (c) 2026 ZTE-AICloud / ZTE
After installation, the target project (the codebase the AI agent works on) gains:
your-project/
├── .claude/
│ ├── commands/ # OmniSpec slash commands (from omni-dsdd)
│ └── skills/ # Skills (from omni-dsdd and omni-reverse)
├── .omni-infra/ # Shared templates, scripts, memory, metamodel
│ ├── memory/constitution.md
│ ├── metamodel/
│ ├── scripts/ # Bash and PowerShell helpers
│ └── templates/ # spec, design, tasks, checklist templates
└── changes/ # Feature directories (created by /specify)
└── 001-feature-name/
├── spec.md
├── context.md
├── design.md
├── tasks.md
└── checklists/
The path .omni-infra/ is the shared runtime directory used by both plugins inside the
target project.
- Confirm the marketplace is registered:
/plugin marketplace list(or/market list) —CoMind-pluginsshould appear. - Confirm both plugins are installed:
/plugin(Discover) —omni-dsddandomni-reverseshould both be listed. - Re-open the project session after installing a plugin.
- Run
/plugin marketplace list. IfCoMind-pluginsis missing, re-add it:/plugin marketplace add ZTE-AICloud/Co-OmniSpec. - Re-run the install commands:
/plugin install omni-dsdd@CoMind-plugins,/plugin install omni-reverse@CoMind-plugins. - CLI mode equivalents:
claude plugin marketplace add ZTE-AICloud/Co-OmniSpec,claude plugin install omni-dsdd@CoMind-plugins,claude plugin install omni-reverse@CoMind-plugins.
omni-reverseresolves the shared.omni-infra/assets throughomni-dsdd's install root. Installomni-dsddfrom the sameCoMind-pluginsmarketplace and re-run/reverse.
- Confirm Git is available and the working directory is a valid repo.
- Run the create-branch helper manually to inspect errors. The helper ships in the
create-branchskill underomni-dsdd/skills/create-branch/scripts/.
- Confirm
tasks.mdexists and is well-formed under yourchanges/<branch>/directory. - Confirm required tools (
npm,dotnet,python, …) are installed and onPATH. - Run a single task manually to surface the exact error before retrying
/implement.
- CONTRIBUTING.md — issue / pull-request workflow, local validation
(
pnpm validate, language self-tests), documentation conventions, credential policy. - SECURITY.md — how to report vulnerabilities through GitHub Security Advisories, and what to do if you accidentally expose a credential in an issue or commit.
Never commit real credentials, tokens, internal hostnames, or private URLs. Use
PLACEHOLDER_* values in examples.
Co-OmniSpec is inspired by and extends GitHub Spec Kit, following its Spec-Driven Development philosophy and adapting the workflow for Claude Code and other agent toolchains. See THIRD_PARTY_NOTICES.md for the relevant acknowledgement and license notice.
License: MIT — see LICENSE. Copyright (c) 2026 ZTE-AICloud / ZTE.
English — See README.md. 中文 — 参见 README-zh-CN.md。