bigpowers 2.88.18 → 2.89.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/.gemini/extensions/bigpowers/gemini-extension.json +2 -2
- package/.pi/package.json +2 -2
- package/CHANGELOG.md +14 -0
- package/CLAUDE.md +1 -1
- package/CONVENTIONS.md +0 -1
- package/README.md +1 -1
- package/SKILL-INDEX.md +43 -44
- package/package.json +1 -1
- package/scripts/bp-churn-rank.sh +3 -2
- package/scripts/check-spec-version-gap.sh +2 -1
- package/scripts/generate-skill-index.sh +1 -1
- package/scripts/land-branch.sh +7 -3
- package/scripts/lib/__pycache__/link_utils.cpython-310.pyc +0 -0
- package/scripts/lib/__pycache__/srp_engine_links.cpython-310.pyc +0 -0
- package/scripts/lib/__pycache__/srp_engine_okf.cpython-310.pyc +0 -0
- package/scripts/lib/doc-fetch-cache.sh +1 -1
- package/scripts/lib/golden-suite-gates.sh +2 -0
- package/scripts/lib/parallel-review-worktrees.sh +3 -1
- package/scripts/lib/sync-post.sh +1 -1
- package/scripts/run-smoke.sh +3 -2
- package/scripts/test-pipefail-pipe-race.sh +68 -0
- package/scripts/validate-doctrine.sh +3 -3
- package/scripts/validate-skill-catalog.sh +1 -1
- package/skills-lock.json +0 -5
- package/.agents/skills/context7-mcp/SKILL.md +0 -55
- package/.cline/skills/context7-mcp/SKILL.md +0 -55
- package/.codebuddy/skills/context7-mcp/SKILL.md +0 -55
- package/.codex/skills/context7-mcp/SKILL.md +0 -55
- package/.continue/rules/context7-mcp.md +0 -0
- package/.copilot/skills/context7-mcp/SKILL.md +0 -55
- package/.cursor/rules/context7-mcp.mdc +0 -54
- package/.gemini/extensions/bigpowers/commands/prompts/context7-mcp.md +0 -54
- package/.gemini/extensions/bigpowers/skills/context7-mcp/SKILL.md +0 -56
- package/.hermes/skills/context7-mcp/SKILL.md +0 -55
- package/.kilocode/rules/context7-mcp.md +0 -55
- package/.mimocode/skills/context7-mcp/SKILL.md +0 -55
- package/.opencode/skills/context7-mcp/SKILL.md +0 -55
- package/.pi/prompts/context7-mcp.md +0 -54
- package/.pi/skills/context7-mcp/SKILL.md +0 -55
- package/.qwen/skills/context7-mcp/SKILL.md +0 -55
- package/.trae/skills/context7-mcp/SKILL.md +0 -55
- package/.windsurf/rules/context7-mcp.md +0 -55
- package/.zcode/skills/context7-mcp/SKILL.md +0 -55
- package/skills/context7-mcp/SKILL.md +0 -57
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: context7-mcp
|
|
3
|
-
model: haiku
|
|
4
|
-
description: "Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc."
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Context7 MCP
|
|
8
|
-
|
|
9
|
-
> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota/rate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.
|
|
10
|
-
>
|
|
11
|
-
> **HARD GATE** — Before HTTP fetch, check `bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
|
|
12
|
-
|
|
13
|
-
## When to Use
|
|
14
|
-
|
|
15
|
-
- Setup/configuration questions ("How do I configure Next.js middleware?")
|
|
16
|
-
- Code involving libraries ("Write a Prisma query for…")
|
|
17
|
-
- API references ("What are the Supabase auth methods?")
|
|
18
|
-
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
|
|
19
|
-
|
|
20
|
-
## Bounded Retry (max 3x)
|
|
21
|
-
|
|
22
|
-
| Attempt | Action |
|
|
23
|
-
|---------|--------|
|
|
24
|
-
| 1 | `resolve-library-id` → pick best match |
|
|
25
|
-
| 2 | `query-docs` with selected `libraryId` |
|
|
26
|
-
| 3 | Retry `query-docs` once with refined query (narrower scope) |
|
|
27
|
-
|
|
28
|
-
After 3 failures, stop and print:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
CONTEXT7_UNAVAILABLE
|
|
32
|
-
Reason: <quota|rate-limit|no-match|timeout>
|
|
33
|
-
Action: Ask user to retry later, paste official docs URL, or run `bts docs <lib>`.
|
|
34
|
-
Do NOT substitute training-data answers without labeling them UNVERIFIED.
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Fetch Cache (ETag-revalidated)
|
|
38
|
-
|
|
39
|
-
1. **Cache key:** `"<libraryId>:<normalized-query>"` (lowercase, trimmed).
|
|
40
|
-
2. **Read:** `bash scripts/lib/doc-fetch-cache.sh get "<key>"` — exit 0 → use cached body.
|
|
41
|
-
3. **Miss / stale:** call `query-docs`; store via `doc-fetch-cache.sh put`.
|
|
42
|
-
4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.
|
|
43
|
-
|
|
44
|
-
`bts docs <lib>` shares the same cache helper when invoked from this skill.
|
|
45
|
-
|
|
46
|
-
## Process
|
|
47
|
-
|
|
48
|
-
1. `resolve-library-id` with `libraryName` + full user `query`.
|
|
49
|
-
2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.
|
|
50
|
-
3. `query-docs` with `libraryId` + specific question (one concept per call).
|
|
51
|
-
4. Answer using fetched docs; cite library/version when relevant.
|
|
52
|
-
|
|
53
|
-
## Verify
|
|
54
|
-
|
|
55
|
-
→ verify: `test -f scripts/lib/doc-fetch-cache.sh`
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: context7-mcp
|
|
3
|
-
model: haiku
|
|
4
|
-
description: "Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc."
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Context7 MCP
|
|
8
|
-
|
|
9
|
-
> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota/rate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.
|
|
10
|
-
>
|
|
11
|
-
> **HARD GATE** — Before HTTP fetch, check `bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
|
|
12
|
-
|
|
13
|
-
## When to Use
|
|
14
|
-
|
|
15
|
-
- Setup/configuration questions ("How do I configure Next.js middleware?")
|
|
16
|
-
- Code involving libraries ("Write a Prisma query for…")
|
|
17
|
-
- API references ("What are the Supabase auth methods?")
|
|
18
|
-
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
|
|
19
|
-
|
|
20
|
-
## Bounded Retry (max 3x)
|
|
21
|
-
|
|
22
|
-
| Attempt | Action |
|
|
23
|
-
|---------|--------|
|
|
24
|
-
| 1 | `resolve-library-id` → pick best match |
|
|
25
|
-
| 2 | `query-docs` with selected `libraryId` |
|
|
26
|
-
| 3 | Retry `query-docs` once with refined query (narrower scope) |
|
|
27
|
-
|
|
28
|
-
After 3 failures, stop and print:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
CONTEXT7_UNAVAILABLE
|
|
32
|
-
Reason: <quota|rate-limit|no-match|timeout>
|
|
33
|
-
Action: Ask user to retry later, paste official docs URL, or run `bts docs <lib>`.
|
|
34
|
-
Do NOT substitute training-data answers without labeling them UNVERIFIED.
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Fetch Cache (ETag-revalidated)
|
|
38
|
-
|
|
39
|
-
1. **Cache key:** `"<libraryId>:<normalized-query>"` (lowercase, trimmed).
|
|
40
|
-
2. **Read:** `bash scripts/lib/doc-fetch-cache.sh get "<key>"` — exit 0 → use cached body.
|
|
41
|
-
3. **Miss / stale:** call `query-docs`; store via `doc-fetch-cache.sh put`.
|
|
42
|
-
4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.
|
|
43
|
-
|
|
44
|
-
`bts docs <lib>` shares the same cache helper when invoked from this skill.
|
|
45
|
-
|
|
46
|
-
## Process
|
|
47
|
-
|
|
48
|
-
1. `resolve-library-id` with `libraryName` + full user `query`.
|
|
49
|
-
2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.
|
|
50
|
-
3. `query-docs` with `libraryId` + specific question (one concept per call).
|
|
51
|
-
4. Answer using fetched docs; cite library/version when relevant.
|
|
52
|
-
|
|
53
|
-
## Verify
|
|
54
|
-
|
|
55
|
-
→ verify: `test -f scripts/lib/doc-fetch-cache.sh`
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: context7-mcp
|
|
3
|
-
model: haiku
|
|
4
|
-
description: "Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc."
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Context7 MCP
|
|
8
|
-
|
|
9
|
-
> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota/rate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.
|
|
10
|
-
>
|
|
11
|
-
> **HARD GATE** — Before HTTP fetch, check `bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
|
|
12
|
-
|
|
13
|
-
## When to Use
|
|
14
|
-
|
|
15
|
-
- Setup/configuration questions ("How do I configure Next.js middleware?")
|
|
16
|
-
- Code involving libraries ("Write a Prisma query for…")
|
|
17
|
-
- API references ("What are the Supabase auth methods?")
|
|
18
|
-
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
|
|
19
|
-
|
|
20
|
-
## Bounded Retry (max 3x)
|
|
21
|
-
|
|
22
|
-
| Attempt | Action |
|
|
23
|
-
|---------|--------|
|
|
24
|
-
| 1 | `resolve-library-id` → pick best match |
|
|
25
|
-
| 2 | `query-docs` with selected `libraryId` |
|
|
26
|
-
| 3 | Retry `query-docs` once with refined query (narrower scope) |
|
|
27
|
-
|
|
28
|
-
After 3 failures, stop and print:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
CONTEXT7_UNAVAILABLE
|
|
32
|
-
Reason: <quota|rate-limit|no-match|timeout>
|
|
33
|
-
Action: Ask user to retry later, paste official docs URL, or run `bts docs <lib>`.
|
|
34
|
-
Do NOT substitute training-data answers without labeling them UNVERIFIED.
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Fetch Cache (ETag-revalidated)
|
|
38
|
-
|
|
39
|
-
1. **Cache key:** `"<libraryId>:<normalized-query>"` (lowercase, trimmed).
|
|
40
|
-
2. **Read:** `bash scripts/lib/doc-fetch-cache.sh get "<key>"` — exit 0 → use cached body.
|
|
41
|
-
3. **Miss / stale:** call `query-docs`; store via `doc-fetch-cache.sh put`.
|
|
42
|
-
4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.
|
|
43
|
-
|
|
44
|
-
`bts docs <lib>` shares the same cache helper when invoked from this skill.
|
|
45
|
-
|
|
46
|
-
## Process
|
|
47
|
-
|
|
48
|
-
1. `resolve-library-id` with `libraryName` + full user `query`.
|
|
49
|
-
2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.
|
|
50
|
-
3. `query-docs` with `libraryId` + specific question (one concept per call).
|
|
51
|
-
4. Answer using fetched docs; cite library/version when relevant.
|
|
52
|
-
|
|
53
|
-
## Verify
|
|
54
|
-
|
|
55
|
-
→ verify: `test -f scripts/lib/doc-fetch-cache.sh`
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: context7-mcp
|
|
3
|
-
model: haiku
|
|
4
|
-
description: "Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc."
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Context7 MCP
|
|
8
|
-
|
|
9
|
-
> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota/rate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.
|
|
10
|
-
>
|
|
11
|
-
> **HARD GATE** — Before HTTP fetch, check `bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
|
|
12
|
-
|
|
13
|
-
## When to Use
|
|
14
|
-
|
|
15
|
-
- Setup/configuration questions ("How do I configure Next.js middleware?")
|
|
16
|
-
- Code involving libraries ("Write a Prisma query for…")
|
|
17
|
-
- API references ("What are the Supabase auth methods?")
|
|
18
|
-
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
|
|
19
|
-
|
|
20
|
-
## Bounded Retry (max 3x)
|
|
21
|
-
|
|
22
|
-
| Attempt | Action |
|
|
23
|
-
|---------|--------|
|
|
24
|
-
| 1 | `resolve-library-id` → pick best match |
|
|
25
|
-
| 2 | `query-docs` with selected `libraryId` |
|
|
26
|
-
| 3 | Retry `query-docs` once with refined query (narrower scope) |
|
|
27
|
-
|
|
28
|
-
After 3 failures, stop and print:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
CONTEXT7_UNAVAILABLE
|
|
32
|
-
Reason: <quota|rate-limit|no-match|timeout>
|
|
33
|
-
Action: Ask user to retry later, paste official docs URL, or run `bts docs <lib>`.
|
|
34
|
-
Do NOT substitute training-data answers without labeling them UNVERIFIED.
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Fetch Cache (ETag-revalidated)
|
|
38
|
-
|
|
39
|
-
1. **Cache key:** `"<libraryId>:<normalized-query>"` (lowercase, trimmed).
|
|
40
|
-
2. **Read:** `bash scripts/lib/doc-fetch-cache.sh get "<key>"` — exit 0 → use cached body.
|
|
41
|
-
3. **Miss / stale:** call `query-docs`; store via `doc-fetch-cache.sh put`.
|
|
42
|
-
4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.
|
|
43
|
-
|
|
44
|
-
`bts docs <lib>` shares the same cache helper when invoked from this skill.
|
|
45
|
-
|
|
46
|
-
## Process
|
|
47
|
-
|
|
48
|
-
1. `resolve-library-id` with `libraryName` + full user `query`.
|
|
49
|
-
2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.
|
|
50
|
-
3. `query-docs` with `libraryId` + specific question (one concept per call).
|
|
51
|
-
4. Answer using fetched docs; cite library/version when relevant.
|
|
52
|
-
|
|
53
|
-
## Verify
|
|
54
|
-
|
|
55
|
-
→ verify: `test -f scripts/lib/doc-fetch-cache.sh`
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: context7-mcp
|
|
3
|
-
<!-- story: e45s19 e45s20 -->
|
|
4
|
-
model: haiku
|
|
5
|
-
effort: light
|
|
6
|
-
description: Fetch current library docs via Context7 MCP instead of training data. Use when user asks about frameworks, APIs, setup, or code examples for React, Next.js, Prisma, etc.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Context7 MCP
|
|
10
|
-
|
|
11
|
-
> **HARD GATE** — Max **3** Context7 tool calls per user question (`resolve-library-id` + `query-docs` count toward the cap). On quota/rate-limit errors, emit an explicit **CONTEXT7_UNAVAILABLE** block — do NOT silently answer from training data.
|
|
12
|
-
>
|
|
13
|
-
> **HARD GATE** — Before HTTP fetch, check `bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>"`. Cache hit within TTL → use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
|
|
14
|
-
|
|
15
|
-
## When to Use
|
|
16
|
-
|
|
17
|
-
- Setup/configuration questions ("How do I configure Next.js middleware?")
|
|
18
|
-
- Code involving libraries ("Write a Prisma query for…")
|
|
19
|
-
- API references ("What are the Supabase auth methods?")
|
|
20
|
-
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
|
|
21
|
-
|
|
22
|
-
## Bounded Retry (max 3x)
|
|
23
|
-
|
|
24
|
-
| Attempt | Action |
|
|
25
|
-
|---------|--------|
|
|
26
|
-
| 1 | `resolve-library-id` → pick best match |
|
|
27
|
-
| 2 | `query-docs` with selected `libraryId` |
|
|
28
|
-
| 3 | Retry `query-docs` once with refined query (narrower scope) |
|
|
29
|
-
|
|
30
|
-
After 3 failures, stop and print:
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
CONTEXT7_UNAVAILABLE
|
|
34
|
-
Reason: <quota|rate-limit|no-match|timeout>
|
|
35
|
-
Action: Ask user to retry later, paste official docs URL, or run `bts docs <lib>`.
|
|
36
|
-
Do NOT substitute training-data answers without labeling them UNVERIFIED.
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Fetch Cache (ETag-revalidated)
|
|
40
|
-
|
|
41
|
-
1. **Cache key:** `"<libraryId>:<normalized-query>"` (lowercase, trimmed).
|
|
42
|
-
2. **Read:** `bash scripts/lib/doc-fetch-cache.sh get "<key>"` — exit 0 → use cached body.
|
|
43
|
-
3. **Miss / stale:** call `query-docs`; store via `doc-fetch-cache.sh put`.
|
|
44
|
-
4. **TTL:** 300s default (`DOC_CACHE_TTL`). Stale entries refresh on next fetch; honor `ETag` when MCP returns it.
|
|
45
|
-
|
|
46
|
-
`bts docs <lib>` shares the same cache helper when invoked from this skill.
|
|
47
|
-
|
|
48
|
-
## Process
|
|
49
|
-
|
|
50
|
-
1. `resolve-library-id` with `libraryName` + full user `query`.
|
|
51
|
-
2. Select match: name similarity, reputation, benchmark score; prefer version-specific IDs when user names a version.
|
|
52
|
-
3. `query-docs` with `libraryId` + specific question (one concept per call).
|
|
53
|
-
4. Answer using fetched docs; cite library/version when relevant.
|
|
54
|
-
|
|
55
|
-
## Verify
|
|
56
|
-
|
|
57
|
-
→ verify: `test -f scripts/lib/doc-fetch-cache.sh`
|