Help us improve
Share bugs, ideas, or general feedback.
From loaf
Documents the Loaf CLI commands and when to use them. Reference for /loaf:implement, /loaf:implement, and all loaf subcommands. Use when you need to know which CLI command to invoke. Not for skill documentation (use the skill's own SKILL.md) or for understa...
npx claudepluginhub levifig/loafHow this skill is triggered — by the user, by Claude, or both
Slash command
/loaf:cli-referenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quick reference for all Loaf CLI commands. Each command includes its purpose, common usage patterns, and when to use it.
Guides creating slash commands for Claude Code: structure, YAML frontmatter, dynamic arguments, file references, bash execution, user interactions, organization, and best practices.
Guides developers on creating, structuring, and organizing slash commands for Claude Code. Covers YAML frontmatter, dynamic arguments, bash execution, user interactions, and best practices for reusable command workflows.
Share bugs, ideas, or general feedback.
Quick reference for all Loaf CLI commands. Each command includes its purpose, common usage patterns, and when to use it.
loaf build after modifying skills, agents, or hooks before installingloaf install after building to propagate changes to target toolsloaf task refresh after manually editing task files to keep the TASKS.json index in syncloaf check before committing -- it runs enforcement hooks (secrets scanning, linting)loaf build exits cleanly with no errors for all targetsloaf check passes all enforcement hooks before committingloaf task list reflects the expected state after task updatesNeed to start working? → /loaf:implement TASK-XXX
Need to continue after restart? → loaf session start then /loaf:implement
Need to coordinate agents? → /loaf:implement
Made changes to skills? → loaf build && loaf install --to <target>
Want to see what's in progress? → loaf task list --active
Ready to archive completed work? → loaf task archive TASK-XXX
Need to check knowledge freshness? → loaf kb check
Orchestrates implementation sessions through agent delegation and batch execution.
Use when:
Usage:
Coordinates multi-agent work: agent delegation, session management, Linear integration.
Use when:
loaf buildBuilds all distribution targets from content source.
Use when:
Usage:
loaf build # Build all targets
loaf build --target claude-code # Specific target only
Targets: claude-code, opencode, cursor, codex, gemini
loaf installInstalls Loaf distribution to detected AI tools.
Use when:
Usage:
loaf install # Interactive install to detected tools
loaf install --to all # Install to all detected tools
loaf install --to cursor # Install to specific target
loaf install --upgrade # Update only already-installed
loaf taskManages project tasks from TASKS.json index.
Subcommands:
| Subcommand | Purpose |
|---|---|
loaf task list | Show task board grouped by status |
loaf task show TASK-XXX | Display single task details |
loaf task status | Show task statistics and overview |
loaf task create --id TASK-XXX | Create new task file |
loaf task update TASK-XXX | Update task status, priority, or session |
loaf task archive TASK-XXX | Archive completed task |
loaf task refresh | Regenerate TASKS.json index from files |
loaf task sync | Sync frontmatter with TASKS.json index |
Usage:
loaf task list --active # Hide completed
loaf task update TASK-075 --status in_progress
loaf task update TASK-075 --session 20250331-120000-cli-ref.md
loaf specManages specification lifecycle and task relationships.
Subcommands:
| Subcommand | Purpose |
|---|---|
loaf spec list | Show all specs with status |
loaf spec archive SPEC-XXX | Archive completed spec |
Usage:
loaf spec list
loaf spec archive SPEC-020
loaf kbManages project knowledge files.
Subcommands:
| Subcommand | Purpose |
|---|---|
loaf kb validate | Validate knowledge file frontmatter |
loaf kb status | Show knowledge base overview |
loaf kb check | Check for stale knowledge |
loaf kb review <file> | Review specific knowledge file |
loaf kb init | Initialize knowledge base for project |
loaf kb import <url> | Import knowledge from external source |
Usage:
loaf kb validate
loaf kb status
loaf kb check
loaf kb review docs/knowledge/hooks.md
loaf sessionManages session journals.
Subcommands:
| Subcommand | Purpose |
|---|---|
loaf session start | Start/resume session for current branch |
loaf session end | End session with progress summary |
loaf session log [entry] | Log entry to session journal |
loaf session archive | Archive completed session |
Usage:
loaf session start # Start or resume session for current branch
loaf session log "decide(scope): description"
loaf session end # Pause session with summary
loaf session archive # Archive session
loaf initInitializes a new Loaf project structure.
Use when:
Usage:
loaf init
Creates:
.agents/ directoryTASKS.json indexloaf setupSets up Loaf development environment.
Use when:
Usage:
loaf setup # Interactive setup
loaf setup --hooks # Install git hooks only
loaf housekeepingReviews and archives agent artifacts.
Use when:
Usage:
loaf housekeeping # Interactive review
loaf housekeeping --dry-run # Show what would be archived
loaf release / loaf shipOrchestrates release ritual.
Use when:
Usage:
loaf release # Interactive release
loaf ship --dry-run # Test release flow
loaf versionShows version and target info.
Usage:
loaf version # Show CLI version
loaf version --targets # Show available targets
The following placeholders are substituted at build time per target:
| Placeholder | Claude Code | OpenCode | Cursor |
|---|---|---|---|
/loaf:implement | /loaf:implement | /loaf:implement | @loaf/loaf:implement |
/loaf:implement | /loaf:implement | /loaf:implement | @loaf/loaf:implement |