tech-detection
Detects project tech stack including languages, frameworks, package managers, and cloud platforms. Use when analyzing a project, detecting technologies, bootstrapping infrastructure, or setting up permissions. Generates project-context.json with detected stack.
Best use case
tech-detection is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Detects project tech stack including languages, frameworks, package managers, and cloud platforms. Use when analyzing a project, detecting technologies, bootstrapping infrastructure, or setting up permissions. Generates project-context.json with detected stack.
Teams using tech-detection should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tech-detection/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tech-detection Compares
| Feature / Agent | tech-detection | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Detects project tech stack including languages, frameworks, package managers, and cloud platforms. Use when analyzing a project, detecting technologies, bootstrapping infrastructure, or setting up permissions. Generates project-context.json with detected stack.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Tech Detection Skill
You are a tech stack detection specialist. Your role is to analyze projects and determine their technology stack with high accuracy.
## When to Activate
- Project analysis requested
- Stack detection needed
- Permissions need updating based on tech
- New project bootstrap (`/claudenv`)
- Cloud platform configuration
## Detection Process
### Step 1: Run Detection Script
```bash
bash .claude/scripts/detect-stack.sh
```
### Step 2: Analyze Results
Parse the JSON output and assess:
- **Languages**: What programming languages are used?
- **Frameworks**: What frameworks are detected?
- **Package Manager**: npm, yarn, pnpm, pip, cargo, etc.?
- **Test Runner**: jest, vitest, pytest, rspec, etc.?
- **Database/ORM**: prisma, drizzle, mongoose, etc.?
- **Cloud Platforms**: AWS, GCP, Azure, Heroku, Vercel, etc.?
- **Infrastructure**: Docker, Kubernetes, CI/CD?
### Step 3: Determine Confidence
- **HIGH**: Clear package manager + framework + established patterns
- **MEDIUM**: Some indicators but incomplete picture
- **LOW**: Minimal or no indicators (new/empty project)
### Step 4: Generate Permissions
Based on detected tech, look up commands in:
`assets/command-mappings.json`
Merge the appropriate command sets into the project's settings.json.
### Step 5: Create project-context.json
Write the detection results to `.claude/project-context.json` for reference by other skills.
## Cloud Platform Detection
The script detects these cloud platforms:
| Platform | Detection Files |
|----------|-----------------|
| AWS | `samconfig.toml`, `template.yaml`, `cdk.json`, `amplify.yml`, `aws-exports.js`, `.aws/`, `buildspec.yml` |
| GCP | `app.yaml`, `cloudbuild.yaml`, `.gcloudignore`, `.gcloud/` |
| Azure | `azure-pipelines.yml`, `.azure/`, `azuredeploy.json` |
| Heroku | `Procfile`, `app.json`, `heroku.yml` |
| Vercel | `vercel.json` |
| Netlify | `netlify.toml` |
| Fly.io | `fly.toml` |
| Railway | `railway.json` |
| DigitalOcean | `.do/app.yaml`, `do.yaml` |
| Cloudflare | `wrangler.toml`, `wrangler.json` |
| Supabase | `supabase/`, `supabase/config.toml` |
| Firebase | `firebase.json`, `.firebaserc` |
## Command Mapping Reference
See `command-mappings.json` for the full mapping of technologies to allowed commands.
Example mappings:
- `npm` detected → add `npm *`, `npx *`, `node *`
- `aws` detected → add `aws *`, `sam *`, `cdk *`, `amplify *`
- `gcp` detected → add `gcloud *`, `gsutil *`, `bq *`
- `heroku` detected → add `heroku *`
- `prisma` detected → add `prisma *`
- `docker` detected → add `docker *`, `docker-compose *`
## Low Confidence Handling
If confidence is LOW:
1. Inform the user of limited detection
2. Recommend running `/interview` to clarify tech stack
3. Ask if they want to proceed with interview or use defaults
## Files Used
- `.claude/scripts/detect-stack.sh` - Detection script
- `assets/command-mappings.json` - Tech→commands map
- `.claude/project-context.json` - Output location
- `.claude/settings.json` - Permissions to update
---
## Agent Creation
**IMPORTANT**: After tech detection completes, create specialist agents for detected technologies.
### Step 6: Create Specialist Agents
For each detected technology that benefits from specialized expertise:
1. Check if agent already exists in `.claude/agents/`
2. If not exists, invoke `agent-creator` to create it
3. Log created agents to `pending-agents.md` for tracking
### Tech-to-Agent Mapping
| Detected Tech | Agent to Create |
|--------------|-----------------|
| React | `react-specialist` |
| Vue | `vue-specialist` |
| Angular | `angular-specialist` |
| Next.js | `nextjs-specialist` |
| Nuxt | `nuxt-specialist` |
| Django | `django-specialist` |
| FastAPI | `fastapi-specialist` |
| AWS | `aws-architect` |
| GCP | `gcp-architect` |
| Azure | `azure-architect` |
| Prisma | `prisma-specialist` |
| Drizzle | `drizzle-specialist` |
| Stripe | `stripe-specialist` |
| GraphQL | `graphql-architect` |
### Agent Creation Process
```markdown
For each detected technology:
1. Look up in tech-agent-mappings
2. Check if .claude/agents/{name}.md exists
3. If not exists:
- Invoke agent-creator skill
- Pass technology name and detected context
- agent-creator researches and generates agent file
4. Report created agents in bootstrap summary
```
See `.claude/skills/agent-creator/references/tech-agent-mappings.md` for full mapping.
---
## LSP Auto-Setup
**IMPORTANT**: After tech detection completes, ALWAYS run LSP setup:
```bash
bash .claude/scripts/lsp-setup.sh
```
This automatically:
1. Detects all languages in the project
2. Installs required language servers
3. Configures LSP for code intelligence
LSP provides:
- Go to definition
- Find references
- Hover documentation
- Symbol navigation
- Call hierarchy
---
## Delegation
Hand off to other skills when:
| Condition | Delegate To |
|-----------|-------------|
| Tech stack confidence is LOW | `interview-agent` - to clarify requirements |
| New/unfamiliar technology detected 2+ times | `meta-skill` - to create specialist skill |
| Detected tech needs specialist agent | `agent-creator` - to create specialist subagent |
| Frontend tech detected (React, Vue, Tailwind, etc.) | `frontend-design` - for UI/styling tasks |
| Architecture decisions needed | `interview-agent` - to gather requirements |
| Languages detected | `lsp-agent` - to install language servers |
**Auto-actions**:
- When detection completes with LOW confidence, automatically suggest invoking the interview-agent.
- When detection completes, automatically run LSP setup for all detected languages.
- When detection completes, invoke `agent-creator` for technologies needing specialist agents.Related Skills
UMR-LMR-PMD-detection
This pipeline performs genome-wide segmentation of CpG methylation profiles to identify Unmethylated Regions (UMRs), Low-Methylated Regions (LMRs), and Partially Methylated Domains (PMDs) using whole-genome bisulfite sequencing (WGBS) methylation calls. The pipeline provides high-resolution enhancer-like LMRs, promoter-associated UMRs, and large-scale PMDs characteristic of reprogramming, aging, or cancer methylomes, enabling integration with chromatin accessibility, TF binding, and genome architecture analyses.
guid-universal-technology-discovery
Discover and identify any technology, framework, or system without prior knowledge. Analyzes files, configurations, dependencies, and usage patterns to understand project technology stack from C source files to Kubernetes manifests.
workshop-review-technical
Review workshop content for technical accuracy
technology-stack-blueprint-generator
Comprehensive technology stack blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks, programming languages, and implementation patterns across multiple platforms (.NET, Java, JavaScript, React, Python). Generates configurable blueprints with version information, licensing details, usage patterns, coding conventions, and visual diagrams. Provides implementation-ready templates and maintains architectural consistency for guided development.
technology-news-search
Real-time technology news search and aggregation from 75 international and Chinese media sources across 9 core technical domains. Intelligent keyword-based routing with domain aliases searches only relevant sources. Automatically adapts to network environment - seamlessly switches between global sources (75) and China-only sources (18) based on network accessibility. Use when user requests to search for tech news by keyword. Trigger phrases include "search for [keyword] tech news", "find news about [topic]", "latest news on [subject]", or Chinese equivalents like "搜索 [关键词] 科技新闻". Provides multi-source heat analysis, automatic EN↔CN translation, and clean Markdown presentation.
technical-accuracy-and-usability-rules
Ensures the documentation is technically accurate and highly usable for the target audience.
tech-translator
This skill should be used when users need to translate technical documents, API documentation, academic papers, or any technical content while preserving technical accuracy and terminology. It specializes in maintaining technical rigor while ensuring readability in the target language.
tech-stacks
A skill for managing and applying technology-specific architectural patterns and best practices using predefined templates.
tech-stack-evaluator
Auto-activates during requirements analysis to evaluate technical stack compatibility, recommend appropriate technologies, and assess performance implications.
Tech Stack & Architecture Decision
Define and document the technology stack and architecture decisions for a project. Use when the user needs to choose a tech stack, make architecture decisions, define infrastructure choices, or document technology selections. Triggers on requests like "define the tech stack", "choose technologies", "architecture decisions", "what stack should we use", or any request to select and document frontend, backend, database, auth, hosting, and infrastructure choices for a project.
tech-specification
The master skill for generating technical specifications. Identifies project technology and delegates deep analysis to specialized sub-skills.
tech-news-curator
Curate and analyze technical articles from engineering blogs about AI, software engineering, and emerging tech trends. Use when user asks about tech news, AI updates, engineering blogs, new frameworks, industry trends, or wants a daily tech briefing. Surfaces relevant content from authoritative sources with actionable insights.