gate-build
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP…
Shows current Specwright state for this worktree, the attached work, repo-wide active works, gate results, and lock status. Supports --reset, --cleanup, and --repair {unitId}.
Claude Code
$ npx -y skills add Obsidian-Owl/specwright --skill sw-status --agent claude-code
Codex
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a codex -y
Cursor
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a cursor -y
Gemini CLI
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a gemini-cli -y
GitHub Copilot
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a github-copilot -y
OpenCode
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a opencode -y
Windsurf
$ npx skills add Obsidian-Owl/specwright --skill sw-status -a windsurf -y
name: sw-status
description: >-
Shows current Specwright state for this worktree, the attached work, repo-wide
active works, gate results, and lock status. Supports --reset, --cleanup, and
--repair {unitId}.
argument-hint: "[--reset | --cleanup | --repair {unitId}]"
allowed-tools:
- Read
- Write
- Bash
- Glob
- AskUserQuestionTell the user what this worktree is attached to, what that work is doing, what other works are active in the repository, which runtime layout is active, and what the next action should be.
**Display (HIGH freedom):**
`worktreeStateRoot`, and `workArtifactsRoot` before the session summary so tracked project artifacts and the active runtime layout are inspectable.
`.specwright-local/` are the recommended interactive default, while `git-admin` roots under `.git/specwright/` are compatibility mode.
`attachedWorkId`.
selected work's target branch and latest freshness state, configured work-artifact publication mode when present, approval freshness reason, latest closeout or review-packet availability, review-packet presence, gates, and per-work lock freshness.
attached work, branch validity, approval or closeout posture, live ownership, and next action.
surface that conflict explicitly and point the operator to `/sw-adopt` instead of implying that status can mutate ownership.
with their recorded owner worktrees and whether the owner still has a live top-level session.
**Non-interactive context (LOW freedom):**
them.
print what interactive repair would do, and never mutate workflow state in headless mode.
**Reset mode (LOW freedom):**
work's lock, clear its gates, and detach this session if it points at that work.
**Cleanup mode (MEDIUM freedom):**
`realpath` before removing anything.
`{repoStateRoot}/work/` directory.
scope, skip it with a warning.
**Repair mode (MEDIUM freedom):**
repo-wide workflows for a unique matching `unitId`.
conflict.
`revert-to-building`, `mark-abandoned`, `force-shipped-with-note`.
`decisions.md`.
| Condition | Action | |---|---| | no shared/session state can be resolved | tell the user to run `/sw-init` | | selected workflow parse error | show the raw error and stop | | stale per-work lock detected | offer to clear it with a warning | | `--repair` target ambiguous across works | stop and list matching work IDs |
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.