MCP HubMCP Hub
スキル一覧に戻る

tip-javascript-typescript

sushichan044
更新日 Yesterday
81 閲覧
8
8
GitHubで表示
メタgeneral

について

このスキルは、TypeScript/JavaScriptのコーディングパターンとベストプラクティスを自動的に提供し、コードの作成やリファクタリングを支援します。開発スタイルの一貫性を維持しながら、可読性の向上やアーキテクチャに関する意思決定を通じてコード品質を高めることができます。TypeScript/JavaScriptプロジェクトにおける新規コードの作成、リファクタリング、コードレビューの場面で自動的にご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/sushichan044/dotfiles
Git クローン代替
git clone https://github.com/sushichan044/dotfiles.git ~/.claude/skills/tip-javascript-typescript

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

TypeScript/JavaScript Coding Techniques

Overview

Apply the user's preferred TypeScript/JavaScript coding techniques automatically when writing or refactoring code. This skill encapsulates coding patterns, best practices, and architectural decisions to ensure consistency with the user's mental model and development philosophy.

When to Use

Use this skill automatically in the following scenarios:

  • Writing new TypeScript/JavaScript code
  • Refactoring existing TypeScript/JavaScript code
  • Planning improvements of code quality
    • e.g. reduce duplication, improve readability, enhance maintainability, etc.
  • Reviewing code for improvements
  • Making architectural decisions in TypeScript/JavaScript projects

Apply these techniques proactively as the default approach.

Reference Structure

Coding techniques and tips are organized into two categories:

references/typescript/ - Language-Level Patterns

TypeScript/JavaScript language syntax, patterns, and best practices.

See references/typescript/README.md for details.

references/libraries/ - Library-Specific Tips

Usage patterns, optimizations, and gotchas for specific libraries and frameworks.

See references/libraries/README.md for details.

Usage

When writing TypeScript/JavaScript code, load and apply patterns from the relevant reference files automatically. Reference files contain template sections for adding new patterns as they emerge.

How to add new patterns

READ each reference categories' README to file place / naming conventions. It also includes DOs and DON'Ts for writing new patterns.

Use this template for tip files.

# [Topic Name]

## Overview

[Brief description and why these tips are needed]

## Basic Patterns

### [Pattern Name]

**When to use**: [Description of use case]

**Example**:

\`\`\`typescript
// ✅ Good: Recommended pattern
// Code example
\`\`\`

**Anti-pattern to avoid**:

\`\`\`typescript
// ❌ Bad: What to avoid
// Anti-pattern example
\`\`\`

**Notes**: [Additional context, edge cases, considerations]

## Common Issues & Solutions

### [Issue Title]

**Problem**: [What goes wrong]

**Solution**:

\`\`\`typescript
// Solution code
\`\`\`

## Performance Optimization

[If applicable]

## Type Usage

[TypeScript type patterns for this library]

## References

- Official docs: [URL]
- Related articles: [URL]

GitHub リポジトリ

sushichan044/dotfiles
パス: dot_claude/skills/tip-javascript-typescript

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る