specweave 0.9.0 → 0.9.1
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
|
@@ -184,6 +184,50 @@ Organize documentation by team, repo, or microservice:
|
|
|
184
184
|
|
|
185
185
|
**[→ Multi-Project Setup Guide](https://spec-weave.com/docs/guides/multi-project-setup)**
|
|
186
186
|
|
|
187
|
+
### 🔗 Issue Tracker Integration (v0.9.0+)
|
|
188
|
+
|
|
189
|
+
**Strategy-based team mapping** adapts to your organization's structure:
|
|
190
|
+
|
|
191
|
+
#### **GitHub - 3 Strategies**
|
|
192
|
+
|
|
193
|
+
1. **Repository-per-team** (Most Common)
|
|
194
|
+
```bash
|
|
195
|
+
GITHUB_STRATEGY=repository-per-team
|
|
196
|
+
GITHUB_REPOS=frontend-app,backend-api,mobile-app
|
|
197
|
+
```
|
|
198
|
+
Best for: Microservices, independent deployments
|
|
199
|
+
|
|
200
|
+
2. **Team-based** (Monorepo)
|
|
201
|
+
```bash
|
|
202
|
+
GITHUB_STRATEGY=team-based
|
|
203
|
+
GITHUB_REPO=main-product
|
|
204
|
+
GITHUB_TEAMS=frontend-team,backend-team
|
|
205
|
+
```
|
|
206
|
+
Best for: Monorepos (Nx, Turborepo, Lerna)
|
|
207
|
+
|
|
208
|
+
3. **Team-multi-repo** (Platform Teams)
|
|
209
|
+
```bash
|
|
210
|
+
GITHUB_STRATEGY=team-multi-repo
|
|
211
|
+
GITHUB_TEAM_REPO_MAPPING='{"platform-team":["api-gateway","auth"]}'
|
|
212
|
+
```
|
|
213
|
+
Best for: Platform teams owning multiple services
|
|
214
|
+
|
|
215
|
+
#### **Jira - 3 Strategies**
|
|
216
|
+
|
|
217
|
+
1. **Project-per-team** - Separate projects for each team
|
|
218
|
+
2. **Component-based** - One project with components
|
|
219
|
+
3. **Board-based** - One project with filtered boards
|
|
220
|
+
|
|
221
|
+
#### **Azure DevOps - Team-Based**
|
|
222
|
+
|
|
223
|
+
Fixed hierarchy: Organization → Project (ONE) → Teams (multiple)
|
|
224
|
+
```bash
|
|
225
|
+
AZURE_DEVOPS_PROJECT=MyProject
|
|
226
|
+
AZURE_DEVOPS_TEAMS=Frontend,Backend,Mobile
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**[→ Complete Integration Guide](https://spec-weave.com/docs/integrations/issue-trackers)**
|
|
230
|
+
|
|
187
231
|
### 📦 Brownfield Import
|
|
188
232
|
|
|
189
233
|
Import existing documentation from external sources:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Spec-driven development framework for Claude Code. AI-native workflow with living documentation, intelligent agents, and multilingual support (9 languages). Enterprise-grade traceability with permanent specs and temporary increments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -77,7 +77,9 @@ Step 4: Execute → Follow the increment planning workflow
|
|
|
77
77
|
|
|
78
78
|
#### specweave-detector
|
|
79
79
|
|
|
80
|
-
**Description**: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation.
|
|
80
|
+
**Description**: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. Explains available slash commands and workflow. Keywords slash commands, /specweave:increment, /increment, /specweave:do, /specweave:progress, /specweave:validate, /specweave:done, specweave commands, workflow help, specweave folder.
|
|
81
|
+
|
|
82
|
+
**Note**: Auto-detection of product descriptions is handled by the `project-kickstarter` skill.
|
|
81
83
|
|
|
82
84
|
**Location**: `.claude/skills/specweave-detector/SKILL.md`
|
|
83
85
|
|
|
@@ -43,22 +43,88 @@ VERCEL_TOKEN=your-vercel-token-here
|
|
|
43
43
|
# Integration Services
|
|
44
44
|
# ===================================
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# ============================================================================
|
|
47
|
+
# ISSUE TRACKER INTEGRATIONS (with Strategy-Based Team Mapping)
|
|
48
|
+
# ============================================================================
|
|
49
|
+
|
|
50
|
+
# ----------------------------------------------------------------------------
|
|
51
|
+
# GitHub - 3 Strategies for Team Organization
|
|
52
|
+
# ----------------------------------------------------------------------------
|
|
53
|
+
# Guide: https://github.com/settings/tokens
|
|
47
54
|
# Scopes: repo, read:org, workflow
|
|
48
|
-
GITHUB_TOKEN=ghp_your-github-token-40-chars
|
|
49
55
|
|
|
50
|
-
#
|
|
56
|
+
# Required for all strategies:
|
|
57
|
+
GH_TOKEN=ghp_your-github-token-40-chars
|
|
58
|
+
|
|
59
|
+
# Strategy 1: Repository-per-team (MOST COMMON)
|
|
60
|
+
# Use when: Each team has separate repositories (microservices, multi-repo)
|
|
61
|
+
# Example: Frontend team → frontend-app, Backend team → backend-api
|
|
62
|
+
GITHUB_STRATEGY=repository-per-team
|
|
63
|
+
GITHUB_OWNER=myorg
|
|
64
|
+
GITHUB_REPOS=frontend-app,backend-api,mobile-app,qa-tools
|
|
65
|
+
|
|
66
|
+
# Strategy 2: Team-based (MONOREPO)
|
|
67
|
+
# Use when: Single repository with team-based filtering
|
|
68
|
+
# Example: Monorepo with teams working on different parts
|
|
69
|
+
# GITHUB_STRATEGY=team-based
|
|
70
|
+
# GITHUB_OWNER=myorg
|
|
71
|
+
# GITHUB_REPO=main-product
|
|
72
|
+
# GITHUB_TEAMS=frontend-team,backend-team,mobile-team,qa-team
|
|
73
|
+
|
|
74
|
+
# Strategy 3: Team-multi-repo (COMPLEX)
|
|
75
|
+
# Use when: Teams own multiple repositories (platform teams)
|
|
76
|
+
# Example: Platform team owns api-gateway + auth-service
|
|
77
|
+
# GITHUB_STRATEGY=team-multi-repo
|
|
78
|
+
# GITHUB_OWNER=myorg
|
|
79
|
+
# GITHUB_TEAM_REPO_MAPPING='{"platform-team":["api-gateway","auth-service"],"frontend-team":["web-app","mobile-app"]}'
|
|
80
|
+
|
|
81
|
+
# ----------------------------------------------------------------------------
|
|
82
|
+
# Jira - 3 Strategies for Team Organization
|
|
83
|
+
# ----------------------------------------------------------------------------
|
|
84
|
+
# Guide: https://id.atlassian.com/manage-profile/security/api-tokens
|
|
85
|
+
|
|
86
|
+
# Required for all strategies:
|
|
51
87
|
JIRA_API_TOKEN=your-jira-api-token
|
|
52
88
|
JIRA_EMAIL=your-email@example.com
|
|
53
89
|
JIRA_DOMAIN=your-domain.atlassian.net
|
|
54
90
|
|
|
55
|
-
#
|
|
56
|
-
#
|
|
91
|
+
# Strategy 1: Project-per-team (SEPARATE PROJECTS)
|
|
92
|
+
# Use when: Each team has its own Jira project
|
|
93
|
+
# Example: FRONTEND project, BACKEND project, MOBILE project
|
|
94
|
+
JIRA_STRATEGY=project-per-team
|
|
95
|
+
JIRA_PROJECTS=FRONTEND,BACKEND,MOBILE,QA
|
|
96
|
+
|
|
97
|
+
# Strategy 2: Component-based (ONE PROJECT, MULTIPLE COMPONENTS)
|
|
98
|
+
# Use when: Single project with components representing teams
|
|
99
|
+
# Example: MAIN project with Frontend, Backend, Mobile components
|
|
100
|
+
# JIRA_STRATEGY=component-based
|
|
101
|
+
# JIRA_PROJECT=MAIN
|
|
102
|
+
# JIRA_COMPONENTS=Frontend,Backend,Mobile,QA
|
|
103
|
+
|
|
104
|
+
# Strategy 3: Board-based (ONE PROJECT, FILTERED BOARDS)
|
|
105
|
+
# Use when: Single project with board filters for teams
|
|
106
|
+
# Example: MAIN project with Frontend Board (123), Backend Board (456)
|
|
107
|
+
# JIRA_STRATEGY=board-based
|
|
108
|
+
# JIRA_PROJECT=MAIN
|
|
109
|
+
# JIRA_BOARDS=123,456,789,101
|
|
110
|
+
|
|
111
|
+
# ----------------------------------------------------------------------------
|
|
112
|
+
# Azure DevOps - Team-Based Structure (ONE PROJECT, MULTIPLE TEAMS)
|
|
113
|
+
# ----------------------------------------------------------------------------
|
|
114
|
+
# Guide: https://dev.azure.com/ → User Settings → Personal Access Tokens
|
|
57
115
|
# Scopes: Work Items (Read, Write), Code (Read)
|
|
116
|
+
|
|
117
|
+
# Azure DevOps structure: Organization → Project (ONE) → Teams (multiple)
|
|
58
118
|
AZURE_DEVOPS_PAT=your-ado-personal-access-token-52-chars-base64
|
|
59
119
|
AZURE_DEVOPS_ORG=your-organization-name
|
|
60
120
|
AZURE_DEVOPS_PROJECT=your-project-name
|
|
61
121
|
|
|
122
|
+
# Multiple teams within the project (comma-separated):
|
|
123
|
+
AZURE_DEVOPS_TEAMS=Frontend,Backend,Mobile,QA
|
|
124
|
+
|
|
125
|
+
# Single team (legacy, backward compatible):
|
|
126
|
+
# AZURE_DEVOPS_TEAM=Frontend
|
|
127
|
+
|
|
62
128
|
# Figma (https://www.figma.com/developers/api#authentication)
|
|
63
129
|
# Navigate to: Settings → Account → Personal Access Tokens
|
|
64
130
|
FIGMA_ACCESS_TOKEN=figd_your-figma-token
|