Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

prd-visualization-skillPRD 可视化技巧

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

15,264

周安装

649

GitHub Stars

1

下载量

5,348
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prd-visualization-skill(PRD 可视化技巧)
来源仓库:https://github.com/foyri/prd-visualization-skill
安装命令:
openclaw skills install prd-visualization-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install prd-visualization-skill

简介

prd-visualization-skill 专注于创建交互式 D3.js 层次结构可视化图表,支持多视图模式切换。

  • 适用于数据驱动型产品设计,如组织架构、知识图谱或项目依赖关系的可视化呈现。
  • 提供列表、力导向图、径向集群等多种布局选项,未来将扩展分形树等高级拓扑形式。
  • 需用户提供明确的数据结构与层级关系,工具将自动渲染为可缩放、可导出的 SVG 图表。
  • 涉及敏感信息时应先脱敏处理,且不建议将样本数据直接等同于全量事实进行展示。

SKILL.md

name
hierarchy-visualizer
description
Creates interactive D3.js hierarchy visualizations with multiple view modes (List, Force-Directed, Radial Cluster, with Fractal Tree coming soon). Use when user wants to visualize tree structures, hierarchical data, PRDs, requirements, features, specifications, org charts, file structures, or says "visualize hierarchy", "tree view", "show structure", "render tree", "hierarchy diagram", "prd", "requirement", "feature", "specification". Always use this skill when user wants to visualize their PRD (project requirements), project requirements, or any hierarchical data.

Hierarchy Visualizer v1.0.0

Interactive multi-view visualization for hierarchical data using D3.js.

When to Use This Skill

Use when the user wants to visualize their PRD, project requirements, or any hierarchical data. The visualizer reads from a JSON file and renders it as an interactive diagram.

Agent Instructions

Step 1: Find or create the PRD JSON file

If user has a PRD in Markdown/text format: Convert it to hierarchical JSON format. Read the PRD file and create a JSON structure with:

  • Root node = Project/PRD title
  • Children = Sections, features, requirements
  • Status = todo/processing/problem/done (infer from context or default to "todo")

If user already has a JSON file: Use that file directly (check for prd.json, requirements.json, hierarchy.json)

Step 2: Copy visualizer to project folder

# Copy visualizer files to user's project
cp hierarchy-visualizer.html d3.min.js /path/to/user/project/

# Save the JSON as requirements-hierarchy.json
cat > /path/to/user/project/requirements-hierarchy.json << 'EOF'
{paste the JSON here}
EOF

# Start server from their project folder
cd /path/to/user/project && python3 -m http.server 8080

Step 3: Open in browser

http://localhost:8080/hierarchy-visualizer.html

Maintenance (IMPORTANT)

Always keep the prd json file updated in the whole project development process, everytime a requirement/specification/feature is added, updated, status changed, or deleted, update the json file accordingly.

Data Format

Convert PRD content to this JSON structure:

{
  "id": "root",
  "title": "Product Requirements",
  "status": "processing",
  "children": [
    {
      "id": "auth",
      "title": "Authentication",
      "status": "done",
      "children": []
    }
  ]
}

Required fields:

  • id — unique identifier (string)
  • title — display name (string)
  • status — one of: todo, processing, problem, done
  • children — array of child nodes (empty array for leaves)

Optional fields: type, domain, stage, owning_sig, granularity, complexity, source_url, goals

View Modes

  • List — Collapsible hierarchical list (default)
  • Force-Directed — Draggable node-link diagram
  • Radial Cluster — Circular dendrogram
Note: Fractal Tree view is currently under development and will be available in a future release. Stay tuned for updates!

Controls

  • View switcher — Top-left dropdown
  • Zoom/Pan — Scroll wheel, click-drag
  • Collapse/Expand — Click nodes or L1/L2/L3 buttons
  • Status filter — Click Todo/Proc/Prob/Done labels
  • Theme toggle — Sun/moon icon (top-right)
  • Auto-sync — JSON updates every 5 seconds

Status Colors

  • Todo: Gray #8b949e
  • Processing: Yellow #e3b341
  • Problem: Orange #ffa657
  • Done: Green #238636

Troubleshooting

Blank visualization? → Use local HTTP server, not file://

JSON not loading? → Check that requirements-hierarchy.json exists in the same folder as the HTML file

Need custom styling? → Edit CSS variables in hierarchy-visualizer.html (~line 78)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.11%
按下载量换算4,980

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills