Agent skill

Method Shorthand Jsdoc

by EpicenterHQ in EpicenterHQ/epicenter

Method shorthand in return objects for JSDoc preservation. An agent skill from EpicenterHQ/epicenter.

Custom licenceAuto-check passedDevelopment

Install Method Shorthand Jsdoc

skills CLI
$ npx skills add EpicenterHQ/epicenter --skill method-shorthand-jsdoc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EpicenterHQ/epicenter method-shorthand-jsdoc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EpicenterHQ/epicenter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/method-shorthand-jsdoc .claude/skills/method-shorthand-jsdoc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
method-shorthand-jsdoc
GitHub stars
4.8k
Token cost
~1.9k tokens
SKILL.md length
529 words
Files
1
Skills in repo
65
Repo updated
First seen
Licence
Custom licence

At a glance

Method shorthand in return objects for JSDoc preservation. An agent skill from EpicenterHQ/epicenter.

  • Works in 3 steps: JSDoc attaches to the method definition… → Method shorthand uses function semantics… → No separate helper needed - if it's only…
  • Factory functions have internal helpers that should expose docs
  • SKILL.md covers The Problem, The Solution, Why This Works and The Pattern, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Method Shorthand Jsdoc is an agent skill from EpicenterHQ/epicenter. Method shorthand in return objects for JSDoc preservation. Use when factory functions have internal helpers that should expose docs, or hovering over returned methods shows no JSDoc.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation. The repository describes itself as: Open-source, local-first apps.

When your agent uses it

  • Factory functions have internal helpers that should expose docs
  • Hovering over returned methods shows no JSDoc

Example prompts

  • “/method-shorthand-jsdoc”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. JSDoc attaches to the method definition site - when methods are inline in the return object, the JSDoc is directly on the property…
  2. Method shorthand uses function semantics - this is bound to the object, so this.getEpoch() works
  3. No separate helper needed - if it's only used by sibling methods, it belongs in the same object

What it can do on your machine

Read from SKILL.md and the folder at commit 5b4bb69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Method Shorthand Jsdoc loads about 1.9k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 529 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 529 words (~1,938 tokens).

“When factory functions have helper functions that are only used by returned methods, move them INTO the return object using method shorthand. This ensures JSDoc comments are properly passed through to consumers.”

— opening of SKILL.md by EpicenterHQ, Custom licence
name
method-shorthand-jsdoc
metadata.author
epicenter
metadata.version
1.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/method-shorthand-jsdoc of EpicenterHQ/epicenter.

Open the folder on GitHubat commit 5b4bb69

Compare with similar skills

Method Shorthand Jsdoc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Method Shorthand Jsdoc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Method Shorthand Jsdoc this skillEpicenterHQ/epicenter4.8k—~1.9kAutomated safety check: PassCustom licence
Diagram Designcathrynlavery/diagram-design47k1 repos~7.5kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.5kAutomated safety check: PassGPL-3.0
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    47k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 7 days ago
    DevelopmentAuto-check: notes
  • Dark Architecture Diagram Builder

    Cocoon-AI/architecture-diagram-generator

    Creates dark-themed system, cloud, security and network architecture diagrams as self-contained HTML files with inline SVG and CSS.

    7.4k GitHub starsUsed in 1 repo~2.1k tokens
    DevelopmentAuto-check passed

More from EpicenterHQ/epicenter

All 65 skills in this repo
  • Agent Instructions

    EpicenterHQ/epicenter

    Write and maintain repository guidance across AGENTS.md, CLAUDE.md, and .agents/skills.

    4.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Consult Claude

    EpicenterHQ/epicenter

    Assign Claude Code a read-only investigation, recommendation, or finished text draft.

    4.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.

    4.8k GitHub stars~896 tokensUpdated yesterday
    Auto-check passed
  • Cohesion Over Testability

    EpicenterHQ/epicenter

    Collapse test-shaped production boundaries while preserving behavior and coverage.

    4.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Collapse Pass

    EpicenterHQ/epicenter

    Remove indirection that does not earn its boundary across a diff or package.

    4.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Error Handling

    EpicenterHQ/epicenter

    Apply Wellcrafted Result patterns to fallible operations and preserve failures at boundaries.

    4.8k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Method Shorthand Jsdoc

What does Method Shorthand Jsdoc do?

Method shorthand in return objects for JSDoc preservation. An agent skill from EpicenterHQ/epicenter. Method Shorthand Jsdoc is an agent skill from EpicenterHQ/epicenter. Method shorthand in return objects for JSDoc preservation.

When should I use Method Shorthand Jsdoc?

Method Shorthand Jsdoc fits situations like: factory functions have internal helpers that should expose docs; hovering over returned methods shows no JSDoc.

How do I install Method Shorthand Jsdoc in Claude Code?

Run `npx skills add EpicenterHQ/epicenter --skill method-shorthand-jsdoc -a claude-code`. Or copy the skill folder (.agents/skills/method-shorthand-jsdoc in EpicenterHQ/epicenter) into .claude/skills/method-shorthand-jsdoc in your project. Claude Code loads it when a task matches its description.

How do I install Method Shorthand Jsdoc in Codex?

Run `npx skills add EpicenterHQ/epicenter --skill method-shorthand-jsdoc -a codex`. Or copy the skill folder (.agents/skills/method-shorthand-jsdoc in EpicenterHQ/epicenter) into .agents/skills/method-shorthand-jsdoc in your project. Codex loads it when a task matches its description.

Can I use Method Shorthand Jsdoc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EpicenterHQ/epicenter --skill method-shorthand-jsdoc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/method-shorthand-jsdoc, .gemini/skills/method-shorthand-jsdoc, .github/skills/method-shorthand-jsdoc and .opencode/skills/method-shorthand-jsdoc in your project.

What does Method Shorthand Jsdoc need to run?

SKILL.md names no scripts, command-line tools or credentials: Method Shorthand Jsdoc is instructions for the agent only.

Does Method Shorthand Jsdoc access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Method Shorthand Jsdoc safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Method Shorthand Jsdoc use?

Method Shorthand Jsdoc has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Method Shorthand Jsdoc use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Method Shorthand Jsdoc?

Skills that share tags, products or a category with Method Shorthand Jsdoc: Diagram Design (cathrynlavery/diagram-design, 47k stars), Simple English (moeru-ai/airi, 50k stars), Doc Sync (JetBrains/ideavim, 10k stars) and Mailspring App Screenshots (Foundry376/Mailspring, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Method Shorthand Jsdoc?

EpicenterHQ (a GitHub organization) maintains it in EpicenterHQ/epicenter, which has 4,821 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on October 8, 2026.

Source: EpicenterHQ/epicenter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.