stack-detection

Detects project language and framework stacks to route engineering tasks to matching skills.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/astroville/sprout --skill stack-detection-astroville
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stack-detection
Source: https://github.com/astroville/sprout/tree/main/.claude/skills/stack-detection
Command: npx skills add https://github.com/astroville/sprout --skill stack-detection-astroville

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering agents need to know which language and framework conventions apply before writing code, and manually choosing the right stack-specific guidance for every task is error-prone and inconsistent. ## Core Features & Use Cases - File-Based Detection: Maps file extensions like .java, .go, .rs, .py, and .tsx to the corresponding stack skills. - Project Marker Detection: Inspects root-level build files such as pom.xml, go.mod, Cargo.toml, pyproject.toml, and package.json when file-level signals are ambiguous. - Mixed-Stack Support: Loads multiple stack skills simultaneously for tasks spanning several technologies, such as a Go backend with a React frontend. - Use Case: An engineer starts a task touching a TypeScript React component and a SQL migration; the skill detects both signals and loads javascript-stack, react-stack, and database-stack together. ## Quick Start Ask the agent to detect the technology stack of the files in this task and load the appropriate stack skills before implementing.

Frequently Asked Questions about stack-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect the technology stack of a project automatically?▼

Stack detection examines file extensions and import statements in the files being changed first, then falls back to project root markers like pom.xml, go.mod, Cargo.toml, or package.json. The most specific signal available determines which stack skills to load.

What project files indicate which programming language stack?▼

Common markers include pom.xml or build.gradle for Java, go.mod for Go, Cargo.toml for Rust, pyproject.toml or requirements.txt for Python, and package.json for JavaScript. A package.json with a React dependency additionally signals the React stack.

Can stack detection handle projects with multiple languages?▼

Yes, mixed-stack tasks load all relevant stack skills simultaneously without conflict. For example, a Go backend with a React frontend loads both go-stack and react-stack, since each skill covers its own domain.

When should stack detection run in an engineering workflow?▼

Run it at the start of any engineering task, before loading stack-specific skills. It should also always be paired with baseline skills like implementation-principles and testing-and-validation regardless of the detected stack.

What are the limitations of file-extension-based stack detection?▼

File extensions alone can be ambiguous when a task touches generic or shared files, so detection falls back to project root build configuration. If neither signal is conclusive, the stack may need manual confirmation from the engineer.