pleaseai/claude-code-plugins/add-diagnostic
Claude Code and agent skill by pleaseai/claude-code-plugins
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Add a new diagnostic code following the defineDiagnostics()
Install
npx vskill@latest install pleaseai/claude-code-plugins/add-diagnosticSKILL.md
Add a New Diagnostic Code
- Find the catalog. Grep for
defineDiagnosticsto locate thecodesobject the new entry belongs in. With several catalogs, pick by area. - Pick the code.
PREFIX_XNNNN:PREFIXis the project name uppercased (NUXT,I18N);Xis the area letter (Bbuild,Rruntime,Cconfig,Ddeprecation);NNNNis the next free number. Read existing codes to choose. Never rename or reuse a published code. - Add the entry:
whyis the only required field. Params fromwhyandfixare intersected and required at the call site.- Runtime fields (
cause,sources) are passed at the call site, never in the definition.
- Call it:
diagnostics.LIB_R0001({ hook })to report,throw diagnostics.LIB_R0001({ hook, cause: err })to raise. Both run the reporters.
Full API and reporter/formatter/plugin details: the nostics skill.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/nostics/agent/skills/add-diagnostic/SKILL.md
Popularity
- 7-day trend score
- 5
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/pleaseai/claude-code-plugins/add-diagnostic)