agentleFS
danwykesdevdanwykesdev/skills/stack-builder/SKILL.md

saas-stack-builder

Skill0 starsChanged 6 months agoMITView on GitHub

Choose or validate an application stack from product behaviour, users, scale, cost, integrations, and team constraints. Use when stack is unknown, partial, or needs review.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to recommend, validate, or refine a technical stack.

    line 8
  2. Distinctive:

    Ask the user about:

    line 16
  3. Distinctive:

    Ask the user to select all that apply:

    line 31
  4. Very specific:

    If Other is selected, ask the user to describe the missing capabilities.

    line 52
  5. Distinctive:

    Use these as patterns, not fixed answers:

    line 69
  6. Distinctive:

    Do not over-engineer early MVPs.

    line 127
  7. Distinctive:

    Prefer fewer moving parts when possible.

    line 129
  8. Distinctive:

    If compliance or enterprise needs are high, call out missing controls.

    line 130
  9. Distinctive:

    If the stack is known but unsuitable, recommend adjustments rather than replacing everything by default.

    line 131

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/stack-builder Skill

Use this skill to recommend, validate, or refine a technical stack.

Goal

Choose a stack based on how the product behaves, not based on hype or user familiarity alone.

Inputs to collect

Ask the user about:

  1. Product type
  2. User types
  3. Required capabilities
  4. Expected scale
  5. Budget sensitivity
  6. Team experience
  7. Compliance/security requirements
  8. Deployment preference
  9. Integrations
  10. Maintenance expectations

Capability checklist

Ask the user to select all that apply:

1. User accounts and authentication
2. Teams/workspaces
3. File uploads
4. Payments/subscriptions
5. Public marketing pages
6. Dynamic dashboards
7. Static generated pages
8. Background jobs
9. Email notifications
10. AI/video/image generation
11. Custom domains
12. Admin panel
13. Analytics/reporting
14. API access
15. Multi-tenant data isolation
16. Other

If Other is selected, ask the user to describe the missing capabilities.

Recommendation format

Produce:

  • recommended stack
  • viable alternatives
  • why this stack fits
  • trade-offs
  • risks
  • future scaling path
  • implementation notes
  • ADRs to generate

Example stack families

Use these as patterns, not fixed answers:

Cloudflare-native SaaS

  • Astro or Remix/React
  • Cloudflare Workers
  • D1
  • R2
  • Queues
  • Cloudflare for SaaS
  • Better Auth/Auth.js

Best for edge-first, static/public page generation, low ops, custom hostnames, and Cloudflare-native teams.

Vercel/Supabase SaaS

  • Next.js
  • Vercel
  • Supabase Postgres/Auth/Storage
  • Resend
  • Stripe

Best for fast MVPs, rich dashboard apps, and teams familiar with React/Next.

Laravel SaaS

  • Laravel
  • Inertia/Livewire
  • PostgreSQL/MySQL
  • Redis queues
  • S3-compatible storage
  • Stripe Cashier

Best for classic business SaaS, admin workflows, permissions, and long-term maintainability.

Rails SaaS

  • Ruby on Rails
  • PostgreSQL
  • Sidekiq/GoodJob
  • S3-compatible storage
  • Stripe

Best for product teams that value convention, speed, and mature full-stack patterns.

Required outputs

Create or update:

  • platform/stack-recommendation.md
  • architecture/runtime-model.md
  • architecture/data-storage-model.md
  • architecture/integration-model.md
  • security/stack-risk-model.md
  • relevant ADRs

Guardrails

  • Do not over-engineer early MVPs.
  • Explain trade-offs clearly.
  • Prefer fewer moving parts when possible.
  • If compliance or enterprise needs are high, call out missing controls.
  • If the stack is known but unsuitable, recommend adjustments rather than replacing everything by default.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.