From supervibe
Use WHEN a Supervibe trigger, command route, or skill handoff did not match, matched the wrong flow, or needs explanation TO diagnose intent, missing artifacts, confidence, blockers, and the next safe action.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
Use this skill when the user asks why a Supervibe phrase, command, trigger, skill selection, or next-step handoff behaved unexpectedly.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Use this skill when the user asks why a Supervibe phrase, command, trigger, skill selection, or next-step handoff behaved unexpectedly.
Invoke it for:
Do not use it as a substitute for execution. This is a read-only diagnostic and explanation skill.
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
Read these files before recommending a route change:
scripts/lib/supervibe-trigger-intent-corpus.mjsscripts/lib/supervibe-trigger-router.mjsscripts/lib/supervibe-workflow-router.mjsscripts/lib/supervibe-trigger-diagnostics.mjstests/supervibe-trigger-diagnostics.test.mjsIf the user provided recent assistant output, include it as evidence. Trigger diagnostics often depends on whether the previous assistant message emitted a NEXT_STEP_HANDOFF block, a plan path, a brainstorm artifact, or an explicit stop condition.
Did no route match?
-> classify as corpus gap or keyword gap
-> recommend adding a fixture only if the phrase is common and unambiguous
Did a route match but artifacts are missing?
-> report the missing artifact names
-> ask for exactly one missing artifact or point to its expected path
Did a route match but safety blockers exist?
-> report each blocker
-> ask for the explicit gate needed before mutation or execution
Did the wrong skill match?
-> compare top likely route vs expected route
-> inspect trigger descriptions and corpus overlaps
-> propose a metadata or corpus fix with a replay test
Did the route look correct?
-> explain confidence, command, skill, prerequisites, and next question
NEXT_STEP_HANDOFFnode scripts/lib/supervibe-trigger-diagnostics.mjs
If the library is being called from a command wrapper, pass the phrase and artifacts to diagnoseTriggerRequest().intentcommandskillconfidencematchedPhrasemissingArtifactssafetyBlockersnextQuestionnode --test tests/supervibe-trigger-diagnostics.test.mjs
npm run validate:trigger-replay
npm run validate:artifact-links
Return a Markdown diagnostic:
# Trigger Diagnostic: <short phrase>
Intent: <intent>
Command: <command>
Skill: <supervibe:skill>
Confidence: <0.00-1.00>
Matched evidence: <matched phrase or route reason>
Missing artifacts:
- <artifact or "none">
Safety blockers:
- <blocker or "none">
Likely cause: <one sentence>
Recommended action: <one action>
Next question: <Step 1/1 question from route>
Verification:
- <command>: PASS|FAIL
Confidence: <N>.<dd>/10
Override: false
Rubric: agent-delivery
If more information is needed, ask one question per message:
Step N/M: Which artifact should I use to reproduce the route?
Why: Trigger routing depends on the exact available artifact state, not only the phrase. Decision unlocked: This decides whether the issue is a corpus gap, missing-artifact block, or safety gate. If skipped: I will diagnose using only the raw phrase and mark artifact-sensitive conclusions as tentative.
- Use recent handoff (recommended) - Best when the issue happened right after a plan, brainstorm, or review output.
- Use a file path - Best when a saved plan, spec, or work item should drive the route.
- Phrase only - Fastest, but cannot prove artifact-sensitive blockers.
- Stop here - Save no changes and return the current uncertainty.
Free-form answer also accepted.
node --test tests/supervibe-trigger-diagnostics.test.mjsnpm run validate:trigger-replaynpm run validate:artifact-linkssupervibe:workflow-router internal route sentinelsupervibe:requirements-intake for ambiguous new requestssupervibe:requesting-code-review for plan-review handoffssupervibe:writing-plans for brainstorm-to-plan transitionsscripts/lib/supervibe-trigger-intent-corpus.mjsscripts/lib/supervibe-trigger-diagnostics.mjs