bluetape-diagram
Use when bluetape4k work creates or updates technical diagrams, charts, README visuals, docs visuals, blog images, or site visual assets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when bluetape4k work creates or updates technical diagrams, charts, README visuals, docs visuals, blog images, or site visual assets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | bluetape-diagram |
| description | Use when bluetape4k work creates or updates technical diagrams, charts, README visuals, docs visuals, blog images, or site visual assets. |
This skill is the lightweight entrypoint. Do not load every rule by default. Load the common contract first, then only the diagram-kind references that match the current asset.
Always read:
references/common.mdThen read only the matching kind files:
| Asset shape | Required reference |
|---|---|
| architecture, component, flow-style architecture | references/architecture.md |
| class, UML, repository/entity relationship class view | references/class.md |
| ERD, schema, table relationship view | references/erd.md |
| sequence, request/response, retry, branch, lifecycle, time flow | references/sequence.md |
| chart, benchmark, README metric visual | references/chart.md |
If a user-reported defect is about connectors, markers, arrowheads, labels,
icons, lane whitespace, rendered PNG parity, or review pages, keep
references/common.md open while editing.
$fireworks-tech-graph for diagrams/charts by default.$architecture-diagram-generator for system architecture diagrams.cairosvg <diagram>.svg -o <diagram>.png -s 2diagram-svg-text-normalize.py before canonical PNG rendering.WEAK, UNAVAILABLE, connectors=0, cards=0,
paths=0, or missing command output are not PASS evidence unless a targeted
fallback invariant proves the same claim.18x16, sequence message 16x16, primary
flow/progression 14x14, secondary/static relationship 10x10.Q command is not enough if the PNG still looks sharp.Apply bluetape-workflow/references/checklist-contract.md. Complete the
common checklist and every selected kind checklist for each asset separately.
common.md and only the matching architecture/class/ERD/sequence/chart references; keep common open for user-reported geometry/style defects.git diff --check for SVG/PNG/page changes.Every completion report or PR body must include concrete evidence rows:
| Gate | Evidence |
|---|---|
| Scope | asset path and related-set scan result |
| Source | README/source files read or documented exception |
| XML | xmllint --noout ... result |
| Render | CairoSVG command and PNG dimensions |
| Kind rules | relevant reference files loaded |
| Raster text | text_hazards=0, code_without_highlight=0 |
| Connector audits | counts such as connectors, cards, labels, shared_segments, label_cards, label_labels, label_connectors, q_bends, failures=0 |
| Type-specific audit | sequence/class/ERD/architecture/chart invariant result |
| Visual inspection | full-size PNG path and observed pass/fail notes |
| Review exposure | local review page link check when a review page exists |
| Diff hygiene | git diff --check result |
Do not write "checklist passed" unless the ledger contains the values that make the claim falsifiable.
Produce the requested SVG/PNG/chart assets in the target repository's canonical path. Keep image text concise, source-relevant, and reader-facing only.
Use when any task in a bluetape4k repository must be classified and routed to Type A full feature, B fast track, C bug fix, D review, E maintenance, P publish, or F benchmark self-improvement.
Use when planning, validating, dispatching, recovering, or closing a bluetape4k snapshot, Maven Central release, BOM/catalog train, or consumer synchronization.
Use when a bluetape ecosystem task is a reproducible defect, failed test, regression, static-analysis defect, or review finding that needs a root-cause-driven Type C fix.
Use when a bluetape ecosystem change is a narrow Type B feature, API extension, test improvement, or small class addition that does not need full design artifacts.
Use when an approved bluetape4k Type A change adds a module, dependency, service, subsystem, broad public API, architecture, multi-layer behavior, or large refactor and needs the full spec-to-PR lifecycle.
Use when bluetape4k work changes README, KDoc, docs, AGENTS.md, workflow guidance, skills, plugins, Codex or OMX harness configuration, or other non-production maintenance surfaces.