[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79C836F6C7PY0C82TXD9MTX":3,"skill-same:01M79C836F6C7PY0C82TXD9MTX":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M79C836F6C7PY0C82TXD9MTX","add-diagnostic",null,"Add a new diagnostic code following the defineDiagnostics() conventions from nostics","jd-solanki\u002Fai","jd-solanki","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47495003?v=4","01M7548DX06078PZNSC2VBP69E","JD Solanki","01M79C7Y79NFMHACMZ9W36014R",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadd-diagnostic\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-diagnostic\ndescription: 'Add a new diagnostic code following the defineDiagnostics() conventions from nostics'\nuser-invocable: true\nallowed-tools: Read Grep Glob Edit Write\nlicense: MIT\n---\n\n# Add a New Diagnostic Code\n\n1. **Find the catalog.** Grep for `defineDiagnostics` to locate the `codes` object the new entry belongs in. With several catalogs, pick by area.\n2. **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.\n3. **Add the entry:**\n\n```ts\nLIB_R0001: {\n  why: (p: { hook: string }) => `${p.hook}() must run at the top of setup().`, \u002F\u002F string or typed fn; becomes Error.message (required)\n  fix: 'Move the call into setup() or a composable it calls.', \u002F\u002F optional, but add whenever the fix is known\n  docs: 'https:\u002F\u002Fexample.com\u002Fcustom', \u002F\u002F optional: overrides docsBase, or `false` to opt out\n},\n```\n\n- `why` is the only required field. Params from `why` and `fix` are intersected and required at the call site.\n- Runtime fields (`cause`, `sources`) are passed at the call site, never in the definition.\n\n4. **Call it:** `diagnostics.LIB_R0001({ hook })` to report, `throw diagnostics.LIB_R0001({ hook, cause: err })` to raise. Both run the reporters.\n\nFull API and reporter\u002Fformatter\u002Fplugin details: the `nostics` skill.\n","# Add a New Diagnostic Code\n\n1. **Find the catalog.** Grep for `defineDiagnostics` to locate the `codes` object the new entry belongs in. With several catalogs, pick by area.\n2. **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.\n3. **Add the entry:**\n\n```ts\nLIB_R0001: {\n  why: (p: { hook: string }) => `${p.hook}() must run at the top of setup().`, \u002F\u002F string or typed fn; becomes Error.message (required)\n  fix: 'Move the call into setup() or a composable it calls.', \u002F\u002F optional, but add whenever the fix is known\n  docs: 'https:\u002F\u002Fexample.com\u002Fcustom', \u002F\u002F optional: overrides docsBase, or `false` to opt out\n},\n```\n\n- `why` is the only required field. Params from `why` and `fix` are intersected and required at the call site.\n- Runtime fields (`cause`, `sources`) are passed at the call site, never in the definition.\n\n4. **Call it:** `diagnostics.LIB_R0001({ hook })` to report, `throw diagnostics.LIB_R0001({ hook, cause: err })` to raise. Both run the reporters.\n\nFull API and reporter\u002Fformatter\u002Fplugin details: the `nostics` skill.\n",{"name":5,"license":15,"description":7,"allowed-tools":24,"user-invocable":25},"Read Grep Glob Edit Write",true,"main","72ab640fb21b74ba6802f3db561ae95e4010ec56",".agents\u002Fskills\u002Fadd-diagnostic",2,"https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai","https:\u002F\u002Fgithub.com\u002Fjd-solanki","https:\u002F\u002Fjd-solanki.github.io","VueJS, Python + Automation 😍","2026-11-14 21:41:05",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add jd-solanki\u002Fai --skill add-diagnostic",{"tool":41,"command":42},"bunx","bunx skills add jd-solanki\u002Fai --skill add-diagnostic",{"tool":44,"command":45},"pnpm","pnpm dlx skills add jd-solanki\u002Fai --skill add-diagnostic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadd-diagnostic\u002FSKILL.md",[],[49,56,63],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79C9ZASEBQ5A52KQEVB5CJS","clean-code","Write readable, maintainable code through disciplined naming, focused functions, and clean error handling. Use when the user mentions \"code review\", \"naming conventions\", \"function too long\", \"code smells\", \"readable code\", \"boy scout rule\", \"single responsibility\", or \"unit test quality\". Also trigger when reviewing pull requests for readability, refactoring messy functions, debating comment styles, or improving error handling patterns. Covers SRP, comment discipline, formatting, and unit testing. For refactoring techniques, see refactoring-patterns. For architecture, see clean-architecture.","https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fcoding\u002Fclean-code\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79C932P1KEGYSDKCEZBFWWT","ponytail","Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says \"ponytail\", \"be lazy\", \"simplest solution\", \"yagni\", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.","https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fponytail\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79C8NASEEMHFE7RW8XBZK88","nostics","Structured diagnostic code library for JavaScript\u002FTypeScript. Turns errors and other conditions into typed, machine-readable `Diagnostic` instances with stable codes, docs URLs, and actionable fields. Use this skill whenever the project imports `nostics`, or works with `defineDiagnostics`\u002F`defineProdDiagnostics`, the `Diagnostic` class, diagnostic code registries, or structured error handling. Also covers reporters (`createConsoleReporter`, `createFetchReporter` from nostics\u002Freporters\u002Ffetch, `createFileReporter` from nostics\u002Freporters\u002Fnode, `createDevReporter` from nostics\u002Freporters\u002Fdev), formatters (`formatDiagnostic`, `ansiFormatter`, `jsonFormatter`), and Vite plugins (`nosticsStrip` from @nostics\u002Funplugin\u002Fstrip-transform, `nosticsCollector` from @nostics\u002Funplugin\u002Fdev-server-collector). Also use when migrating a library's existing `console.warn`\u002F`console.error`\u002F`warn()` helpers or thrown `Error`s to diagnostics: follow `references\u002Fmigration.md`.","https:\u002F\u002Fgithub.com\u002Fjd-solanki\u002Fai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnostics\u002FSKILL.md",[],[]]