# jsmastery-pro/jsm-agent-skill architecture

> Architecture diagram of the GitHub repository jsmastery-pro/jsm-agent-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jsmastery-pro/jsm-agent-skill
- Repository: https://github.com/jsmastery-pro/jsm-agent-skill

## Overview

JSM Skills is a set of five markdown-based commands that guide an AI-assisted engineering workflow; it is not a runtime application. Developers invoke skills through an agent that supports SKILL.md. The README documents planning, implementation review, session memory, failure diagnosis, and UI-pattern capture. Skill-level details are supported by the README; sampled source did not include the skill instructions, so internal execution and integrations are not mapped.

Main entry points: [`skills/review/SKILL.md`](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/review/SKILL.md) (Review Skill), [`skills/imprint/SKILL.md`](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/imprint/SKILL.md) (Imprint Skill), [`skills/architect/SKILL.md`](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/architect/SKILL.md) (Architect Skill), [`skills/remember/SKILL.md`](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/remember/SKILL.md) (Remember Skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_planning["Plan And Review"]
  node_architect["Architect Skill<br/>[SKILL.md]"]
  node_review["Review Skill<br/>[SKILL.md]"]
end

subgraph group_continuity["Session Continuity"]
  node_remember["Remember Skill<br/>[SKILL.md]"]
  node_memory["Session Memory"]
end

subgraph group_recovery["Failure Recovery"]
  node_recover["Recover Skill<br/>[SKILL.md]"]
end

subgraph group_ui["UI Consistency"]
  node_imprint["Imprint Skill<br/>[SKILL.md]"]
  node_ui_registry["UI Registry"]
end

node_developer(("Developer"))
node_agent{{"Compatible Agent"}}
node_build["Build Feature"]

node_developer -->|"invokes commands"| node_agent
node_agent -->|"runs planning"| node_architect
node_architect -->|"presents plan"| node_developer
node_developer -->|"confirms and builds"| node_build
node_agent -->|"runs review"| node_review
node_review -->|"checks alignment"| node_build
node_review -->|"reports issues"| node_developer
node_agent -->|"runs save or restore"| node_remember
node_remember -->|"writes or reads"| node_memory
node_agent -->|"runs diagnosis"| node_recover
node_recover -->|"recommends response"| node_developer
node_agent -->|"runs capture or audit"| node_imprint
node_imprint -->|"writes patterns"| node_ui_registry
node_build -->|"provides UI component"| node_imprint

click node_architect "https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/architect/SKILL.md"
click node_review "https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/review/SKILL.md"
click node_remember "https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/remember/SKILL.md"
click node_recover "https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/recover/SKILL.md"
click node_imprint "https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/imprint/SKILL.md"

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_architect,node_review toneBlue
class node_remember,node_memory toneAmber
class node_recover toneMint
class node_imprint,node_ui_registry toneRose
class node_developer,node_agent,node_build toneIndigo
```

## Components

### Plan And Review

- [Architect Skill](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/architect/SKILL.md): `skills/architect/SKILL.md`
- [Review Skill](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/review/SKILL.md): `skills/review/SKILL.md`

### Session Continuity

- [Remember Skill](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/remember/SKILL.md): `skills/remember/SKILL.md`
- **Session Memory**

### Failure Recovery

- [Recover Skill](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/recover/SKILL.md): `skills/recover/SKILL.md`

### UI Consistency

- [Imprint Skill](https://github.com/jsmastery-pro/jsm-agent-skill/blob/main/skills/imprint/SKILL.md): `skills/imprint/SKILL.md`
- **UI Registry**

### Other components

- **Developer**
- **Compatible Agent**
- **Build Feature**

## Connections

- Developer → Compatible Agent: invokes commands
- Compatible Agent → Architect Skill: runs planning
- Architect Skill → Developer: presents plan
- Developer → Build Feature: confirms and builds
- Compatible Agent → Review Skill: runs review
- Review Skill → Build Feature: checks alignment
- Review Skill → Developer: reports issues
- Compatible Agent → Remember Skill: runs save or restore
- Remember Skill → Session Memory: writes or reads
- Compatible Agent → Recover Skill: runs diagnosis
- Recover Skill → Developer: recommends response
- Compatible Agent → Imprint Skill: runs capture or audit
- Imprint Skill → UI Registry: writes patterns
- Build Feature → Imprint Skill: provides UI component
