specweave 1.0.539 → 1.0.540

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,435 +1,163 @@
1
- # SpecWeave
1
+ <h1 align="center">SpecWeave</h1>
2
2
 
3
- **AI-assisted development, under control.**
3
+ <p align="center">
4
+ <strong>AI-assisted development, under control.</strong><br/>
5
+ Stop prompting. Start specifying.
6
+ </p>
4
7
 
5
- Your AI responds to natural language — and now follows a structured, spec-first, quality-gated process every time. Configure your standards once. Every developer, every AI tool, every session enforces them automatically.
8
+ <p align="center">
9
+ <a href="https://www.npmjs.com/package/specweave"><img src="https://img.shields.io/npm/v/specweave?color=brightgreen" alt="npm" /></a>
10
+ <img src="https://img.shields.io/badge/increments-600+-blue" alt="600+ increments" />
11
+ <img src="https://img.shields.io/badge/production_apps-10+-green" alt="10+ production apps" />
12
+ <img src="https://img.shields.io/badge/skills-100+-8B5CF6" alt="100+ skills" />
13
+ <img src="https://img.shields.io/badge/agent_platforms-49-orange" alt="49 platforms" />
14
+ <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="MIT" /></a>
15
+ <a href="https://discord.gg/UYg4BGJ65V"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" alt="Discord" /></a>
16
+ </p>
6
17
 
7
- *Works with Claude Code, Cursor, Copilot, Codex, Antigravity & any LLM-powered coding tool.*
18
+ <br/>
8
19
 
