stacks
Installation
SKILL.md
Stack Conventions Skill
Purpose
Ensures generated code follows ecosystem-standard conventions rather than generic patterns. Every stack has an idiomatic way to structure projects, name files, handle dependencies, and compose modules. This skill provides the defaults so downstream skills (generate, validate) produce code that a human engineer would recognize as "correct for this stack."
Stack Detection
Identify the active stack by scanning for file signatures in the project root:
| Signal | Stack | Action |
|---|---|---|
pyproject.toml, requirements.txt, Pipfile |
Python | Load references/python-fastapi.md |
package.json + tsconfig.json |
Node.js/TypeScript | Load references/node-typescript.md |
next.config.*, app/layout.tsx |
Next.js | Load references/nextjs.md |
go.mod |
Go | Load references/go.md |
| None detected | Unknown | Ask the user or infer from the task description |
If multiple signals are present (e.g., a monorepo with both Python and TypeScript), load all relevant references and apply each to its respective workspace.