choosing-a-stack
Skill1 starsChanged 13 days agoMITView on GitHub
Use when starting a new project, service or app, or when choosing a language, framework, database, library or platform for new work
In this repository36 other files it gives its agents.
- skills/writing-skills/references/agents.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- backend-servicesSkill
- brainstormingSkill
- changing-legacy-codeSkill
- ci-quality-gatesSkill
- database-changesSkill
- desktop-developmentSkill
- dispatching-parallel-agentsSkill
- docsSkill
- executing-plansSkill
- finishSkill
- git-workflowSkill
- implementSkill
- kit-initSkill
- mobile-developmentSkill
- new-taskSkill
- observabilitySkill
- onboarding-existing-codebaseSkill
- payments-and-moneySkill
- pos-systemsSkill
- publishing-documentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-motionSkill
- updating-dependenciesSkill
- using-skillsSkill
- verification-before-completionSkill
- verifySkill
- web-frontendSkill
- writing-documentationSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 31
Verify facts at the source: Check the current LTS or stable versions, support windows and SDK requirements in the official docs or release …
- Distinctive: line 50
use a decimal or integer-minor-units money type.
- Distinctive: line 52
use managed secrets (KMS or Vault), not config files.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Choosing a stack
Pick for reliability in this domain, not novelty. The best stack is the one that will still be supported, hireable and secure in five years, and that fits the platform and compliance constraints. A stack choice is a fork: present options and ask the user.
In an existing codebase the stack is already chosen. Use what is there (changing-legacy-code) unless the user explicitly asks for a migration.
Process
- Collect constraints:
- target platforms and OS floors;
- domain (payments, POS or regulated work raises the bar);
- team skills and existing company stacks;
- hosting and deployment target;
- offline needs, latency and scale;
- licensing and compliance (PCI DSS, personal-data law, fiscal law);
- integration SDKs that exist only for some platforms. Payment terminals, fiscal devices and vendor SDKs often decide it.
- Score 2–3 candidates against these criteria:
- maturity and a supported LTS line;
- breadth of the ecosystem for the needed integrations;
- type safety;
- testability;
- security track record;
- team fit;
- operational cost;
- lock-in.
- Verify facts at the source. Check the current LTS or stable versions, support windows and SDK requirements in the official docs or release pages. Never state them from memory.
- Recommend one, with its trade-offs and what would change the decision. Record the decision (a decision record, see writing-documentation) with the date and pinned versions.
- Scaffold with the official tool for the chosen stack, and set up CI from the start (ci-quality-gates). For web and API products, offer BDD as the acceptance layer; the user decides. To scaffold the TypeScript full-stack candidate, follow the profile's scaffold steps. Pin exact versions, commit the lockfile, and add formatter, linter, typecheck and test commands from the start. Write them into CLAUDE.md (
../../templates/CLAUDE.md) and.claude/verify.json.
Reliable defaults (starting points, not rules)
| Area | Default | Consider instead when |
| Web frontend (then web-frontend) | TypeScript (strict) + React with a mainstream meta-framework, or the company standard | SEO- or content-heavy (SSR/SSG first), very small widget (vanilla or a small library). TypeScript full-stack in one repo: the profile in references/ts-fullstack-profile.md is one candidate |
| Backend / API | TypeScript on Node LTS, Kotlin/Java (Spring) or .NET LTS, Go for small infra services | Heavy transactional or financial domain: prefer JVM or .NET with strong typing and mature DB tooling. Runtime rules: backend-services. TypeScript full-stack in one repo: the profile in references/ts-fullstack-profile.md is one candidate |
| Database | PostgreSQL | Embedded, local or offline: SQLite. Analytics: a columnar store alongside, not instead |
| Android | Kotlin + Jetpack Compose, Gradle version catalog | Payment or POS terminals: vendor SDK constraints (often Android with a fixed API level) |
| iOS | Swift + SwiftUI (UIKit where needed), SPM | — |
| Cross-platform mobile | Flutter or React Native when one team ships shared UI | Deep platform or hardware integration: native |
| Windows desktop | .NET LTS + WinUI 3 / WPF | Cross-platform: Tauri (Rust + web UI) or Electron |
| Linux services / CLI | Go or Rust for single binaries, Python for scripting and data | — |
| Games / entertainment | Unity or Unreal, Godot for smaller 2D/3D | Web games: TypeScript + a WebGL/Canvas engine |
Money and regulated domains:
- use a decimal or integer-minor-units money type;
- choose a certified gateway or provider SDK over home-grown protocol code;
- use managed secrets (KMS or Vault), not config files. See payments-and-money and pos-systems.
Red flags
- Choosing by hype or benchmarks with no domain need.
- A dependency with one maintainer for a core concern.
- Versions you haven't checked are still supported.
- Adding a second language or framework to a repo "because it's nicer".
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
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.

