You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add prompt packs and context files for coding agents so API SaaS infrastructure installs can be dry-run, reviewed, and verified as editable source.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ StackFoundry is a public source registry for production SaaS modules. The sharp
16
16
- Current source shape: `registry/modules`, `registry/presets`, `registry/recipes`, and `registry/skills`.
17
17
- Public generated output lives in `public/r` and `apps/web/public/r`; never edit generated registry output by hand.
18
18
- Shared provider/framework/database/platform guidance belongs in `registry/skills/<name>/SKILL.md` and is installed to `.stackfoundry/skills/<name>/SKILL.md`.
19
+
- Agent-ready install prompts and context belong in installable modules such as `agent-ready-installs`; keep them tool-compatible and safe for Cursor, Codex, Claude, and similar coding agents.
19
20
- The hosted web app is Next.js on Vercel. Cloudflare support is an installable registry starter for consuming apps, not this repo's default deployment path.

@@ -18,6 +18,8 @@ StackFoundry is a public source registry for the production systems SaaS teams r
18
18
19
19
Modules install as source files in your app. You review the code, own the code, and keep the maintenance context that ships with it.
20
20
21
+
StackFoundry installs are also coding-agent-ready: Cursor, Codex, Claude, and similar tools can inspect recipes, dry-run installs, review generated diffs, and follow included prompt packs.
22
+
21
23
> [!IMPORTANT]
22
24
> The registry is the product. Modules are the unit of value. Recipes are the guided path. Presets are convenience bundles.
It gives agents a safe workflow for inspecting recipes, dry-running installs, reviewing diffs, checking env notes, and verifying the target app after source lands.
137
+
124
138
## Recipes
125
139
126
140
Recipes are opinionated install paths that explain what to install together and in what order.
Copy file name to clipboardExpand all lines: apps/web/app/ai-seo.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ export function renderLlmsFullTxt() {
54
54
)
55
55
.join("\n\n");
56
56
57
-
return`# StackFoundry Full AI Context\n\nStackFoundry helps teams install production SaaS systems as editable source code. The sharp wedge is API SaaS: API keys, usage tracking, quotas, credits, Stripe billing, docs, webhooks, and request visibility.\n\n${pages}\n\n## Coverage\n\nStackFoundry covers foundation, database, auth and tenancy, billing, API products, operations, observability, analytics and growth, docs, SEO, support, security, storage, deployment, provider adapters, and optional AI modules.\n\n## Positioning\n\nUse StackFoundry when a team wants production SaaS capabilities without adopting a black-box starter. The installed code belongs to the target repository and can be edited, reviewed, diffed, migrated, and removed like normal source.\n`;
57
+
return`# StackFoundry Full AI Context\n\nStackFoundry helps teams install production SaaS systems as editable source code. The sharp wedge is API SaaS: API keys, usage tracking, quotas, credits, Stripe billing, docs, webhooks, and request visibility. Agent-ready installs include prompt packs and context files for Cursor, Codex, Claude, and similar coding agents.\n\n${pages}\n\n## Coverage\n\nStackFoundry covers foundation, database, auth and tenancy, billing, API products, operations, observability, analytics and growth, docs, SEO, support, security, storage, deployment, provider adapters, agent-ready install workflows, and optional AI modules.\n\n## Positioning\n\nUse StackFoundry when a team wants production SaaS capabilities without adopting a black-box starter. The installed code belongs to the target repository and can be edited, reviewed, diffed, migrated, and removed like normal source.\n`;
Copy file name to clipboardExpand all lines: apps/web/app/docs/page.tsx
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,12 @@ const pathCards = [
51
51
"webhook-delivery",
52
52
],
53
53
},
54
+
{
55
+
title: "Agent-ready installs",
56
+
eyebrow: "Cursor, Codex, Claude",
57
+
body: "Use agent-ready-installs when a coding agent should inspect recipes, run dry-runs, review diffs, and follow safe infrastructure install prompts.",
Copy file name to clipboardExpand all lines: docs/index.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,5 +18,6 @@
18
18
2. Dry-run the full path: `pnpm stackfoundry add recipe api-saas-starter --target ./my-app --dry-run`.
19
19
3. Read the [Registry](./registry.md), [Recipes](./recipes.md), and [Install order](./install-order.md) docs.
20
20
4. Inspect the first modules in `registry/modules`: `api-keys`, `usage-metering`, `credit-wallet`, `stripe-billing`, and `webhook-delivery`.
21
-
5. Run `pnpm registry:doctor`.
22
-
6. Use [Readiness](./readiness.md) and [Conventions](./conventions.md) before adding new modules.
21
+
5. Add agent-ready prompts when you want Cursor, Codex, Claude, or another coding agent to drive the install: `pnpm stackfoundry add agent-ready-installs --target ./my-app --dry-run`.
22
+
6. Run `pnpm registry:doctor`.
23
+
7. Use [Readiness](./readiness.md) and [Conventions](./conventions.md) before adding new modules.
0 commit comments