skill-system-dashboard

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Skill System Dashboard

技能系统仪表板

This skill generates the project dashboard HTML using repository-local data.
本Skill利用仓库本地数据生成项目仪表板HTML文件。

Usage

使用方法

bash
python3 "<this-skill-dir>/scripts/generate.py" --target /path/to/project
python3 "<this-skill-dir>/scripts/generate.py" --target /path/to/project --output /tmp/index.html
bash
python3 "<this-skill-dir>/scripts/generate.py" --target /path/to/project
python3 "<this-skill-dir>/scripts/generate.py" --target /path/to/project --output /tmp/index.html

Behavior

功能说明

  • Reads graph data from
    skills/skill-system-graph
    scan output.
  • Reads skill metadata from
    skills/skill-system-*/SKILL.spec.yaml
    and
    SKILL.behavior.yaml
    .
  • Reads ticket/roadmap data from
    .tkt/
    .
  • Reads pending/DB memory snapshots when available.
  • Writes one HTML file (default
    <target>/dashboard/index.html
    ).
skill
{
  "schema_version": "2.0",
  "id": "skill-system-dashboard",
  "version": "1.0.0",
  "capabilities": ["dashboard-generate", "dashboard-render"],
  "effects": ["fs.read", "fs.write", "proc.exec", "db.read"],
  "operations": {
    "dashboard-generate": {
      "description": "Generate target dashboard/index.html using target project context.",
      "input": {
        "target": {"type": "string", "required": false, "default": ".", "description": "Target project root"},
        "output": {"type": "string", "required": false, "description": "Output HTML path override"}
      },
      "output": {
        "description": "Dashboard generation report",
        "fields": {"status": "ok | error", "output": "string", "target": "string"}
      },
      "entrypoints": {
        "unix": ["python3", "{skill_dir}/scripts/generate.py", "--target", "{target}"],
        "windows": ["python", "{skill_dir}/scripts/generate.py", "--target", "{target}"]
      }
    }
  }
}
  • 读取
    skills/skill-system-graph
    扫描输出的图谱数据。
  • 读取
    skills/skill-system-*/SKILL.spec.yaml
    SKILL.behavior.yaml
    中的技能元数据。
  • .tkt/
    目录读取工单/路线图数据。
  • 读取可用的待处理/数据库内存快照。
  • 生成一个HTML文件(默认路径为
    <target>/dashboard/index.html
    )。
skill
{
  "schema_version": "2.0",
  "id": "skill-system-dashboard",
  "version": "1.0.0",
  "capabilities": ["dashboard-generate", "dashboard-render"],
  "effects": ["fs.read", "fs.write", "proc.exec", "db.read"],
  "operations": {
    "dashboard-generate": {
      "description": "Generate target dashboard/index.html using target project context.",
      "input": {
        "target": {"type": "string", "required": false, "default": ".", "description": "Target project root"},
        "output": {"type": "string", "required": false, "description": "Output HTML path override"}
      },
      "output": {
        "description": "Dashboard generation report",
        "fields": {"status": "ok | error", "output": "string", "target": "string"}
      },
      "entrypoints": {
        "unix": ["python3", "{skill_dir}/scripts/generate.py", "--target", "{target}"],
        "windows": ["python", "{skill_dir}/scripts/generate.py", "--target", "{target}"]
      }
    }
  }
}