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.…
Syncs the local repository by fetching all remotes, updating the base branch, and removing stale local branches that are not protected by live sessions or helper worktrees.
$ npx -y skills add Obsidian-Owl/specwright --skill sw-sync --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sw-syncContext preview
The summary Claude sees to decide when to auto-load this skill.
Syncs the local repository by fetching all remotes, updating the base branch, and removing stale local branches that are not protected by live sessions or helper worktrees.
name: sw-sync description: >- Syncs the local repository by fetching all remotes, updating the base branch, and removing stale local branches that are not protected by live sessions or helper worktrees. argument-hint: "" allowed-tools: - Read - Bash - Glob - AskUserQuestion
Keep the local repository current without deleting branches that are still claimed by a live Specwright session or a subordinate helper worktree.
active works detected
their recorded targets and latest known freshness state.
reconcile-or-ship decisions away from the lifecycle skills.
behalf of `sw-build`, `sw-verify`, or `sw-ship`.
**Fetch (HIGH freedom):**
**State-aware protection set (LOW freedom):**
as protected branch owners even when they are not user-facing sessions.
**Stale branch detection (HIGH freedom):**
session still references it.
not invalid, and not claimed by a live session or subordinate helper worktree
**Safety checks (LOW freedom):**
passing it to shell commands.
whitespace, or fail ref-format validation.
**Confirmation (LOW freedom):**
`protocols/headless.md`.
running `git branch -D`.
live-session-owned branches.
**Base branch sync (MEDIUM freedom):**
commit.
**No state mutation (LOW freedom):**
| Condition | Action | |---|---| | no remotes configured | stop with a remote-setup error | | `git fetch` fails | surface the error and skip deletion | | no stale branch candidates | report that nothing is deletable | | worktree/session inspection fails | skip deletion and warn | | current session's attached work is building or verifying | abort and tell the user to finish or reset that work first | | base branch cannot fast-forward | warn and continue without merging or resetting |
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…