From knowledge-docs
Author a Lark doc/wiki/sheet by filling a named template. Triggers "tạo doc theo template", "weekly report doc", "1-on-1 doc", "meeting notes template".
How this skill is triggered — by the user, by Claude, or both
Slash command
/knowledge-docs:doc-from-templateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce structured Lark docs/wiki/sheets without re-thinking the
Produce structured Lark docs/wiki/sheets without re-thinking the shape every time. Templates encode the WHAT; user provides the WHY.
If the user describes shape inline ("tạo doc gồm A B C"), use
lark-doc-author directly without this skill — no template needed.
All templates live in ./templates/ as <purpose>.md files using
Mustache-style placeholders ({{var}}, {{#list}}…{{/list}},
{{^var}}…{{/var}} for negation). The skill renders to markdown,
then lark-cli converts to DocxXML for v2 docs.
| Template | File | Output target |
|---|---|---|
weekly-report | templates/weekly-report.md | docx |
one-on-one | templates/one-on-one.md | docx |
meeting-notes | templates/meeting-notes.md | docx |
project-kickoff | templates/project-kickoff.md | docx |
postmortem | templates/postmortem.md | docx |
decision-log-row | templates/decision-log-row.md | sheet append |
wiki-runbook | templates/wiki-runbook.md | wiki node |
Each template's HTML comment header at the top documents required vars and (where relevant) the sheet schema.
User can also point at a template they've authored: --template ./path/to/my.md.
Verbs (the installed lark-* skills): docs +create,
wiki +node-create, sheets +append. Atomic shapes: connectors/LARK-RECIPES.md.
weekly-review uses.docs +create --api-version v2; wiki →
wiki +node-create; sheet → sheets +append.lark-doc-author subagent. Return URL + token.lark-contact first. No raw
open_ids in template output.{{...}}, <title>, raw HTML),
escape it.--api-version v2 for docs.Drop a file into ./templates/<name>.md. Use Mustache-style
placeholders. Document required vars in an HTML comment at the top:
<!--
template: my-template
target: docx (v2) | sheet append | wiki node
vars:
- foo: description
- bar: list of {a, b}
-->
# Title — {{foo}}
{{#bar}}
- {{a}} → {{b}}
{{/bar}}
The skill auto-discovers templates by file name. No registration needed. The comment header is stripped before rendering.
lark-doc (atomic) writes whatever string you give it. This skill
adds: opinionated shapes, variable validation, multi-target output
(doc vs wiki vs sheet), preview-confirm flow, and cross-linking.
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin knowledge-docsGuides test-driven development for Django applications using pytest-django, factory_boy, and Django REST Framework. Covers red-green-refactor workflow, conftest fixtures, and coverage reporting.