Style guidelines for justfile recipe documentation. Use when writing or editing justfiles to ensure consistent and concise documentation.
/plugin marketplace add motlin/claude-code-plugins/plugin install justfile@motlin-claude-code-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
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.