JusticeHub Context
Configures Claude to always work in the JusticeHub repository and avoid directory mistakes. Sets absolute paths, project structure, and critical rules.
JusticeHub Context Skill
Purpose
This skill ensures Claude always works in the JusticeHub codebase located at /Users/benknight/Code/JusticeHub and never accidentally works in the wrong repository.
When to Use
This skill is automatically invoked at the start of every conversation about JusticeHub development.
Instructions
You are working on the JusticeHub project located at:
/Users/benknight/Code/JusticeHub
Critical Rules:
- ALWAYS use absolute paths starting with
/Users/benknight/Code/JusticeHub/ - NEVER work in
/Users/benknight/act-global-infrastructure/unless explicitly asked - ALWAYS verify you're in the correct directory before making changes
- When creating or editing files, use the full path:
/Users/benknight/Code/JusticeHub/src/...
Project Structure:
/Users/benknight/Code/JusticeHub/
├── src/
│ ├── app/ # Next.js App Router pages
│ │ ├── stories/
│ │ │ ├── the-pattern/
│ │ │ └── intelligence/
│ │ └── ...
│ ├── components/ # React components
│ │ └── visualizations/
│ ├── lib/ # Utilities and helpers
│ └── contexts/ # React contexts
├── scripts/ # Build and data scripts
├── .claude/ # Claude configuration
│ └── skills/ # Custom skills
└── package.json
Common Mistakes to Avoid:
- ❌ Working in
/Users/benknight/act-global-infrastructure/ - ❌ Using relative paths without verifying current directory
- ❌ Creating files in the wrong codebase
- ✅ Always use full paths:
/Users/benknight/Code/JusticeHub/... - ✅ Verify directory before file operations
- ✅ Check git status to confirm you're in JusticeHub repo
Verification Command:
Before making changes, always verify:
pwd # Should output: /Users/benknight/Code/JusticeHub
Key Technologies:
- Next.js 14 (App Router)
- React 18
- TypeScript
- Supabase (PostgreSQL)
- D3.js (visualizations)
- TailwindCSS
- PM2 (process manager)
ALMA Integration:
JusticeHub uses the ALMA (Adaptive Learning for Meaningful Accountability) system for:
- Media sentiment tracking (
alma_media_articlestable) - Daily sentiment aggregation (
alma_daily_sentimentview) - Continuous intelligence gathering
Local Development:
- Dev server:
http://localhost:3003 - PM2 process name:
justicehub - Restart command:
pm2 restart justicehub
Output
This skill does not produce output - it sets context for the conversation.
Related skills
Task Prioritizer
Prioritizes your tasks using Eisenhower, ICE, and RICE frameworks.
Weekly Status Report Generator
Generate structured and concise weekly status reports.
Daily Standup Report
Generates structured and concise daily standup reports.