jumpstart-mode 1.1.3 → 1.1.4

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.
@@ -89,3 +89,35 @@ When setting up Jump Start for a new assistant:
89
89
  | Context7 MCP | ✅ | ✅ | ✅ | ✅ |
90
90
 
91
91
  Legend: ✅ Full support | ⚠️ Partial/workaround needed | ❌ Not supported
92
+
93
+ ---
94
+
95
+ ## Context7 MCP Setup
96
+
97
+ Context7 MCP provides up-to-date library documentation. Setup is required for each AI assistant.
98
+
99
+ > **Full documentation:** `.jumpstart/guides/context7-usage.md`
100
+
101
+ ### Installation (All Assistants)
102
+
103
+ ```bash
104
+ npx add-mcp https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
105
+ ```
106
+
107
+ Add `-y` to skip confirmation. Get an API key at: https://context7.com/dashboard
108
+
109
+ ### Context7 Tools
110
+
111
+ | Tool | Full MCP Name | Parameters |
112
+ |------|---------------|------------|
113
+ | Resolve Library | `mcp_context7_resolve-library-id` | `libraryName` (required), `query` (required) |
114
+ | Query Documentation | `mcp_context7_query-docs` | `libraryId` (required), `query` (required) |
115
+
116
+ ### Client-Specific Notes
117
+
118
+ | Client | MCP Configuration Location |
119
+ |--------|---------------------------|
120
+ | VS Code Copilot | MCP settings in VS Code (auto-detected by add-mcp) |
121
+ | Cursor | `Cursor Settings > MCP` or install via Cursor marketplace plugin |
122
+ | Claude Code | MCP configuration via add-mcp CLI |
123
+ | Windsurf | MCP configuration (auto-detected by add-mcp) |
@@ -0,0 +1,242 @@
1
+ # Context7 MCP Usage Guide
2
+
3
+ > **Purpose:** Authoritative reference for calling Context7 MCP tools correctly across all Jump Start agents.
4
+ > **Last Updated:** 2026-02-09
5
+ > **Source:** [Context7 Official Documentation](https://context7.com/docs)
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ Context7 MCP provides up-to-date, version-specific documentation for libraries, frameworks, and tools. It eliminates hallucinated APIs and outdated code examples by fetching live documentation directly into the AI assistant's context.
12
+
13
+ **Rule:** Never rely on training data for API signatures, configuration flags, version compatibility, or setup instructions. Always use Context7.
14
+
15
+ ---
16
+
17
+ ## Available Tools
18
+
19
+ Context7 MCP exposes two tools. When invoked via MCP clients (VS Code Copilot, Cursor, Claude Code, etc.), tools are prefixed with `mcp_context7_`.
20
+
21
+ ### 1. `resolve-library-id`
22
+
23
+ Resolves a general library name into a Context7-compatible library ID.
24
+
25
+ **Full MCP Name:** `mcp_context7_resolve-library-id`
26
+
27
+ **Parameters:**
28
+
29
+ | Parameter | Type | Required | Description |
30
+ |-----------|------|----------|-------------|
31
+ | `libraryName` | string | Yes | The name of the library to search for (e.g., "nextjs", "prisma", "react") |
32
+ | `query` | string | Yes | The user's question or task — used to rank results by relevance |
33
+
34
+ **Example Invocation:**
35
+
36
+ ```json
37
+ {
38
+ "libraryName": "nextjs",
39
+ "query": "How do I set up middleware for authentication?"
40
+ }
41
+ ```
42
+
43
+ **Returns:** A list of matching libraries with their Context7 library IDs (e.g., `/vercel/next.js`).
44
+
45
+ ---
46
+
47
+ ### 2. `query-docs`
48
+
49
+ Retrieves documentation for a library using a Context7-compatible library ID.
50
+
51
+ **Full MCP Name:** `mcp_context7_query-docs`
52
+
53
+ **Parameters:**
54
+
55
+ | Parameter | Type | Required | Description |
56
+ |-----------|------|----------|-------------|
57
+ | `libraryId` | string | Yes | Exact Context7-compatible library ID (e.g., `/vercel/next.js`, `/prisma/prisma`) |
58
+ | `query` | string | Yes | The question or task to get relevant documentation for |
59
+
60
+ **Example Invocation:**
61
+
62
+ ```json
63
+ {
64
+ "libraryId": "/vercel/next.js",
65
+ "query": "How do I configure middleware to check JWT cookies?"
66
+ }
67
+ ```
68
+
69
+ **Returns:** Relevant documentation snippets, code examples, and API references for the specified query.
70
+
71
+ ---
72
+
73
+ ## Library ID Format
74
+
75
+ Context7 library IDs follow the pattern `/{owner}/{repo}`:
76
+
77
+ | Library | Context7 Library ID |
78
+ |---------|---------------------|
79
+ | Next.js | `/vercel/next.js` |
80
+ | React | `/facebook/react` |
81
+ | Prisma | `/prisma/prisma` |
82
+ | Tailwind CSS | `/tailwindlabs/tailwindcss` |
83
+ | Express | `/expressjs/express` |
84
+ | MongoDB Node Driver | `/mongodb/docs` |
85
+ | Supabase | `/supabase/supabase` |
86
+
87
+ **Tip:** If you know the exact library ID, you can skip `resolve-library-id` and call `query-docs` directly.
88
+
89
+ ---
90
+
91
+ ## Standard Calling Pattern
92
+
93
+ ### Two-Step Pattern (Recommended)
94
+
95
+ Use this when you don't know the exact library ID:
96
+
97
+ ```
98
+ Step 1: Resolve the library ID
99
+ Tool: mcp_context7_resolve-library-id
100
+ Input: { "libraryName": "prisma", "query": "database migrations setup" }
101
+ Output: Library ID = /prisma/prisma
102
+
103
+ Step 2: Fetch documentation
104
+ Tool: mcp_context7_query-docs
105
+ Input: { "libraryId": "/prisma/prisma", "query": "database migrations setup" }
106
+ Output: Documentation snippets about Prisma migrations
107
+ ```
108
+
109
+ ### Direct Pattern (When Library ID is Known)
110
+
111
+ Skip resolution when you already have the library ID:
112
+
113
+ ```
114
+ Tool: mcp_context7_query-docs
115
+ Input: { "libraryId": "/vercel/next.js", "query": "server actions configuration" }
116
+ Output: Documentation about Next.js server actions
117
+ ```
118
+
119
+ ---
120
+
121
+ ## Citation Format
122
+
123
+ After fetching documentation, add a citation marker to your output:
124
+
125
+ **Standard Format:** `[Context7: library@version]`
126
+
127
+ **Examples:**
128
+ - `[Context7: next.js@14]`
129
+ - `[Context7: prisma@5.22]`
130
+ - `[Context7: react@18.3]`
131
+
132
+ Place the citation marker next to the technology reference in your artifact.
133
+
134
+ ---
135
+
136
+ ## When to Use Context7
137
+
138
+ | Phase | Agent | When Required |
139
+ |-------|-------|---------------|
140
+ | Phase 1 | Analyst | Competitive technology evaluation |
141
+ | Phase 3 | Architect | Documentation Freshness Audit (hard gate, ≥80% score required) |
142
+ | Phase 4 | Developer | Before writing external API integration code |
143
+ | Any | Researcher | Technology claim verification |
144
+ | Any | Any Agent | When making claims about technology capabilities, limitations, or APIs |
145
+
146
+ ---
147
+
148
+ ## Error Handling
149
+
150
+ ### Library Not Found
151
+
152
+ If `resolve-library-id` returns no results:
153
+ 1. Try alternative library names (e.g., "next" vs "nextjs" vs "next.js")
154
+ 2. Search for the parent organization (e.g., "vercel" for Next.js)
155
+ 3. Fall back to official documentation URL with manual verification
156
+ 4. Document in the artifact: "Context7 library not found. Falling back to: [URL]"
157
+
158
+ ### Rate Limiting
159
+
160
+ If requests are rate-limited:
161
+ 1. Wait and retry with exponential backoff
162
+ 2. Prioritize "Must Have" technologies for verification
163
+ 3. Document unverified technologies as requiring manual verification
164
+
165
+ ### Service Unavailable
166
+
167
+ If Context7 MCP is unavailable:
168
+ 1. Document all technologies as "Unverified — Context7 unavailable"
169
+ 2. Provide official documentation URLs for manual verification
170
+ 3. Flag in insights file for follow-up verification
171
+
172
+ ---
173
+
174
+ ## MCP Setup Instructions
175
+
176
+ ### Installation
177
+
178
+ Install Context7 MCP for your AI coding assistant:
179
+
180
+ ```bash
181
+ npx add-mcp https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
182
+ ```
183
+
184
+ Add `-y` to skip confirmation and install to all detected agents.
185
+
186
+ ### Get an API Key
187
+
188
+ For higher rate limits, get a free API key at: https://context7.com/dashboard
189
+
190
+ ### Client-Specific Setup
191
+
192
+ | Client | Configuration Location |
193
+ |--------|------------------------|
194
+ | VS Code Copilot | MCP settings in VS Code |
195
+ | Cursor | `Cursor Settings > MCP` or marketplace plugin |
196
+ | Claude Code | MCP configuration via add-mcp |
197
+ | Windsurf | MCP configuration |
198
+
199
+ ---
200
+
201
+ ## Best Practices
202
+
203
+ 1. **Always use the full MCP tool name** (`mcp_context7_query-docs`) in documentation to avoid ambiguity.
204
+ 2. **Include a descriptive query** — the query parameter helps Context7 return the most relevant documentation.
205
+ 3. **Verify versions** — confirm the version you're using matches the documentation fetched.
206
+ 4. **Cite your sources** — always add the `[Context7: lib@version]` marker.
207
+ 5. **Batch related queries** — if verifying multiple technologies, group related lookups by topic.
208
+ 6. **Document failures** — if Context7 cannot verify a technology, document the fallback source.
209
+
210
+ ---
211
+
212
+ ## Quick Reference Card
213
+
214
+ ```
215
+ ┌─────────────────────────────────────────────────────────────────┐
216
+ │ CONTEXT7 MCP QUICK REFERENCE │
217
+ ├─────────────────────────────────────────────────────────────────┤
218
+ │ RESOLVE LIBRARY ID │
219
+ │ Tool: mcp_context7_resolve-library-id │
220
+ │ Params: libraryName (required), query (required) │
221
+ │ Example: { "libraryName": "prisma", "query": "setup guide" } │
222
+ ├─────────────────────────────────────────────────────────────────┤
223
+ │ FETCH DOCUMENTATION │
224
+ │ Tool: mcp_context7_query-docs │
225
+ │ Params: libraryId (required), query (required) │
226
+ │ Example: { "libraryId": "/prisma/prisma", "query": "setup" } │
227
+ ├─────────────────────────────────────────────────────────────────┤
228
+ │ CITATION FORMAT │
229
+ │ [Context7: library@version] │
230
+ │ Example: [Context7: next.js@14] │
231
+ └─────────────────────────────────────────────────────────────────┘
232
+ ```
233
+
234
+ ---
235
+
236
+ ## Related Documentation
237
+
238
+ - [Context7 Official Docs](https://context7.com/docs)
239
+ - [Context7 Troubleshooting](https://context7.com/docs/resources/troubleshooting)
240
+ - [MCP Clients List](https://context7.com/docs/resources/all-clients)
241
+ - Jump Start: `.jumpstart/templates/documentation-audit.md`
242
+ - Jump Start: `.jumpstart/agents/researcher.md`
@@ -28,10 +28,16 @@ Enumerate every external library, framework, CLI tool, or service referenced in
28
28
 
29
29
  ## Audit Protocol
30
30
 
31
+ > **Reference:** See `.jumpstart/guides/context7-usage.md` for complete Context7 MCP calling instructions.
32
+
31
33
  For each technology in the registry:
32
34
 
33
- 1. **Resolve** the Context7 library ID using `resolve-library-id`
34
- 2. **Fetch** current documentation using `get-library-docs` with relevant topics (setup, configuration, API, breaking changes)
35
+ 1. **Resolve** the Context7 library ID using `mcp_context7_resolve-library-id`:
36
+ - `libraryName` (required): The technology name (e.g., "nextjs", "prisma")
37
+ - `query` (required): Your specific question (e.g., "setup and configuration")
38
+ 2. **Fetch** current documentation using `mcp_context7_query-docs`:
39
+ - `libraryId` (required): The resolved ID (e.g., `/vercel/next.js`)
40
+ - `query` (required): Topics relevant to your usage (setup, configuration, API, breaking changes)
35
41
  3. **Verify** that the version referenced in the Architecture Document matches the latest stable version (or document why an older version is chosen)
36
42
  4. **Record** a citation marker in the Architecture Document next to each technology reference
37
43
  5. **Flag** any breaking changes between the version in use and the latest version
package/CLAUDE.md CHANGED
@@ -1,52 +1,54 @@
1
- # Jump Start Framework Instructions
2
-
3
- This repository uses the Jump Start spec-driven agentic coding framework.
4
-
5
- ## Context7 MCP Mandate (HIGH PRIORITY)
6
-
7
- **CRITICAL RULE:** When referencing any external library, framework, CLI tool, or service — you MUST use Context7 MCP to fetch live, verified documentation. Never rely on training data for:
8
- - API signatures, method parameters, or return types
9
- - Configuration flags, options, or environment variables
10
- - Version compatibility, breaking changes, or migration guides
11
- - Setup instructions, installation steps, or prerequisites
12
- - Feature availability or deprecation status
13
-
14
- **How to use Context7:**
15
- 1. Resolve the library ID: Use `mcp_context7_resolve-library-id` with the library name
16
- 2. Fetch current docs: Use `mcp_context7_get-library-docs` with the resolved ID and relevant topic
17
- 3. Cite your source: Add `[Context7: library@version]` marker in your output
18
-
19
- **When is this required?**
20
- - Architect Phase 3: Documentation Freshness Audit before approval
21
- - Developer Phase 4: Before writing any external API integration code
22
- - Analyst Phase 1: When evaluating competitive technologies
23
- - Any agent: When making claims about what a technology can or cannot do
24
-
25
- ## Spec-First Power Inversion (Item 4)
26
-
27
- Specs are the source of truth. Code is derived. If there is a mismatch between a spec artifact and the codebase, update the spec first or regenerate the code. Never silently alter code to diverge from specs.
28
-
29
- ## Slash Command Routing
30
-
31
- | Command | Action |
32
- |---------|--------|
33
- | `/jumpstart.scout` | Check `project.type` is `brownfield`. Load `.jumpstart/agents/scout.md`. Follow Reconnaissance Protocol. Output to `specs/codebase-context.md`. |
34
- | `/jumpstart.challenge [idea]` | Load `.jumpstart/agents/challenger.md`. Follow the Elicitation Protocol. Output to `specs/challenger-brief.md`. |
35
- | `/jumpstart.analyze` | Verify Phase 0 approved. Load `.jumpstart/agents/analyst.md`. Output to `specs/product-brief.md`. |
36
- | `/jumpstart.plan` | Verify Phases 0-1 approved. Load `.jumpstart/agents/pm.md`. Output to `specs/prd.md`. |
37
- | `/jumpstart.architect` | Verify Phases 0-2 approved. Load `.jumpstart/agents/architect.md`. Output to `specs/architecture.md`, `specs/implementation-plan.md`, `specs/decisions/*.md`. |
38
- | `/jumpstart.build` | Verify Phases 0-3 approved. Load `.jumpstart/agents/developer.md`. Output code to `src/`, tests to `tests/`. |
39
- | `/jumpstart.party` | Load `.jumpstart/agents/facilitator.md`. Launch multi-agent roundtable discussion. Advisory only — no artifact writes. |
40
- | `/jumpstart.status` | Read config and all spec files. Report phase completion status. |
41
- | `/jumpstart.review` | Validate current artifacts against templates. Report gaps. |
42
-
43
- ## Rules
44
-
45
- 1. Phases are sequential. Check for Phase Gate Approval (all checkboxes checked, "Approved by" not "Pending").
46
- 2. Follow agent personas exactly. Each agent file has a complete step-by-step protocol.
47
- 3. Always ask for explicit human approval before phase transitions.
48
- 4. Use templates from `.jumpstart/templates/`.
49
- 5. Read `.jumpstart/config.yaml` at the start of every command.
50
- 6. Read `.jumpstart/roadmap.md` at activation. Roadmap principles are non-negotiable and supersede agent-specific instructions.
51
- 7. Read `.jumpstart/roadmap.md` for engineering articles governing code quality and architecture decisions.
52
- 8. Use Context7 MCP for ALL external documentation lookups. Never guess API details from training data.
1
+ # Jump Start Framework Instructions
2
+
3
+ This repository uses the Jump Start spec-driven agentic coding framework.
4
+
5
+ ## Context7 MCP Mandate (HIGH PRIORITY)
6
+
7
+ **CRITICAL RULE:** When referencing any external library, framework, CLI tool, or service — you MUST use Context7 MCP to fetch live, verified documentation. Never rely on training data for:
8
+ - API signatures, method parameters, or return types
9
+ - Configuration flags, options, or environment variables
10
+ - Version compatibility, breaking changes, or migration guides
11
+ - Setup instructions, installation steps, or prerequisites
12
+ - Feature availability or deprecation status
13
+
14
+ **How to use Context7:**
15
+ 1. Resolve the library ID: Use `mcp_context7_resolve-library-id` with `libraryName` and `query` parameters
16
+ 2. Fetch current docs: Use `mcp_context7_query-docs` with `libraryId` (e.g., `/vercel/next.js`) and `query` parameters
17
+ 3. Cite your source: Add `[Context7: library@version]` marker in your output
18
+
19
+ > **Full documentation:** `.jumpstart/guides/context7-usage.md`
20
+
21
+ **When is this required?**
22
+ - Architect Phase 3: Documentation Freshness Audit before approval
23
+ - Developer Phase 4: Before writing any external API integration code
24
+ - Analyst Phase 1: When evaluating competitive technologies
25
+ - Any agent: When making claims about what a technology can or cannot do
26
+
27
+ ## Spec-First Power Inversion (Item 4)
28
+
29
+ Specs are the source of truth. Code is derived. If there is a mismatch between a spec artifact and the codebase, update the spec first or regenerate the code. Never silently alter code to diverge from specs.
30
+
31
+ ## Slash Command Routing
32
+
33
+ | Command | Action |
34
+ |---------|--------|
35
+ | `/jumpstart.scout` | Check `project.type` is `brownfield`. Load `.jumpstart/agents/scout.md`. Follow Reconnaissance Protocol. Output to `specs/codebase-context.md`. |
36
+ | `/jumpstart.challenge [idea]` | Load `.jumpstart/agents/challenger.md`. Follow the Elicitation Protocol. Output to `specs/challenger-brief.md`. |
37
+ | `/jumpstart.analyze` | Verify Phase 0 approved. Load `.jumpstart/agents/analyst.md`. Output to `specs/product-brief.md`. |
38
+ | `/jumpstart.plan` | Verify Phases 0-1 approved. Load `.jumpstart/agents/pm.md`. Output to `specs/prd.md`. |
39
+ | `/jumpstart.architect` | Verify Phases 0-2 approved. Load `.jumpstart/agents/architect.md`. Output to `specs/architecture.md`, `specs/implementation-plan.md`, `specs/decisions/*.md`. |
40
+ | `/jumpstart.build` | Verify Phases 0-3 approved. Load `.jumpstart/agents/developer.md`. Output code to `src/`, tests to `tests/`. |
41
+ | `/jumpstart.party` | Load `.jumpstart/agents/facilitator.md`. Launch multi-agent roundtable discussion. Advisory only — no artifact writes. |
42
+ | `/jumpstart.status` | Read config and all spec files. Report phase completion status. |
43
+ | `/jumpstart.review` | Validate current artifacts against templates. Report gaps. |
44
+
45
+ ## Rules
46
+
47
+ 1. Phases are sequential. Check for Phase Gate Approval (all checkboxes checked, "Approved by" not "Pending").
48
+ 2. Follow agent personas exactly. Each agent file has a complete step-by-step protocol.
49
+ 3. Always ask for explicit human approval before phase transitions.
50
+ 4. Use templates from `.jumpstart/templates/`.
51
+ 5. Read `.jumpstart/config.yaml` at the start of every command.
52
+ 6. Read `.jumpstart/roadmap.md` at activation. Roadmap principles are non-negotiable and supersede agent-specific instructions.
53
+ 7. Read `.jumpstart/roadmap.md` for engineering articles governing code quality and architecture decisions.
54
+ 8. Use Context7 MCP for ALL external documentation lookups. Never guess API details from training data.