How raj-atg/ccar-f-workshop-demo works
Inventory Workshop is primarily a Claude Code configuration workshop, with a small factory-inventory application as its working example. The participant workflow is to use project and path-scoped guidance, skills, commands, and agents while exploring or extending the app; the app’s UI then calls its API, which persists suppliers, items, and orders. The map also preserves documented MCP and headless-review capabilities. App relationships are supported by sampled source or README statements; unsampled configuration relationships are documented at README level, not inferred from filenames.
Main entry points: main.py FastAPI app · session.py DB sessions · CLAUDE.md Project memory · App.tsx App navigation
Components 32
Claude guidance
- Project memory
CLAUDE.md - Scoped memory
backend/CLAUDE.md - Path rules
.claude/rules - Style standards
standards
Workshop workflows
- Skills
.claude/skills - Commands
.claude/commands/low-stock.md - Subagents
.claude/agents - Hooks
.claude/hooks - Workshop guides
PARTICIPANTS.md
Inventory frontend
- App navigation
frontend/src/App.tsx - Items page
frontend/src/pages/ItemsPage.tsx - Suppliers page
frontend/src/pages/SuppliersPage.tsx - Orders page
frontend/src/pages/OrdersPage.tsx - Item form and table
frontend/src/components - Supplier table
frontend/src/components/SupplierTable.tsx - Order table
frontend/src/components/OrderTable.tsx - API client
frontend/src/api/client.ts
Inventory backend
- FastAPI app
backend/app/main.py - Item endpoints
backend/app/routers/items.py - Supplier endpoints
backend/app/routers/suppliers.py - Order endpoints
backend/app/routers/orders.py - Pydantic schemas
backend/app/schemas - Inventory models
backend/app/db/models.py - DB sessions
backend/app/db/session.py - SQLite database
- Demo seed data
backend/app/db/seed.py
Integrations
- Read-only DB MCP
mcp/inventory_mcp/server.py - Claude Code
- Headless PR review
scripts/ci-review.js - Review findings schema
schemas/review-findings.schema.json
Other components
- Engineer
- App user
Connections 40
- Engineer → Project memory: uses guidance
README.md - Project memory → Scoped memory: loads deeper memory
README.md - Project memory → Path rules: supplements with rules
README.md - Project memory → Style standards: imports standards
README.md - Engineer → Skills: invokes workflows
README.md - Engineer → Commands: runs command
README.md - Engineer → Subagents: delegates tasks
README.md - Hooks → Claude Code: hooks into
README.md - Workshop guides → Engineer: guides exercises
README.md - App user → App navigation: uses app
README.md - App navigation → Items page: routes to
README.md - App navigation → Suppliers page: routes to
README.md - App navigation → Orders page: routes to
README.md - Items page → Item form and table: renders
README.md - Suppliers page → Supplier table: renders
frontend/src/pages/SuppliersPage.tsx - Orders page → Order table: renders
frontend/src/pages/OrdersPage.tsx - Items page → API client: fetches data
README.md - Suppliers page → API client: fetches data
frontend/src/pages/SuppliersPage.tsx - Orders page → API client: fetches data
frontend/src/pages/OrdersPage.tsx - Supplier table → FastAPI app: deletes supplier
frontend/src/components/SupplierTable.tsx - API client → FastAPI app: calls API
README.md - FastAPI app → Item endpoints: registers router
backend/app/main.py - FastAPI app → Supplier endpoints: registers router
backend/app/main.py - FastAPI app → Order endpoints: registers router
backend/app/main.py - Item endpoints → Pydantic schemas: validates payloads
README.md - Supplier endpoints → Pydantic schemas: validates payloads
backend/app/routers/suppliers.py - Order endpoints → Pydantic schemas: validates payloads
backend/app/routers/orders.py - Item endpoints → Inventory models: reads and writes
README.md - Supplier endpoints → Inventory models: reads and writes
backend/app/routers/suppliers.py - Order endpoints → Inventory models: reads and writes
backend/app/routers/orders.py - Item endpoints → DB sessions: gets DB session
README.md - Supplier endpoints → DB sessions: gets DB session
backend/app/routers/suppliers.py - Order endpoints → DB sessions: gets DB session
backend/app/routers/orders.py - DB sessions → SQLite database: connects to
backend/app/db/session.py - Demo seed data → Inventory models: creates demo rows
backend/app/db/seed.py - Demo seed data → DB sessions: opens session
backend/app/db/seed.py - Read-only DB MCP → SQLite database: exposes read-only
README.md - Claude Code → Read-only DB MCP: connects via stdio
README.md - Headless PR review → Review findings schema: uses schema
README.md - Claude Code → Headless PR review: runs headless review
README.md