From diagram
Scientific diagram CLI via nong. Trigger on flowchart, workflow diagram, process diagram, network graph, relationship graph, mechanism network, phylogenetic tree, or Newick rendering.
How this skill is triggered — by the user, by Claude, or both
Slash command
/diagram:diagramThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `nong` for implemented scientific diagram rendering. Nong.Toolkit.Net routes to the CLI; do not recreate diagram rendering logic in scripts or temporary projects.
Use nong for implemented scientific diagram rendering. Nong.Toolkit.Net routes to the CLI; do not recreate diagram rendering logic in scripts or temporary projects.
Read ../../.claude/references/nong-cli-preflight.md before the first Nong CLI command in a session. Confirm the nong CLI is installed and the diagram command group.
Modular: nong diagram routes to the standalone Angri450.Nong.Tool.Diagram dotnet tool. First use auto-installs. Command surface unchanged.
nong diagram flowchart <spec.json> -o <out.png> [--json]
nong diagram network <spec.json> -o <out.png> [--json]
nong diagram tree <tree.nwk|tree.txt|spec.json> -o <out.png> [--json]
nong diagram flowchart.nong diagram network..nwk or .txt) or a tree JSON spec and run nong diagram tree.artifacts.png from JSON output for the generated image path.icons skill.Flowchart JSON:
{
"type": "flowchart",
"title": "Workflow",
"nodes": [
{ "id": "sample", "label": "Sample" },
{ "id": "dna", "label": "DNA extraction" }
],
"edges": [
{ "from": "sample", "to": "dna" }
]
}
Network JSON:
{
"nodes": [
{ "id": "A", "label": "Gene A" },
{ "id": "B", "label": "Gene B" }
],
"edges": [
{ "from": "A", "to": "B", "label": "activates" }
],
"title": "Interaction network"
}
Tree Newick:
((A:0.1,B:0.2):0.3,C:0.4);
Tree JSON:
{
"type": "tree",
"title": "Phylogeny",
"newick": "((A:0.1,B:0.2):0.3,C:0.4);",
"radial": false
}
Always use --json for generated diagrams. Treat status: "error" as failed and fix the spec before retrying.
After generating a PNG, you may suggest:
nong ocr analyze-image tree.png -o tree.analysis --json
This is structural image QA for dimensions, blankness, whitespace, and content regions. It is not OCR, text recognition, or semantic understanding of the diagram.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub angri450/nong.toolkit.net --plugin diagram