All skills
paulrberg avatar

/cli-just

@ccfca26
by Paul Bergpaulrberg/agent-skills94 stars
7

Use for just/justfile task automation: create justfiles, write recipes, configure settings, add modules/attributes, or set up command-runner workflows.

Use this Skill: https://skilld.dev/gh/paulrberg/agent-skills/cli-just

This session only. Nothing lands on disk.

referencesinline-scripts.md

≈339 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Inline Scripts

Read when a recipe needs multi-line shell or another interpreter. Confirm the installed syntax with just --help, just --man, or the current manual before adding an attribute or setting.

Use linewise recipes for short commands. Use [script("interpreter")] or a shebang when the body needs shell state, traps, control flow, or a non-shell language. set default-script changes the default; [shell] opts one recipe back to linewise execution.

[script("bash")]
deploy:
    set -e
    ./build.sh
    ./deploy.sh

Script recipes are quiet already. Do not prefix a [script] recipe with @: there it prints the generated script body. See recipes.md for linewise echo rules.

Bash on macOS

Assume /bin/bash 3.2 unless the recipe selects another shell. Write 3.2-compatible bodies by default; pin a newer interpreter only for semantics that require it, and ensure that path is available in CI and agent environments.

set shell := ["/opt/homebrew/bin/bash", "-euo", "pipefail", "-c"]

For a Bash-4+-only recipe, guard before using its newer syntax:

[script("bash")]
modern:
    if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
        echo "error: bash >= 4 required (found $BASH_VERSION)" >&2
        exit 1
    fi
    declare -A map=([a]=1)

Source: SKILL.md on GitHub

1 warning7d4 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill provides comprehensive instructions and examples for automating tasks using the 'just' command runner. It emphasizes version compatibility, safety checks, and following existing repository conventions. No malicious patterns, obfuscation, or unauthorized data access were detected.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: LOW · No issues

  • Runlayer7mo

    7/7 files flagged

Signed by skilld at ccfca26. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
user-invocable
false

README badge

README badge for paulrberg/agent-skills/cli-just