Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Nested lingtai-dev-guide reference for turning one-off experience into durable skills: when to write a skill vs leave it as notes, the router-vs-nested- reference pattern, distilling experience (归一) and session journals into triggered/executable SKILL.md files, de-privatizing and parameterizing local paths and human-specific details, a lightweight pre-publish benchmark/checklist, grooming shared-library candidates, and PR-ready skill cleanup.
.claude/skills/lingtai-ai-dev-guide-skill-stewardship/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 75% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 46% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 150% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 52% | 0% |
Nested lingtai-dev-guide reference. Read this after the top-level router sends you here when deciding whether to write a skill, distilling experience into one, or cleaning a skill up so it can ship in a PR.
This consolidates the skill-distillation meta-method (归一), skill audit/triage, the experience-to-skill side of session-journal handoff, the skill-benchmark checklist, and shared-library grooming. It governs LingTai's skill hygiene; for generic authoring mechanics (frontmatter spec, trigger syntax, file layout) cross-link to skills-manual rather than duplicating it here.
A skill turns a repeated experience into something triggered, executable, verifiable, and maintainable. Write one when the technique would otherwise be re-derived ad hoc across sessions or agents — and only after it is de-privatized and lightly benchmarked. Skills shipping in this repo's preset tree must be parameterized: no private paths, no human-specific details, no secrets.
Write one when the technique was not intuitively obvious and you would reference it again; when multiple agents/sessions keep re-implementing the same workflow with divergent quality (convergent discovery is the strongest signal); or when the pattern is broadly reusable rather than a one-off.
Do not write a skill for one-off solutions or single-incident narratives; for standard practices already documented elsewhere (link instead); for project-specific conventions (those belong in CLAUDE.md/repo docs); or for mechanical constraints a test/regex could enforce (automate, don't document).
If it is real but not yet skill-worthy, leave it as a session-journal entry or a shared-library candidate (§5) until the pattern repeats.
LingTai utility skills use progressive disclosure: a short router SKILL.md at the root plus focused nested references under reference/<topic>/SKILL.md.
Read/context limits are a design signal, not a global hard-cap to keep open forever. Do not encode an old tool threshold as a blanket character limit, and do not paste dense material into the root just because a reader might need it later. The root carries only the progressive-disclosure link; the related/reference file carries the detail and loads on demand. For current mechanics (frontmatter, layout, validator, limit-aware structure), load skills-manual.
Detailed procedures live in the nested files.
standalone top-level skill. Begin each nested file by identifying itself, e.g. "Nested lingtai-dev-guide reference."
table in the same commit, plus any test asserting the nested set (see tui/internal/tui/skill_files_test.go).
Prefer adding a nested reference to an existing router over creating a new top-level skill when the topic drills down into an existing domain.
The loop that turns scattered experience (chats, reports, code, daemon logs, knowledge entries, session journals) into a maintainable SKILL.md:
the description "Use when…" triggers, in third person.
example beats five mediocre ones; drop session-specific storytelling.
claimed result; fix or remove anything you cannot verify.
file) so a future edit knows what to check.
Session journals feed steps 1–2: an entry recording a reusable gotcha, decision, or procedure is raw material for a skill. Promote it only when the pattern recurs; until then it stays a journal/handoff note. (For the journal format, defer to the kernel knowledge/psyche manuals — this reference only covers using journals as skill seeds.)
Anything shipped in the preset skill tree (or proposed for the shared library) must be scrubbed. This list is the canonical de-privatization rule for the dev guide; other references point here.
/Users/<name>/... → <your-lingtai-checkout> or ~/.lingtai-tui/....<REDACTED> or ${ENV_VAR} references.Repo-relative paths and generic command examples are fine; only private, machine-, or person-specific details must go.
A quick pre-flight before a skill ships — a checklist, not a framework:
name (letters/numbers/hyphens), adescription that starts with "Use when…" and lists triggers only (no workflow summary), and for LingTai-maintained skills a last_changed_at ISO 8601 timestamp. For metadata-only backfills, initialize it from git log -1 --format=%cI -- path/to/SKILL.md; for substantive edits, update it in the same commit.
related references. Root routers contain links, not bulk.
(this practice caught real API breakage).
Not every reusable experience belongs in this repo's preset tree:
on LingTai itself.
LingTai-dev-specific; groom it (de-private, benchmark) and propose it for the shared library rather than the preset tree.
or privacy-contaminated; keep it in the project, do not promote it.
When in doubt, prefer the smallest, most local home that still makes the skill discoverable; promote later when convergent reuse is demonstrated.
Bundle skill changes into a reviewable PR with the router catalog/routing-table edits in the same commit as the new/changed nested reference; updated tests (tui/internal/tui/skill_files_test.go for nested-reference assertions) and a passing focused run; and a self-contained HTML explainer (see reference/pr-review-deliverables/SKILL.md).
skills-manual — generic skill authoring: frontmatter spec, trigger syntax,file layout, testing skills, limit-aware router/reference structure. Defer to it for mechanics; this reference covers LingTai-specific stewardship.
reference/pr-review-deliverables/SKILL.md — review gates and the HTMLexplainer for a skill-changing PR.
reference/contributing/SKILL.md — issue → worktree → PR → merge loop and thesame-commit catalog/router/test rule.
Other measured skills in the registry, with their headline benchmark lift.