スキル一覧に戻る
Bedriftsgrafen

feature-implementation-scaffold

by Bedriftsgrafen

Full-stack business intelligence platform tracking 1.1M+ Norwegian companies with real-time analytics | React 19 | FastAPI | PostgreSQL

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

SKILL.md


name: Feature Implementation Scaffold description: A comprehensive full-stack checklist for implementing new features consistently and safely.

Feature Implementation Skill

Purpose

To provide a structured, step-by-step workflow for adding new features, ensuring all layers (Database, Backend, Frontend) are implemented correctly and tested.

Phase 1: Backend Implementation

  1. Model: Create/Update backend/models/<entity>.py.
    • If changed: Use the Database Migration skill.
  2. Repository: Create/Update backend/repositories/<entity>_repository.py.
    • Implement CRUD operations.
    • Add Unit Tests: backend/tests/unit/repositories/test_<entity>_repository.py.
  3. Service: Create/Update backend/services/<entity>_service.py (Optional, if business logic is complex).
  4. Router: Create/Update backend/routers/v1/<entity>.py.
    • Define Pydantic schemas (Request/Response) with explicit types.
    • Add Unit Tests: backend/tests/unit/routers/test_<entity>_router.py.
  5. Verify Backend:
    • backend/.venv/bin/ruff check backend
    • backend/.venv/bin/mypy backend
    • backend/.venv/bin/pytest backend
  6. Commit: feat(backend): implement <entity> logic

Phase 2: Frontend Implementation

  1. Types: Define interfaces in frontend/src/types or co-located with components.
  2. API Hook: Create frontend/src/hooks/queries/use<Entity>Query.ts.
    • Use TanStack Query v5 conventions.
  3. UI Component: Create frontend/src/components/<Entity>/*.tsx.
    • Use Tailwind CSS v4.
  4. Route: Create frontend/src/routes/<path>.tsx.
  5. Verify Frontend:
    • npm run validate (in frontend/)
    • npm test (in frontend/)
  6. Commit: feat(frontend): add <entity> ui

Phase 3: Push

Use the Safe Push skill to push your commits.

スコア

総合スコア

70/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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