Skill: core-auto-detect
What I do
I detect project environments by scanning root-level files and recommend appropriate skills to load, enabling automatic domain expertise activation without explicit configuration.
When to use me
- Starting a new development session in an unfamiliar project
- Automating skill selection in CI/CD or batch workflows
- Reducing manual skill specification overhead
Core principles
- File-presence detection — Check root directory only (no recursive scanning)
- Skill mapping — Each environment maps to curated recommended skills
- Non-invasive — Read-only, offline, millisecond completion
- Composable — Multiple detections fire simultaneously
Detection rules & skill recommendations
Go Projects
Detection: go.mod exists
Recommended skills: golang, ginkgo-gomega, clean-code
Node.js / JavaScript Projects
Detection: package.json exists
Recommended skills: javascript, jest, clean-code
Ruby Projects
Detection: Gemfile exists
Recommended skills: ruby, rspec-testing, clean-code
Python Projects
Detection: pyproject.toml or setup.py exists
Recommended skills: python, clean-code
Embedded / Microcontroller Projects
Detection: platformio.ini exists
Recommended skills: cpp, platformio, embedded-testing
Rust Projects
Detection: Cargo.toml exists
Recommended skills: rust, clean-code
Nix / NixOS Projects
Detection: flake.nix or shell.nix exists
Recommended skills: nix, devops
CI/CD / GitHub Actions
Detection: .github/workflows/ directory exists
Recommended skills: github-expert, devops, automation
Build Automation
Detection: Makefile exists
Recommended skills: automation, scripter
Patterns & examples
Single-language: go.mod → golang, ginkgo-gomega, clean-code
Polyglot with CI/CD: go.mod + package.json + .github/workflows/ → golang, ginkgo-gomega, javascript, jest, github-expert, devops, automation, clean-code
Embedded with build: platformio.ini + Makefile → cpp, platformio, embedded-testing, automation, scripter
Anti-patterns to avoid
- ❌ Recursive scanning — Check root directory only
- ❌ Network calls — Detection must be instant and offline
- ❌ Recommending for non-existent files — Only recommend if file is confirmed present
- ❌ Over-recommending — Suggest 2-4 core skills per environment
- ❌ Ignoring skill composition — Include
clean-codein every recommendation
KB Reference
~/vaults/baphled/3. Resources/Knowledge Base/AI Development System/Skills/Agent-Guidance/Core Auto Detect.md
Related skills
clean-code— Applies across all detected environmentsautomation— Complements build system detectiondevops— Complements CI/CD detectioncritical-thinking— For evaluating when to trust auto-detection vs manual selection