diff --git a/skills/deep-dive/SKILL.md b/skills/deep-dive/SKILL.md index 65fc623..f6f3ad1 100644 --- a/skills/deep-dive/SKILL.md +++ b/skills/deep-dive/SKILL.md @@ -59,9 +59,8 @@ alternatives. A deep dive that optimizes the wrong approach is worse than useles **What this looks like in practice:** -- User says "manage lockfiles in my Bun monorepo" -> First ask: is Bun actually the best - monorepo tool for your situation? Compare Bun vs pnpm vs yarn workspaces. Pick the winner - based on the user's actual constraints (team size, ecosystem needs, build speed). THEN +- User says "add caching to my API with Redis" -> First ask: is Redis the right cache for + this load and deployment target? Pick the winner from the user's actual constraints, THEN dive into how to set it up correctly. - User says "secrets management with .env files" -> First ask: what's the right secrets @@ -122,9 +121,9 @@ Detect depth from the user's phrasing, or default to **Standard**. | Level | Trigger Phrases | Scope | |-------------|---------------------------------------------------|--------------------------------------------------------| -| **Quick** | "quick take", "80/20", "high-level", "tl;dr" | ONE clear recommendation with 2-3 supporting reasons. ~400-500 words. No tables, no sub-sections, no action plan — just the answer and why. | -| **Standard** | (default) "deep dive", "break down", "how should" | 5-8 structured questions answered. Full adaptive sections. Aim for ~2000 words (1500-2500 range). | -| **Exhaustive** | "exhaustive", "comprehensive", "leave nothing out", "full audit" | Every applicable section, edge cases, exception handling, team policy language, example commands. Aim for ~3500 words (3000+ minimum). | +| **Quick** | "quick take", "80/20", "high-level", "tl;dr" | ONE clear recommendation with 2-3 supporting reasons. No tables, no sub-sections, no action plan — just the answer and why. | +| **Standard** | (default) "deep dive", "break down", "how should" | 5-8 structured questions answered. Full adaptive sections. | +| **Exhaustive** | "exhaustive", "comprehensive", "leave nothing out", "full audit" | Every applicable section, edge cases, exception handling, team policy language, example commands. | ### Quick depth is fundamentally different @@ -195,8 +194,8 @@ next step. See the Quick depth section above. 6. **Make it actionable.** Every section should leave the user knowing what to DO, not just what to think. Include commands, config snippets, and checklists where applicable. -7. **Respect the depth level.** Quick means ~400-500 words, no structure. Standard means - ~2000 words with full structure. Exhaustive means ~3500 words with every section. +7. **Respect the depth level.** Quick is a decision with no structure. Standard uses the + full backbone. Exhaustive covers every section. Don't pad Quick or shortchange Exhaustive. --- diff --git a/skills/diataxis-docs-site/SKILL.md b/skills/diataxis-docs-site/SKILL.md index 9b772a5..a406a65 100644 --- a/skills/diataxis-docs-site/SKILL.md +++ b/skills/diataxis-docs-site/SKILL.md @@ -31,7 +31,7 @@ Ask only when an unanswered choice changes architecture, hosting cost, access, o Build an evidence ledger before restructuring content: 1. Read repository and lifecycle instructions. -2. Inspect the current default-branch code, configuration, tests, CI, releases, issues, and deployed state. Prefer a code knowledge graph when available. +2. Inspect the current default-branch code, configuration, tests, CI, releases, issues, and deployed state. Use `Agent(subagent_type="code-scout")` to map the code before reading files. 3. Inventory every existing documentation page and its inbound links. 4. Mark each proposed claim `verified`, `planned`, `deprecated`, or `unknown` with a source. 5. Treat an existing Wiki as a useful input, not proof that its claims remain current. diff --git a/skills/find-docs/SKILL.md b/skills/find-docs/SKILL.md index fd5c435..3cfc664 100644 --- a/skills/find-docs/SKILL.md +++ b/skills/find-docs/SKILL.md @@ -13,7 +13,7 @@ Retrieve current documentation and code examples for any library using the globa Make sure the CLI is up to date before running commands: ```bash -npm install -g ctx7@latest +bun add -g ctx7@latest ``` ## Workflow @@ -28,9 +28,9 @@ ctx7 library ctx7 docs ``` -You MUST call `ctx7 library` first to obtain a valid library ID UNLESS the user explicitly provides a library ID in the format `/org/project` or `/org/project/version`. +Run `ctx7 library` first to get a library ID, unless the user gave one as `/org/project` or `/org/project/version`. `ctx7 docs` fails without a valid ID. -IMPORTANT: Do not run these commands more than 3 times per question. If you cannot find what you need after 3 attempts, use the best result you have. +If three lookups do not find it, use the best result and say what was missing. Run Context7 CLI requests outside Codex's default sandbox. If a Context7 CLI command fails with DNS or network errors such as ENOTFOUND, host resolution failures, or fetch failed, rerun it outside the sandbox instead of retrying inside the sandbox. @@ -69,7 +69,7 @@ Each result includes: - Benchmark score (higher is better, 100 is the maximum) 3. If multiple good matches exist, acknowledge this but proceed with the most relevant one 4. If no good matches exist, clearly state this and suggest query refinements -5. For ambiguous queries, request clarification before proceeding with a best-guess match +5. For an ambiguous query, pick the likeliest match, name it, and proceed ### Version-specific IDs