
visualize
Create source-adjacent HTML visualizations for /visualize requests, docs, markdown, standardized plans, process flows, charts, Mermaid diagrams, context maps, and recommendation diagrams.
- Installs
- 98
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/buiducnhat/cobrew --skill visualize- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads visualize automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Visualize
Overview
Create source-adjacent HTML visualizations from repository documentation, markdown files, standardized plan folders, and arbitrary user context. This skill is Huashu-derived in workflow discipline, but it is intentionally documentation-focused: it turns real source material into readable maps, timelines, flows, risk blocks, and recommendation diagrams.
Scope
Use this skill for:
- Documentation and markdown visualization
- Standardized plan folder visualization
- Flow, chart, Mermaid, context map, and recommendation diagram requests
- Source-adjacent HTML summaries that help users inspect structure, risks, decisions, and next steps
Do not use this skill for:
- Brand sites or marketing pages
- Product prototypes or production web apps
- Slide decks, long motion demos, or broad visual design systems
Output Conventions
- Plan folder: create
visualize.htmlandvisualize-assets/inside the plan folder. - Brainstorm folder: create
visualize.htmlandvisualize-assets/inside the brainstorm folder. - Current context tied to an active plan or brainstorm artifact folder: create
visualize.htmlandvisualize-assets/inside that artifact folder. - Markdown or document file: create
<source-base>.visualize.htmland<source-base>.visualize-assets/beside the source file. - Source-less context with no associated artifact folder: create
docs/.visualizations/<slug>-YYMMDD-HHmm/visualize.htmlanddocs/.visualizations/<slug>-YYMMDD-HHmm/visualize-assets/unless the user specifies a target. Generate the timestamp withdate +%y%m%d-%H%M.
Always copy references/templates/visualize-theme.css into the adjacent assets folder and link the copied local CSS from the generated HTML. Mermaid CDN usage is allowed for diagrams.
Workflow
- Load project context when visualizing repository files (if the current session does not already have it).
- If
docs/SUMMARY.mdexists, read it first. - Load only task-relevant detail docs.
- Prioritize
Code Standarddocs for implementation conventions. - If docs conflict with code or user intent, use the available input/question tool before broad changes.
- If
- Load the source material.
- For plan folders, read
SUMMARY.mdand relevantphase-XX-*.mdfiles. - For brainstorm folders, read
SUMMARY.mdand relevantsection-XX-*.mdfiles. - For markdown or document files, read the requested source directly.
- For current context tied to an active plan or brainstorm artifact folder, use the conversation/request content plus the artifact folder as the output target.
- For source-less user context with no associated artifact folder, use only the provided conversation/request content.
- For plan folders, read
- Identify the visualization intent.
- Determine whether the user needs a plan map, document map, process flow, decision view, recommendation view, or mixed visualization.
- Ask with the input/question tool only when the source, target, or output ambiguity cannot be resolved safely.
- Build a compact source inventory before choosing layout.
- Use
references/workflow.mdandreferences/content-patterns.md. - Capture the source hierarchy, entities or files, phases or tasks, dependencies, decisions, risks, blockers, recommendations, verification steps, and missing evidence when present.
- Treat templates as shells. A block belongs in the output only when it summarizes source-backed content, clarifies a relationship, or exposes a meaningful gap.
- Use
- Choose the template with
references/router.md.- Plan folders use
references/templates/plan.html. - Brainstorm folders use
references/templates/context.html. - Single documents use
references/templates/document.html. - Source-less context uses
references/templates/context.html.
- Plan folders use
- Extract facts and assumptions into the selected block set.
- Preserve source facts, file paths, statuses, risks, decisions, verification steps, and recommendations.
- Label assumptions clearly when the source leaves gaps.
- Compose the HTML.
- Start from the selected template.
- Replace
VISUALIZE:marker regions with source-backed content and remove blocks that do not earn their place. - Escape source-derived text before inserting it into HTML unless the text is intentionally authored generated markup.
- Copy
visualize-theme.cssbeside the output before linking it.
- Add Mermaid diagrams where they clarify structure.
- Use
references/mermaid-recipes.md. - Prefer several small diagrams over one dense diagram.
- Skip Mermaid when a diagram would only restate headings or duplicate nearby prose.
- Use readable HTML/CSS fallback blocks when Mermaid syntax is uncertain.
- Use
- Verify the output with
references/verification.md.
Rules
- Do not invent facts, fake metrics, fake decisions, fake users, fake constraints, or unsupported recommendations.
- Do not hide missing source content. Add an assumption or warning block instead.
- Keep visualizations factual, source-adjacent, and easy to inspect.
- Keep templates and generated HTML focused on documentation visualization, not broad design/prototype work.
- Avoid large inline style blocks; use the copied fixed theme CSS.
- Escape source-derived text before writing it into HTML unless it is intentional generated markup authored by the agent.
- Preserve source links and paths when they help the user trace content back to origin.
FAQ
What does the visualize skill do?
Create source-adjacent HTML visualizations for /visualize requests, docs, markdown, standardized plans, process flows, charts, Mermaid diagrams, context maps, and recommendation diagrams.
How do I install visualize?
Run npx skills add https://github.com/buiducnhat/cobrew --skill visualize in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/visualize/ (personal) or .claude/skills/visualize/ (project).
Which AI agents can use visualize?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is visualize safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains visualize?
It is published by buiducnhat in buiducnhat/cobrew. It has 98 recorded installs.
More from buiducnhat/cobrew
brainstorm
buiducnhat/cobrew
Collaborative discovery and design framing for ambiguous or high-risk work. Use when requirements are unclear, multiple approaches are possible, or you need to turn an idea into a validated design brief before planning or coding.
execute-plan
buiducnhat/cobrew
Execute an approved implementation plan exactly and safely. Use for ExecPlan-style plan execution, resumable phase checklists, multi-hour implementation work, migrations, significant refactors, and plans that require verification checkpoints, status tracking, and final reporting.
write-plan
buiducnhat/cobrew
Create detailed, execution-ready implementation plans for complex or high-risk changes without coding. Use for ExecPlan-style work, multi-hour changes, significant refactors, migrations, resumable phase checklists, and work that should be handed off to execute-plan with clear validation.
docs
buiducnhat/cobrew
Create or refresh project documentation in docs/. Use when a project needs docs initialized or existing docs synced to the current codebase.
quick-implement
buiducnhat/cobrew
Rapid implementation for small, low-risk, well-defined changes. Use when the task is narrow in scope, has clear acceptance criteria, and can be completed safely without a formal multi-phase plan.
ask
buiducnhat/cobrew
Structured clarification and requirements gathering through focused dialogue or with dry code. Use when a task is ambiguous, underspecified, or requires user input before any action can be taken. Do not plan or implement anything—only ask questions to collect the information needed.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.