add-diagnostic
Add a new diagnostic code following the defineDiagnostics() conventions from nostics
Skill by jd-solanki
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jd-solanki-add-diagnostic
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/add-diagnostic
Tools it pre-approves 5
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
ReadGrepGlobEditWrite
What's inside
- Skill name
add-diagnostic- Description
- Add a new diagnostic code following the defineDiagnostics() conventions from nostics
- License
- MIT
- Allowed tools
- Read, Grep, Glob, Edit, Write
- Instructions
- 22 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Add a New Diagnostic Code
1. **Find the catalog.** Grep for `defineDiagnostics` to locate the `codes` object the new entry belongs in. With several catalogs, pick by area.
2. **Pick the code.** `PREFIX_XNNNN`: `PREFIX` is the project name uppercased (`NUXT`, `I18N`); `X` is the area letter (`B` build, `R` runtime, `C` config, `D` deprecation); `NNNN` is the next free number. Read existing codes to choose. Never rename or reuse a published code.
3. **Add the entry:**
```ts
LIB_R0001: {
why: (p: { hook: string }) => `${p.hook}() must run at the top of setup().`, // string or typed fn; becomes Error.message (required)
fix: 'Move the call into setup() or a composable it calls.', // optional, but add whenever the fix is known
docs: 'https://example.com/custom', // optional: overrides docsBase, or `false` to opt out
},
```
- `why` is the only required field. Params from `why` and `fix` are intersected and required at the call site.
- Runtime fields (`cause`, `sources`) are passed at the call site, never in the definition.
4. **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.From jd-solanki/ai, MIT.
More from jd-solanki/ai
- 0.629score
clean-code
jd-solanki
Write readable, maintainable code through disciplined naming, focused functions, and clean error handling.
SkillAFreshness: A★ 7Claude Code +9 - 0.629score
nostics
jd-solanki
Structured diagnostic code library for JavaScript/TypeScript.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
ponytail
jd-solanki
Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
context7-cli
jd-solanki
Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP.
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
automate-commit-based-gh-release-changelog
jd-solanki
Automate GitHub release creation and changelog generation from Conventional Commits using changelogithub — includes GitHub release mechanics, tag-based…
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
ponytail-review
jd-solanki
Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed.
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
ponytail-audit
jd-solanki
Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split.
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
automate-npm-release
jd-solanki
Automate npm package publishing via GitHub Actions for single-package repos and independent monorepo packages, including bumpp version tags, GitHub release…
SkillAFreshness: A★ 7Claude Code +9 - 0.594score
codebase-design
jd-solanki
Shared vocabulary for designing deep modules.
SkillAFreshness: A★ 7Claude Code +9 - 0.583score
implement
jd-solanki
Implement a piece of work based on a spec or set of tickets.
SkillAFreshness: A★ 7Claude Code +9 - 0.576score
bruno
jd-solanki
Create and manage Bruno API collections in the Bru Lang (.bru) format - adding a request, creating an environment, writing pre/post scripts, or scaffolding a…
SkillBFreshness: B★ 7Claude Code +9 - 0.574score
aws-architecture
jd-solanki
AWS architecture patterns for webhooks, event routing, SQS/Lambda pipelines, microservices, environment target guards, and long-running server deployment with…
SkillBFreshness: B★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 2
- Open issues
- 9
- Last commit (this folder)
- Oct 4, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jd-solanki/ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jd-solanki
- 0.629score
clean-code
jd-solanki
Write readable, maintainable code through disciplined naming, focused functions, and clean error handling.
SkillAFreshness: A★ 7Claude Code +9 - 0.629score
nostics
jd-solanki
Structured diagnostic code library for JavaScript/TypeScript.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
context7-cli
jd-solanki
Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
ponytail
jd-solanki
Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read.
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
automate-commit-based-gh-release-changelog
jd-solanki
Automate GitHub release creation and changelog generation from Conventional Commits using changelogithub — includes GitHub release mechanics, tag-based…
SkillAFreshness: A★ 7Claude Code +9 - 0.619score
ponytail-review
jd-solanki
Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed.
SkillAFreshness: A★ 7Claude Code +9
Cite this page
add-diagnostic skill. Agent Mart. https://agentmart.dev/skills/jd-solanki-add-diagnostic (last updated 2026-10-24)