agentleFS
rkalievrkaliev/eng-kit/skills/choosing-a-stack/SKILL.md

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

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
  1. Distinctive:

    Verify facts at the source: Check the current LTS or stable versions, support windows and SDK requirements in the official docs or release …

    line 31
  2. Distinctive:

    use a decimal or integer-minor-units money type.

    line 50
  3. Distinctive:

    use managed secrets (KMS or Vault), not config files.

    line 52

≈ “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.

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

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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)

AreaDefaultConsider instead when
Web frontend (then web-frontend)TypeScript (strict) + React with a mainstream meta-framework, or the company standardSEO- 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 / APITypeScript on Node LTS, Kotlin/Java (Spring) or .NET LTS, Go for small infra servicesHeavy 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
DatabasePostgreSQLEmbedded, local or offline: SQLite. Analytics: a columnar store alongside, not instead
AndroidKotlin + Jetpack Compose, Gradle version catalogPayment or POS terminals: vendor SDK constraints (often Android with a fixed API level)
iOSSwift + SwiftUI (UIKit where needed), SPM—
Cross-platform mobileFlutter or React Native when one team ships shared UIDeep platform or hardware integration: native
Windows desktop.NET LTS + WinUI 3 / WPFCross-platform: Tauri (Rust + web UI) or Electron
Linux services / CLIGo or Rust for single binaries, Python for scripting and data—
Games / entertainmentUnity or Unreal, Godot for smaller 2D/3DWeb 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".

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.