Automated summary
This skill documents just, a command runner that keeps a project's tasks in a justfile and runs them with `just <recipe>`.
Strengths
- Covers installation on every major platform (brew, cargo, apt, winget) including verifying release archives against SHA256SUMS
- Explains recipe syntax clearly: default arguments, `*args`/`+args`, before/after dependencies and passing arguments to dependencies
- Lists the everyday flags and settings: `set dotenv-load`, `--list`, `--show`, `--dry-run`, `--fmt`, plus doc comments for listings
- Calls out real gotchas: no mixed indentation, one shell per line, and a shebang or `[script]` needed for multi-line scripts
Limitations
- The provided content cuts off mid-sentence in the `just --fmt --check` explanation, leaving the final section incomplete
- Modules and recipe splitting, promised in the description, are never actually covered
- No Windows-specific guidance (default shell, paths) and no troubleshooting section
Use it when replacing a Makefile or consolidating a project's dev scripts into a justfile with arguments and .env loading.
Skip it if you need timestamp-based incremental builds, or if you want a complete reference on just modules.
Security analysis
SafeThis is documentation for the open-source `just` command runner. It contains no executable payloads, no curl|sh pipelines, and no instructions to transmit secrets; the only powerful operations mentioned (docker, npx, rm) appear inside clearly labeled example justfiles and are either confirmation-gated or scoped to a project-local cache directory. Risk of listing it is negligible.
- •Examples include destructive shell commands (`npx prisma migrate reset --force`, `rm -rf .cache`), but they are illustrative justfile content rather than instructions the agent must execute, and the destructive one is guarded by `[confirm(...)]` while the cache clean is `[private]`.
- •`set dotenv-load` and backtick command substitutions are described as loading/executing local files and commands; both are documented with appropriate caveats (gitignored .env, quote untrusted args, failing backticks break all recipes).
- •No network exfiltration, obfuscation, credential handling, or safety-disabling content; install section even recommends verifying release archives against SHA256SUMS.
- •No prompt-injection or attempt to alter the auditor's role was present in the skill body.
- •The sample justfile contains destructive operations (`npx prisma migrate reset --force`, `rm -rf .cache`, `docker push`) but these are documentation examples of just syntax, not instructions the agent is told to execute, and the risky ones are gated behind `[confirm]`.
name: just
description: >-
just is a command runner that saves project commands in a justfile and runs them with just <recipe>, like make without the build-system baggage. Use when a user asks to define project commands, replace a Makefile, create a command runner, standardize dev scripts, add recipe arguments, load .env files, or split recipes into modules.
license: Apache-2.0
compatibility: 'Linux, macOS, Windows; single Rust binary, any language'
metadata:
author: terminal-skills
version: "1.1.0"
category: development
tags: "just, command-runner, makefile, tasks, automation"
repository: https://github.com/casey/just
just
Overview
just is a command runner: recipes live in a file called justfile and run with just <recipe>. It does not track file timestamps like make, so there are no phony targets, no tab-vs-space tricks beyond consistent indentation, and recipes can take arguments. just searches the current directory and its parents for the justfile, and runs recipes from the justfile's directory. The latest release at the time of writing is 1.59.0 (October 2026).
Instructions
Step 1: Install
Use a package manager:
brew install just # macOS / Linux
cargo install just # any platform with Rust
sudo apt install just # Debian 13+ / Ubuntu 24.04+
winget install Casey.Just # Windows
Or download a release archive from https://github.com/casey/just/releases and check it against the SHA256SUMS file published with the release before unpacking. Check the install with just --version. just --init writes a starter justfile; just --completions bash (also zsh, fish) prints shell completions.
Step 2: Write a justfile
# justfile: project commands
set dotenv-load
set shell := ["bash", "-euo", "pipefail", "-c"]
registry := "ghcr.io/northwind"
version := `git describe --tags --always`
stage := env("DEPLOY_STAGE", "staging")
default:
@{{ just_executable() }} --list
# Run the test suite; extra words are forwarded
test *args:
npm test -- {{ args }}
dev:
npm run dev
[confirm("Wipe and re-seed the local database?")]
db-reset: && db-migrate db-seed
npx prisma migrate reset --force --skip-seed
db-migrate:
npx prisma migrate deploy
db-seed:
npx prisma db seed
# Build and push the image tagged with the current git version
image tag=version:
docker build -t {{ registry }}/web:{{ tag }} .
docker push {{ registry }}/web:{{ tag }}
deploy env=stage: (image version)
echo "Deploying {{ version }} to {{ env }}"
npx vercel deploy --target {{ env }}
[group('docker')]
up:
docker compose up -d
[group('docker')]
logs service="app":
docker compose logs -f {{ service }}
Notes on the syntax:
- Indent recipe lines consistently with spaces or tabs; mixing them is an error.
name arg="default"gives an argument a default;*argstakes zero or more words,+argsone or more.a: b cruns dependencies first;a: && b crunsbandcaftera;(image version)passes an argument to a dependency.`cmd`in an assignment captures command output;env("NAME", "fallback")reads an environment variable.- A line starting with
@(or a recipe named@name:) is not echoed before it runs. set dotenv-loadloads.envfrom the justfile directory (or a parent) into the recipe environment.- Each recipe line runs in its own shell. For multi-line scripts put
#!/usr/bin/env bashas the first line of the recipe body, or mark it[script].
Step 3: Run it
just # first recipe (here: default, which lists recipes)
just test --watch # arguments after the recipe name
just deploy production # override the default
just --list # recipes with doc comments; --unsorted keeps file order
just --show deploy # print one recipe
just --dry-run deploy # print commands without running
just --fmt # reformat the justfile in place; --check only reports
just --choose # pick a recipe interactively (needs fzf or a chooser)
just -f ops/justfile -d . # explicit justfile and working directory
Step 4: Attributes, modules and platforms
mod docs # loads docs.just, docs/justfile or docs/mod.just
alias t := test
[linux]
open:
xdg-open http://localhost:3000
[macos]
open:
open http://localhost:3000
[working-directory: 'frontend']
build:
npm run build
[private]
_clean-cache:
rm -rf .cache
Run module recipes with just docs build or just docs::build. Recipes whose names start with _ and recipes marked [private] are hidden from --list. [confirm] asks before running (answer y); --yes (or JUST_YES=true) skips the prompt, and --dry-run still asks, so a script or CI job that runs a confirmed recipe needs --yes or the process waits for input. [parallel] on a recipe runs its dependencies concurrently.
Examples
Example 1: Replace a Makefile in a Node project
Request: "Move our Makefile targets into something simpler and add a test recipe that takes flags."
Create the justfile with dev, build and test *args: recipes as above, then:
$ just test --coverage
npm test -- --coverage
PASS src/cart.test.ts
$ just --list
Available recipes:
build
dev
test *args # Run the test suite; extra words are forwarded
just prints each command before running it; prefix a line with @ to silence it.
Example 2: Deploy with a confirmation and a default environment
Request: "Make just deploy default to staging, and ask before touching production."
[confirm("Deploy to production?")]
deploy-prod: (deploy "production")
deploy env="staging":
./scripts/deploy.sh {{ env }}
$ just deploy
./scripts/deploy.sh staging
$ just deploy-prod
Deploy to production? y
./scripts/deploy.sh production
Guidelines
- just is a command runner, not a build system: it never skips a recipe because files are up to date. Keep make, Ninja or Bazel for incremental builds.
- Call the same justfile from
defaultwith@{{ just_executable() }} --listrather than a barejust, so a recipe still works when just is not onPATHunder that name. - Interpolate arguments with
{{ arg }}only inside shell-safe contexts; for untrusted values use"{{ quote(arg) }}"orset positional-argumentsand"$1". - Put
set dotenv-loadonly where a.envfile exists and is gitignored; a recipe sees its variables as environment variables, not just just variables. - Windows needs a shell:
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"], or use[script]recipes with an explicit interpreter. - 1.59.0 requires Unicode (UTF-8) paths; non-Unicode file names now raise an error.
- Backtick assignments are evaluated whenever any recipe runs, so a failing one (for example
git describeoutside a repository) breaks every recipe;--listdoes not evaluate them. - Run
just --fmt --checkin CI to keep the file formatted.
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 filesThis 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.mdFrom the root of a test project, save the file as .skill-downloads/just-project-command-runner-mwirmdww/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/just-project-command-runner-mwirmdww' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/just-project-command-runner-mwirmdww/download' --output '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md.part' && mv '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md.part' '.skill-downloads/just-project-command-runner-mwirmdww/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.
Environment declared by the author: Linux, macOS, Windows; single Rust binary, any language
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
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && test -s '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/just' && cp -R '.skill-downloads/just-project-command-runner-mwirmdww' '.claude/skills/just'Cursor
test -f '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && test -s '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/just' && cp -R '.skill-downloads/just-project-command-runner-mwirmdww' '.cursor/skills/just'Codex
test -f '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && test -s '.skill-downloads/just-project-command-runner-mwirmdww/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/just' && cp -R '.skill-downloads/just-project-command-runner-mwirmdww' '.agents/skills/just'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/just-project-command-runner-mwirmdww'openskills read 'just-project-command-runner-mwirmdww'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual 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/just-project-command-runner-mwirmdww/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.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.