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

pma-drawPMA 抽签

Agent Skill

pma-draw 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

685

周安装

28

GitHub Stars

2

下载量

222
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:pma-draw(PMA 抽签)
来源仓库:https://github.com/zzci/skills
仓库路径:skills/pma-draw
安装命令:
npx skills add https://github.com/zzci/skills --skill pma-draw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/zzci/skills --skill pma-draw

简介

pma-draw 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。

  • 适用于产品研究、竞品分析或任务驱动的信息检索场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和文件操作权限。
  • 使用前建议检查仓库维护状态,避免触发不必要的网络请求或文件读写操作。
  • pma-draw 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

ReactFlow Diagram Creator

Generate .rfd.json files that encode meaning in shape, position, and connection — consumed by a ReactFlow-based viewer (pma-viewer) with a predefined catalog of custom node types.

Keep this entry file small. Load only the references needed for the current diagram.

Always-On Rules

  1. Isomorphism first: node layout and edge topology must mirror the concept's structure. If removing all labels still communicates the idea, the design is right.
  2. Use predefined node types only. Pull every node type from references/node-types.md. Never invent new types unless the user asks and the viewer supports them.
  3. Use predefined edge types only. Pull every edge type from references/edges.md. Avoid raw default unless no preset fits.
  4. Colors come from references/colors.md. Node styling is driven by the preset; override only when semantics require it.
  5. Grouping via parent-child, not by drawing a container rectangle. Use parentNode + extent: "parent" on child nodes and a group type parent.
  6. Every relationship needs an edge. Proximity alone is not a connection.
  7. No local render: the skill emits .rfd.json only. Rendering and export happen in pma-viewer (SPA). Quality must be enforced at JSON level — see references/validation.md.
  8. Build large diagrams section-by-section. Append nodes/edges per edit, namespace IDs by section prefix (ingest__, process__, deliver__) to keep cross-section references readable.

Core Workflow

Step 1: Depth Assessment

  • Simple / Conceptual — abstract node types (process, start, end), generic edges. For mental models and philosophies.
  • Comprehensive / Technical — semantic node types (backend, database, queue, ai), evidence nodes with real code/JSON, typed edges (stream, callback). For real systems, protocols, tutorials.

Technical diagrams require research: look up actual specs, endpoints, event names, and data formats before writing JSON.

Step 2: Concept-to-Pattern Mapping

For each major concept pick the visual pattern that mirrors its behavior — fan-out, convergence, tree, timeline, cycle, assembly line, side-by-side, gap, cloud. No two major concepts should share the same pattern. Details in references/design.md.

Step 3: Layout Planning

Pick a layout template from references/layouts.md (vertical-flow, horizontal-pipeline, hub-and-spoke, swimlanes, timeline, matrix). Compute a grid of position values before emitting nodes. ReactFlow uses absolute pixel positions — consistency comes from a shared grid, not from an auto-layout pass.

Step 4: Pick Node & Edge Types

  • Each discovered component → pick a node type from the catalog.
  • Each relationship → pick an edge type that matches its semantics (flow, stream, callback, dependency, comparison).
  • For technical diagrams, add evidence nodes for real code snippets or data payloads.

Step 5: Emit JSON

Write the wrapper + nodes[] + edges[] + viewport. Use predefined templates from references/templates.md as starting points. Keep IDs descriptive (api-server, edge__api-to-db).

Step 6: Validate & Hand Off

Run the pre-flight checklist in references/validation.md (IDs unique, edges reference existing nodes, parentNode refs valid, sourceHandle/targetHandle match node contracts, no position collisions). Then tell the user to open the file in pma-viewer (see references/render.md). The agent cannot see the rendered result, so JSON-level discipline is mandatory.

Section-by-Section for Large Diagrams

  1. Write the wrapper (schema, type, viewport, metadata) and Section 1's nodes + edges.
  2. Append one section per edit. Prefix IDs by section (ingest__source, ingest__queue) to keep later cross-section edges readable.
  3. When a new section's edge targets an earlier node, cite the exact existing node ID from the previous section.
  4. Namespace positions by section: reserve columns (x) or rows (y) per section so later edits don't collide with earlier ones.
  5. After all sections exist, re-read the full file once to check edge references and position overlaps before handing off.

Do not generate an entire comprehensive diagram in one response, hand-write a generator script, or delegate JSON emission to a coding sub-agent — each path produces worse output than section-by-section edits.

Output

  • File: docs/architecture/<name>.rfd.json by default, or a path the user specifies. Extension .rfd.json marks the ReactFlow Diagram schema and keeps plain JSON tooling compatibility.
  • Viewing: open in pma-viewer (ReactFlow-based SPA). PNG / SVG export and editing are handled there — references/render.md covers the handoff.
  • Embedding: four paths in references/integration.md:

- React / MDX sites → <PmaViewer src="..." /> component - Plain HTML → pma-viewer UMD <script> + PmaViewer.mount(...) - Interactive link → hosted viewer with ?src=<url> query param - Static image (GitHub README, email, PDF) → GET /render.svg?src=<url> server-rendered SVG endpoint

Reference Packs

  • references/design.md Visual pattern library, evidence artifacts, multi-zoom architecture, concept-to-pattern mapping.
  • references/json-schema.md File wrapper, nodes / edges / viewport structure, parentNode grouping rules, handles.
  • references/node-types.md Preset custom node catalog with data-schema per type. Semantic, structural, and utility categories.
  • references/edges.md Preset edge catalog: flow, stream, callback, dependency, comparison, annotated. Handle positions, animation, labels.
  • references/colors.md Semantic color palette (default / AWS / Azure / GCP / K8s) and text hierarchy. Styled presets in node-types reference this file.
  • references/layouts.md Layout templates (vertical flow, horizontal pipeline, hub-and-spoke, swimlanes, timeline, matrix) with grid math.
  • references/templates.md Copy-paste node / edge JSON and full starter diagrams (3-tier, microservices, event-driven, data pipeline, CI/CD).
  • references/validation.md Pre-flight algorithm, checklists, common bug recipes.
  • references/render.md pma-viewer SPA contract, handoff format, in-viewer export, troubleshooting.
  • references/integration.md How downstream consumers embed the diagram: MDX / React component, browser <script> SDK, URL-loaded JSON with the hosted viewer, and server-rendered SVG endpoint (for GitHub READMEs, email, PDFs).

Quick Routing

  • Designing from scratch: load references/design.md, then references/layouts.md.
  • Picking node / edge types: load references/node-types.md + references/edges.md.
  • Writing JSON: load references/json-schema.md + references/templates.md.
  • Codebase-to-architecture extraction: load references/node-types.md + references/layouts.md.
  • Validating before delivery: load references/validation.md.
  • Telling the user how to open or export in pma-viewer: load references/render.md.
  • Embedding the diagram in docs (MDX / HTML / README / SVG): load references/integration.md.

If the project also uses /pma for workflow control, load /pma first, then /pma-draw only when a diagram is required.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37%
按下载量换算82

Claude

31.4%
按下载量换算70

Cursor

18.53%
按下载量换算41

Gemini CLI

10.64%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills