本文へスキップ
Skillpedia
一般的なプログラミング48k · #5228

modern-javascript-patterns

できること

このガイドでは、モダンな JavaScript の機能(ES6+)、関数型プログラミングの手法、そして読みやすく、保守しやすく、高速なコードを書くためのベストプラクティスを学べます。既存の JavaScript コードを改善したり、新しいコードをより効率よく作成したりするのに役立ちます。

使う場面

  • ✓古い JavaScript コードを、より新しい書き方に更新したいとき。
  • ✓関数型プログラミングを使って、コードの整理方法を取り入れたいとき。
  • ✓JavaScript コードを高速にして、わかりやすくしたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/modern-javascript-patterns/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/modern-javascript-patterns/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“古い JavaScript コードを、アロー関数や Promise などのモダンな機能を使うように書き直すにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIはこのガイドを使って、モダンな JavaScript を書くための適切な方法を把握します。そのうえで、これらの手法と推奨される習慣を適用し、わかりやすさとパフォーマンスを重視しながら、コードの改善や新規作成を手伝います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Modern JavaScript Patterns

Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.

Use this skill when

  • Refactoring legacy JavaScript to modern syntax
  • Implementing functional programming patterns
  • Optimizing JavaScript performance
  • Writing maintainable and readable code
  • Working with asynchronous operations
  • Building modern web applications
  • Migrating from callbacks to Promises/async-await
  • Implementing data transformation pipelines

Do not use this skill when

  • The task is unrelated to modern javascript patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

モダンな JavaScript(ES6+)とは何ですか?

ES6(ECMAScript 2015)以降のバージョンでは、JavaScript 言語に多くの改善と新機能が追加され、より強力で表現力の高い言語になりました。

関数型プログラミングとは何ですか?

計算を数学的な関数の評価として捉え、変更可能なデータや副作用を避けてプログラムを組み立てるプログラミングのスタイルです。

「きれいで保守しやすいコード」とはどういう意味ですか?

あなたや将来のほかのプログラマーが、エラーを生み出さずに読み、理解し、修正しやすいコードを書くという意味です。

詳細

作者による元の説明

Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5228
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル