数据与研究

blog-chart

agricidaniel/claude-blog

Internal capability, not user-invocable: the orchestrator calls it while running blog-write or blog-rewrite to turn research data into dark-mode compatible inline SVG charts (horizontal bar, grouped bar, donut, line, lollipop, area, radar) for HTML or MDX. Produces accessible markup (role=img, aria-labelledby, unique ids), source attribution and transparent backgrounds. Agents cannot call it.

  • 2600 次安装
  • 2600 星标
  • 收录于

安装命令

npx skills add https://github.com/agricidaniel/claude-blog --skill blog-chart

SKILL.md

Blog Chart: Built-In SVG Data Visualization

Bundled paths below use host Markdown substitution of ${CLAUDE_SKILL_DIR}; it is not an exported shell variable. Resolve them before execution, quote paths, and refuse nonabsolute overrides. Pass blog_reference_root resolved from ${CLAUDE_SKILL_DIR}/../blog/references, blog_template_root from ${CLAUDE_SKILL_DIR}/../blog/templates, and needed sibling roots to agents. Read the main reference orchestration-details.md before loading project context; pass only its helper-fenced output to downstream agents.

Generates dark-mode-compatible inline SVG charts for blog posts. Invoked internally by the orchestrator while it runs blog-write and blog-rewrite, when chart-worthy data is identified and the draft's [CHART: ...] markers are resolved. The blog-writer and other agents cannot call skills; they only leave markers. Not a standalone user-facing command.