Sight

From cwinvestments/memstack · View interactive version

Sight is an AI agent skill from the GitHub repository cwinvestments/memstack. Use when the user says 'draw', 'diagram', 'visualize', 'architecture', or needs a visual overview of code structure.

How to use this skill

Skill file

👁️ Sight: The Hidden Becomes Clear

Generate Mermaid diagrams showing project architecture, schema, and data flow.

Activation

When this skill activates, output:

👁️ Sight: The hidden becomes clear.

Then execute the protocol below.

Context Guard

| Context | Status |

|---------|--------|

| User asks for a diagram or visualization | ACTIVE: generate diagram |

| User says "draw", "diagram", "architecture" | ACTIVE: generate diagram |

| User asks to "show" or "map" the structure | ACTIVE: generate diagram |

| Discussing diagrams conceptually | DORMANT: do not activate |

| User is looking at existing diagrams | DORMANT: do not activate |

Protocol

  1. Determine diagram type from context:
  1. Scan the relevant code:
  1. Generate Mermaid diagram as a code block
  1. Optionally save to docs/diagrams/{name}.mermaid

Inputs

Outputs

Example Usage

User: "draw the AdminStack database schema"

👁️ Sight: The hidden becomes clear.

​```mermaid
erDiagram
    accounts ||--o{ organizations : "has"
    accounts ||--o{ cc_sessions : "tracks"
    organizations ||--o{ projects : "contains"
    organizations ||--o{ contacts : "stores"
    organizations ||--o{ orders : "processes"

    accounts {
        uuid id PK
        text email
        boolean is_platform_admin
    }
    cc_sessions {
        uuid id PK
        text name
        text status
    }
​```

Level History

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.