AlphaMoatによると、2026-09時点でBackendのダウンロード数は4,702、スター数は4で、AIスキル全体5,078件中2,019位、開発では577件中259位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 148 | 4702 | 3 | - |
| SkillHub ↗ | 145 | 4516 | 4 | — |
プラットフォームごとに集計方法と集計時点が異なります。
入力検証、タイムアウト、再試行、接続プール、トランザクション、キャッシュ、制限、監視、ログ、API 設計、最小権限を扱う静的チェックリストです。構成と運用に合わせて調整し、秘密情報をログに残さず、値にはパラメーター化を用い、動的識別子も検証します。単一の対策で完全に防げるとは限りません。
資料公開日 2026-10-29
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 4702 | — | 4 |
| 2026-08 | 4524 | +6.7% | 4 |
| 2026-07 | 4239 | +9.8% | 4 |
| 2026-06 | 3860 | +4.5% | 3 |
| 2026-05 | 3693 | — | 3 |
| 2026-03 | 2859 | — | 3 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
---
name: Backend
description: Build reliable backend services with proper error handling, security, and observability.
metadata: {"clawdbot":{"emoji":"⚙️","os":["linux","darwin","win32"]}}
---
## Error Handling
- Never expose stack traces to clients—log internally, return generic message
- Structured error responses: code, message, request ID—enables debugging without leaking- Fail fast on bad input—validate at entry point, not deep in business logic - Unexpected errors: 500 + alert—expected errors: appropriate 4xx ## Input Validation - Validate everything from outside—query params, headers, body, path params - Whitelist valid input, don't blacklist bad—reject unknown fields - Validate early, before any processing—save resources, clearer errors - Size limits on all inputs—prevent memory exhaustion attacks ## Timeouts Everywhere - Database queries: set timeout, typically 5-30s - External HTTP calls: connect timeout + read timeout—don't wait forever - Overall request timeout—gateway or middleware level - Background jobs: max execution time—prevent zombie processes ## Retry Patterns - Exponential backoff: 1s, 2s, 4s, 8s...—prevents thundering herd - Add jitter: randomize delay—prevents synchronized retries - Idempotency keys for non-idempotent operations—safe to retry - Circuit breaker for failing dependencies—stop hammering, fail fast ## Database Practices - Connection pooling: reuse connections—creating is expensive - Transactions scoped minimal—hold locks briefly - Read replicas for read-heavy workloads—separate read/write traffic - Prepared statements always—SQL injection prevention, query plan cache ## Caching Strategy - Cache invalidation strategy decided upfront—TTL, event-based, or both - Cache at right layer: query result, computed value, HTTP response - Cache stampede prevention—lock or probabilistic early expiration - Monitor hit rate—low hit rate = wasted resources ## Rate Limiting - Per-user/IP limits on expensive operations—login, signup, search - Different limits for different operations—read vs write - Return Retry-After header—tell clients when to retry - Rate limit early in request pipeline—save resources ## Health Checks - Liveness: is process running—restart if fails - Readiness: can handle traffic—remove from load balancer if fails - Startup probe for slow-starting services—don't kill during init - Health checks fast and cheap—don't hit database on every probe ## Graceful Shutdown - Stop accepting new requests first—drain load balancer - Wait for in-flight requests to complete—with timeout - Close database connections cleanly—prevent connection leaks - SIGTERM handling: graceful; SIGKILL after timeout ## Logging - Structured logs (JSON)—parseable by log aggregators - Request ID in every log—trace request across services - Log level appropriate: debug for dev, info/error for prod - Sensitive data never logged—passwords, tokens, PII ## API Design - Versioning strategy from day one—path (/v1/) or header - Pagination for list endpoints—cursor or offset; include total count - Consistent response format—same envelope everywhere - Meaningful status codes—201 for create, 204 for delete, 404 for not found ## Security Hygiene - Secrets from environment or vault—never in code or config files - Dependencies updated regularly—automated with Dependabot/Renovate - Principle of least privilege—service accounts with minimal permissions - Authentication and authorization separated—who you are vs what you can do ## Observability - Metrics: request count, latency percentiles, error rate—the RED method - Distributed tracing for microservices—follow request across services - Alerting on symptoms, not causes—high error rate, not CPU usage - Dashboards for operational visibility—know normal to spot abnormal
gh コマンドラインで GitHub の PR チェック、ワークフロー実行、API 照会を扱うスキルです。
16 の検索エンジンをまとめて使え、API キーが不要な検索スキルです。
コマンドラインから MCP サーバーとツールを一覧、設定、認証、呼び出しします。
テキストの説明からMermaid図のコードを生成します。
管理された OAuth で YouTube Data API に接続し、動画検索とチャンネル管理を行います。
管理された OAuth 接続で GitHub REST API にアクセスします。
計画、実装、検証、テストをカバーするコーディング作業のスキルです。
Docker の基本コマンドとコンテナ作業をまとめたスキルです。
利用者の訂正と自己点検を層構造の記憶に蓄え、使われ方に応じて昇格や保管を行うスキルです。
数式、書式、ブックの構造を保ったまま Excel ファイルを作成・点検・編集するスキルです。
Word と DOCX 文書を扱うための作業指針で、編集後にスタイルや番号、レイアウトが崩れないことに重点を置きます。
データベースや表計算、書き出した生データを意思決定に使える結論へ変えるデータ分析スキルです。
PPT を編集した後もきれいに表示されるようにするための作業規範です。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。