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 expertise in Justfile syntax, recipe development, parameters, shebangs for multi-language scripts, and cross-platform task automation with naming conventions and CI/CD integration.
Checks and configures project Justfile with standard recipes (default, help, test, lint, build, clean) for Python, Node.js, Rust, Go, or generic projects. Supports --check-only and --fix.
Writes AI-optimized docs like README, CLAUDE.md, AGENTS.md, commit messages, PR descriptions using tables, checklists, absolute paths, invariants for cold project starts.