docs-site
Guide Astro/Starlight docs-site authoring, review, navigation, sourceLinks, snippets, and generated API docs work.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- docs-site
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guide Astro/Starlight docs-site authoring, review, navigation, sourceLinks, snippets, and generated API docs work.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/authoring.md5.2 KB
- 参考文档references/overview.md3.7 KB
- 参考文档references/troubleshooting.md3.8 KB
- 参考文档references/workflows.md5.4 KB
- 脚本scripts/docs-site-check.sh1.5 KB
- 脚本scripts/generate-api-docs.sh2.5 KB
03 SKILL.md 正文
Docs site
Use this sub-skill for work on the Strands Agents Astro/Starlight documentation site, including page authoring, docs review, navigation, snippets, source links, and generated API reference workflows.
Start here
- Read overview.md to map site concerns, content sources, and routing boundaries.
- Read authoring.md before changing page content, snippets, tabs, frontmatter, or terminology.
- Read workflows.md for review, build, API regeneration, route, and migration flows.
- Read troubleshooting.md when validation or review fails.
- Use docs-site-check.sh for focused site checks and generate-api-docs.sh for generated API reference refreshes.
Use this sub-skill for
- MDX frontmatter, page structure, content collections, Starlight components, and navigation.
- Language tabs,
<Syntax>, snippet includes, TypeScript snippet scoping, relative links, and@apishorthand. sourceLinksmaintenance when SDK files move or docs pages are backed by implementation files.- Generated Python and TypeScript API docs regeneration; never hand-edit generated API output.
- Docs review, docs audit, docs planning, voice, terminology, and code-example verification.
- Site tests, snippet typechecks, route middleware, sidebar behavior, and build checks.
Route elsewhere
- Python SDK implementation details, Python API signatures, or Python tests: use python-sdk.
- TypeScript SDK implementation details, package exports, or Node/browser tests: use typescript-sdk.
- Docs-search MCP server runtime,
search_docs, orfetch_doc: use mcp-server.
Guardrails
- Do not hand-edit generated API docs; regenerate and review the resulting diff.
- Keep
sourceLinkscurrent in the same change when source files move or rename. - Use the canonical term for each SDK concept; do not vary wording for style.
- Verify code examples against current SDK source before handoff, and omit unverifiable code rather than guessing.
- Use
<Syntax>for one inline language-specific identifier and<Tabs>for multi-line or structurally different examples. - Keep MDX pages readable from search: clear page goal, coherent content type, and no unexplained internal process artifacts.
Fast path
- Classify the task as authoring, review/audit, API regeneration, navigation/route maintenance, sourceLink repair, or troubleshooting.
- Read the matching reference and choose the smallest check script mode that proves the affected surface.
- If source files moved, update docs
sourceLinksand verify API/source links before running broad site checks. - If snippets changed, run snippet typechecks and inspect rendered include boundaries.
- Record skipped site build, API generation, or live-doc checks explicitly when dependencies or network access are unavailable.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).