gate-build
Runs configured build and test commands in tiered order. Captures output as evidence per tier. Returns PASS, FAIL, WARN, or SKIP…
Captures patterns and learnings from the current work unit. Reviews build failures, gate findings, and architecture decisions. Applies objective promotion criteria autonomously — patterns.md is the artifact.
Claude Code
$ npx -y skills add Obsidian-Owl/specwright --skill sw-learn --agent claude-code
Codex
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a codex -y
Cursor
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a cursor -y
Gemini CLI
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a gemini-cli -y
GitHub Copilot
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a github-copilot -y
OpenCode
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a opencode -y
Windsurf
$ npx skills add Obsidian-Owl/specwright --skill sw-learn -a windsurf -y
name: sw-learn description: >- Captures patterns and learnings from the current work unit. Reviews build failures, gate findings, and architecture decisions. Applies objective promotion criteria autonomously — patterns.md is the artifact. argument-hint: "" allowed-tools: - Read - Write - Edit - Bash - Glob - Grep
Extract reusable knowledge from the current work unit. Build failures, gate findings, and architecture decisions contain valuable patterns. Surface them, let the user curate, and promote the best ones so future work benefits.
**Stage boundary (LOW freedom):**
**Discovery (HIGH freedom):**
`review-packet.md`, and approval lineage for patterns worth remembering.
for the integration tier. If it was SKIP or absent, surface as a learning candidate ("No integration tests ran"). Skip this check when no integration tier is configured.
**Curation (MEDIUM freedom):**
decisions.md. The human reviews promoted patterns when sw-design loads patterns.md.
**Promotion (LOW freedom):**
**Retrospective (MEDIUM freedom):**
**Persistence (LOW freedom):**
**Landscape update (MEDIUM freedom):**
**Audit resolution (MEDIUM freedom):**
**Enrichment (MEDIUM freedom):**
**Auto-memory (MEDIUM freedom):**
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.