agentleFS
LDKTCLDKTC/Agent-P-FullStack/skills/stack-briefing/SKILL.md

stack-briefing

Skill1 starsChanged 4 months agoMITView on GitHub

Detect a project's actual frontend/backend/database/infra stack and versions by reading lockfiles and config directly (not from memory or assumption), and produce a short briefing block other work in this session should treat as a hard constraint. Use before writing any non-trivial full-stack code in an unfamiliar repo, when switching between projects with different stacks, or when asked to confirm/check the stack/version before coding.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look for a frontend build (package.json with React/Vue/Svelte/Next/Nuxt), a backend service (Node/Express/Fastify/NestJS, …

    line 14
  2. Very specific:

    If the repo is empty or greenfield, there is no stack to detect and the briefing becomes a recommendation instead: name the scaffold to …

    line 20
  3. Distinctive:

    Never assume a stack matches a project you worked on earlier — re-detect every time.

    line 40
  4. Distinctive:

    Treat this as a hard constraint for the rest of the session until the project's stack actually changes.

    line 65
  5. Distinctive:

    Don't skip straight to implementation without this pass on an unfamiliar repo — a wrong version assumption compounds into every file …

    line 70
  6. Distinctive:

    Don't invent a convention when the repo already has one, even an inconsistent one — match what's there.

    line 72

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

The inline version of fullstack-senior-dev's detection routine — for tools or contexts that don't have subagent dispatch, run this directly in the main conversation before writing full-stack code.

Step 1 — Confirm this is a full-stack web project

Look for a frontend build (package.json with React/Vue/Svelte/Next/Nuxt), a backend service (Node/Express/Fastify/NestJS, Python/Django/FastAPI/Flask, Ruby/Rails, Go), and a database (Postgres/MySQL/SQLite/MongoDB config, or an ORM's schema/migration files). If it's not actually this kind of project, say so and skip the rest.

If the repo is empty or greenfield, there is no stack to detect and the briefing becomes a recommendation instead: name the scaffold to start from — an established starter for the intended stack, or the framework's own create-* tool — rather than assembling a skeleton by hand, which loses the wiring conventions, build config, and dev-server setup a scaffold gets right for free. State the choice and why, then treat it as the constraint the rest of the work builds within.

Step 2 — Pin down real versions

  • Frontend: package.json — framework + version, bundler, UI library, state-management library, styling approach.
  • Backend: the ecosystem manifest (package.json, requirements.txt/pyproject.toml, Gemfile, go.mod) — framework, language/runtime version, API style (REST/GraphQL/tRPC).
  • Database: engine, access layer (raw driver, ORM, query builder), migration approach.
  • Infra: Dockerfile/docker-compose.yml, CI config, deploy target hints (vercel.json, Procfile, IaC folder).

Never assume a stack matches a project you worked on earlier — re-detect every time.

Step 3 — Note existing conventions

Open one representative file per layer (a component, a route/controller, a schema/model) and note naming, folder layout, and how cross-cutting concerns (auth, error handling, validation) are already handled.

Step 4 — Output the briefing

STACK CONFIRMED:
  Frontend: <framework> <version> — <state mgmt> — <styling approach>
  Backend: <framework/language> <version> — <API style>
  Database: <engine> — <access layer> — <migration approach>
  Infra: <containerized? CI present? deploy target>

ARCHITECTURE: <folder layout, layering convention, where cross-cutting concerns live>

VERSION GUARDRAILS: <APIs/patterns unavailable or deprecated at these specific versions>

CONVENTIONS TO MATCH: <naming, file placement, error-handling, validation — one real example file per layer>

Treat this as a hard constraint for the rest of the session until the project's stack actually changes.

What not to do

  • Don't skip straight to implementation without this pass on an unfamiliar repo — a wrong version assumption compounds into every file touched after.
  • Don't invent a convention when the repo already has one, even an inconsistent one — match what's there.

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.