workflow
Render a workflow diagram from a node-and-arrows DSL — labelled boxes with icons and optional badges, auto-arranged in columns. Use for pipelines, data flows, sign-off chains, ETL diagrams.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- workflow
- description
- Render a workflow diagram from a node-and-arrows DSL — labelled boxes with icons and optional badges, auto-arranged in columns. Use for pipelines, data flows, sign-off chains, ETL diagrams.
03 SKILL.md 正文
Workflow
A higher-level diagram with named nodes (each carrying a title, icon, and optional badge) and directional connections.
Syntax
```workflow
nodeId: Title | icon-name | badge-count
nodeId.description: Long description revealed when the node is clicked
other: Other node | gear
nodeId --> other
```
Node syntax
nodeId: Title | icon-name | badge-count
nodeId— unique id used in connections.Title— visible label.icon-name— UIcon name (noicon-prefix).badge-count— optional number shown as a small badge.
Add an optional description line for the click-to-expand details:
nodeId.description: A longer multi-sentence description.
Connections
fromId --> toId
fromId --> midId --> endId
Example
```workflow
dataset: Dataset | book-alt | 2
pipeline: Pipeline | code-branch
function: Function | diagram-nested
warehouse: Warehouse | database
dataset.description: Raw rows from upstream sources.
pipeline.description: Normalises, validates, and enriches each batch.
dataset --> pipeline
pipeline --> function
pipeline --> warehouse
```
Tips
- Keep node titles to 1-3 words.
- Use icons from the UIcons set — same names as the
iconshortcode but without theicon-prefix. - For very free-form relationship maps, prefer
force-graph. For sequence/class/ER, prefermermaid.
04 同仓库更多 Skills
youtube
Embed a YouTube video by pasting its URL on its own line. Neko auto-detects watch/youtu.be/embed forms and honours timestamp, autoplay, loop, and mute parameters.
video
Author a video as a single Markdown file (`video:` front matter) — scenes separated by horizontal rules, every block animating in on its own, video components (lockup, swap, typewriter, scramble, counter, stats, chart, code, terminal, browser/window/phone, cursor, lower-third, captions, quote, steps, checklist, grid/card, cta, logo, media), scene transitions and camera moves, and a synthesized voice-over (`--- {narration}` parts, `narration:` voice, `neko voiceover`) — preview it in the browser and render it to MP4 with `neko render` (Playwright + ffmpeg). Also covers the `[!video]` component that embeds the rendered file in a page. Use when asked for a video, an animated explainer, a product or release teaser, a changelog video, a motion graphic, a narrated walkthrough, or an MP4 from docs content.
update-documentation
Workflow for updating Neko documentation — base every page on the real source code, never invent APIs, warn loudly when the source isn't available, and check that the page (and any changed `tesserae` sample) renders correctly with Playwright / snapframe / a visual check. Use whenever you add or edit docs that describe code, APIs, components, or live samples.
tesserae
Render a live Tesserae C# UI block — Neko compiles and executes the C# at build time and shows both the code and a working preview side-by-side. Use only when the project documents Tesserae or runs live C# samples.
table
Render a Markdown table with alignment, compact mode, and no-wrap option. Use for any tabular comparison, reference matrix, option list.
tab
Render a tabbed panel where only one tab is visible at a time. Use for "same operation, multiple languages/platforms/tools" content — JS/Python/C#, npm/yarn/pnpm, macOS/Windows/Linux, etc.