# loboroboticos/shopify-app-kit architecture

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

- Interactive diagram: https://gitdiagram.com/loboroboticos/shopify-app-kit
- Repository: https://github.com/loboroboticos/shopify-app-kit

## Overview

shopify-app-kit is a Claude Code plugin and reusable shell for developers building Shopify apps. Its main workflow takes a plan, code diff, or promotion range; scopes it against a consumer app’s manifest; runs the relevant read-only reviewers; verifies serious findings; and returns a verdict or release checklist. Separate capabilities scaffold new apps and guard risky commands. The graph captures documented and excerpted relationships; other skill, routine, and hook details are represented at subsystem level because their implementations were not sampled.

Main entry points: [`agents`](https://github.com/loboroboticos/shopify-app-kit/tree/main/agents) (Review agents), [`skills/new-app/scripts/apply-overlay.mjs`](https://github.com/loboroboticos/shopify-app-kit/blob/main/skills/new-app/scripts/apply-overlay.mjs) (Template overlay), [`workflows/plan-review.js`](https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/plan-review.js) (Plan review), [`workflows/pre-pr-review.js`](https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/pre-pr-review.js) (Pre-PR review)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_review["Review and release"]
  node_plan["Plan review<br/>[plan-review.js]"]
  node_prreview["Pre-PR review<br/>[pre-pr-review.js]"]
  node_release["Release readiness"]
end

subgraph group_guidance["Developer guidance"]
  node_reviewskill["Review skill"]
  node_agents["Review agents"]
  node_skills["Guidance skills"]
end

subgraph group_safety["Session safeguards"]
  node_guardhooks["Command guards"]
  node_doctor["Session doctor<br/>[doctor.sh]"]
end

subgraph group_scaffold["App scaffolding"]
  node_scaffoldskill["New-app skill"]
  node_overlay["Template overlay<br/>[apply-overlay.mjs]"]
  node_manifestcheck["Manifest validator"]
  node_templates["App shell templates"]
  node_manifest["App manifest schema"]
end

subgraph group_operations["Repository operations"]
  node_routines["Scheduled routines"]
  node_lessons["Lessons library"]
  node_labels["Label sync<br/>[sync-labels.mjs]"]
end

node_developer(("Developer"))
node_github["GitHub"]

node_developer -->|"reviews a plan"| node_plan
node_developer -->|"reviews a diff"| node_prreview
node_developer -->|"checks a release"| node_release
node_plan -->|"launches reviewers"| node_agents
node_prreview -->|"launches reviewers"| node_agents
node_release -->|"launches dimensions"| node_agents
node_reviewskill -->|"synthesizes reviews"| node_agents
node_developer -->|"scaffolds an app"| node_scaffoldskill
node_scaffoldskill -->|"applies overlay"| node_overlay
node_overlay -->|"reads templates"| node_templates
node_overlay -.->|"uses manifest schema"| node_manifest
node_developer -->|"uses guarded commands"| node_guardhooks
node_developer -->|"gets session briefing"| node_doctor
node_developer -->|"syncs labels"| node_labels
node_labels -->|"creates labels"| node_github

click node_plan "https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/plan-review.js"
click node_prreview "https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/pre-pr-review.js"
click node_release "https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/release-readiness.js"
click node_reviewskill "https://github.com/loboroboticos/shopify-app-kit/tree/main/skills/review"
click node_agents "https://github.com/loboroboticos/shopify-app-kit/tree/main/agents"
click node_skills "https://github.com/loboroboticos/shopify-app-kit/tree/main/skills"
click node_routines "https://github.com/loboroboticos/shopify-app-kit/tree/main/routines"
click node_lessons "https://github.com/loboroboticos/shopify-app-kit/tree/main/lessons"
click node_labels "https://github.com/loboroboticos/shopify-app-kit/blob/main/scripts/sync-labels.mjs"
click node_guardhooks "https://github.com/loboroboticos/shopify-app-kit/tree/main/hooks"
click node_doctor "https://github.com/loboroboticos/shopify-app-kit/blob/main/hooks/doctor.sh"
click node_scaffoldskill "https://github.com/loboroboticos/shopify-app-kit/tree/main/skills/new-app"
click node_overlay "https://github.com/loboroboticos/shopify-app-kit/blob/main/skills/new-app/scripts/apply-overlay.mjs"
click node_manifestcheck "https://github.com/loboroboticos/shopify-app-kit/blob/main/skills/new-app/scripts/validate-manifest.mjs"
click node_templates "https://github.com/loboroboticos/shopify-app-kit/tree/main/templates"
click node_manifest "https://github.com/loboroboticos/shopify-app-kit/blob/main/schemas/shopify-app.v1.schema.json"

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_plan,node_prreview,node_release toneBlue
class node_reviewskill,node_agents,node_skills toneAmber
class node_guardhooks,node_doctor toneMint
class node_scaffoldskill,node_overlay,node_manifestcheck,node_templates,node_manifest toneRose
class node_routines,node_lessons,node_labels,node_developer,node_github toneIndigo
```

## Components

### Review and release

- [Plan review](https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/plan-review.js): `workflows/plan-review.js`
- [Pre-PR review](https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/pre-pr-review.js): `workflows/pre-pr-review.js`
- [Release readiness](https://github.com/loboroboticos/shopify-app-kit/blob/main/workflows/release-readiness.js): `workflows/release-readiness.js`

### Developer guidance

- [Review skill](https://github.com/loboroboticos/shopify-app-kit/tree/main/skills/review): `skills/review`
- [Review agents](https://github.com/loboroboticos/shopify-app-kit/tree/main/agents): `agents`
- [Guidance skills](https://github.com/loboroboticos/shopify-app-kit/tree/main/skills): `skills`

### Session safeguards

- [Command guards](https://github.com/loboroboticos/shopify-app-kit/tree/main/hooks): `hooks`
- [Session doctor](https://github.com/loboroboticos/shopify-app-kit/blob/main/hooks/doctor.sh): `hooks/doctor.sh`

### App scaffolding

- [New-app skill](https://github.com/loboroboticos/shopify-app-kit/tree/main/skills/new-app): `skills/new-app`
- [Template overlay](https://github.com/loboroboticos/shopify-app-kit/blob/main/skills/new-app/scripts/apply-overlay.mjs): `skills/new-app/scripts/apply-overlay.mjs`
- [Manifest validator](https://github.com/loboroboticos/shopify-app-kit/blob/main/skills/new-app/scripts/validate-manifest.mjs): `skills/new-app/scripts/validate-manifest.mjs`
- [App shell templates](https://github.com/loboroboticos/shopify-app-kit/tree/main/templates): `templates`
- [App manifest schema](https://github.com/loboroboticos/shopify-app-kit/blob/main/schemas/shopify-app.v1.schema.json): `schemas/shopify-app.v1.schema.json`

### Repository operations

- [Scheduled routines](https://github.com/loboroboticos/shopify-app-kit/tree/main/routines): `routines`
- [Lessons library](https://github.com/loboroboticos/shopify-app-kit/tree/main/lessons): `lessons`
- [Label sync](https://github.com/loboroboticos/shopify-app-kit/blob/main/scripts/sync-labels.mjs): `scripts/sync-labels.mjs`

### Other components

- **Developer**
- **GitHub**

## Connections

- Developer → Plan review: reviews a plan (evidence: `README.md`)
- Developer → Pre-PR review: reviews a diff (evidence: `README.md`)
- Developer → Release readiness: checks a release (evidence: `README.md`)
- Plan review → Review agents: launches reviewers (evidence: `workflows/plan-review.js`)
- Pre-PR review → Review agents: launches reviewers (evidence: `workflows/pre-pr-review.js`)
- Release readiness → Review agents: launches dimensions (evidence: `workflows/release-readiness.js`)
- Review skill → Review agents: synthesizes reviews (evidence: `README.md`)
- Developer → New-app skill: scaffolds an app (evidence: `README.md`)
- New-app skill → Template overlay: applies overlay (evidence: `skills/new-app/scripts/apply-overlay.mjs`)
- Template overlay → App shell templates: reads templates (evidence: `skills/new-app/scripts/apply-overlay.mjs`)
- Template overlay → App manifest schema: uses manifest schema
- Developer → Command guards: uses guarded commands (evidence: `README.md`)
- Developer → Session doctor: gets session briefing (evidence: `README.md`)
- Developer → Label sync: syncs labels (evidence: `scripts/sync-labels.mjs`)
- Label sync → GitHub: creates labels (evidence: `scripts/sync-labels.mjs`)
