OpenParable
Skip to content
← Back to skills

Core Auto Detect

Agent Building
core-auto-detect

Core Auto Detect is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Automatic environment detection and skill activation based on context

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/workflow/core-auto-detect/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/core-auto-detect, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

  1. File-presence detection — Check root directory only (no recursive scanning)
  2. Skill mapping — Each environment maps to curated recommended skills
  3. Non-invasive — Read-only, offline, millisecond completion
  4. 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-code in 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 environments
  • automation — Complements build system detection
  • devops — Complements CI/CD detection
  • critical-thinking — For evaluating when to trust auto-detection vs manual selection