skills/authoring/SKILL.md
Use when adding or editing Markdown articles in a Livemark project — covers file placement under include globs, frontmatter fields, sidebar grouping, URL derivation, images/assets, and the patches mechanism for files that can't carry frontmatter.
npx skillsauth add datisthq/livemark livemark-authoringInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guidance for writing and maintaining Markdown content in a Livemark project.
Invoke when the user asks to:
README.md) that needs Livemark metadata without dirtying its upstream rendering.include glob(s) in livemark.config.ts. The default project layout is docs/**/*.md. Respect existing convention in the repo..md are supported by default. Drafts/partials can be co-located but excluded via the exclude glob (e.g. docs/**/_*.md).Every field is optional. Livemark derives defaults from the file itself.
---
title: Getting Started # default: first `# ` heading, else filename
label: Start # short variant used in sidebar/breadcrumbs
description: A one-line blurb. # used in <meta description> and OG
icon: rocket # lucide icon name
order: 1 # sidebar sort; negatives pin to end
group: Docs # sidebar section label
path: /getting-started/ # default: slugified filename + leading/trailing slashes
sidebar: true # false hides from nav but keeps URL reachable
toc: true # false suppresses right-hand TOC
image: ./cover.png # OG/social card; relative resolves against the file
author: Ada Lovelace # or [Ada Lovelace, Grace Hopper]
date: 2026-04-20 # ISO — drives blog section sort order
tags: [release, announcement] # blog-section tag pages /prefix/tags/<tag>/
---
# for the title when frontmatter title is omitted. Don't add a duplicate H1 in the body if the frontmatter already sets title.-1 last, -2 second-to-last). Leave the middle alone — only set order on items you want pinned.group string render under a labelled sidebar section. Mixing groups breaks visual grouping.path unless you need to override the default slug. Livemark derives path from the filename plus leading/trailing slashes.image, Markdown , and MDX <img src> resolve against the article file — keep assets co-located or under docs/images/.When a file already lives on disk (for example README.md that GitHub renders) and you don't want to pollute it with frontmatter, inject metadata via patches in livemark.config.ts:
patches: [
{
file: "README.md",
article: { title: "Overview", icon: "sparkles", order: 0 },
},
]
The file field is exact-match on the collection-relative path. content cannot be patched — zod rejects at config load.
For a blog section:
---
title: "Announcing v0.3"
date: 2026-04-20
author: Livemark Team
tags: [release, announcement]
image: ./images/v0-3.png
description: What's new in 0.3, in 400 words.
---
date is required for correct chronological sort. tags drive the /<prefix>/tags/<tag>/ pages.
After authoring, run:
pnpm docs:build — confirms the file prerenders without error..livemark/build/client/<path>/index.html) to confirm title and metadata land as intended.docs/authoring/frontmatter.md.website/models/article.ts.website/content-collections.ts.tools
Use when overriding Livemark's built-in UI or adding custom routes — drop same-named files under .livemark/{components,elements,styles} to shadow defaults, author .livemark/routes/*.tsx for new pages, or copy defaults with the `livemark escape` command.
documentation
Use when editing livemark.config.ts — site metadata, include/exclude globs, syntax themes, sections (article/blog/changelog), navigation links, and patches.
content-media
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
content-media
QQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。