# mohitagw15856/pm-claude-skills architecture

> Architecture diagram of the GitHub repository mohitagw15856/pm-claude-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mohitagw15856/pm-claude-skills
- Repository: https://github.com/mohitagw15856/pm-claude-skills

## Overview

PM Skills is a library of professional-task instructions, primarily delivered as Markdown skills that AI assistants load to produce finished work. Its main user journey is request → select/load a matching skill → generate an artifact. README statements support the install, assistant, and MCP flows; sampled source also shows MCP tool handling, skill routing, and Org Edition session storage. Other integrations and web capabilities are represented at subsystem level because their implementations were not sampled.

Main entry points: [`org/server.mjs`](https://github.com/mohitagw15856/pm-claude-skills/blob/main/org/server.mjs) (Org Edition API), [`integrations/jev/route.mjs`](https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/route.mjs) (Skill routing), [`skills`](https://github.com/mohitagw15856/pm-claude-skills/tree/main/skills) (Professional skills), [`bin/cli.mjs`](https://github.com/mohitagw15856/pm-claude-skills/blob/main/bin/cli.mjs) (CLI installer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skill_library["Skill library"]
  node_skills["Professional skills"]
end

subgraph group_delivery["Skill delivery"]
  node_cli["CLI installer<br/>[cli.mjs]"]
  node_local_mcp["Local MCP server<br/>[server.mjs]"]
  node_remote_mcp["Remote MCP server<br/>[index.js]"]
  node_inputs["Input parsing<br/>[inputs.mjs]"]
end

subgraph group_interfaces["User interfaces"]
  node_web_playground["Web playground<br/>[app.js]"]
  node_org_server["Org Edition API<br/>[server.mjs]"]
  node_org_sessions[("Shared sessions<br/>[sessions.mjs]")]
end

subgraph group_extensions["Extensions"]
  node_jev_routing["Skill routing<br/>[route.mjs]"]
  node_jev_client["JEV decision client<br/>[client.mjs]"]
  node_skill_catalog["Skill catalog<br/>[catalog.mjs]"]
  node_other_integrations["Platform integrations"]
end

node_user(("User"))
node_assistant(("AI assistant"))
node_artifact["Finished artifact"]

node_user -->|"installs skills"| node_cli
node_cli -->|"copies selected"| node_skills
node_user -->|"requests work"| node_assistant
node_assistant -->|"loads matching skill"| node_skills
node_assistant -->|"produces deliverable"| node_artifact
node_assistant -->|"requests skills"| node_local_mcp
node_local_mcp -->|"parses inputs"| node_inputs
node_user -->|"connects by URL"| node_remote_mcp
node_remote_mcp -->|"routes skill requests"| node_jev_routing
node_jev_routing -->|"asks decisions"| node_jev_client
node_jev_routing -->|"ranks candidates"| node_skill_catalog
node_user -->|"tries a skill"| node_web_playground
node_user -->|"uses Org Edition"| node_org_server
node_org_server -->|"loads skills"| node_skills
node_org_server -->|"handles sessions"| node_org_sessions
node_user -.->|"uses platform tools"| node_other_integrations

click node_skills "https://github.com/mohitagw15856/pm-claude-skills/tree/main/skills"
click node_cli "https://github.com/mohitagw15856/pm-claude-skills/blob/main/bin/cli.mjs"
click node_local_mcp "https://github.com/mohitagw15856/pm-claude-skills/blob/main/mcp/server.mjs"
click node_remote_mcp "https://github.com/mohitagw15856/pm-claude-skills/blob/main/mcp-remote/src/index.js"
click node_inputs "https://github.com/mohitagw15856/pm-claude-skills/blob/main/bin/lib/inputs.mjs"
click node_web_playground "https://github.com/mohitagw15856/pm-claude-skills/blob/main/web/app.js"
click node_org_server "https://github.com/mohitagw15856/pm-claude-skills/blob/main/org/server.mjs"
click node_org_sessions "https://github.com/mohitagw15856/pm-claude-skills/blob/main/org/sessions.mjs"
click node_jev_routing "https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/route.mjs"
click node_jev_client "https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/client.mjs"
click node_skill_catalog "https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/catalog.mjs"
click node_other_integrations "https://github.com/mohitagw15856/pm-claude-skills/tree/main/integrations"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skills,node_user toneBlue
class node_cli,node_local_mcp,node_remote_mcp,node_inputs toneAmber
class node_web_playground,node_org_server,node_org_sessions toneMint
class node_jev_routing,node_jev_client,node_skill_catalog,node_other_integrations toneRose
class node_assistant,node_artifact toneIndigo
```

## Components

### Skill library

- [Professional skills](https://github.com/mohitagw15856/pm-claude-skills/tree/main/skills): `skills`

### Skill delivery

- [CLI installer](https://github.com/mohitagw15856/pm-claude-skills/blob/main/bin/cli.mjs): `bin/cli.mjs`
- [Local MCP server](https://github.com/mohitagw15856/pm-claude-skills/blob/main/mcp/server.mjs): `mcp/server.mjs`
- [Remote MCP server](https://github.com/mohitagw15856/pm-claude-skills/blob/main/mcp-remote/src/index.js): `mcp-remote/src/index.js`
- [Input parsing](https://github.com/mohitagw15856/pm-claude-skills/blob/main/bin/lib/inputs.mjs): `bin/lib/inputs.mjs`

### User interfaces

- [Web playground](https://github.com/mohitagw15856/pm-claude-skills/blob/main/web/app.js): `web/app.js`
- [Org Edition API](https://github.com/mohitagw15856/pm-claude-skills/blob/main/org/server.mjs): `org/server.mjs`
- [Shared sessions](https://github.com/mohitagw15856/pm-claude-skills/blob/main/org/sessions.mjs): `org/sessions.mjs`

### Extensions

- [Skill routing](https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/route.mjs): `integrations/jev/route.mjs`
- [JEV decision client](https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/client.mjs): `integrations/jev/client.mjs`
- [Skill catalog](https://github.com/mohitagw15856/pm-claude-skills/blob/main/integrations/jev/catalog.mjs): `integrations/jev/catalog.mjs`
- [Platform integrations](https://github.com/mohitagw15856/pm-claude-skills/tree/main/integrations): `integrations`

### Other components

- **User**
- **AI assistant**
- **Finished artifact**

## Connections

- User → CLI installer: installs skills (evidence: `README.md`)
- CLI installer → Professional skills: copies selected (evidence: `README.md`)
- User → AI assistant: requests work (evidence: `README.md`)
- AI assistant → Professional skills: loads matching skill (evidence: `README.md`)
- AI assistant → Finished artifact: produces deliverable (evidence: `README.md`)
- AI assistant → Local MCP server: requests skills (evidence: `README.md`)
- Local MCP server → Input parsing: parses inputs (evidence: `mcp/server.mjs`)
- User → Remote MCP server: connects by URL (evidence: `README.md`)
- Remote MCP server → Skill routing: routes skill requests (evidence: `mcp-remote/src/index.js`)
- Skill routing → JEV decision client: asks decisions (evidence: `integrations/jev/route.mjs`)
- Skill routing → Skill catalog: ranks candidates (evidence: `integrations/jev/route.mjs`)
- User → Web playground: tries a skill (evidence: `README.md`)
- User → Org Edition API: uses Org Edition (evidence: `org/server.mjs`)
- Org Edition API → Professional skills: loads skills (evidence: `org/server.mjs`)
- Org Edition API → Shared sessions: handles sessions (evidence: `org/server.mjs`)
- User → Platform integrations: uses platform tools (evidence: `README.md`)
