Skip to content

Stack Detection Tables

Used by /plan skill to auto-detect project stacks. Each row maps a detection hint to a stack profile under stacks/<name>/ (which ships stack.json plus guide.md). Roles (security, sre, lead, ux, game-designer, narrative, pixel-artist, sound-designer) live under harness/roles/ instead of stacks/ — see roles.md for that taxonomy.

File Detection

Detect FilesStack NameReference
pyproject.toml + fastapi import / dependencyfastapistacks/fastapi/guide.md
manage.py, django in requirementsdjangostacks/django/guide.md
pyproject.toml / requirements.txt + flaskflaskstacks/flask/guide.md
pyproject.toml / requirements.txt (no fastapi/flask/django)pythonstacks/python/guide.md
composer.json + laravellaravelstacks/laravel/guide.md
composer.json (no framework)phpstacks/php/guide.md
.blade.php templatesbladestacks/blade/guide.md
go.modgostacks/go/guide.md
Cargo.tomlruststacks/rust/guide.md
build.gradle / *.ktkotlinstacks/kotlin/guide.md
pom.xml / build.gradle + *.javajavastacks/java/guide.md
*.swift, Package.swiftswiftstacks/swift/guide.md
pubspec.yaml + flutterflutterstacks/flutter/guide.md
tsconfig.jsontypescriptstacks/typescript/guide.md
package.json (no ts/framework)javascriptstacks/javascript/guide.md
next.config.*nextstacks/next/guide.md
nuxt.config.tsnuxtstacks/nuxt/guide.md
svelte.config.jssveltestacks/svelte/guide.md
package.json + react (no next)reactstacks/react/guide.md
package.json + vue (no nuxt)vuestacks/vue/guide.md
Dockerfile, docker-compose.ymldockerstacks/docker/guide.md
ansible.cfg, playbooks/ansiblestacks/ansible/guide.md
*.tf, terraform.tfstateterraformstacks/terraform/guide.md
Chart.yaml, templates/ (Helm)helmstacks/helm/guide.md
*.yaml under k8s/ or manifests/kubernetesstacks/kubernetes/guide.md

Keyword Mapping

KeywordsStack
API, endpoint, FastAPI, asyncfastapi
Django, ORM, admindjango
Flask, blueprint, jinjaflask
CLI, daemon, systemdpython
Laravel, Eloquentlaravel
Blade template, @yield, @sectionblade
PHP, vanilla phpphp
Go, Chi, Gin, goroutinego
Rust, tokio, async, cargorust
Kotlin, coroutines, Composekotlin
Java, Spring, Mavenjava
Swift, SwiftUI, Combineswift
Flutter, Dart, GetXflutter
TypeScript, type, interface, generictypescript
JavaScript, vanilla js, web APIjavascript
Next, app router, server actionsnext
Nuxt, page, layout, useFetchnuxt
Svelte, store, runessvelte
React, hooks, JSXreact
Vue, composition API, ref/reactivevue
Docker, container, imagedocker
Ansible, playbook, roleansible
Terraform, plan, apply, stateterraform
Helm, chart, values.yamlhelm
Kubernetes, pod, deployment, servicekubernetes

Coordination for Complex Tasks

For tasks that span multiple stacks, /plan picks one primary stack and lists supporting stacks for completion-time review. Roles (security, sre, lead, ux, design-leaning ones) layer on top of the chosen stack — they aren't stack profiles themselves.

ConcernLayer
User-facing changesrole: ux
Auth / sensitive datarole: security
API changesprimary stack
UI changesprimary stack
Deploy affecteddocker / kubernetes / terraform / helm
Architecture / ADRrole: lead
Primary Stack:    Does the implementation
Supporting Stacks: Review specific aspects on completion
Role (optional):  Cross-cutting concern (security audit, ux review, …)