Skill
Community

corder-code-templates

Install
1
Install the plugin
$
npx claudepluginhub takemi-ohama/ai-plugins --plugin ndf

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Generate code templates for common patterns: REST API endpoints, React components, database models, authentication, error handling. Use when implementing new features or creating boilerplate code. This skill provides production-ready code templates: - REST API endpoints (Express, FastAPI) - React/Vue components with best practices - Database models (Sequelize, TypeORM, Mongoose) - Authentication middleware (JWT, OAuth) Triggers: "create API", "new component", "implement auth", "add model", "generate code", "コードテンプレート", "API作成", "コンポーネント作成"

Tool Access

This skill is limited to using the following tools:

ReadWriteBash
Supporting Assets
View in Repository
01-api-templates.md
02-component-templates.md
templates/rest-api-endpoint.js
Skill Content

Corder Code Templates Skill

概要

corderエージェントが新機能を実装する際に使用するコードテンプレート集です。REST APIエンドポイント、Reactコンポーネント、データベースモデル、認証ロジックなど、頻出パターンのテンプレートを提供します。

クイックリファレンス

テンプレート一覧

テンプレートファイル用途
REST APIrest-api-endpoint.jsExpress CRUD操作
FastAPIrest-api-endpoint.pyPython APIエンドポイント
React Componentreact-component.jsx関数コンポーネント + Hooks
Database Modeldatabase-model.jsSequelizeモデル
Auth Middlewareauth-middleware.jsJWT認証
Error Handlererror-handler.jsグローバルエラーハンドラー

カスタマイズ手順

  1. テンプレートをコピー
  2. プレースホルダーを置換([RESOURCE], [MODEL_NAME]等)
  3. ビジネスロジックを追加
  4. テスト作成(corder-test-generation使用)

ベストプラクティス

DODON'T
テンプレートをそのままコピー安全機能を削除
プロジェクト規約に合わせる古いパターンを使用
セキュリティを最優先セキュリティを軽視
テストを作成async/awaitを避ける

詳細ガイド

ファイル内容
01-api-templates.mdREST API、認証ミドルウェア、エラーハンドラーのテンプレート
02-component-templates.mdReact/Vueコンポーネント、データベースモデルのテンプレート

関連Skill

  • corder-test-generation: テンプレートから生成したコードのテスト作成
Stats
Stars0
Forks0
Last CommitFeb 5, 2026

Similar Skills