From my-workflow
Generates a markdown session briefing with pending commitments (overdue, due today, upcoming), recent decisions, active goals, GitHub issues/PRs, and external changes from workflow database.
npx claudepluginhub mwguerra/claude-code-plugins# Workflow Briefing Command Generate a comprehensive briefing for the current session. ## What to Include 1. **Pending Commitments** - Overdue items (red alert) - Due today (yellow) - Upcoming (next 7 days) 2. **Recent Decisions** (from this project) - Active architectural decisions - Process decisions that apply 3. **Active Goals** - Current progress - Milestone status 4. **GitHub Items** (if configured) - Assigned issues - PRs needing review - Your open PRs 5. **External Changes** - Changes detected outside Claude Code - Unacknowledged items ## ...
/briefingGenerates a session briefing with pending commitments grouped by urgency, active goals, recent decisions, GitHub items from cache, and prior day summary. Supports --project scoping.
/briefGenerates a concise visual briefing on project state, progress, key decisions, blockers, and next steps from git status, specs, tasks, and context.
/resumeResumes a previous session by collecting project context from logs, tasks, decisions, git status, open PRs, and more to produce a structured snapshot in under 60 seconds.
/brief-meGet briefed — loads your full memory, pulls live state from all connected tools, surfaces risks, staleness, upcoming milestones, and gives you a prioritized briefing so you're never starting blank
/fire-session-summaryGenerates compact session summary with status table, readiness, outlook, and next steps from conversation context and git log. Saves to file unless --no-save; supports --project override.
/briefingStructured pre-execution briefing session -- collects case context through specialist panel, builds execution plan, supports resume and depth control
Share bugs, ideas, or general feedback.
Generate a comprehensive briefing for the current session.
Pending Commitments
Recent Decisions (from this project)
Active Goals
GitHub Items (if configured)
External Changes
First, check if the database exists:
DB_PATH="$HOME/.claude/my-workflow/workflow.db"
if [[ ! -f "$DB_PATH" ]]; then
echo "Workflow database not initialized. Run /workflow:init first."
exit 1
fi
Query each section from SQLite:
Commitments:
-- Overdue
SELECT id, title, due_date, priority FROM commitments
WHERE status IN ('pending', 'in_progress')
AND due_date IS NOT NULL AND due_date < date('now')
ORDER BY due_date ASC LIMIT 10;
-- Due today
SELECT id, title, priority FROM commitments
WHERE status IN ('pending', 'in_progress')
AND due_date = date('now')
ORDER BY priority DESC LIMIT 10;
-- Upcoming
SELECT id, title, due_date FROM commitments
WHERE status IN ('pending', 'in_progress')
AND due_date > date('now')
AND due_date <= date('now', '+7 days')
ORDER BY due_date ASC LIMIT 10;
Decisions:
SELECT id, title, category, created_at FROM decisions
WHERE status = 'active'
AND (project = :project OR project IS NULL)
AND created_at >= datetime('now', '-7 days')
ORDER BY created_at DESC LIMIT 5;
Goals:
SELECT id, title, goal_type, progress_percentage, target_date FROM goals
WHERE status = 'active'
ORDER BY progress_percentage DESC LIMIT 5;
For GitHub, check if gh CLI is available and fetch/cache data
Format as markdown with clear sections
# Workflow Briefing
**Project:** {project}
**Date:** {date}
**Session:** {session_id}
## Attention Needed
### Overdue Commitments
- [C-0001] Fix authentication bug (due 2024-01-20) **OVERDUE**
### Due Today
- [C-0003] Review PR #123
## Active Context
### Recent Decisions
- [D-0005] Using SQLite for workflow storage (architecture)
### Goal Progress
- [G-0001] Complete MVP [=======---] 70%
## GitHub
### Assigned Issues
- #45 Bug: Login timeout (repo-name)
### PRs Needing Review
- #67 Add caching layer (other-repo)
---
*Use `/workflow:track` to manage commitments*