agentleFS
CodeWithBehnamCodeWithBehnam/cc-docs/skills/productivity/just/SKILL.md

just

Skill2 starsChanged 9 months agoMITView on GitHub

Use `just` to save and run project-specific commands. Use when the user mentions `justfile`, `recipe`, or needs a simple alternative to `make` for task automation.

  • Reads credentials
  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the default recipe: just

    line 61
  2. Very specific:

    Run a specific recipe: just <recipe>

    line 62
  3. Distinctive:

    Shebang Recipes: Use other languages like Python or Node inside a recipe.

    line 68
  4. Very specific:

    Run just --list to see available recipes and their comments.

    line 126

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Just Command Runner

GitHub Repository

just is a handy way to save and run project-specific commands. It's a command runner, not a build system, avoiding much of make's complexity.

Instructions

Prerequisites

  • just must be installed: brew install just
  • Commands are stored in a justfile (or Justfile).

Common Settings (set ...)

You can configure just behavior at the top of your justfile:

  • set shell := ["bash", "-c"]: Change the default shell.
  • set dotenv-load: Automatically load .env files.
  • set allow-duplicate-recipes: Allow overriding recipes.
  • set fallback: Search for justfile in parent directories.
  • set quiet: Don't echo commands by default.

Example Justfiles

For complete reference, see these templates:

  • Node.js + Docker
  • Python + Venv
  • Bun + TypeScript
  • Astral UV + Python
  • Multi-Module / Advanced

Workflow

  1. Create a justfile: Define recipes at the top level of your project. Always include a default recipe that lists available commands:
    default:
      @just --list
    # The default recipe (runs when calling `just` with no args)
    default:
      just --list
    
    # A basic recipe
    test:
      cargo test
    
    # A recipe with parameters
    build target:
      echo "Building {{target}}..."
      cc main.c -o {{target}}
  2. Run Recipes:
    • Run the default recipe: just
    • Run a specific recipe: just <recipe>
    • Pass arguments to a recipe: just build my-app
    • List all available recipes: just --list
  3. Advanced Features:
    • Dependencies: test: build (runs build before test).
    • Shebang Recipes: Use other languages like Python or Node inside a recipe.
      python-task:
        #!/usr/bin/env python3
        print("Hello from Python!")
    • Dotenv: set dotenv-load at the top of the file to load .env.

Examples

Example 1: Standard Development Justfile

User request:

Create a justfile for my Node project to handle lint, test, and dev

You would:

  1. Create a justfile:
    default:
      @just --list
    
    lint:
      npm run lint
    
    test:
      npm test
    
    dev:
      npm run dev
  2. Tell the user they can now run just dev or just test.

Example 2: Recipe with Parameters

User request:

Add a recipe to just to deploy to a specific environment

You would:

  1. Edit the justfile:
    deploy env:
      echo "Deploying to {{env}}..."
      ./scripts/deploy.sh --target {{env}}
  2. Inform the user they can run just deploy production.

Example 3: Listing Recipes

User request:

What commands are available in this project?

You would:

  1. Run just --list to see available recipes and their comments.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.