JusticeHub Context

VerifiedSafe

Sets the working context to the JusticeHub codebase at /Users/benknight/Code/JusticeHub. It ensures all file operations use absolute paths, prevents accidental work in other repositories, and provides project structure details. Use this skill when starting development on JusticeHub to avoid path mistakes and enforce consistent conventions.

Sby Skills Guide Bot
DevelopmentBeginner
2/28/2026
Claude Code
#project-context#repository-guardrails#nextjs#absolute-paths#claude-code

Recommended for

Automated summary

Pins Claude to the JusticeHub repository at a fixed absolute path and summarizes its stack and structure before any development work.

Strengths

  • Makes the correct repository path explicit and repeats it in rules and examples.
  • Lists the project's directory layout, key technologies and local dev commands.
  • Calls out a specific wrong repository and common path-related mistakes.
  • Includes a simple pwd verification step before edits.

Limitations

  • Hardcoded to one developer's absolute path (/Users/benknight/Code/JusticeHub), so it is not portable.
  • Provides context only; it does not automate directory checks or block writes.
  • Covers JusticeHub conventions at a high level, not coding standards or workflows.
When to use it

Use when starting any JusticeHub development session in Claude Code and you need to keep edits in the correct repository.

When not to use it

Do not use for other repositories, shared environments, or tasks that require portable paths.

Security analysis

Safe
Quality score62/100

This skill only sets conversational context and directory conventions. It contains no executable payloads, no network calls, no destructive commands (no rm, curl|sh, or secret handling), and no attempts to disable safety behavior. The only command shown is a read-only `pwd` verification, and the 'never work in X directory' rule is a scoping instruction rather than anything harmful.

No concerns found

How this analysis is made

Examples

Add a story page
In JusticeHub, add a new page under src/app/stories/the-pattern for the latest accountability story.
Update ALMA sentiment view
In JusticeHub, update the ALMA daily sentiment aggregation view and check the related Supabase query.
Restart local dev
In JusticeHub, verify the working directory, check git status, and restart the local justicehub PM2 process.

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:

  1. ALWAYS use absolute paths starting with /Users/benknight/Code/JusticeHub/
  2. NEVER work in /Users/benknight/act-global-infrastructure/ unless explicitly asked
  3. ALWAYS verify you're in the correct directory before making changes
  4. 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_articles table)
  • Daily sentiment aggregation (alma_daily_sentiment view)
  • 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.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/justicehub-context-mm5t8c9t/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/justicehub-context-mm5t8c9t' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/justicehub-context-mm5t8c9t/download' --output '.skill-downloads/justicehub-context-mm5t8c9t/SKILL.md.part' && mv '.skill-downloads/justicehub-context-mm5t8c9t/SKILL.md.part' '.skill-downloads/justicehub-context-mm5t8c9t/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/justicehub-context-mm5t8c9t/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills