gate-build
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP…
Initializes Specwright in a project. Detects stack, asks about practices, creates constitution and charter, configures quality gates and hooks.
Claude Code
$ npx -y skills add Obsidian-Owl/specwright --skill sw-init --agent claude-code
Codex
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a codex -y
Cursor
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a cursor -y
Gemini CLI
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a gemini-cli -y
GitHub Copilot
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a github-copilot -y
OpenCode
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a opencode -y
Windsurf
$ npx skills add Obsidian-Owl/specwright --skill sw-init -a windsurf -y
name: sw-init description: >- Initializes Specwright in a project. Detects stack, asks about practices, creates constitution and charter, configures quality gates and hooks. argument-hint: "" allowed-tools: - Bash - Read - Write - Glob - Grep - AskUserQuestion
Set up Specwright in this project by understanding how the user works, what they're building, and what quality standards they expect. Produce configuration and anchor documents that will guide all future work. Tracked project artifacts should be shared across developers and agent sessions via Git; runtime session state stays local to each clone or worktree. New interactive installs should prefer `project-visible` runtime roots under `.specwright-local/`, while `git-admin` roots under `.git/specwright/` remain compatibility-only.
When complete, ALL of the following exist:
the current worktree
Optional (created if the user opts in):
infrastructure, mock allowances
runtime roots and detached session state.
Quality gates are configured in config (all six default to enabled; user may disable).
**Worktree context (LOW freedom):**
`{projectArtifactsRoot}` are shared across developers and agent sessions via Git, while runtime session state stays local to each clone or worktree under `{repoStateRoot}` and `{worktreeStateRoot}`.
shared runtime roots, then create or repair only this worktree's `{worktreeStateRoot}/session.json`.
tracked project-artifact root plus repo-level runtime state under the Git common dir and a session root for the current worktree. This is a warning, not a block.
**Detection (MEDIUM freedom):**
**Survey (MEDIUM freedom):**
**User conversation (HIGH freedom):**
**Constitution creation (HIGH freedom):**
**Charter creation (HIGH freedom):**
**Testing strategy creation (HIGH freedom):**
Don't ask about services the codebase doesn't use.
components), `external` (mock with contracts), or `expensive` (mock with rationale)
are available based on detected stack and user answers
during gate config, append this section to TESTING.md with the actual commands. See `protocols/testing-strategy.md` Test Commands section. Omi
Craft quality software with AI discipline. Spec-driven development plugin for Claude Code and Opencode — quality gates, adversarial testing, and evidence capture.
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP…
Detects leaked secrets, injection patterns, and sensitive data exposure across changed files. Uses real tooling when configured,…
Tiered semantic analysis of changed code (rg → ast-grep → OpenGrep). Detects error-path bugs structural gates miss. Findings…
Maps every acceptance criterion from the spec to implementation evidence and test evidence. Criteria without evidence fail. The…
Audits test quality — assertion strength, boundary coverage, mock discipline, error path testing. Delegates to the tester agent…
Detects unused exports, orphaned files, architecture layer violations, and circular dependencies across changed files. Delegates…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.