From alfred
Contextual recommendations for every Alfred command — when to suggest, what to say, and why
How this skill is triggered — by the user, by Claude, or both
Slash command
/alfred:smart-suggestionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every Alfred command should surface at exactly the right moment with a brief explanation of why it's relevant and what it would do. Never repeat a suggestion the user has dismissed in the same session.
Every Alfred command should surface at exactly the right moment with a brief explanation of why it's relevant and what it would do. Never repeat a suggestion the user has dismissed in the same session.
Keep suggestions brief. One line with the command, what it does, and why now:
"Want me to run
/audit? It checks for security issues before the PR — takes 5 seconds."
Commands fall into three tiers:
| Tier | Behavior | Commands |
|---|---|---|
| Automated | Runs without asking | format-on-write, session-start, bookmark, consent, signal collection/push, CI |
| Smart-suggested | Recommended at the right moment with explanation | All 19 commands below |
| User-initiated only | Never auto-run, only on explicit request | bootstrap, github-account-setup, pilot-delete |
/new-work — Create a scoped branch with task list
/new-work? It creates a safe branch so your changes don't touch the official copy."/new-work? It creates a branch and task list so we stay focused."/commit — Safe commit with pre-flight checks
/commit? It validates everything then saves a checkpoint."/commit creates a checkpoint you can roll back to."make check, stages changes, generates commit message, commits/pr — Branch → commit → push → PR
/pr? It validates, commits, pushes, and opens a PR in one step."/pr would push this and open a pull request."make check, commits remaining changes, pushes, creates PR with summary/ci-fix — Auto-fix CI failures in a loop
/ci-fix? It loops through lint → format → test failures and fixes them automatically."/ci-fix automates the fix-and-retest loop."/vet — Pressure-test a plan before committing
/vet it? I'll check assumptions against actual code and flag risks."/vet pressure-tests it before we build — catches issues that are cheap to fix now but expensive later."/audit — Security and quality audit
/audit before the PR? It checks for injection risks, missing cleanup, stale syncs, and secrets in 5 seconds."/audit does a security sweep to catch issues before review."/audit catches integration issues that individual checks miss."/safe-refactor — Test-gated refactoring with rollback
/safe-refactor? It captures tests first, then makes changes one at a time with automatic rollback if anything breaks."/safe-refactor runs tests first so we have a safety net."/health-check — Assess project maturity
/health-check assesses your project's maturity across 5 levels and recommends what to add next."/health-check scores your project across CI, testing, docs, and automation — shows what's strong and what's missing."/health-check to see how the project's matured?"/teach — Progressive habit lessons
/teach gives a 2-minute lesson with a hands-on demo."/teach — it picks the next habit you haven't learned yet and walks you through it."/status — Progress dashboard
/status shows your habits, graduation progress, and next steps."/status shows where you left off."/self-improve — Promote corrections to rules/hooks
/self-improve checks which ones should become permanent rules — so you don't have to repeat them."/self-improve promotes recurring corrections into permanent rules and automation."/self-improve? It turns these into permanent rules."/persona — View or evolve persona
/persona check to see if your persona still fits?"/persona check takes 30 seconds."/collective — Collective learning signals
/self-improve and signals are generated/collective contribute? They're encrypted and help others avoid the same mistakes."/collective ingest shows what corrections other users have made — patterns with 3+ occurrences become recommended rules."/experiment-summary — Inventory results with provenance
/experiment-summary inventories them with source code and config provenance — so you can always trace back."/experiment-summary connects every result to the code that produced it."/bootstrap — Initial project setup (never auto-suggest after first run)
.claude/.onboarding-state.json doesn't exist/bootstrap to configure Alfred for your role and project."/github-account-setup — GitHub auth (only suggest if not authenticated)
gh auth status fails/github-account-setup walks you through authentication."/pilot-consent — Consent management (only suggest on explicit request)
/pilot-consent shows exactly what's collected and lets you opt out."/pilot-report — Submit feedback (only suggest when user has feedback)
/pilot-report scrubs PII and sends it anonymously."/pilot-delete — Delete data (never auto-suggest)
/pilot-delete removes your telemetry and signals locally or from the repo."Branch splitting:
Security requirements:
/bootstrap after onboarding is complete/pilot-delete, git reset, etc.)npx claudepluginhub drakecaraker/alfred --plugin alfredDocuments orchestrator subsystems for automatic learning integration, performance recording, validation, interactive suggestions, gitignore management, and workspace health monitoring.
Learns your work habits from conversations, builds a portable profile, and applies it across sessions and projects. Activates on new sessions, coding, debugging, and planning.
Guides creation of Claude Code slash commands using YAML frontmatter, XML tags like <objective> and <process>, dynamic context, and argument handling.