Why we switched from Markdown to self-contained HTML files for AI-generated architecture plans and implementation tracking.
Stripe v2 → v3 upgrade + Klarna DACH integration
| Phase | Task | Status |
|---|---|---|
| 1 | Stripe SDK Upgrade | DONE |
| 2 | Webhook Migration | IN PROGRESS |
| 3 | Klarna Integration | PENDING |
flowchart LR
A["Client App"] --> B["API Gateway"]
B --> C["Stripe v3"]
B --> D["Klarna"]
C --> E["Webhook Handler"]
D --> E
E --> F[("Database")]
style C fill:#635bff,color:#fff
style D fill:#ffb3c7,color:#1a1a1a
Human + AI collaboration loop with structured feedback
Claude Code generates a self-contained HTML with Mermaid diagrams, phase tables, and decision cards
Open in browser, see rendered diagrams. Select text or right-click elements to leave inline comments
Click "Export JSON" in the feedback panel. Paste the structured feedback into Claude Code
Claude updates the plan based on feedback, re-uploads. Repeat until approved, then implement
sequenceDiagram
participant Dev as Developer
participant CC as Claude Code
participant GCS as Cloud Storage
participant Browser as Browser
Dev->>CC: Describe feature/task
CC->>CC: Explore codebase, design plan
CC->>GCS: Upload plan.html
CC->>Dev: Here's the plan link
Dev->>Browser: Open plan URL
Browser->>Dev: Rendered diagrams + tables
Dev->>Browser: Select text, add comments
Browser->>Dev: Feedback JSON
Dev->>CC: Paste feedback JSON
CC->>CC: Update plan based on feedback
CC->>GCS: Upload updated plan.html
Note over Dev,CC: Repeat until approved
Dev->>CC: Looks good, implement it
CC->>CC: Write code following the plan
Ask Claude Code to create an interactive HTML plan for your next feature.
claude "Create an interactive HTML plan for [your feature] with Mermaid diagrams"
See a full example: Payment Provider Migration Plan
Make this a reusable slash command so you can generate interactive HTML plans anytime with /plan.
.claude/skills/. They become slash commands that any team member can use. Docs