Skip to content
Skill Authoring
Skill

/sight

Use when the user says 'draw', 'diagram', 'visualize', 'architecture', or needs a visual overview of code structure.

From plugin
memstack
43387 skills2 commands4 hooks

Claude Code

$ npx -y skills add cwinvestments/memstack --skill sight --agent claude-code

SKILL.md

sight.SKILL.md
name: sight
description: "Use when the user says 'draw', 'diagram', 'visualize', 'architecture', or needs a visual overview of code structure."
version: 1.0.0

👁️ 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:

  • "database" / "schema" → `erDiagram`
  • "api" / "endpoints" → `flowchart TD`
  • "components" / "pages" → `graph TD`
  • "architecture" / "structure" → `flowchart TD` (system overview)
  • "flow" / "process" → `sequenceDiagram`

2. **Scan the relevant code:**

  • For DB: read migration files in `database/`
  • For API: list files in `src/app/api/`
  • For pages: list files in `src/app/`
  • For architecture: read package.json, directory structure, configs

3. **Generate Mermaid diagram** as a code block

4. **Optionally save** to `docs/diagrams/{name}.mermaid`

Inputs

  • What to visualize (database, API, components, architecture)
  • Project directory

Outputs

  • Mermaid diagram code block ready to render
  • Optional saved .mermaid file

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

  • **Lv.1**: Base: Mermaid diagram generation from codebase analysis. (Origin: MemStack v1.0, Feb 2026)
  • **Lv.2**: Enhanced: Added YAML frontmatter, context guard, activation message, diagram type detection. (Origin: MemStack v2.0 MemoryCore merge, Feb 2026)
Read more
@cwinvestments
Ships withmemstack

The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.

Stars on GitHub

Momentum

stars in total
433
Star history of cwinvestments/memstack on GitHub, a chart by star-history.com

Other skills on memstack.

api-integration

api-integration

Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…

content-pipeline

content-pipeline

Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platform…

cron-scheduler

cron-scheduler

Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs…

hosted-mcp-catalog

hosted-mcp-catalog

Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCP…

webhook-designer

webhook-designer

Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',…

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about sight.

Which coding agents can use sight?
sight installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.