ajbcoding/claude-skill-eval/moai-alfred-language-detection
- community
Checking that the SKILL.md file is still in the repository.
Auto-detects project language and framework from package.json, pyproject.toml, Cargo.toml, go.mod, and other configuration files with comprehensive pattern matching based on 17,253+ production code examples.
Install
npx vskill@latest install ajbcoding/claude-skill-eval/moai-alfred-language-detectionSKILL.md
moai-alfred-language-detection
Enterprise Language & Framework Auto-Detection
Research Base: 17,253 code examples from 4 package managersVersion: 4.0.0
📖 Progressive Disclosure
Level 1: Quick Reference
Alfred automatically detects project language and framework by parsing configuration files:
Supported Languages (4 ecosystems):
- JavaScript/TypeScript: package.json → npm/yarn/pnpm
- Python: pyproject.toml → Poetry/pip/Pipenv
- Rust: Cargo.toml → Cargo
- Go: go.mod → Go modules
Key Capabilities:
- Config file identification with priority order
- Package manager detection via lockfiles
- Framework identification from dependencies
- Runtime version extraction
- Monorepo pattern recognition
- Fallback to extension analysis
Detection Priority:
- Config file exists (highest accuracy)
- Dependency analysis (framework identification)
- File extension scan (fallback)
Level 2: Practical Implementation
Pattern 1: Node.js Project Detection - package.json
Objective: Identify JavaScript/TypeScript projects and extract metadata.
package.json Structure:
Detection Logic:
- Language: JavaScript (default if no "type": "module")
- Language: TypeScript (devDependencies.typescript exists)
- Frameworks: React + Next.js (dependencies.react && dependencies.next)
- Server: Express (dependencies.express)
- Build Tool: Vite (devDependencies.vite)
- Test Framework: Vitest (devDependencies.vitest)
- Node Version: ≥18.0.0 (engines.node)
Implementation:
Pattern 2: Python Project Detection - pyproject.toml
Objective: Identify Python projects and extract build system, framework, and dependency information.
pyproject.toml Structure:
Detection Logic:
- Build System: Poetry (tool.poetry), setuptools (build-system.requires), or pip (fallback)
- Python Version: From poetry.dependencies.python or requires-python
- Frameworks: FastAPI, Django, Flask (from dependencies)
- Test Frameworks: pytest, unittest (from optional-dependencies/dev)
- Linting: black, flake8, mypy (from dev dependencies)
Implementation:
Pattern 3: Rust Project Detection - Cargo.toml
Objective: Identify Rust projects and extract crate information, dependencies, and edition.
Cargo.toml Structure:
Detection Logic:
- Edition: 2021, 2021, or 2018 from package.edition
- Frameworks: axum, rocket, actix-web (from dependencies)
- Async Runtime: tokio, async-std (from dependencies)
- Database: sqlx, diesel (from dependencies)
- Serialization: serde, serde_json (from dependencies)
- Workspace: Multi-crate project if workspace members exist
Implementation:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/moai-alfred-language-detection/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajbcoding/claude-skill-eval/moai-alfred-language-detection)