Claude-skill-registry context-detection
Automatically detect project tech stack, frameworks, and development context
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/context-detection" ~/.claude/skills/majiayu000-claude-skill-registry-context-detection && rm -rf "$T"
manifest:
skills/data/context-detection/SKILL.mdsource content
Project Context Detection
Automatically analyzes the current project to detect technologies, frameworks, and development patterns.
When to Use
This skill is invoked when:
- Running
command/auto-skills
Detection Methods
1. File System Analysis
Check for configuration files and lock files:
| Technology | Indicators |
|---|---|
| Node.js | , , , |
| Go | , , files |
| Python | , , , |
| Ruby | , |
| Rust | , |
| Java | , |
| TypeScript | |
2. Framework Detection
| Framework | Indicators |
|---|---|
| Next.js | , directory with |
| React | contains , JSX files |
| Vue | contains , files |
| GraphQL | files, , Apollo/GraphQL in deps |
| Express | in dependencies |
| FastAPI | in dependencies |
| Django | in dependencies, |
| Rails | in dependencies, |
3. Testing Frameworks
| Framework | Indicators |
|---|---|
| Jest | , , |
| Playwright | , |
| Pytest | , , |
| Go testing | files |
4. Code Analysis
Analyze file extensions and imports:
- Count file types (
,.go
,.tsx
, etc.).py - Analyze import statements for frameworks
- Check for API routes, database schemas
Output Format
Return a structured context object:
{ "languages": ["go", "javascript"], "frameworks": ["nextjs", "graphql"], "testing": ["playwright", "go-testing"], "packageManager": "pnpm", "hasApi": true, "hasDatabase": true, "projectType": "fullstack" }
Example Workflow
When detecting context for a project:
- Scan root directory for config files
- Analyze
,package.json
, or equivalentgo.mod - Count file types in
or main directoriessrc/ - Check for test files and frameworks
- Return structured context for auto-installation decisions
Integration
This skill feeds into:
- scan: Determines which SkillsMP skills to fetch