eliyce/paqad-ai/expert-need-detector
Claude Code and agent skill by eliyce/paqad-ai
- community
Checking that the SKILL.md file is still in the repository.
Decide, from the request and the S0 grounding, which domain experts (db, security, ui, ...) the spec pipeline needs — the one model call that replaces a deterministic signal-scorer, because no script can reliably tell which expert a request needs without emitting false signals. Emits a roster-constrained JSON need artifact the pipeline script validates and records. Phase 2 of the spec pipeline. TS guard is `src/spec-pipeline/experts/need.ts`.
Install
npx vskill@latest install eliyce/paqad-ai/expert-need-detectorSKILL.md
The same SKILL.md was published earlier as eliyce/paqad-ai/expert-need-detector.
What It Does
Reads the request and the pipeline's S0 grounding slice and decides which domain experts the spec needs: a database expert when the request touches the data model, a security expert when it touches auth or a trust boundary, a UI expert when it touches a screen, and so on. It returns a small JSON artifact naming each needed expert and, in one plain sentence, why it fired.
This model call replaces a deterministic signal-scorer: a script cannot reliably tell which expert a request needs (file-path and keyword heuristics emit false signals both ways), so the judgement is the model's. The script's job is only to VALIDATE the result against the roster, never to make it. Nothing needed ⇒ an empty list ⇒ zero experts, zero cost.
Use This When
- The spec pipeline is running with the expert roster enabled (
spec_pipeline_experts_enabled),
after spec pipeline start has grounded and labelled the request, and before the craft step.
Do not run this when the experts flag is off; the skill never runs then.
Inputs
request_text: required. The request being specced.grounding: required. The S0 grounding (references and business terms): the evidence for
which areas the request touches. Decide from THIS, not from the whole repo. Get the request, the grounding and the label in one go with paqad-ai spec pipeline experts context; they are not files you read or write yourself.
roster: optional. The allowed expert roles; defaults to the framework roster. You may name
only roles in it. The roster and each role's remit are in references/roster.md; read it before you select.
Procedure
- Read the request and the grounding terms/references. Identify the concrete areas the request
touches (a table or migration, an auth path, a screen, an integration, an infra change).
- For each area that clearly needs a specialist, select the matching expert role **from the
roster only**. Judge need, not certainty-of-self: pick an expert because the work plainly sits in its domain, never "to be safe".
- Select nothing from the on-call list when nothing clearly needs a specialist; the standing
experts are seated for you. An empty on-call result is the common, correct outcome: it costs nothing downstream.
- For each selected expert write one plain-language
reasonnaming the area that triggered it
(e.g. "adds the invoices migration", not "database concerns").
- Emit the JSON artifact (see Output Contract) and hand it to the pipeline:
paqad-ai spec pipeline experts record <artifact-file>. That command runs the deterministic roster guard (src/spec-pipeline/experts/need.ts) and refuses anything naming a role outside the roster; do not re-implement that check here. It writes the roster into the change's experts.json; you never write that file yourself. Each expert's brief is never a file: print it with paqad-ai spec pipeline experts brief <role> and hand it to the expert-notes skill.
Output Contract
- A JSON object
{ "experts": [ { "role": "<roster role>", "reason": "<one plain sentence>" } ] }. expertsMAY be empty (nothing needed).- Every
roleis one of the roster roles and everyreasonis a non-empty sentence, because the
guard rejects the whole artifact otherwise.
- The artifact is validated by
paqad-ai spec pipeline experts record; a role outside the roster,
a missing reason, or a duplicate role is rejected with a one-line message and nothing recorded.
Escalate / Stop Conditions
- Never name a role outside the roster: the guard rejects it and the run stops.
- Never invent a "general" or "misc" expert; if nothing in the roster fits, select nothing.
- Do not read the whole repo to decide: decide from the request and the grounding slice only
(the per-expert briefing is retrieved later, per expert, and is never the whole project).
Resources
references/roster.md: the roster and each expert's remit.runtime/base/skills/expert-need-detector/agents/openai.yaml: agent interface metadata.src/spec-pipeline/experts/need.ts: the deterministic roster guard (validates this output).src/spec-pipeline/experts/roster.ts: the canonical roster (subset ofAGENT_ROLES).paqad-ai spec pipeline experts context: prints the request, grounding and label this skill reads.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingruntime/base/skills/expert-need-detector/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/eliyce/paqad-ai/expert-need-detector)