スキル一覧に戻る
AMASPC-Org

backend-systems

by AMASPC-Org

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: backend-systems description: Security and architecture rules for Node.js and Firebase Cloud Functions. Use when modifying API endpoints or triggers.

Backend Systems

Detailed instructions for Node.js, Express, and Firebase Cloud Functions.

When to use this skill

  • Use this when modifying functions/src/ or server/src/.
  • This is helpful for creating new API endpoints, HTTP triggers, or background jobs.
  • Use this when debugging server logs or permission errors.

How to use it

1. Security First

  • Validation: All endpoints must validate inputs (e.g., using zod or explicit checks).
  • Authentication: Check req.user for authentication state before proceeding.
  • Authorization: Explicitly check roles (e.g., user.role === 'owner') for admin actions.

2. Architecture

  • Service Layer: Business logic belongs in services/, not controllers/routers.
  • Types: Always import shared types from src/types to ensure frontend/backend parity.
  • Region: All resources must be in us-west1.

3. Error Handling

  • Use console.error for exceptions (Google Cloud Error Reporting picks this up).
  • Return structured JSON errors: { error: string, code: string }.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です