跳到正文
FunCoding

lathe-tag

Pick or backfill the search tags on a stored Lathe tutorial, in session. Use when the user invokes /lathe-tag with a slug like "/lathe-tag digital-synth-zig" to choose good tags for the `lathe serve` search and tag filters, or to backfill tags on a tutorial that has none.

Star
1,723
分类
其他
许可证
MIT
最近提交
2026年11月27日

internal/skills/data/lathe-tag/SKILL.md

在 GitHub 上查看

Lathe — Tag a Tutorial

Choose the tags that make a stored tutorial findable in lathe serve's search and tag filters. Triggered by /lathe-tag <slug>.

Lathe MCP tools. If your session has the lathe_tag tool (lathe serve provides Lathe's MCP tools when it hosts you as its agent), persist tags with it — set, add and remove lists, same meaning as the flags — instead of running lathe tag. Without it, run the CLI as written below.

Protocol

  1. Read the tutorial at ~/.lathe/tutorials/<slug>/ to understand what it actually teaches.

  2. Pick 2–5 lowercase, reusable tags. Same vocabulary guidance as the lathe skill's tag step: cover, where they apply —

    • the language/runtime — zig, rust, go;
    • the domain — audio, compilers, databases;
    • the core technique — parsing, dsp, concurrency.

    Prefer short, reusable tags that will group naturally with other tutorials over hyper-specific one-offs. Don't pre-lowercase or de-dupe defensively — store.NormalizeTags is the one place that canonicalizes (trim, lowercase, de-dupe), so just pass sensible tags and let it normalize.

  3. Persist them. To set the whole tag list (the usual case — choosing or replacing tags):

    lathe tag <slug> --set zig --set audio --set dsp
    

    For incremental edits to an existing set, use --add / --remove instead:

    lathe tag <slug> --add embedded
    lathe tag <slug> --remove misc
    

    --set replaces the entire list; --add/--remove edit it in place. All three are repeatable and accept comma-separated values.

  4. Report the resulting tag set to the user (the command prints it).

Boundaries

  • Only touches tags, and only via lathe tag (or the lathe_tag MCP tool). Never edit metadata.json directly.
  • No generation, verification, or extension — just tags.

相似的 Skill

claude-handoff

MAmattpocock/skills337k近 7 天新增 4,978 个 star

software-factory

MAmattpocock/skills337k近 7 天新增 4,978 个 star

agent-payment-x402

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

agent-self-evaluation

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

bengali-nlp

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

ponytail-gain

DIDietrichGebert/ponytail203k近 7 天新增 4,904 个 star