detect-stack
Skill2 starsChanged 5 months agoMITView on GitHub
Detect the project's tech stack(s) — frameworks, ORMs, build tools, test runners — from lockfiles and config files. Returns a structured manifest. Used by atlas-refresh, lint dispatcher, stale-deps workflow. Round 8 C.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- roedyrustam/doku-gemini-mcptheir own version, first seen Nov 8, 2026
- JordanCoin/codingskillstheir own version, first seen Feb 28, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- JordanCoin/codingskills★ 10same name
- roedyrustam/doku-gemini-mcp★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository60 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- analyzeSkill
- animation-disciplineSkill
- api-versioningSkill
- autopilotSkill
- browser-e2eSkill
- characterizeSkill
- clarifySkill
- codemodSkill
- constitution-compactSkill
- constitutionSkill
- context-budgetSkill
- creative-webSkill
- db-migrationSkill
- debugSkill
- dispatch-criteriaSkill
- dreamSkill
- experimentSkill
- fastapiSkill
- flag-cleanupSkill
- flag-rolloutSkill
- flask-realtimeSkill
- framework-detectorSkill
- front-end-designSkill
- grill-meSkill
- handoffSkill
- image-generationSkill
- implementSkill
- initiativeSkill
- instinctSkill
- loopSkill
- nextjsSkill
- observabilitySkill
- okr-alignSkill
- parallel-swarmSkill
- pivotSkill
- planSkill
- pr-bodySkill
- prime-disciplineSkill
- prod-observabilitySkill
- react-nodeSkill
- react-viteSkill
- release-trainSkill
- researchSkill
- reviewSkill
- security-guardSkill
- self-healSkill
- shipSkill
- skill-creatorSkill
- specifySkill
- tailwind-disciplineSkill
- tasksSkill
- tdd-loopSkill
- token-budgetSkill
- typographySkill
- verify-loopSkill
- verifySkill
- wip-checkpointSkill
- <kebab-case-skill-name>Skill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 122
After detection completes, consult .claude/skills/framework-detector/SKILL.md which maps the detected frameworks.{web,api} pair to a seeded …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Detect stack
A pure-function skill: scan the repo, return a manifest of what's present.
Output schema
{
"languages": ["typescript", "python"],
"frameworks": {
"web": "Next.js 14 (App Router)",
"api": "tRPC 11",
"orm": "Prisma 5",
"styles": "Tailwind CSS 3"
},
"build_tools": ["pnpm", "turbo"],
"test_frameworks": ["vitest", "playwright"],
"lockfiles": ["pnpm-lock.yaml", "package.json", "tsconfig.json"],
"monorepo": true,
"monorepo_tool": "turborepo",
"primary_stack": "typescript"
}Detection rules
Languages (from lockfiles/manifests)
| Lockfile | Language |
package.json + (*.ts OR tsconfig.json) | TypeScript |
package.json (no TS) | JavaScript |
pyproject.toml / requirements.txt / setup.py | Python |
Cargo.toml | Rust |
go.mod | Go |
pom.xml / build.gradle(.kts) | Java/Kotlin |
Gemfile | Ruby |
composer.json | PHP |
*.swift | Swift |
*.kt (Android) | Kotlin |
*.dart (Flutter) | Dart |
Web frameworks
| Signal | Framework |
next.config.{js,mjs,ts} + app/ dir | Next.js (App Router) |
next.config.* + pages/ dir | Next.js (Pages Router) |
remix.config.* | Remix |
vite.config.* + React | Vite-React |
vue.config.* / nuxt.config.* | Vue / Nuxt |
angular.json | Angular |
astro.config.* | Astro |
svelte.config.* | SvelteKit |
API frameworks
| Signal | Framework |
@trpc/server in deps | tRPC |
express in deps | Express |
fastify in deps | Fastify |
@nestjs/core | NestJS |
hono | Hono |
fastapi in pyproject | FastAPI |
django | Django |
flask | Flask |
rails | Rails |
actix-web / axum / rocket | Rust web |
github.com/gin-gonic/gin / gofiber/fiber | Go web |
ORMs
| Signal | ORM |
prisma/schema.prisma | Prisma |
drizzle/schema.ts / drizzle.config.* | Drizzle |
typeorm in deps | TypeORM |
sqlalchemy | SQLAlchemy |
alembic.ini | Alembic (migrations) |
activerecord | ActiveRecord |
gorm.io/gorm | GORM |
diesel.toml | Diesel |
Monorepo tools
| Signal | Tool |
turbo.json | Turborepo |
nx.json | Nx |
pnpm-workspace.yaml | pnpm workspaces |
lerna.json | Lerna |
Workspace cargo + multiple Cargo.toml | Cargo workspaces |
Test frameworks
| Signal | Framework |
vitest.config.* / vitest in deps | Vitest |
jest.config.* / jest in deps | Jest |
playwright.config.* / @playwright/test | Playwright |
cypress.config.* | Cypress |
pytest.ini / pytest in deps | pytest |
*_test.go files | go test |
cargo test (always available) | cargo test |
rspec in Gemfile | RSpec |
Implementation
The detection logic lives in .claude/scripts/atlas-refresh.sh. This skill file documents the schema + rules. Direct script invocation: bash .claude/scripts/atlas-refresh.sh writes the atlas; bash .claude/scripts/detect-stacks.sh (Round 8 B) gives the simpler stacks-only list.
When this skill is invoked
- Nightly via
.claude/routines/atlas-refresh.yml - On-demand via
/atlas refresh - Pre-spec via
architect.mdworkflow step 1 (reads atlas) - Pre-implement via
implementer.mdworkflow step 1 (reads atlas)
Hand-off to framework-specific skills
After detection completes, consult .claude/skills/framework-detector/SKILL.md which maps the detected frameworks.{web,api} pair to a seeded .claude/skills/<stack>/SKILL.md (e.g. react-vite, react-node, flask-realtime). The detector writes .claude/memory/atlas/SKILL_HINTS.md so the implementer/architect agents pick up the right skill without re-running detection.
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.

