スキル一覧に戻る
Acurioustractor

justicehub-reviewer

by Acurioustractor

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

SKILL.md


name: justicehub-reviewer description: Platform audit for JusticeHub pages, API routes, Supabase patterns, and Empathy Ledger integration.

JusticeHub Platform Reviewer

When to Use

  • Audit pages/routes for data fetching issues
  • Verify Supabase connection patterns
  • Check Empathy Ledger integration
  • Review API route security
  • Generate platform health reports

Invocation

/justicehub-review [scope]
ScopeWhat It Checks
fullComplete platform audit
pagesAll Next.js pages
apiAll API routes
supabaseConnection patterns
empathy-ledgerIntegration health
functionsUtility services

Quick Patterns

Correct Server Component

import { createServiceClient } from '@/lib/supabase/service';
export const dynamic = 'force-dynamic';

export default async function Page() {
  const supabase = createServiceClient();
  const { data } = await supabase.from('table').select('*');
  return <Component data={data} />;
}

Correct API Route

import { createServiceClient } from '@/lib/supabase/service';
export async function GET() {
  const supabase = createServiceClient();
  const { data, error } = await supabase.from('table').select('*');
  if (error) return NextResponse.json({ error: error.message }, { status: 500 });
  return NextResponse.json(data);
}

Red Flags

  • createClient in server component (should be createServiceClient)
  • Missing force-dynamic for dynamic data
  • Server cookie client without await
  • No error handling in API routes

File References

NeedReference
Page patternsreferences/page-patterns.md
API patternsreferences/api-patterns.md
Supabase patternsreferences/supabase-patterns.md
Empathy Ledgerreferences/empathy-ledger.md

スコア

総合スコア

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

レビュー

💬

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