本文へ移動
cccskills
無料GitHub で公開

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md1.9 KB
  • references/api-testing-patterns.md4.5 KB
  • references/react-patterns.md2.3 KB
  • references/typescript-patterns.md4.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Coding Standards & Best Practices

Universal coding standards applicable across all projects. Detailed patterns and examples are in the references/ directory.

Quick Decision Guide

What you needReference file
Naming, immutability, types, error handling, asyncreferences/typescript-patterns.md
Components, hooks, state, memoization, lazy loadingreferences/react-patterns.md
REST API design, file structure, testing, code smellsreferences/api-testing-patterns.md

Categories

TypeScript/JavaScript Patterns

Variable and function naming conventions, immutability (critical), comprehensive error handling, async/await best practices, type safety, comments/documentation style, and database query performance.

See: references/typescript-patterns.md

React Patterns

Functional component structure with typed props, custom hooks (useDebounce pattern), proper state updates with functional setters, conditional rendering without ternary chains, useMemo/useCallback memoization, and lazy loading with Suspense.

See: references/react-patterns.md

API Design, Testing & Code Smells

REST conventions, consistent ApiResponse format, Zod input validation, project file organization and naming, AAA test pattern, descriptive test naming, and anti-pattern detection (long functions, deep nesting, magic numbers).

See: references/api-testing-patterns.md

Core Principles

  1. Readability First -- self-documenting code over comments
  2. KISS -- simplest solution that works
  3. DRY -- extract and reuse common logic
  4. YAGNI -- build only what is needed now
  5. Immutability -- never mutate; always spread

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

cloudnative-writing-baseline

無料日本語概要

日本語の業務文書を作成・修正するときに使用する共通品質基準。事実性、確度、論理、簡潔さ、自然な日本語を守る。提案書、報告、技術説明、議事録、メール、Slack、要約、レビューに適用する。創作、広告コピー、コードや構造化データだけの生成には使用しない。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Example project-specific skill template. Use as a starting point when creating guidelines for your own projects.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

cloudnative-co のスキルをすべて見る

このスキルの問題を報告する