Just

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.

eliferjunior Updated 0 repo stars

File contents

just

Overview

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

Instructions

Step 1: Install

brew install just

Step 2: Justfile

# 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.

eliferjunior/Claude/tree/main/.claude/skills/ts-just commit a99d47ffc8

Frequently asked questions

npx skillmds@latest add eliferjunior/just