Openpress diagram drawing
AI-first fixed-layout document workspaces. Your AI agent writes proposals, whitepapers, theses, books — A4, PDF, web reader.
npx -y skills add quan0715/open-press --skill openpress-diagram-drawingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
2.3 KB, as published. Nobody here has run it
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.