Loading...
Loading...
Check and configure Justfile with standard recipes for project standards
npx skill4agent add laurigates/claude-plugins configure-justfile| Use this skill when... | Use another approach when... |
|---|---|
| Setting up a new Justfile for a project | Project already uses Make exclusively and migration is not desired — use |
| Auditing existing Justfile for missing standard recipes | Writing complex custom recipes — use |
| Migrating from Makefile to Justfile | Project has no task runner needs (single-file scripts) |
| Ensuring Justfile follows team conventions (groups, comments, settings) | Debugging a specific recipe failure — use direct |
| Running CI/CD compliance checks on project task runners | Only need to list available recipes — run |
pwdfind . -maxdepth 1 \( -name 'justfile' -o -name 'Justfile' \) 2>/dev/nullfind . -maxdepth 1 -name 'Makefile' 2>/dev/nullfind . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \) 2>/dev/nullfind . -maxdepth 1 \( -name 'Dockerfile' -o -name 'docker-compose.yml' \) 2>/dev/nullfind . -maxdepth 1 -name '.env' 2>/dev/nullfind . -maxdepth 1 -name '.project-standards.yaml' 2>/dev/null--check-only--fixjustfileJustfile| Indicator | Project Type |
|---|---|
| Python |
| Node.js |
| Rust |
| Go |
| None of the above | Generic |
| Recipe | Purpose | Severity |
|---|---|---|
| Alias to help (first recipe) | FAIL if missing |
| Display available recipes | FAIL if missing |
| Run test suite | FAIL if missing |
| Run linters | FAIL if missing |
| Build project artifacts | WARN if missing |
| Remove temporary files | WARN if missing |
| Recipe | When Required | Severity |
|---|---|---|
| If project uses auto-formatters | WARN |
| If project has runnable service | INFO |
| If project has background service | INFO |
| If project supports watch mode | INFO |
| Check | Standard | Severity |
|---|---|---|
| File exists | justfile present | FAIL if missing |
| Default recipe | First recipe is | WARN if missing |
| Dotenv loading | | INFO |
| Help recipe | Lists all recipes | FAIL if missing |
| Language-specific | Commands match project type | FAIL if mismatched |
| Recipe comments | Recipes have descriptions | INFO |
Justfile Compliance Report
==============================
Project Type: python (detected)
Justfile: Found
Recipe Status:
default ✅ PASS
help ✅ PASS (just --list)
test ✅ PASS (uv run pytest)
lint ✅ PASS (uv run ruff check)
build ✅ PASS (docker build)
clean ✅ PASS
format ✅ PASS (uv run ruff format)
start ⚠️ INFO (not applicable)
stop ⚠️ INFO (not applicable)
dev ✅ PASS (uv run uvicorn --reload)
Settings Status:
dotenv-load ✅ PASS
positional-arguments ℹ️ INFO (not set)
Missing Recipes: none
Issues: 0 found--check-only--fixset dotenv-load.envjust --list.project-standards.yamlcomponents:
justfile: "2025.1"# Justfile for {{PROJECT_NAME}}
# Run `just` or `just help` to see available recipes
set dotenv-load
set positional-arguments
# Default recipe - show help
default:
@just --list
# Show available recipes with descriptions
help:
@just --list --unsorted
####################
# Development
####################
# Run linters
lint:
{{LINT_COMMAND}}
# Format code
format:
{{FORMAT_COMMAND}}
# Run tests
test *args:
{{TEST_COMMAND}} {{args}}
# Development mode with watch
dev:
{{DEV_COMMAND}}
####################
# Build & Deploy
####################
# Build project
build:
{{BUILD_COMMAND}}
# Clean build artifacts
clean:
{{CLEAN_COMMAND}}
# Start service
start:
{{START_COMMAND}}
# Stop service
stop:
{{STOP_COMMAND}}lint:
uv run ruff check .
format:
uv run ruff format .
uv run ruff check --fix .
test *args:
uv run pytest {{args}}
dev:
uv run uvicorn app:app --reload
build:
docker build -t {{PROJECT_NAME}} .
clean:
find . -type f -name "*.pyc" -delete
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
rm -rf .pytest_cache .ruff_cache .coverage htmlcov dist build *.egg-infolint:
bun run lint
format:
bun run format
test *args:
bun test {{args}}
dev:
bun run dev
build:
bun run build
clean:
rm -rf node_modules dist .next .turbo .cachelint:
cargo clippy -- -D warnings
format:
cargo fmt
test *args:
cargo nextest run {{args}}
dev:
cargo watch -x run
build:
cargo build --release
clean:
cargo cleanlint:
golangci-lint run
format:
gofmt -s -w .
goimports -w .
test *args:
go test ./... {{args}}
dev:
air
build:
go build -o bin/{{PROJECT_NAME}} ./cmd/{{PROJECT_NAME}}
clean:
rm -rf bin dist
go clean -cachedocker-compose.ymlDockerfilesrc/server.*src/main.*devcargo-watchair.tomlmain.go| Context | Command |
|---|---|
| Quick compliance check | |
| Auto-fix all issues | |
| List existing recipes | |
| Verify specific recipe exists | |
| Check Justfile syntax | |
| Flag | Description |
|---|---|
| Report status without offering fixes |
| Apply fixes automatically |
# Check current Justfile compliance
/configure:justfile --check-only
# Create/update Justfile for Python project
/configure:justfile --fix
# Check compliance and prompt for fixes
/configure:justfile/configure:makefile/configure:all/configure:workflows/configure:dockerfilejustfile-expert