Claude
Skills
Sign in
Back

just

Included with Lifetime
$97 forever

Run project commands with just (a modern make alternative). Use when a user asks to define project commands, replace Makefile, create a command runner, or standardize dev scripts.

General

What this skill does


# just

## Overview
just is a command runner — like make but without the build system baggage. Define commands in a justfile, run with just <command>.

## Instructions

### Step 1: Install
```bash
brew install just
```

### Step 2: Justfile
```makefile
# justfile — Project commands
set dotenv-load

default: dev

dev:
    npm run dev

test *args:
    npm test {{args}}

build:
    npm run build

db-reset: && db-migrate db-seed
    npx prisma migrate reset --force

db-migrate:
    npx prisma migrate deploy

db-seed:
    npx prisma db seed

deploy env="staging":
    echo "Deploying to {{env}}..."
    npx vercel deploy

up:
    docker compose up -d

down:
    docker compose down

logs service="app":
    docker compose logs -f {{service}}
```

## Guidelines
- Unlike make, just doesn't track file dependencies — purely a command runner.
- Supports arguments with defaults: deploy env="staging".
- just --list shows all available commands.
Files: 2
Size: 3.4 KB
Complexity: 13/100
Category: General

Related in General