スキル一覧に戻る
MigzCtrl

add-feature

by MigzCtrl

Tire Shop Management Dashboard

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

SKILL.md


name: add-feature description: Guide for adding new features to TireOps. Use when implementing new pages, API routes, or components.

Adding Features to TireOps

First: Read ARCHITECTURE.md for full system context.

Before Starting

  1. Read ARCHITECTURE.md for system overview
  2. Check existing patterns in similar features
  3. Plan the implementation

Adding a New Page

  1. Create src/app/[route]/page.tsx
  2. Use DashboardLayout wrapper
  3. Get auth: const { profile, shop } = useAuth()
  4. Filter queries by shop_id

Adding an API Route

  1. Create src/app/api/[route]/route.ts
  2. Use lazy Supabase initialization
  3. Validate input with Zod
  4. Return proper error responses

Adding Components

  1. Use shadcn/ui from src/components/ui/
  2. Use theme variables (text-text, bg-bg)
  3. Follow existing patterns

Database Changes

  1. Update src/types/database.ts
  2. Add migration SQL to src/lib/supabase/migrations.ts
  3. Run in Supabase dashboard

Checklist

  • RLS: Data filtered by shop_id
  • Types: Added to database.ts
  • Auth: Protected routes check user
  • Styles: Using theme variables
  • Errors: Proper error handling

スコア

総合スコア

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

レビュー

💬

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