-
Notifications
You must be signed in to change notification settings - Fork 0
Stacks
luiseiman edited this page Apr 5, 2026
·
3 revisions
15 technology stacks, auto-detected and composable. Multi-stack projects get all matching stacks merged automatically.
| Stack | Detection | Rules |
|---|---|---|
| python-fastapi |
pyproject.toml, requirements.txt
|
backend.md, tests.md |
| react-vite-ts |
package.json with react/vite |
frontend.md |
| swift-swiftui |
Package.swift, *.xcodeproj
|
ios.md |
| supabase |
supabase/ dir, @supabase/supabase-js
|
database.md |
| docker-deploy |
Dockerfile, docker-compose*
|
infra.md |
| data-analysis |
*.ipynb, pandas/numpy in deps |
data.md |
| gcp-cloud-run |
app.yaml, cloudbuild.yaml
|
gcp.md |
| redis | redis in dependencies | redis.md |
| node-express |
package.json with express/fastify |
backend.md |
| java-spring |
pom.xml, build.gradle with Spring |
backend.md |
| aws-deploy |
cdk.json, template.yaml (SAM) |
aws.md |
| go-api | go.mod |
backend.md |
| devcontainer |
.devcontainer/ dir |
devcontainer.md |
| hookify |
.claude/hookify.*.md files present |
hookify.md |
| trading | User declares or trading keyword in project description |
trading.md |
stacks/<name>/
├── rules/*.md — contextual rules with globs: frontmatter
├── settings.json.partial — permissions and hooks to merge
└── hooks/*.sh — (optional) stack-specific hooks
If your project uses Python + Docker + Redis, all three stacks are detected. Their permissions are merged by set union (no duplicates):
python-fastapi permissions ∪ docker-deploy permissions ∪ redis permissions
Rules from each stack are installed with stack-specific globs, so they only activate when you touch relevant files.
- Create
stacks/<name>/ - Add
rules/<name>.mdwithglobs:frontmatter - Add
settings.json.partialwith permissions - (Optional) Add
hooks/<name>.shfor stack-specific validation
See docs/creating-stacks.md for the full guide.
When indicators conflict, stacks/detect.md defines resolution:
-
pyproject.tomlalone does NOT imply python-fastapi — verifyfastapiis in dependencies -
Dockerfile+app.yaml/cloudbuild.yaml→ gcp-cloud-run takes priority over docker-deploy -
package.jsonwith both react and express → both react-vite-ts AND node-express (additive) -
*.pyfiles do NOT auto-trigger data-analysis — requires notebooks, CSV, or SQL files
-
node-express glob is narrowed to backend paths (
src/routes/**, src/services/**, src/middleware/**) to avoid overlap with react-vite-ts -
data-analysis no longer matches
.pyfiles — only*.{sql,ipynb,csv,xlsx}— avoids overlap with python-fastapi