Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pau-vega/Devkit-AI --skill jsdoc-conventionsgit clone --depth 1 https://github.com/pau-vega/Devkit-AIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pau-vega/devkit-ai/jsdoc-conventions)<a href="https://agentmods.dev/skills/pau-vega/devkit-ai/jsdoc-conventions"><img src="https://agentmods.dev/badge/skills/pau-vega/devkit-ai/jsdoc-conventions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pau-vega/devkit-ai/jsdoc-conventions"><img src="https://agentmods.dev/badge/skills/pau-vega/devkit-ai/jsdoc-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.01335 |
| Opus 5.5 | $0.00041 | $0.00534 |
| Sonnet 5.5 | $0.00020 | $0.00267 |
| Haiku 4.5 | $0.00010 | $0.00134 |
Grade A, and why
jsdoc-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JSDoc Conventions for TypeScript
Enforcement Levels
Three levels control documentation scope. Each level includes all requirements from the previous one.
Minimal
Document exported functions, classes, interfaces, and type aliases with a brief summary line.
/** Parses a raw CSV string into structured row objects. */
export const parseCsv = (raw: string): CsvRow[] => { ... };
/** Represents a single row of parsed CSV data. */
export interface CsvRow { ... }
Standard
Everything in Minimal, plus:
@paramand@returnstags on exported functions- Public class methods documented
- Complex type parameters described
/**
* Fetches a user by ID from the database.
*
* @param userId - The unique identifier of the user
* @returns The user object, or undefined if not found
*/
export const getUser = async (userId: string): Promise<User | undefined> => { ... };
Strict
Everything in Standard, plus:
- Module-level constants documented
- Private and internal helper functions documented
@exampleblocks on non-trivial functions@throws,@see, and{@link}where applicable
/** Maximum number of retry attempts for failed API calls. */
const MAX_RETRIES = 3;
/**
* Retries an async operation with exponential backoff.
*
* @param fn - The async function to retry
* @param maxAttempts - Maximum retry attempts (defaults to {@link MAX_RETRIES})
* @returns The result of the first successful invocation
* @throws {RetryExhaustedError} When all attempts fail
*
* @example
* ```ts
* const data = await retry(() => fetchApi("/users"), 5);
* ```
*
* @see {@link MAX_RETRIES} for the default retry limit
*/
const retry = async <TResult>(
fn: () => Promise<TResult>,
maxAttempts: number = MAX_RETRIES,
): Promise<TResult> => { ... };
Core Rules (All Levels)
Format
- Always use
/** */block comments, never//for documentation - First line is a concise summary ending with a period
- Separate summary from tags with a blank line
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 190 lines · 102 tokens per session scan A 35e6181f05f3
jsdoc-conventions is a skill published in the GitHub repository pau-vega/Devkit-AI (2 stars, last pushed 3mo ago), licensed MIT. It adds 102 tokens to every session and 1,335 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
jsdoc-conventions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jsdoc-conventionspau-vega/Devkit-AI | Skill | 2 | 3mo ago | MIT | A | 102 | Claude Code |
| better-authsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 53 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 41 | Claude Code |
| bun-bundlersecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 90 | Claude Code |
| bun-hot-reloadingsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 42 | Claude Code |
| jest-generatorsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 43 | Claude Code |
| pulumi-best-practicespulumi/agent-skills | Skill | 82 | yesterday | Apache-2.0 | A | 92 | Claude Code, Codex |