Continue Diagram
Designcontinue-diagramContinue Diagram is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Continue working on an existing diagram. Load, review, and modify persistent diagrams across sessions.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/continue-diagram/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/continue-diagram, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Continue a Diagram
Continue working on diagrams from previous sessions.
Finding Diagrams
List recent diagrams:
list_diagrams()
Filter by scope:
list_diagrams(scope: "project:my-app")
Search by content:
search_diagrams(query: "notification architecture")
Loading a Diagram
By ID (exact):
get_diagram(id: "abc-123")
By title (fuzzy match):
get_diagram(title: "notification flow")
With version history:
get_diagram(id: "abc-123", include_history: true)
Updating Diagrams
When you modify a diagram, the previous version is automatically saved to history.
Update content:
update_diagram(
id: "abc-123",
mermaid: "flowchart TD\n A --> B --> C",
note: "Simplified the flow"
)
Update metadata:
update_diagram(
id: "abc-123",
title: "New Title",
context: "Updated context explaining changes",
tags: ["architecture", "v2"]
)
Version History
Diagrams track their evolution. Each update creates a version snapshot.
To see history:
get_diagram(id: "abc-123", include_history: true)
History shows:
- Previous Mermaid content
- Timestamp of each version
- Notes explaining what changed
Exporting
As Mermaid file:
export_diagram(id: "abc-123", format: "mermaid")
As SVG (via Mermaid CLI):
export_diagram(id: "abc-123", format: "svg")
For draw.io:
export_diagram(id: "abc-123", format: "drawio")
Cleanup
Delete a diagram:
delete_diagram(id: "abc-123")
Workflow Tips
- Start each session by checking for relevant existing diagrams
- Update, don't recreate — build on existing work
- Use notes — explain what changed when updating
- Export for sharing — generate files others can view
Related Skills
- capture — Create new diagrams during brainstorming