agentleFS
nikolaj-latnikolaj-lat/World-Puppeteer/.claude/skills/charts/SKILL.md

charts

Skill17 starsChanged 5 months agoMITView on GitHub

Generate a mermaid flowchart showing trigger relationships and flows. Use when the user wants to visualize triggers.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aminer-data-search, auto-target-tracker and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dav-niu474Skill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 3 projects that use this

  • dav-niu474Skill

    auto-target-tracker

    自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。

    Also in 3 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 3 projects that use this

  • +9 more from dav-niu474

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Decision trees: Use diamond nodes {} for branching logic

    line 15
  2. Distinctive:

    Emoji labels: Use icons to distinguish section types

    line 18
  3. Very specific:

    Multi-line content: Use <br/> for line breaks

    line 47
  4. Distinctive:

    Create sidebar for reference data (characters, locations, items)

    line 56
  5. Very specific:

    Read triggers file (default: tabs/triggers.json)

    line 126

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Charts

Generate a mermaid flowchart from triggers.json. Output to stuff/trigger-chart.html.

Design Principles

  • Organized sections: Group related triggers into labeled subgraphs
  • Decision trees: Use diamond nodes {} for branching logic
  • Detailed nodes: Include descriptions, not just names
  • Visual hierarchy: Flow from top to bottom, sidebars for reference data
  • Emoji labels: Use icons to distinguish section types

Mermaid Structure

flowchart TD
    subgraph SECTION1["🎮 SECTION TITLE"]
        NODE1["Description"]
    end

    subgraph SECTION2["🔴 ANOTHER SECTION"]
        DECISION{"Question?"}
        DECISION -->|Option A| RESULT_A["Result A"]
        DECISION -->|Option B| RESULT_B["Result B"]
    end

    subgraph SIDEBAR["📋 REFERENCE DATA"]
        ITEM1["1: Name<br/>Description<br/>Details"]
        ITEM2["2: Name<br/>Description<br/>Details"]
    end

    NODE1 --> DECISION
    RESULT_A --> SIDEBAR

Node Types

  • Start nodes: ["Label"] - rectangles
  • Decision nodes: {"Question?"} - diamonds
  • Multi-line content: Use <br/> for line breaks
  • Connections: -->|"label"| for labeled edges

Analyzing Triggers

  1. Identify trigger categories (setup, gameplay, context, etc.)
  2. Find decision points (conditions that branch)
  3. Map cause → effect relationships
  4. Group related triggers into subgraphs
  5. Create sidebar for reference data (characters, locations, items)

HTML Template

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Trigger Chart</title>
  <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
  <style>
    body { background: #1a1a1a; padding: 40px; font-family: system-ui; color: #e0e0e0; }
    h1 { color: #fff; text-align: center; margin-bottom: 40px; }
    .mermaid { background: #252525; padding: 40px; border-radius: 12px; }
  </style>
</head>
<body>
  <h1>Game Flow</h1>
  <pre class="mermaid">
flowchart TD
    %% Content here
  </pre>
  <script>
    mermaid.initialize({
      startOnLoad: true,
      theme: 'dark',
      flowchart: { curve: 'basis', padding: 20, nodeSpacing: 50, rankSpacing: 60 }
    });
  </script>
</body>
</html>

Section Patterns

Game start:

subgraph START["🎮 GAME START"]
    BEGIN["Player Begins"]
end

Branching logic:

subgraph BRANCH["🔴 SECTION NAME"]
    QUESTION{"Condition?"}
    QUESTION -->|Yes| PATH_A["Result A"]
    QUESTION -->|No| PATH_B["Result B"]
end

Reference sidebar:

subgraph SIDEBAR["📋 REFERENCE"]
    ITEM1["1: Name<br/>Description<br/>Type: Value"]
    ITEM2["2: Name<br/>Description<br/>Type: Value"]
end

Gameplay section:

subgraph GAMEPLAY["🔴 DURING GAMEPLAY"]
    EVENT1["📋 EVENT NAME<br/>Description line 1<br/>Description line 2"]
    EVENT2["⚔️ ANOTHER EVENT<br/>More details"]
end

Steps

  1. Read triggers file (default: tabs/triggers.json)
  2. Categorize triggers by purpose (setup, selection, gameplay, context)
  3. Identify decision points and branching conditions
  4. Extract reference data (characters, locations, items) for sidebars
  5. Build flowchart with labeled subgraphs
  6. Connect sections with meaningful flow
  7. Write to stuff/trigger-chart.html
  8. Open in browser

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.