detect-stack
Skill0 starsChanged 7 months agoMITView on GitHub
This skill should be used when the user asks to 'detect project stack', 'identify tech stack', 'what language is this project', 'analyze project technology', or 'what framework does this use'. Auto-detects language, framework, test framework, build tools, and architecture style from project files.
3 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
- qyndex/claude-inittheir own version, first seen Oct 13, 2026
- JordanCoin/codingskillstheir own version, first seen Feb 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- JordanCoin/codingskills★ 10same name
- qyndex/claude-init★ 2same 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 repository5 other files it gives its agents.
- generate-rulesSkill
- map-architectureSkill
- mine-anti-patternsSkill
- setupSkill
- validate-contextSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
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
- Distinctive: line 12
Check for indicator files (run in parallel):
- Distinctive: line 25
Use Grep to search for framework imports:
- Very specific: line 52
Check for CLAUDE.md, .claude/rules/*.md, .kiro/steering/*.md, docs/.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Detect Project Stack
Auto-detect the project's technology stack by scanning project files.
Step 1: Language Detection
Check for indicator files (run in parallel):
| File | Language |
pyproject.toml, setup.py, requirements.txt | Python |
package.json, tsconfig.json | TypeScript/JavaScript |
go.mod | Go |
Cargo.toml | Rust |
pom.xml, build.gradle | Java |
Gemfile, *.gemspec | Ruby |
Step 2: Framework Detection
Use Grep to search for framework imports:
| Pattern | Framework |
from fastapi or import fastapi | FastAPI |
from flask | Flask |
from django | Django |
next.config | Next.js |
import express or require("express") | Express |
Rails in Gemfile | Rails |
Step 3: Test Framework Detection
| Pattern | Framework |
import pytest or [pytest] in pyproject.toml | pytest |
import unittest | unittest |
describe( or test( in JS files | Jest/Vitest |
func Test in Go files | go test |
RSpec.describe | RSpec |
Step 4: Build and Lint Commands
Detect from package.json scripts, Makefile, pyproject.toml tool configs, or Cargo.toml.
Step 5: Existing Context
Check for CLAUDE.md, .claude/rules/*.md, .kiro/steering/*.md, docs/.
Step 6: Architecture Style
Scan directory structure:
| Pattern | Style |
src/core/, src/domain/, src/usecases/ | Clean Architecture |
models/, views/, controllers/ | MVC |
src/domain/, src/ports/, src/adapters/ | Hexagonal |
src/features/*/ | Vertical Slices |
app/, lib/, internal/, pkg/ | Go Standard |
Output Format
PROJECT_PROFILE:
name: [project name]
language: [Python | TypeScript | Go | Rust | Ruby | Java | Mixed]
framework: [name or None]
test_framework: [name or None]
build_command: [command or None]
test_command: [command or None]
lint_command: [command or None]
layers: [list of detected layers]
entry_points: [list of entry points]
architecture_style: [Clean | MVC | Hexagonal | Layered | Vertical Slices | Unknown]
has_claude_md: [true | false]
existing_rules: [count]Utility Script
For automated detection, execute scripts/detect.py in the project root. The script outputs a PROJECT_PROFILE YAML to stdout.
Integration
The PROJECT_PROFILE feeds into map-architecture, generate-rules, and validate-context.
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.

