PCBFreeNewv1.0.0
丝印艺术字与流程图布局
5×7 点阵 ASCII 艺术字(多风格/阴影/挤出)与泳道流程图正交布局(A4 适配、SVG 预览);附嘉立创编辑器丝印/文档写入流程。
Installs: 0Rating: –Updated:
Claude CodeCursorCodexGemini CLI+1
Badges only claim the demo-run passed on that host; cross-host installation is handled by the adapter layer.
Preview gallery
Render "PSK" as shadowed ASCII art and lay out a three-swimlane build flowchart as A4 SVG.
Content matches the files inside the package; extracted by the publish pipeline.
LCEDA 文档工具包
离线可执行:ASCII 艺术字渲染 + 流程图布局/SVG。编辑器写入(丝印字符串、 图元创建)见 references/procedures.md。
运行
node scripts/demo.mjs --out-dir <dir> [--input <json>]
stdout 即 edaskills.report.v1 报告;产物 ascii-art.txt、
flowchart-layout.json、flowchart.svg。
输入
{
"ascii": { "text": "PCB 2026", "style": "block", "effect": "shadow3d" },
"flowchart": {
"nodes": [{ "id": "n1", "label": "开始", "type": "terminal",
"rank": 0, "lane": "C" }],
"edges": [{ "from": "n1", "to": "n2", "label": "", "kind": "fwd" }]
}
}
规则(与源扩展核对)
- 字形 5×7,字符集 A–Z 0–9 空格
-_.:!?+=/*;大写化、截断 24、 未知字符 →?。风格 block#/ doto/ heavy@/ slash// outline*/ trace+-|。效果 shadow3d 偏移 (+2,+1) 用.; extrude3d 深度 3。 - 流程图:LANE_X {L:175, C:560, R:945},盒 160×64,TOP_Y 70, RANK_GAP 20,COL_GAP 26;cy = TOP_Y + rank*(64+20) + 32。 标签宽:CJK≈字号、ASCII≈0.6×字号(字号 14),超盒宽 warning。 边:同 rank 水平;跨 rank 正向走中缝 Z 形;back 边绕 x=60。 A4 1169×827、边距 40,超出整体缩放并 warning。 Y 翻转 (827−v) 只在编辑器写入时做,离线坐标保持屏幕系。
- 错误:节点 id 重复、边引用未知节点。
导出函数
renderAscii layoutFlowchart flowchartSvg labelWidth
Dependencies
No dependencies
This skill works standalone.
Demo run
Passed with warnings0 errors · 1 warnings
node v24.19.0 · 2026/11/19
- [warning] LABEL_OVERFLOW (fix): fix: label wider than box, will clip in editor
Some artifacts are listed by name only (extension not in the preview whitelist).
FAQ
Ratings & reviews
Not rated0 ratings
5 star
0
4 star
0
3 star
0
2 star
0
1 star
0
Sign in to rate this skill.
Sign inVersions
- v1.0.0Latest280.2 KB
首发种子版本。