go
免费Use for Go changes in Neva: authoring, refactoring, debugging, or review.
中文简介正在准备中。当前显示原文说明。
Convert Neva programs to valid Mermaid flowchart diagrams. Use when asked to visualize Neva code as Mermaid.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Use this skill to convert any Neva source code into a Mermaid flowchart.
Read the Neva code to be converted.
Generate a Mermaid flowchart TB diagram using the following rules:
Layout: Always include this header at the top:
---
config:
layout: elk
---
flowchart TB
Ports:
:in / :out:
([":data"]), ([":res"]), ([":err"]), etc.data, res, err, sig, case[0], etc).Components:
id["name"].Literals:
zero@{ label: "0", shape: rect }dot@{ label: "'.'", shape: rect }Connections:
-- <port> --> labels for the wire’s port name.a:out -> b:in, label the edge with the output port name (out), unless Neva explicitly uses the input port name in the wiring (e.g., b:sig).x:res -> y → label edge as resx -> y:sig → label edge as sigx:case[0] -> y → label edge as case[0]If a port name is omitted in Neva, do not infer or guess it. Render an unlabeled edge:
x -> y → x --> yFan-out / Fan-in (IMPORTANT):
jX(( )) where jX is a unique ID.Fan-out: src -> [a, b, :out]
jX(( )).src -- <port> --> jXjX --> a, jX --> b, jX --> out_portFan-in: [a, b] -> dst:port
jX(( )).a --> jX and b --> jXjX -- <port> --> dstGrouping (&):
& to reduce clutter only when it does not hide fan-in/fan-out topology.[...]), prefer junction nodes over &.Do not look up other files in the repo or call web search; this text describes the conversion rules.
Ensure the output is ready to be pasted into the Mermaid playground.
pub def Tap<T>(data T) (res T, err error) {
pass1 Pass<T>
pass2 Pass<T>
lock Lock<T>
handler ITapHandler<T>
---
:data -> [lock:data, handler]
handler:res -> pass1
handler:err -> [pass2, :err]
[pass1, pass2] -> lock:sig
lock -> :res
}
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use for Go changes in Neva: authoring, refactoring, debugging, or review.
中文简介正在准备中。当前显示原文说明。
Use for Neva source or snippets: authoring, refactoring, debugging, or review.
中文简介正在准备中。当前显示原文说明。
Capture or triage small Neva repository and engineering-harness frictions without derailing feature work.
中文简介正在准备中。当前显示原文说明。
Create a Discord-ready Neva release announcement from a GitHub release payload. Use for official Neva Discord release posts.
中文简介正在准备中。当前显示原文说明。
Prepare a Neva GitHub release draft from merged PRs, previous release style, and local multi-platform artifacts. Use this for monthly release preparation in nevalang/neva.
中文简介正在准备中。当前显示原文说明。
Create a Telegram-ready Neva release announcement from a GitHub release payload. Use for official Neva Telegram release posts.
中文简介正在准备中。当前显示原文说明。