gate-build
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP based on per-tier verdicts.…
Initializes Specwright in a project. Detects stack, asks about practices, creates constitution and charter, configures quality gates and hooks.
$ npx -y skills add Obsidian-Owl/specwright --skill sw-init --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sw-initContext preview
The summary Claude sees to decide when to auto-load this skill.
Initializes Specwright in a project. Detects stack, asks about practices, creates constitution and charter, configures quality gates and hooks.
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.
Repo: Obsidian-Owl/specwright
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP based on per-tier verdicts.…
Detects leaked secrets, injection patterns, and sensitive data exposure across changed files. Uses real tooling when configured, LLM judgment for analysis.…
Tiered semantic analysis of changed code (rg → ast-grep → OpenGrep). Detects error-path bugs structural gates miss. Findings default to WARN. Internal —…
Maps every acceptance criterion from the spec to implementation evidence and test evidence. Criteria without evidence fail. The ultimate quality gate. Internal…
Audits test quality — assertion strength, boundary coverage, mock discipline, error path testing. Delegates to the tester agent for adversarial analysis.…
Detects unused exports, orphaned files, architecture layer violations, and circular dependencies across changed files. Delegates to architect agent for…