/pm:epic-closefrom pm
Marks an epic as complete by verifying all tasks are closed, updating status files, optionally closing a GitHub issue and archiving the epic directory.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /pm:epic-close still runs it.
What the command file sets; muted values are Claude Code's defaults
Mark an epic as complete when all tasks are done.
/pm:epic-close <epic_name>
MANDATORY: Query Context7 for project-management best practices before proceeding. Use the standard PM query set in .claude/rules/context7-required.md.
Check all task files in .claude/epics/$ARGUMENTS/:
status: closed in frontmatterGet current datetime: date -u +"%Y-%m-%dT%H:%M:%SZ"
Update epic.md frontmatter:
status: completed
progress: 100%
updated: {current_datetime}
completed: {current_datetime}
If epic references a PRD, update its status to "complete".
If epic has GitHub issue:
gh issue close {epic_issue_number} --comment "✅ Epic completed - all tasks done"
Ask user: "Archive completed epic? (yes/no)"
If yes:
.claude/epics/.archived/{epic_name}/✅ Epic closed: $ARGUMENTS
Tasks completed: {count}
Duration: {days_from_created_to_completed}
{If archived}: Archived to .claude/epics/.archived/
Next epic: Run /pm:next to see priority work
Only close epics with all tasks complete. Preserve all data when archiving. Update related PRD status.
7-day visitors to each command page
46 commands in this plugin
/blockedInstructions---/cleanClean up completed work and archive old epics./contextInstructions---/context-createContext CreateInitialize project context documentation for AI agent memory./context-primeContext PrimeLoad project context into current AI session for better understanding and continuity./context-updateContext UpdateUpdate project context after significant changes to maintain AI agent memory accuracy.npx claudepluginhub lagowski/claudeautopm --plugin pmOther plugins' commands for the same job