INVOKE BEFORE working on Elixir/BEAM files. Determines which skills to load based on file patterns and task hints.
Use when
You open a file and are unsure which skill applies.
The request spans multiple areas (OTP + LiveView + Ash).
How it works
Scan current file path/name and pick matching skills:
lib/**/live/**/*.ex or lib/**/live_view/**/*.ex: load liveview-lifecycle.
lib/**/ash/** or *_ash/**: load ash-guardrails.
lib/**/ecto/** or priv/repo/migrations/*.exs: load ecto-query-analysis.
lib/**/otp/** or modules ending with Supervisor|Server|Worker: load otp-patterns.
If multiple match, list all; start with the most specific (Ash > LiveView > Ecto > OTP).
Response pattern
Summarize matched skills and why (1–2 bullets).
Ask before loading heavy checklists if context is large.
Notes
Keep outputs concise; point to tools/claude/README.md for deeper docs when asked.
1---2name: skill-discovery3description: Skill: skill-discovery4---5# Skill: skill-discovery67**INVOKE BEFORE** working on Elixir/BEAM files. Determines which skills to load based on file patterns and task hints.89## Use when10- You open a file and are unsure which skill applies.11- The request spans multiple areas (OTP + LiveView + Ash).1213## How it works14- Scan current file path/name and pick matching skills:15 - `lib/**/live/**/*.ex` or `lib/**/live_view/**/*.ex`: load `liveview-lifecycle`.16 - `lib/**/ash/**` or `*_ash/**`: load `ash-guardrails`.17 - `lib/**/ecto/**` or `priv/repo/migrations/*.exs`: load `ecto-query-analysis`.18 - `lib/**/otp/**` or modules ending with `Supervisor|Server|Worker`: load `otp-patterns`.19- If multiple match, list all; start with the most specific (Ash > LiveView > Ecto > OTP).2021## Response pattern22- Summarize matched skills and why (1–2 bullets).23- Ask before loading heavy checklists if context is large.2425## Notes26- Keep outputs concise; point to `tools/claude/README.md` for deeper docs when asked.
Run npx skillmds@latest add layeddie/skill-discovery in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Skill: skill-discovery It is listed under Product & Planning on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
layeddie (@layeddie) published this skill. Their other Agent Skills are listed on their SkillMD profile.