Skip to content
Back to skills

Justicehub Reviewer

ASecurity

Platform audit for JusticeHub pages, API routes, Supabase patterns, and Empathy Ledger integration.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
developmenttypescriptnextjsapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill justicehub-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Justicehub Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Justicehub Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-justicehub-reviewer/badge)](https://www.skillsdirectory.com/skills/majiayu000-justicehub-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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]
```

| Scope | What It Checks |
|-------|----------------|
| `full` | Complete platform audit |
| `pages` | All Next.js pages |
| `api` | All API routes |
| `supabase` | Connection patterns |
| `empathy-ledger` | Integration health |
| `functions` | Utility services |

## Quick Patterns

### Correct Server Component
```typescript
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
```typescript
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

| Need | Reference |
|------|-----------|
| Page patterns | `references/page-patterns.md` |
| API patterns | `references/api-patterns.md` |
| Supabase patterns | `references/supabase-patterns.md` |
| Empathy Ledger | `references/empathy-ledger.md` |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.