视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
docs-search【文档与办公】Library-documentation lookup methodology — API behavior, version-specific changes, idiomatic usage, or why production diverges from docs — independent of which library. Distills the generic navigation moves shared across libraries — classify the question before searching (changelog vs API reference vs idiom vs known-bug), check llms.txt before scrapi…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Methodology distillation of the generic moves an agent makes when reaching for a library's official documentation. Not a per-library skill — one skill plus a thin per-library record in the shared knowledge graph (/knowledge/libraries/), because 90% of the work is the same regardless of which library you're searching.
This is the navigation layer that sits next to library-reference-distillation. That skill is for authoring a full library-ref rule pack when you have time to extract idioms. This skill is for just looking something up when you don't — a lighter-weight, faster-to-author alternative whose unit of growth is a ~30-line topography record, not a full rule pack.
Use this skill when:
<library> docs?" or "did <library> change Y recently?"registry/ — read it before navigatingregistry/<library>.md so the next lookup is fasterThis skill is not for:
library-reference-distillation instead. Once a full library-ref skill exists for library X, the registry entry for X becomes redundant and should be cut.The four categories are orthogonal moves. Match the symptom to the move:
| Symptom | Reach for | First rule to read |
|---|---|---|
| Question is vague — "search the docs for X" | Choose Source | src-decision-tree |
| About to scrape HTML; haven't checked for AI-canonical format | Choose Source (llms.txt) | src-llms-txt-first |
| About to scan knowledge/libraries/ before reading the named entry | Choose Source (bounded read) | src-bounded-knowledge-read |
| Reading latest docs but user may be on older version | Match Version | ver-find-selector |
| Question is "did X change since I upgraded?" | Match Version (changelog) | ver-changelog-first |
| Docs match but production behavior doesn't | Fall Back | fall-known-issues |
| Question is "how should I structure this idiomatically?" | Fall Back (samples) | fall-samples-over-prose |
| Found the canonical entry points — about to move on | Capture for Reuse | capture-registry-record |
For category overviews and ordering rationale, see references/_sections.md.
| # | Category | Prefix | Move | Rules |
|---|---|---|---|---|
| 1 | Choose Source | src | Classify the question; check llms.txt; bounded read of knowledge | 3 |
| 2 | Match Version | ver | Pin to the user's version; consult changelog before reference | 2 |
| 3 | Fall Back | fall | Known issues when docs contradict reality; examples over prose for idioms | 2 |
| 4 | Capture for Reuse | capture | Record topography in registry/ so the next lookup is faster | 1 |
src-decision-tree — Classify the question (API behavior / changelog / idiom / known-bug / migration) before picking a section; "search the docs" is not a plansrc-llms-txt-first — Probe <docs-root>/llms.txt or /llms-full.txt before scraping HTML; AI-canonical format if it existssrc-bounded-knowledge-read — Filename is the index: read only knowledge/libraries/<slug>.md, never scan the dir; bounds per-invocation token cost regardless of knowledge-store sizever-find-selector — Find the version selector before reading any reference page; ask the user or read package.json to pinver-changelog-first — When the question contains "since I upgraded" or "did X change", read the changelog before the referencefall-known-issues — When docs match the user's code but reality doesn't, check GitHub issues, status page, and Discord/forum for known bugs before re-reading docsfall-samples-over-prose — For "how should I structure this?" go to the examples/ dir or samples repo first; idiomatic structure lives in code, not prosecapture-registry-record — After a successful lookup against a new library, write the docs: section of knowledge/libraries/<library>.md so future lookups skip the discovery phasePer-library topography records live in the repo-root shared knowledge graph at /knowledge/libraries/. The same files are written by code-distill — each skill owns one section (docs: for this skill, code: for code-distill) and never overwrites the other. See knowledge/README.md for the merged schema, wiki-link conventions, and the merge discipline.
The knowledge store is intentionally empty at v0.1.0. First entries are added when a real lookup demands one, not pre-emptively. If you find yourself adding a record for a library you have not actually queried, stop — wait for the real need.
Read discipline: when the user names a library, do exactly read knowledge/libraries/<slug>.md. Never scan knowledge/libraries/ to "see what's available" — the filename is the index, and lazy access is what keeps per-invocation token cost bounded regardless of knowledge-store size.
library-reference-distillation — Authoring playbook for full library-ref rule packs (the heavier sibling); when a full library-ref skill ships for library X, retire the registry entry for Xradical-simplification — The thinking layer above this skill; this skill itself is an instance of the "constrain → name the invariant" move applied to the question "how do I look this up?"init (and similar) — When the lookup is about your own codebase, that's a different problem; this skill is for external library docsThese rules are load-bearing, not decorative. Each names a wrong default an agent has when reaching for documentation: treating all questions as "search docs," ignoring llms.txt, reading the latest reference page while the user is on an older version, re-reading docs when reality contradicts them, preferring narrative over code, and redoing lookup work next time. If a rule restates something a capable model already does correctly when prompted, cut it. Coverage is proven by /dev-skill:eval on real doc-lookup prompts, not by rule count. The registry grows organically as real lookups demand entries.