9
- [![NPM Version](https://img.shields.io/npm/v/specweave?color=brightgreen)](https://www.npmjs.com/package/specweave)
10
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
- [![Test & Validate](https://github.com/anton-abyzov/specweave/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/anton-abyzov/specweave/actions/workflows/test.yml)
12
- [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/UYg4BGJ65V)
20
+ ## The Problem
13
21
 
14
- ```bash
15
- npm install -g specweave # Requires Node.js 20.12.0+
16
- ```
17
-
18
- ---
19
-
20
- ## The Problem No Tool Solved
21
-
22
- Multi-repository microservices in brownfield codebases — this is the reality for most enterprise teams. Dozens of repos, years of undocumented decisions, existing systems that must be extended and maintained, not replaced.
23
-
24
- AI coding tools weren't built for this. They're designed for greenfield, single-repo demos. Cross into enterprise brownfield territory and they fall apart: standards vanish between sessions, parallel agents have no coordination layer, and there's no way to enforce a process consistently across a team.
25
-
26
- Nothing on the market solved this. So SpecWeave was built — open source, born from the same frustration.
27
-
28
- **Two design decisions make it work:**
22
+ **36.82% of AI skills have security flaws** ([Snyk ToxicSkills](https://snyk.io/blog/toxicskills-malicious-ai-agent-skills-clawhub/)). In May 2025, 170 out of 1,645 vibe-coded apps had security vulnerabilities exposing personal data. No specs. No tests. No review. Just vibes.
29
23
 
30
- **Deterministic configuration** your standards encoded in version-controlled files. `.specweave/config.json` defines how AI behaves in your project. Every increment carries `metadata.json`, `spec.md`, `plan.md`, `tasks.md`. This is configuration, not prompting reproducible, auditable, enforced identically for every developer, every agent, every session.
24
+ Every alternative is an instruction layer Cursor Rules, Copilot Instructions, Windsurf Rules, CLAUDE.md. They tell the AI *how* to write code but never *what* to build, never *how* to test it, and never *when* it's done.
31
25
 
32
- **Context-aware routing** describe what you want in natural language. SpecWeave reads context and activates the right skill automatically: PM agent for planning, Architect for design, TDD cycle for implementation, Grill for review. No orchestration overhead. No manual tool selection.
26
+ SpecWeave is a spec-first development layer. Configuration, not prompting. Enforced, not hoped for.
33
27
 
34
- This combination makes structured AI development practical at the scale and complexity of real enterprise systems — not just demo apps.
28
+ <br/>
35
29
 
36
- ---
30
+ ## The Solution
37
31
 
38
- ## No Commands to Memorize
39
-
40
- SpecWeave is not a workflow you switch into. It is a behavior layer that changes how your AI works — installed once, active in every conversation.
41
-
42
- When you describe what you want, your AI routes internally to the right skill. You just work naturally:
43
-
44
- | You say | Your AI runs — automatically |
45
- |---------|------------------------------|
46
- | "Build me X" / "Let's add Y" | `sw:increment` → spec + plan + tasks |
47
- | "Go ahead" / "Build it" | `sw:auto` → autonomous execution |
48
- | "Ship it" / "We're done" | `sw:done` → quality gates + close |
49
- | "Split this into teams" | `sw:team-lead` → parallel agents (implement mode) |
50
- | "Brainstorm approaches for X" | `sw:team-lead` → parallel perspectives (brainstorm mode) |
51
- | "Plan X in parallel" | `sw:team-lead` → PM + Architect agents (planning mode) |
52
- | "Review the code" | `sw:code-reviewer` → 6 parallel reviewers |
53
- | "Grill the code" | `sw:grill` → critical audit before close |
54
-
55
- You can also invoke these directly for fine-grained control — but you rarely need to.
56
-
57
- ---
58
-
59
- ## What You Control
60
-
61
- SpecWeave's behavior is driven by configuration. Define your standards once; every AI interaction in your project enforces them.
62
-
63
- ```json
64
- // .specweave/config.json
65
- {
66
- "testing": {
67
- "defaultTestMode": "TDD", // AI always follows red-green-refactor
68
- "tddEnforcement": "strict" // Tasks cannot close without passing tests
69
- },
70
- "quality": {
71
- "grillRequired": true, // Code review gate before every close
72
- "judgeLlmRequired": true // Independent AI validation gate
73
- },
74
- "sync": {
75
- "github": true, // Auto-sync to GitHub Issues / PRs
76
- "jira": true // Bidirectional JIRA sync on close
77
- }
78
- }
79
32
  ```
80
-
81
- This is the difference between **asking** an AI to follow a process and **configuring** it to. No prompting required. No hoping it remembers. The config is the contract.
82
-
83
- ---
84
-
85
- ## The Workflow
86
-
87
- Just describe what you want. Your AI handles the orchestration.
88
-
89
- ```
90
- You: "Build me a checkout flow with Stripe"
91
-
92
- AI asks 5-10 clarifying questions
93
- (What payment methods? Guest checkout? Subscriptions? Which UI library?)
33
+ You: "Build a checkout flow with Stripe"
94
34
 
95
- Creates: spec.md → plan.md → tasks.md ← you review the plan here
35
+ spec.md → plan.md → tasks.md ← you review the plan
96
36
 
97
- You: "Go ahead and build it"
98
- → autonomous execution for hours
99
- (writes code, runs tests, fixes failures, syncs to GitHub/JIRA)
37
+ Autonomous execution for hours ← AI builds, tests, fixes
100
38
 
101
- You wake up. Review finished work.
102
- Tests cover technical correctness. You check the UI and UX.
39
+ Quality gates (Grill + Judge-LLM) ← code reviewed automatically
103
40
 
104
- You: "Looks good, ship it"
105
- → validated, documented, closed.
106
- ```
107
-
108
- **Solo developer:**
109
- ```
110
- You: "I need user authentication with OAuth and magic links"
111
- → AI interviews you, creates spec + plan + tasks
112
- You: "Build it"
113
- → AI works autonomously for hours
114
- You: "Ship it"
115
- → reviewed, validated, done.
116
- ```
117
-
118
- **Agent team (parallel):**
119
- ```
120
- You: "Build an e-commerce MVP"
121
- → SpecWeave splits into auth, payments, catalog
122
- → 3 agents work in parallel across iTerm/tmux panes
123
- ```
124
-
125
- **Brownfield project:**
126
- ```
127
- You: "Migrate the checkout page to React"
128
- → SpecWeave analyzes existing code, plans strangler fig migration
129
- → TDD-first autonomous execution
130
- ```
131
-
132
- ---
133
-
134
- ## What Are Skills?
135
-
136
- **A skill is a `SKILL.md` file with instructions — Claude adds it to its toolkit, uses it automatically when relevant, or you invoke it directly with `/skill-name`.** Each skill packages domain expertise: patterns, rules, and examples that make AI produce consistent, production-grade output instead of generic guesses.
137
-
138
- ```
139
- Without SpecWeave: With SpecWeave:
140
- ───────────────── ───────────────
141
- "Use React Hook Form with Zod..." "Add a login form"
142
- "Remember, we use Tailwind..." → AI already knows your patterns.
143
- "Don't forget the test pattern..." → It remembered from last time.
144
- "Wait, I told you this yesterday..." → Fix once, learned permanently.
41
+ Synced to GitHub/JIRA/ADO ← closed, documented, shipped
145
42
  ```
146
43
 
147
- 100+ skills ship out of the box PM, Architect, QA, Security, DevOps, Frontend, Backend, Mobile, ML. Every skill is customizable without forking: write corrections once in `skill-memories/`, and they apply forever across every session and every agent.
44
+ Every feature starts as a specificationuser stories, acceptance criteria, architecture decisions before a single line of code is written. TDD enforces correctness. Quality gates catch what tests miss.
148
45
 
149
- **You don't need to learn Claude Code docs.** SpecWeave handles hooks, plugins, CLAUDE.md, and context management for you. Install, describe your feature, skills do the rest.
46
+ <br/>
150
47
 
151
- ---
48
+ ## Built With SpecWeave
152
49
 
153
- ## Why Spec-First?
50
+ 12 production projects shipped in 3 months. 5 in the App Store.
154
51
 
155
- **The plan is more important than the code.**
52
+ | App | Platform | What It Does |
53
+ |-----|----------|-------------|
54
+ | [**EasyChamp**](https://easychamp.com) | Web (GCP) | Enterprise sports league management. 20+ microservices, ML video analytics. 4 years in production. |
55
+ | [**SketchMate**](https://apps.apple.com/app/sketchmate-ai-draw-game/id6760250072) | App Store | AI drawing game — multi-model evaluation judges player art semantically. |
56
+ | [**Lulla**](https://apps.apple.com/app/lulla-calm-baby-anywhere/id6756977992) | App Store | Baby sleep app with Apple Watch. ML cry classification (tired/hungry/pain). |
57
+ | [**Football 2026**](https://apps.apple.com/app/football-2026-travel/id6757258711) | App Store + Web | World Cup 2026 companion. AI travel planner, live tickets, team stats. |
58
+ | [**SkillUp Football**](https://apps.apple.com/app/skillup-football/id6756978002) | App Store | Coaches monetize training via Stripe. Instagram-like feed, scheduling. |
59
+ | [**BizZone**](https://apps.apple.com/app/business-zone/id6756091030) | App Store | Student & business events with AI-powered news generation. |
60
+ | [**EduFeed**](https://edufeed-jet.vercel.app/) | Web | NotebookLM meets Zoom. Upload videos, get quizzes, flashcards, live rooms. |
61
+ | [**JobWeave**](https://jobweave.ai) | Web | AI-powered job search. Smart matching, resume optimization. |
62
+ | [**SpecWeave**](https://github.com/anton-abyzov/specweave) | npm | The framework itself. 600+ increments, 538+ releases. |
63
+ | [**SpecWeave Umbrella**](https://github.com/anton-abyzov/specweave-umb) | GitHub | Multi-repo orchestration workspace for all repositories. |
64
+ | [**vskill**](https://github.com/anton-abyzov/vskill) | npm | Package manager for AI skills. Security scanning, 49 platforms. |
65
+ | [**verified-skill.com**](https://verified-skill.com) | Web | Skill marketplace & studio. 105K+ verified skills, eval system. |
156
66
 
157
- AI coding agents are powerful, but without structured planning they produce what practitioners call "slop" — code generated through unstructured chat that creates technical debt from day one. The [Research-Plan-Implement (RPI)](https://www.youtube.com/watch?v=rmvDxxNubIg) methodology demonstrates that **bad plans create orders of magnitude more problems than bad code**. Human review should focus on the plan the highest-leverage checkpoint where misunderstandings are cheapest to correct.
67
+ [Browse increments on GitHub](https://github.com/anton-abyzov/specweave/tree/develop/.specweave/increments) — full transparency.
158
68
 
159
- SpecWeave embodies this principle. Each **increment** is a focused, reviewable unit of work — spec, plan, tasks — that you control through a sprint or external tools (GitHub, JIRA, ADO). As long as the spec and plan are solid, the implementation follows naturally, one step at a time.
69
+ <br/>
160
70
 
161
- The more structure in your workflow, the harder the problems you can solve:
71
+ ## Quick Start
162
72
 
163
- ```
164
- Hardest problem big refactors, ○ ← sw:team-lead
165
- you can solve whole new features (multi-agent)
166
- ↑ ○
167
- │ medium features ← sw:brainstorm sw:increment sw:auto
168
- │ across repos (research + plan + implement)
169
- │ ○
170
- │ small features ← sw:increment → sw:do
171
- │ across 3-5 files (plan + implement)
172
- │ ○
173
- │ small fixes ← just talk to AI
174
- │ copy changes (no planning)
175
- └────────────────────────────────────────────→
176
- just talk simple plan research → multi-phase
177
- to AI then work it plan → impl agent teams
178
-
179
- amount of context engineering →
73
+ ```bash
74
+ npm install -g specweave # Node.js 20.12.0+
75
+ cd your-project
76
+ specweave init .
77
+ # Then in Claude Code, Cursor, Copilot, or any AI tool:
78
+ # "Build me a user authentication system"
180
79
  ```
181
80
 
182
- SpecWeave solves multi-agent chaos with **file-based coordination**:
81
+ <br/>
183
82
 
184
- ```
185
- .specweave/increments/0001-oauth/
186
- ├── spec.md ← WHAT: User stories, acceptance criteria
187
- ├── plan.md ← HOW: Architecture decisions, tech choices
188
- └── tasks.md ← DO: Implementation tasks with tests
189
- ```
83
+ ## How It Compares
190
84
 
191
- ### Three Pillars
85
+ | Capability | Cursor Rules | Copilot Instructions | Windsurf | Cline | Vibe Coding | **SpecWeave** |
86
+ |------------|:---:|:---:|:---:|:---:|:---:|:---:|
87
+ | Structured specs (spec + plan + tasks) | — | — | — | — | — | **Yes** |
88
+ | Quality gates (Grill + Judge-LLM + 130 rules) | — | — | — | — | — | **Yes** |
89
+ | Autonomous execution (hours, unattended) | — | — | — | — | — | **Yes** |
90
+ | Multi-agent teams (parallel, contract-first) | — | — | — | — | — | **Yes** |
91
+ | External sync (GitHub / JIRA / ADO) | — | — | — | — | — | **Yes** |
92
+ | TDD enforcement (strict red-green-refactor) | — | — | — | — | — | **Yes** |
93
+ | LSP code intelligence (198x faster) | — | — | — | — | — | **Yes** |
94
+ | Self-improving skills (learns from corrections) | — | — | — | — | — | **Yes** |
192
95
 
193
- **Extensible AI** Skills extend what AI coding agents can do structured markdown instructions that define how an agent behaves. Customize any skill via `skill-memories/*.md` without forking. Your rules override defaults. Original skills keep getting updates.
96
+ Cursor tells AI "use Tailwind." SpecWeave tells AI "build a checkout flow with 5 acceptance criteria, test it, review it, sync to JIRA, and close."
194
97
 
195
- **Autonomous Teams** — Run agent swarms across iTerm/tmux panes. Each agent owns an increment. File-based coordination prevents conflicts. Work on auth, payments, and notifications simultaneously.
98
+ <br/>
196
99
 
197
- **Enterprise Ready** — Compliance audit trails in git. Brownfield analysis for legacy code. Bidirectional sync with GitHub, JIRA, Azure DevOps. Multi-repo coordination. Production-grade from day one.
100
+ ## Key Features
198
101
 
199
- ---
102
+ **Spec-First Planning** — Every feature starts as spec.md + plan.md + tasks.md. Configuration, not prompting.
200
103
 
201
- ## Agent Swarms
104
+ **TDD Enforcement** — Strict red-green-refactor. Tasks cannot close without passing tests. Coverage targets enforced.
202
105
 
203
- Run multiple AI agents on the same repository locally, in the cloud, or with [OpenClaw](https://openclaw.ai). Each agent owns an isolated increment. No conflicts.
106
+ **Agent Swarms** Run parallel agents across iTerm/tmux panes. Team lead splits work, each agent owns an increment.
204
107
 
205
108
  ```
206
- iTerm2 / tmux split panes:
207
109
  ┌──────────────────┬──────────────────┬──────────────────┐
208
110
  │ Agent 1 (auth) │ Agent 2 (payments)│ Agent 3 (catalog)│
209
- │ sw:auto │ sw:auto │ sw:auto
210
- │ ████████░░ 80% │ ██████░░░░ 60% │ ████░░░░░░ 40% │
111
+ │ sw:auto │ sw:auto │ sw:auto
112
+ │ ████████░░ 80% │ ██████░░░░ 60% │ ████░░░░░░ 40% │
211
113
  └──────────────────┴──────────────────┴──────────────────┘
212
114
  ```
213
115
 
214
- `sw:team-lead "feature"` splits work each agent runs `sw:auto` quality gates ensure consistency progress syncs to GitHub/JIRA.
215
-
216
- **[Full agent teams guide](https://spec-weave.com/docs/guides/agent-teams-and-swarms)**
217
-
218
- ---
219
-
220
- ## Enterprise Ready
221
-
222
- SpecWeave is built for the reality of enterprise development.
223
-
224
- - **Compliance audit trails** — every decision tracked in version-controlled spec files. SOC 2, HIPAA, FDA ready.
225
- - **Brownfield excellence** — automated codebase analysis, strangler fig migrations, knowledge preservation. 90%+ of enterprise work is brownfield.
226
- - **Multi-repo coordination** — specs reference cross-repo dependencies. Agent teams work across repositories.
227
- - **External sync** — GitHub Issues, JIRA, Azure DevOps — bidirectional, real-time. Local-first, works offline.
228
- - **Multi-environment** — dev, QA, staging, UAT, production deployment pipelines.
229
-
230
- **[Enterprise documentation](https://spec-weave.com/docs/enterprise)**
231
-
232
- ---
233
-
234
- ## LSP Code Intelligence
235
-
236
- AI agents waste tokens on grep — slow, noisy, full of false positives. SpecWeave ships with **LSP integration** that gives agents semantic understanding of your codebase.
237
-
238
- ```
239
- Grep (text search) LSP (semantic)
240
- ────────────────── ──────────────
241
- Speed: 69ms 0.35ms (198x faster)
242
- "read" symbol: 254 matches 32 references
243
- False positives: 222 noise results 0
244
- ```
245
-
246
- Grep matches `read`, `readFile`, `readFileSync`, `readdir`, and every comment containing "read". LSP resolves the actual `MetadataManager.read()` calls — nothing else.
247
-
248
- ![LSP Benchmark Results](docs/assets/lsp-benchmark.png)
249
-
250
- **Supported languages:** TypeScript, Python, Go, Rust, Java, C#
251
-
252
- **How it works:** SpecWeave starts a language server alongside your agent session. Every "find references", "go to definition", and "show type" query goes through the LSP instead of grep — 198x faster with zero false positives.
253
-
254
- ```bash
255
- specweave lsp refs src/core/metadata.ts read # Semantic references
256
- specweave lsp def src/cli/commands/init.ts init # Go to definition
257
- specweave lsp hover src/core/config.ts Config # Type information
258
- ```
259
-
260
- **[LSP documentation](https://spec-weave.com/docs/guides/lsp-code-intelligence)**
116
+ **LSP Code Intelligence** 198x faster than grep, 0 false positives. Semantic references, definitions, and types.
261
117
 
262
- ---
118
+ **100+ Skills** — PM, Architect, QA, Security, DevOps, Frontend, Backend, Mobile, ML. Every skill is customizable via skill-memories without forking.
263
119
 
264
- ## Extensible Skills (Open/Closed Principle)
120
+ **External Sync** GitHub Issues, JIRA, Azure DevOps — bidirectional, real-time. Close an increment, external tools update automatically.
265
121
 
266
- **Customize any skill without forking.**
122
+ **Enterprise Ready** Compliance audit trails (SOC 2, HIPAA, FDA). Brownfield analysis. Multi-repo coordination. Multi-environment deployment.
267
123
 
268
- ```bash
269
- # First time
270
- You: "Generate a login form"
271
- Claude: *creates form with useState*
272
- You: "No, we always use React Hook Form + Zod"
124
+ **Dashboard** — Built-in web dashboard for increment progress, analytics, cost tracking, and multi-project monitoring.
273
125
 
274
- # SpecWeave learns this → .specweave/skill-memories/frontend.md
126
+ <br/>
275
127
 
276
- # Next session — any agent, any skill
277
- You: "Generate a signup form"
278
- Claude: *automatically uses React Hook Form + Zod*
279
- ```
128
+ ## Skills Ecosystem
280
129
 
281
- | Traditional Tools | SpecWeave Skills |
282
- |------------------|------------------|
283
- | Obfuscated behavior | Transparent SKILL.md |
284
- | Can't customize | Extend via skill-memories |
285
- | Vendor lock-in | You control the logic |
286
- | Suggestions only | Structured reasoning |
130
+ SpecWeave skills are published and verified at **[verified-skill.com](https://verified-skill.com)**. The [vskill](https://www.npmjs.com/package/vskill) package manager provides:
287
131
 
288
- **Enable auto-learning:**
289
- ```bash
290
- sw:reflect-on # Corrections become permanent knowledge
291
- sw:reflect-status # See what Claude has learned
292
- ```
293
-
294
- **[Skills deep dive](https://spec-weave.com/docs/overview/skills-as-structured-expertise)** | **[Skill development guidelines](https://spec-weave.com/docs/guides/skill-development-guidelines)** | **[Skill generation](https://spec-weave.com/docs/skills/extensible/skill-generation)**
295
-
296
- **AI-Powered Skill Generation:** SpecWeave automatically detects recurring patterns across your project's living docs using LLM analysis -- not hardcoded keyword matching. When patterns mature, it suggests generating project-specific Claude Code skills complete with evals and benchmarks. Use `--seed` mode to bootstrap instantly on existing projects. [Learn more](https://spec-weave.com/docs/skills/extensible/skill-generation).
297
-
298
- ---
299
-
300
- ## Install
132
+ - **Security scanning** — 52 attack patterns, SHA-256 pinning, blocklist API
133
+ - **49 agent platforms** — one install deploys to Claude Code, Cursor, Copilot, Windsurf, and 45 more
134
+ - **Skill evals** unit tests, A/B comparisons, cross-model testing. Skills tested like programs.
135
+ - **Visual Skill Studio** `vskill eval serve` for benchmarks, comparisons, and history
301
136
 
302
137
  ```bash
303
- npm install -g specweave
304
- cd your-project
305
- specweave init .
138
+ npx vskill install remotion-best-practices # Install from registry
139
+ npx vskill eval run my-skill # Run eval suite
306
140
  ```
307
141
 
308
- Init automatically detects your project setup:
309
- - **Git provider** — GitHub, Azure DevOps, or Bitbucket from `.git/config`
310
- - **Umbrella structure** — discovers all child repos in `repositories/` and configures multi-repo coordination
311
- - **AI tool** — Claude Code, Cursor, Copilot, Codex, or generic
312
-
313
- The `specweave` CLI ships with 49 commands — project init, LSP code intelligence, skill management, dashboard, plugin marketplace, diagnostics, and more.
314
-
315
- Then in any AI coding agent (Claude Code, Codex, Antigravity, Cursor, Copilot):
316
- ```
317
- You: "Add dark mode to the app"
318
- → SpecWeave creates spec, plans architecture, builds it autonomously.
319
- ```
320
-
321
- > **Node.js 20.12.0+** required (22 LTS recommended). Getting `SyntaxError`? [Upgrade instructions](https://spec-weave.com/docs/guides/troubleshooting/common-errors#node-version-error).
322
-
323
- **Plugin Installation**: SpecWeave detects which plugins your project needs and suggests them with install commands, but never auto-installs without your consent. To opt into automatic installation, set `"pluginAutoLoad": { "suggestOnly": false }` in `.specweave/config.json`.
324
-
325
- ---
142
+ <br/>
326
143
 
327
144
  ## Core Commands
328
145
 
329
- These run automatically from natural language — see the table above. Use directly when you want fine-grained control.
330
-
331
- | Command | Purpose | Natural trigger |
332
- |---------|---------|----------------|
333
- | `sw:increment "feature"` | Create spec + plan + tasks | "Build me X" |
334
- | `sw:auto` | Autonomous execution | "Go ahead and build it" |
335
- | `sw:do` | Execute one task at a time | "Do the next task" |
336
- | `sw:grill` | Code review before close | "Review the code" |
337
- | `sw:done` | Close with quality validation | "Ship it" |
338
- | `sw:progress-sync` | Push to GitHub / JIRA / ADO | "Sync progress" |
339
- | `sw:next` | Auto-close + suggest next | "What's next?" |
340
-
341
- **[Full command reference](https://spec-weave.com/docs/commands/overview)**
342
-
343
- ---
344
-
345
- ## Integrations
346
-
347
- | Platform | What Syncs |
348
- |----------|-----------|
349
- | **GitHub** | Issues, PRs, milestones — bidirectional |
350
- | **JIRA** | Epics, stories, status |
351
- | **Azure DevOps** | Work items, area paths |
352
- | **[Verified Skills](https://verified-skill.com)** | Security scanning, trust certification, public skill registry |
353
-
354
- When you close an increment, external tools update automatically.
355
-
356
- ### Verified Skills Registry
357
-
358
- Every SpecWeave skill can be submitted to [verified-skill.com](https://verified-skill.com) for automated security scanning and trust certification. Three tiers: Scanned (automated 41-pattern check), Verified (LLM intent analysis), Certified (human review + sandbox). Marketplace repos are auto-discovered — submit a single GitHub URL and all plugins/skills are detected.
359
-
360
- ---
361
-
362
- ## How It Compares
363
-
364
- | Capability | SpecWeave | BMAD Method | GitHub SpecKit |
365
- |------------|-----------|-------------|----------------|
366
- | **Parallel agent coordination** | Increment-scoped isolation | No | No |
367
- | **Autonomous execution** | Hours of unattended `sw:auto` | No | No |
368
- | **Agent swarms (iTerm/tmux)** | Visual parallel monitoring | No | No |
369
- | **Quality gates** | Code Grill before every release | No | No |
370
- | **Living documentation** | Auto-updated after every task | Manual | Manual |
371
- | **Self-improving AI** | Learns from corrections | No | No |
372
- | **Enterprise compliance** | SOC 2, HIPAA, FDA audit trails | No | No |
373
- | **External sync** | GitHub / JIRA / ADO bidirectional | No | No |
374
- | **Brownfield support** | Analyzer + migration patterns | No | No |
375
- | **LSP code intelligence** | 198x faster, semantic accuracy | No | No |
376
- | **Specialized skills** | 100+ (PM, QA, DevOps, ML...) | 21 agents | None |
377
- | **Spec/plan/tasks workflow** | Yes | Yes | Yes |
378
- | **Agent-agnostic** | Claude Code + Codex + Antigravity + Copilot + Cursor + OpenClaw | Multi-IDE | Multi-IDE |
379
-
380
- ---
381
-
382
- ## Dashboard & Analytics
383
-
384
- SpecWeave includes a built-in web dashboard for monitoring your projects. Launch it with:
385
-
386
- ```bash
387
- specweave dashboard
388
- ```
389
-
390
- **What you get:**
391
-
392
- - **Overview** — increment progress, task completion, acceptance criteria status at a glance
393
- - **Analytics** — command invocations, skill activations, agent spawns tracked locally in JSONL. Captures implicit calls too (team-lead spawning agents, agents calling `sw:do` internally). Daily breakdowns, success rates, and top-used commands/skills
394
- - **Multi-project support** — switch between projects via `?project=` query param. All views are project-scoped
395
- - **Cost tracking** — token usage and cost estimates per increment
396
- - **Live updates** — SSE-powered real-time refresh as increments and tasks change
397
- - **Error resilience** — ErrorBoundary catches page crashes without killing the entire SPA
398
-
399
- All analytics data stays local in `.specweave/state/analytics/events.jsonl` — nothing is sent externally.
400
-
401
- **[Analytics dashboard guide](https://spec-weave.com/docs/guides/analytics-dashboard)**
402
-
403
- ---
404
-
405
- ## Built With SpecWeave
406
-
407
- > SpecWeave builds itself. Every feature, bug fix, and release is spec-driven.
146
+ | You say | SpecWeave runs |
147
+ |---------|---------------|
148
+ | "Build me X" | `sw:increment` spec + plan + tasks |
149
+ | "Go ahead" | `sw:auto` → autonomous execution |
150
+ | "Ship it" | `sw:done` quality gates + close |
151
+ | "Split into teams" | `sw:team-lead` parallel agents |
152
+ | "Review the code" | `sw:code-reviewer` 6 parallel reviewers |
408
153
 
409
- **[Browse increments](https://github.com/anton-abyzov/specweave/tree/develop/.specweave/increments)** — see how SpecWeave develops SpecWeave.
154
+ [Full command reference](https://spec-weave.com/docs/commands/overview)
410
155
 
411
- ---
156
+ <br/>
412
157
 
413
158
  ## Documentation
414
159
 
415
- **[spec-weave.com](https://spec-weave.com)** — guides, examples, and full reference.
416
-
417
- ## Troubleshooting
418
-
419
- ### npm E401 during `specweave update` or `npm install -g specweave`
420
-
421
- If you see `npm error code E401` / `Unable to authenticate`, your `~/.npmrc` has a stale auth token that npm sends even for public packages. Starting from **v1.0.416**, `specweave update` bypasses all user auth config automatically. To install or upgrade when blocked:
422
-
423
- ```bash
424
- npm i -g specweave --registry https://registry.npmjs.org --userconfig /dev/null
425
- ```
426
-
427
- To fix the root cause, remove the stale token from `~/.npmrc`:
428
-
429
- ```bash
430
- # Remove stale registry.npmjs.org token (keeps other tokens like GitHub Packages)
431
- sed -i.bak '/registry.npmjs.org.:_authToken/d' ~/.npmrc
432
- ```
160
+ **[spec-weave.com](https://spec-weave.com)** — guides, reference, and enterprise docs.
433
161
 
434
162
  ## Community
435
163
 
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,OAAO,EACL,KAAK,WAAW,EAuBjB,MAAM,0BAA0B,CAAC;AAUlC,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,OAAO,CAU7E;AAED;;GAEG;AACH,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAkiBf"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,OAAO,EACL,KAAK,WAAW,EAuBjB,MAAM,0BAA0B,CAAC;AAoBlC,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,OAAO,CAU7E;AAED;;GAEG;AACH,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAsjBf"}