AGENT SKILL

Visionary 愿景技能

Visionary

暂无简介

适用职业AI 工程师
License 许可
MIT
所属仓库
matt-fell-ai/PAI
最近更新
2025-12-20
Stars
★ 1
Forks
0

02 资源文件 3

03 SKILL.md 正文

Visionary Skill - Visual Architecture & Diagramming

name description
visionary Transforms text-based descriptions into visual diagrams and architectural sketches. USE WHEN you need to visualize a system, workflow, or data model.

The Key Insight

A picture is worth a thousand lines of code. Visionary allows the PAI to "see" the architecture it is building. By generating Mermaid or Excalidraw definitions, it provides a visual feedback loop for both the user and the agent.

Usage

Generate Sequence Diagram

pai run Visionary mermaid "Alice -> Bob: Hello"

Sketch Architecture

pai run Visionary sketch "3-tier web app with redis cache"

Data Model Diagram

pai run Visionary db "User table, Post table with foreign key"

How it Works

It utilizes Mermaid.js syntax templates. When a request is made, it fills a template with the provided logic and outputs the raw code (which many CLIs/IDEs can render natively) or saves it as a .mmd file.

Strategic Value

  • Complex System Design: Makes it easier to track state transitions in distributed systems.
  • Documentation Excellence: Automatically generates architecture diagrams for your README.md or History/Decisions/.
  • Stakeholder Communication: Provides a high-level view for non-technical users.

04 同仓库更多 Skills