Development: Justfile syntax validation and auto-fixing. Checks all .just files for syntax errors using 'just --fmt --check'. Run from repository root with 'just check' or 'just fix'. Use when developers need to validate or fix justfile syntax.
/plugin marketplace add atrawog/bazzite-ai-plugins/plugin install atrawog-bazzite-ai-dev-bazzite-ai-dev@atrawog/bazzite-ai-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
The validate development commands check and fix justfile syntax across the repository. It uses just --fmt to ensure consistent formatting and valid syntax.
Key Concept: This is a development command - run with just from the repository root, not ujust. Syntax validation is also included in pre-commit hooks.
| Action | Command | Description |
|---|---|---|
| Check syntax | just check | Validate all .just files |
| Fix syntax | just fix | Auto-fix all .just files |
Validates syntax of all .just files and the root Justfile:
just check
Output:
Auto-fixes syntax of all .just files and the root Justfile:
just fix
Output:
The commands validate:
*.just files in the repositoryJustfileTypical structure:
.
├── Justfile # Root entry point
├── just/
│ ├── build/
│ │ ├── build-os.just
│ │ ├── build-pods.just
│ │ ├── build-vms.just
│ │ ├── build-docs.just
│ │ ├── dev-lint.just
│ │ ├── dev-validation.just
│ │ ├── clean.just
│ │ └── gh.just
│ └── bazzite-ai/
│ ├── test.just
│ └── lib/*.just
# 1. Check for syntax errors
just check
# 2. Fix any issues
just fix
# 3. Verify fixes
just check
# 4. Commit
git add -A && git commit -m "Your message"
# Check only (fails on error)
just check
# This is equivalent to:
just --unstable --fmt --check -f Justfile
The formatter enforces:
{{ variable }})[group(...)], [private])Symptom: error: unexpected token
Fix:
# Try auto-fix first
just fix
# If still fails, manually edit the file
# Common issues:
# - Missing quotes around strings
# - Invalid interpolation syntax
# - Incorrect indentation
Symptom: just fix runs but issues persist
Cause: Some errors can't be auto-fixed
Fix:
# Check the specific error
just --unstable --fmt --check -f <file>
# Manually edit to fix
Symptom: Warning about unstable features
Cause: --fmt requires --unstable flag
Note: This is expected. The commands include --unstable automatically.
Justfile validation is included in pre-commit hooks:
# .pre-commit-config.yaml
- repo: local
hooks:
- id: just-fmt
name: just --fmt
entry: just --unstable --fmt --check
files: '(\.just$|^Justfile$)'
lint (full linting suite), clean (clean caches)just/build/CLAUDE.md for conventionsUse when the user asks about:
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.