Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions CLAUDE.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ Everything works without an API key. For an AI that reads your description, answ

## Five minutes in

1. **Projects.** The first page: your plans, the projects StackWise found under your folders (plan one in a click), and examples to open.
2. **Describe your app**, or pick a kind of app (web, iOS, Android, both, AI app, online store, internal tool). Confirm each guess; StackWise shows the exact words behind every one. Only the follow-up questions that would change the plan are asked. Pick a priority (spend $0, launch fast, learn, ready to grow), an audience size and your builder.
3. **Read the canvas.** Your app in the middle, with its parts in four layers: where it runs (hosting, domain), people (login, payments, email, a phone app), data (database, files, background jobs), and outside services (AI, scraping, data sources, automations, analytics, monitoring). A check on a line means the connection works, `!` a warning, a cross that it doesn't, `?` that a fact is missing. A light flows along the lines that work. Drag any part where you want it; Tidy up puts the layers back.
4. **Click anything.** A card opens Details: why it was picked, every check with its reason and fix, the cost at your size, a comparison with the alternatives, and the facts behind it with their sources. A line shows what travels on it: the environment variables your code reads to reach that service. Right-click for everything else: ask, swap, let StackWise pick, learn, build this with your agent.
5. **Ask** (Cmd+K). A chat pane beside the canvas, one conversation per plan. Pick who answers in the composer: a coding agent in your terminal, a built-in AI with a key (and which of its models), or StackWise's own facts, which need nothing.
6. **The dock.** Overview (problems, close calls, accounts, cost at every size), Parts (every service by part, dragged onto the canvas; 101 options, 80 fully researched), Checklist (accounts, keys and build steps to tick off) and Learn (what each part of an app is, what matters when choosing, a glossary).
7. **Settings.** Account (your name, where plans live), General (what a new plan starts with, the folders StackWise looks in), Appearance, Models (who answers in Ask; a key and a model per built-in AI) and Agents (your coding agents, one Connect button for Claude Code, and the MCP server's status).
8. **Build it.** Connect your agent and tell it to build from the plan, or export a project pack: the spec, setup, decisions, tasks with their tests, `.env.example`, and for Claude Code an agent per part, skills and `.mcp.json`.
1. Projects. The first page: your plans, the projects StackWise found under your folders (plan one in a click), and examples to open.
2. Describe your app, or pick a kind of app (web, iOS, Android, both, AI app, online store, internal tool). Confirm each guess; StackWise shows the exact words behind every one. Only the follow-up questions that would change the plan are asked. Pick a priority (spend $0, launch fast, learn, ready to grow), an audience size and your builder.
3. Read the canvas. Your app in the middle, with its parts in four layers: where it runs (hosting, domain), people (login, payments, email, a phone app), data (database, files, background jobs), and outside services (AI, scraping, data sources, automations, analytics, monitoring). A check on a line means the connection works, `!` a warning, a cross that it doesn't, `?` that a fact is missing. A light flows along the lines that work. Drag any part where you want it; Tidy up puts the layers back.
4. Click anything. A card opens Details: why it was picked, every check with its reason and fix, the cost at your size, a comparison with the alternatives, and the facts behind it with their sources. A line shows what travels on it: the environment variables your code reads to reach that service. Right-click for everything else: ask, swap, let StackWise pick, learn, build this with your agent.
5. Ask (Cmd+K). A chat pane beside the canvas, one conversation per plan. Pick who answers in the composer: a coding agent in your terminal, a built-in AI with a key (and which of its models), or StackWise's own facts, which need nothing.
6. The dock. Overview (problems, close calls, accounts, cost at every size), Parts (every service by part, dragged onto the canvas; 101 options, 80 fully researched) and Checklist (accounts, keys and build steps to tick off).
7. Settings. Account (your name, where plans live), General (what a new plan starts with, the folders StackWise looks in), Appearance, Models (who answers in Ask; a key and a model per built-in AI) and Agents (your coding agents, one Connect button for Claude Code, and the MCP server's status).
8. Build it. Connect your agent and tell it to build from the plan, or export a project pack: the spec, setup, decisions, tasks with their tests, `.env.example`, and for Claude Code an agent per part, skills and `.mcp.json`.

## How it works

1. **Facts.** Every service is a JSON file in `data/options/` with facts a person can check: a free plan's limit, a price, whether it can push live updates to browsers. Each fact has a source URL, the date it was checked, and a status. New facts are drafts until someone reviews them on `/review`.
2. **Rules.** `data/rules/` say what the facts mean together: a host that falls asleep can't run background jobs; a framework that renders on the server needs a host that runs servers; two Firebase parts share one project. A rule reads at most two parts, and a missing fact makes a check "unknown", never "works".
3. **Search.** For your answers, size and priority, StackWise scores every stack (branch and bound, tested against brute force) and shows the best one with its close calls, so you see what nearly won and why.
4. **The canvas** is a view of that result. Swap a part and the rules run again; every line's mark is a verdict, not a drawing.
5. **AI, optionally**, has three jobs: read your description (its guesses must quote words that are really there), explain the computed plan, and draft new facts for review. It never decides compatibility.
6. **Your agent** gets the plan over MCP: the same engine, 15 tools, no verdicts of its own.
1. Facts. Every service is a JSON file in `data/options/` with facts a person can check: a free plan's limit, a price, whether it can push live updates to browsers. Each fact has a source URL, the date it was checked, and a status. New facts are drafts until someone reviews them on `/review`.
2. Rules. `data/rules/` say what the facts mean together: a host that falls asleep can't run background jobs; a framework that renders on the server needs a host that runs servers; two Firebase parts share one project. A rule reads at most two parts, and a missing fact makes a check "unknown", never "works".
3. Search. For your answers, size and priority, StackWise scores every stack (branch and bound, tested against brute force) and shows the best one with its close calls, so you see what nearly won and why.
4. The canvas is a view of that result. Swap a part and the rules run again; every line's mark is a verdict, not a drawing.
5. AI, optionally, has three jobs: read your description (its guesses must quote words that are really there), explain the computed plan, and draft new facts for review. It never decides compatibility.
6. Your agent gets the plan over MCP: the same engine, 15 tools, no verdicts of its own.

On disk:

Expand Down
16 changes: 8 additions & 8 deletions data/learn.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"what": "Your app's own address, like yourapp.com, instead of the free one your host gives you.",
"why": "People trust and remember a real name, and email services need a verified domain to send as you.",
"choosing": [
"The renewal price, not just the discounted first year.",
"The renewal price, after the discounted first year.",
"Is WHOIS privacy free?",
"Can you manage DNS records in the same account for free?",
"How easy is it to transfer out later?"
Expand Down Expand Up @@ -147,7 +147,7 @@
"why": "Uploads need a durable home and a way to serve them only to the people allowed to see them.",
"choosing": [
"Can browsers upload straight to storage with a signed URL?",
"Does it charge for downloads (egress), not just storage?",
"Does it charge for downloads (egress) as well as storage?",
"Are files served through a CDN?",
"How do you keep private files private?"
],
Expand All @@ -174,7 +174,7 @@
],
"watch_for": [
"Putting the secret key in browser code.",
"Unlocking access on the checkout redirect instead of the webhook. Redirects get skipped; webhooks arrive.",
"Granting access on the checkout redirect instead of the webhook. Redirects get skipped; webhooks arrive.",
"Not verifying webhook signatures, so anyone can fake a payment."
],
"terms": ["merchant-of-record", "sales-tax", "subscription", "secret-key", "publishable-key", "webhook", "environment-variable", "portability"],
Expand Down Expand Up @@ -275,7 +275,7 @@
"why": "It replaces guesses with numbers: are people finding the app, and where do they give up?",
"choosing": [
"Does it use cookies? That decides whether you need a consent banner.",
"Can it track events like sign-ups, not just page views?",
"Can it track events like sign-ups as well as page views?",
"Is the free plan permanent or a trial?",
"Can you export your data if you switch?"
],
Expand Down Expand Up @@ -316,7 +316,7 @@
"what": "Whether your app could also ship as a phone app in the App Store or Google Play.",
"why": "Phone apps are built differently, and not every login or database service works from one.",
"choosing": [
"Do your login and database have phone SDKs, not just web ones?",
"Do your login and database have phone SDKs as well as web ones?",
"React Native (shares patterns with web code) or fully native?",
"What do store rules say about your payments?",
"Does sign-in with Google or Apple work inside the app?"
Expand Down Expand Up @@ -430,7 +430,7 @@
"webhook": {
"term": "Webhook",
"plain": "A message another service sends to your server when something happens, like a payment succeeding.",
"matters": "Unlocking what someone paid for usually depends on handling this message correctly.",
"matters": "Giving people what they paid for depends on handling this message correctly.",
"read_more": [{ "title": "What are webhooks?", "url": "https://zapier.com/blog/what-are-webhooks/", "source": "Zapier" }]
},
"relational-database": {
Expand Down Expand Up @@ -566,7 +566,7 @@
"app-store": {
"term": "App store",
"plain": "Apple's App Store or Google Play. Both review every app, including how it takes payments and handles data.",
"matters": "Shipping a phone app means planning for review, not just finishing the code.",
"matters": "Shipping a phone app means planning for the store review as well as finishing the code.",
"read_more": [{ "title": "App Review Guidelines: payments", "url": "https://developer.apple.com/app-store/review/guidelines/#payments", "source": "Apple Developer" }]
},
"oauth": {
Expand Down Expand Up @@ -634,7 +634,7 @@
"event": {
"term": "Event",
"plain": "One action someone takes, like signing up or clicking Buy, tracked on its own.",
"matters": "Events tell you whether a feature is used, not just visited."
"matters": "Events tell you whether a feature is used, where page views only say it was opened."
},
"cookie-consent": {
"term": "Cookie consent",
Expand Down
Loading
Loading