·method-shorthand-jsdoc
</>

method-shorthand-jsdoc

epicenterhq/epicenter

適切な JSDoc 保存のためのメソッド短縮表現を使用して、ヘルパー関数を戻りオブジェクトに移動します。ファクトリ関数にドキュメントをコンシューマに公開する必要がある内部ヘルパーがある場合、または返されたメソッドの上にマウスを置くと JSDoc が表示されない場合に使用します。

8インストール·1トレンド·@epicenterhq

インストール

$npx skills add https://github.com/epicenterhq/epicenter --skill method-shorthand-jsdoc

SKILL.md

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.

When you hover over head.getEpoch() in your IDE, you see... nothing. The JSDoc is lost.

Move the helper INTO the return object using method shorthand:

適切な JSDoc 保存のためのメソッド短縮表現を使用して、ヘルパー関数を戻りオブジェクトに移動します。ファクトリ関数にドキュメントをコンシューマに公開する必要がある内部ヘルパーがある場合、または返されたメソッドの上にマウスを置くと JSDoc が表示されない場合に使用します。 ソース: epicenterhq/epicenter。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/epicenterhq/epicenter --skill method-shorthand-jsdoc
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

method-shorthand-jsdoc とは?

適切な JSDoc 保存のためのメソッド短縮表現を使用して、ヘルパー関数を戻りオブジェクトに移動します。ファクトリ関数にドキュメントをコンシューマに公開する必要がある内部ヘルパーがある場合、または返されたメソッドの上にマウスを置くと JSDoc が表示されない場合に使用します。 ソース: epicenterhq/epicenter。

method-shorthand-jsdoc のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/epicenterhq/epicenter --skill method-shorthand-jsdoc インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/epicenterhq/epicenter