agentleFS
MaheshAwasareMaheshAwasare/claude-skills-pro/skills/scaffold-new-app/SKILL.md

scaffold-new-app

Skill1 starsChanged 7 months agoMITView on GitHub

Interactive scaffolder that picks a stack from a few questions, then bootstraps the right project (SaaS / fullstack / Go service / CLI / etc) wired end-to-end. Routes to the matching scaffold-* skill. Use when starting any new project — saves the "should I use Next.js or just Express?" decision spiral.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After the questions, this skill produces:

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Scaffold a New App

Meta-skill that asks the right questions, picks a stack, and routes to the appropriate scaffold-* skill. Stops the "decision paralysis" tax of starting a new project.

When to use

  • Starting any new project where the stack isn't pre-decided.
  • Helping someone else start a project and they don't know what to pick.
  • Replacing a hacked-together prototype with a production-shaped scaffold.

When NOT to use

  • Project is already underway — adding scaffolding to an existing app is surgery, not scaffolding.
  • The user has already declared a stack ("scaffold a Rails app") — go straight to that scaffold.
  • Constrained environment (regulated, customer-mandated stack) — follow the constraint.

The decision tree

Walk through these questions with the user, in order. Stop at the first answer that determines the stack.

Q1: What is this project for?

AnswerLikely stack
B2B SaaS, multi-tenant→ scaffold-saas-starter
Indie SaaS / B2C app→ scaffold-fullstack-app
Internal tool→ scaffold-fullstack-app (or low-code if it's truly simple)
API-only service→ scaffold-go-microservice (or fastapi-production if Python team)
CLI tool→ scaffold-cli-tool
Mobile app→ react-native-expo (cross-platform) or native-only stack
Static marketing site→ Astro or plain Next.js (minimal)
Background data pipeline→ dbt-data-modeling for SQL, custom Python/Go for everything else
ML inference API→ fastapi-production

Q2: Who's the team?

AnswerAdjustment
Solo founderOptimize for speed-to-deploy → indie SaaS scaffold + Vercel + Neon
Small team (2–5)Same indie scaffold; pin tooling versions
Medium team (6–20)SaaS scaffold; consider monorepo with apps/* packages
20+ engineersGet a senior architect; this skill isn't for you

Q3: What's the geographic / compliance footprint?

AnswerAdjustment
India primaryRazorpay over Stripe; consult india-dpdp-act skill
EU primaryGDPR posture from day 1; data residency in EU
US/globalStripe; consider pci-dss-checklist for payment-handling scope
HIPAASpecialist review needed; baseline scaffold + hipaa-audit skill
None / dev toolSkip compliance skills

Q4: What's the deployment target?

AnswerAdjustment
Vercel + NeonDefault for Next.js scaffolds
Cloudflarecloudflare-workers scaffold instead
Railway / FlySame scaffolds; tweak deploy config
Self-hosted Kubernetesscaffold-go-microservice + kubernetes-helm
LambdaProbably wrong choice for a new app — challenge it

Q5: Will this need real-time features?

AnswerAdjustment
NoDefault scaffolds
Chat / collaborativeAdd Durable Objects or Pusher; consider Cloudflare Workers
Live dashboardsServer-Sent Events from API (cheaper than WebSocket)
Multi-cursor / OTThis is a specialist build; out of scope for scaffolding

The output

After the questions, this skill produces:

  1. A stack decision summary — the actual stack picked, written down in docs/stack.md.
  2. The route to the right scaffold-* skill — which then emits the project.
  3. A list of follow-on skills the user will likely need — e.g. razorpay-integration, clerk-auth, sentry-monitoring.

When defaults are wrong

Push back on the user when their request implies a poor fit:

  • "I want to build a SaaS in Rust" — challenge: do you actually have Rust expertise? Productivity hit is significant for non-CPU-bound web work.
  • "I want to use [obscure framework]" — challenge: who else on the team can maintain this?
  • "I want microservices from day 1" — challenge: do you have the team size to operate them? Default to a modular monolith.
  • "I want both Stripe and Razorpay wired" — challenge: do you have the geographic split to justify this maintenance load?
  • "I want my own auth" — challenge: have you used Clerk/Auth0? Building auth is six weeks you don't get back.

The right answer is sometimes "I want X anyway, here's why" — that's fine. But surface the trade-off; don't silently scaffold a regrettable choice.

Anti-patterns

  • Scaffolding without asking — produces wrong stack 60% of the time.
  • Asking 20 questions — most decisions can be defaulted; only 3–5 actually drive the stack.
  • Defaulting to the latest fashion — "Use the new shiny" is a costly default. Recommend boring tech with track record.
  • Picking microservices for "future scale" — you don't have scale; you have an extra week of ops setup.
  • Picking a backend language nobody on the team knows — productivity loss outweighs theoretical benefits.
  • Not committing the stack decision to the repo — six months later, nobody remembers why you picked X.
  • Skipping the compliance question for an India/EU/healthcare app — late compliance work is 10x harder than early.

Verify it worked

  • User answered Q1; you've picked the matching scaffold-* skill.
  • Adjustments from Q3 (compliance) and Q4 (deploy target) are applied.
  • docs/stack.md exists in the repo with the decision and rationale.
  • User has a list of follow-on skills they'll likely invoke.
  • Push-back happened if the request implied a poor fit.
  • The scaffold runs on the user's machine without manual intervention beyond pnpm install.
  • The user can describe the stack in one sentence ("Next.js App Router + Postgres RLS + Clerk + Razorpay + Brevo, on Vercel + Neon").

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.