xiaohongshu
xiaohongshu
just
Just command runner for saving and running project-specific commands
Full skill instructions
Comprehensive assistance with Just, a handy command runner for saving and running project-specific commands. Just uses a justfile with make-inspired syntax but designed as a general-purpose task executor rather than a build system.
This skill should be triggered when:
justfile recipesBasic Recipe:
recipe-name:
echo 'This is a recipe!'
# Silent recipe (@ suppresses echo)
silent-recipe:
@echo 'This runs quietly'
Recipe with Parameters:
build target='all':
@echo 'Building {{target}}…'
# Variadic parameters
test *files:
pytest {{files}}
Recipe with Dependencies:
build:
cc main.c -o main
test: build
./test --all
Shebang Recipes (multi-language support):
python:
#!/usr/bin/env python3
print('Hello from Python!')
node:
#!/usr/bin/env node
console.log('Hello from Node!');
Variables and Expressions:
compiler := 'gcc'
flags := '-Wall -O2'
build:
{{compiler}} {{flags}} main.c -o main
just — Run default recipejust RECIPE — Run specific recipejust --list — List all recipesjust --show RECIPE — Display recipe definitionjust --choose — Interactive recipe selector (requires fzf)just --fmt — Format justfilejust --dump — Output formatted justfileExample 1 (basic justfile):
# Default recipe runs when you type 'just'
[default]
build:
cargo build --release
# Recipe with confirmation prompt
[confirm]
deploy:
kubectl apply -f deployment.yaml
# Platform-specific recipes
[linux]
install:
apt-get install my-package
[macos]
install:
brew install my-package
Example 2 (with variables and .env):
# Load .env file
set dotenv-load
# Variables
app_name := env('APP_NAME', 'myapp')
version := `git describe --tags`
# Recipe using variables
build:
docker build -t {{app_name}}:{{version}} .
# Conditional logic
deploy environment='staging':
#!/usr/bin/env bash
if [ "{{environment}}" = "production" ]; then
echo "Deploying to production..."
else
echo "Deploying to staging..."
fi
Example 3 (modules and imports):
# Import external justfile
import 'tasks/docker.just'
# Use module system
mod database 'tasks/db.just'
# Call module recipe
migrate: database::migrate
This skill includes comprehensive documentation in references/:
Use view to read specific reference files when detailed information is needed.
Start with the basic recipe patterns above. A simple justfile with a few recipes is all you need to get started. Just provides helpful error messages that point to specific issues in your justfile.
[linux], [macos], [windows]recipe: dep1 dep2.env files with set dotenv-loadThe quick reference section contains common patterns. For complete syntax and advanced features, consult the reference files.
.PHONY declarations needed.env files--choose (uses fzf)[default], [private], [confirm], platform-specificCargo (Rust):
cargo install just
Homebrew (macOS/Linux):
brew install just
Pre-built binaries:
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
Package managers: Available via apt, pacman, dnf, chocolatey, scoop, and 15+ others
Shell Settings:
# Set default shell (Unix-like)
set shell := ["bash", "-uc"]
# Windows PowerShell
set windows-shell := ["powershell.exe", "-Command"]
Common Settings:
set dotenv-load # Auto-load .env files
set export # Export all variables as environment vars
set positional-arguments # Pass args as positional ($1, $2, etc.)
Organized documentation extracted from official Just documentation and README:
Add helper scripts here for common Just automation tasks.
Add example justfiles or templates here.
Syntax highlighting available for:
just-mode)--unstable flag or set unstableTo refresh this skill with updated documentation:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience