Contexte JusticeHub
Configure Claude pour toujours travailler dans le référentiel JusticeHub et éviter les erreurs de répertoire. Définit les chemins absolus, la structure du projet et les règles critiques.
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.
Skills similaires
Priorisation de Tâches
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Génère des rapports de daily standup structurés et concis.