From justfile
Enforces style guidelines for justfile recipe documentation by simplifying doc comments for short single-line recipes to match the command, preserving descriptive comments for multi-line, shebang, or long recipes. Use when writing or editing justfiles.
How this skill is triggered — by the user, by Claude, or both
Slash command
/justfile:justfile-styleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides best practices for writing justfile recipe documentation comments.
This skill provides best practices for writing justfile recipe documentation comments.
For very short justfile recipes, change the doc comment string to be the entire command instead of a descriptive phrase.
❌ Before:
# Install dependencies
[group('setup')]
install:
npm install
✅ After:
# npm install
[group('setup')]
install:
npm install
For simple, single-command recipes, the command itself is often more informative than a descriptive phrase. This approach:
Keep descriptive doc comments for:
# Set up development environment
[group('setup')]
dev-setup:
npm install
cp .env.example .env
just db-migrate
# Generate API documentation
[group('docs')]
gen-docs:
#!/usr/bin/env bash
set -euo pipefail
# ... multiple lines of bash script
# Build production bundle with optimizations
[group('build')]
build-prod:
webpack --mode production --config webpack.prod.js --optimization-minimize --output-path dist/
In these cases, a descriptive comment provides more value than repeating the complex command.
npx claudepluginhub motlin/claude-code-plugins --plugin justfileProvides expert guidance on Just command runner syntax, recipes, parameters, modules, and shebang recipes for task automation and project standardization.
Creates and manages justfiles for task automation: write recipes, configure settings, add modules/attributes, and set up command-runner workflows.
Checks and configures Justfiles against project standards, audits for missing recipes, and migrates from Makefile to Justfile.