openpress-diagram-drawing
Use when drawing or revising open-press document diagrams, especially concept diagrams, comparison figures, process states, data-structure nodes, pointers, arrows, before/after states, linked lists, stacks, queues, trees, or memory relationship figures.
How do I install this agent skill?
npx skills add https://github.com/quan0715/open-press --skill openpress-diagram-drawingIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides instructions and patterns for creating diagrams in open-press documents, focusing on data structures like linked lists, stacks, and trees. It contains no executable code, network operations, or sensitive data access.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
open-press Diagram Drawing
This skill owns diagram semantics, not visual skin. It decides what the diagram should show and what text belongs inside the figure.
Core Rule
Draw the relationship, not the explanation.
Figure bodies may contain only spatially meaningful information: object labels, pointer names, field names, axes, legends, short state labels, node values, NULL, and operation-order labels.
Move reasons, warnings, edge cases, teaching commentary, and interpretation into surrounding prose or captions.
Responsibilities
- Choose whether a concept needs a diagram, table, code block, or prose.
- Define nodes, links, arrows, states, labels, and before/after relationships.
- Keep figure text lean and connected to position or direction.
- Prevent diagrams from containing answers, production notes, or caption-like sentences.
Boundaries
openpressowns validation/render command choice and the source/generated boundary.openpress-create-pagesowns surrounding page explanation, caption wording, page visual skin, typography, CSS, and component implementation.openpress-create-slideowns slide visual skin, slide layouts, reusable UI primitives, and deck-level narrative around slide diagrams.openpress-create-pagesowns learner-facing practice flow for page-based teaching material.
Workflow
- Identify the diagram job: comparison, process state, relationship snapshot, before/after, operation sequence, traversal trace, or data representation.
- Choose the surface:
- diagram for links, ownership, direction, state changes;
- table for dense comparisons or many trace rows;
- code block for exact syntax.
- Draw from semantics first; let style follow.
- Check whether the diagram can be understood without explanatory sentences inside the visual.
When To Read References
- Read
references/diagram-patterns.mdfor linked-list, circular-list, doubly-list, stack, queue, polynomial, sparse-structure, and tree drawing patterns.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/quan0715/open-press/openpress-diagram-drawing">View openpress-diagram-drawing on skillZs</a>