name: planExportSummary description: Export PROJECT_PLAN.md as a condensed Markdown summary
Plan Export to Summary
Export PROJECT_PLAN.md as a condensed Markdown summary.
Usage
/planExportSummary
Step 0: Load Configuration
function getConfig() {
if (fileExists("./.plan-config.json")) {
try { return JSON.parse(readFile("./.plan-config.json")) } catch {}
}
const globalPath = expandPath("~/.config/claude/plan-plugin-config.json")
if (fileExists(globalPath)) {
try { return JSON.parse(readFile(globalPath)) } catch {}
}
return { "language": "en" }
}
const config = getConfig()
const language = config.language || "en"
const t = JSON.parse(readFile(`locales/${language}.json`))
Step 1: Read PROJECT_PLAN.md
If not found:
{t.commands.update.planNotFound}
{t.commands.update.runPlanNew}
Step 2: Parse Project Data
Extract summary information:
- Overall progress
- Current focus (next task, in progress, blocked)
- Phase breakdown
- Tech stack
Step 3: Create Summary Structure
# [Project Name] - Summary
**Type**: [Full-Stack/Backend/Frontend]
**Progress**: [X]% complete ([Y]/[Z] tasks done)
**Status**: [In Progress/Blocked/Complete]
## Current Focus
๐ฏ **Next Task**: T[X].[Y] - [Name]
๐ **In Progress**: [N] tasks
๐ซ **Blocked**: [M] tasks
## Progress by Phase
| Phase | Name | Progress | Status |
|-------|------|----------|--------|
| 1 | Foundation | โโโโโโโโโโ 50% | In Progress |
| 2 | Core Features | โโโโโโโโโโ 0% | Not Started |
| 3 | Advanced | โโโโโโโโโโ 0% | Not Started |
| 4 | Testing & Deploy | โโโโโโโโโโ 0% | Not Started |
## Task Checklist
### Phase 1: Foundation
- [x] T1.1: Project Setup (DONE)
- [x] T1.2: Database Setup (DONE)
- [ ] T1.3: Authentication (TODO)
- [ ] T1.4: Basic API (TODO)
### Phase 2: Core Features
- [ ] T2.1: User CRUD (TODO)
- [ ] T2.2: Dashboard (TODO)
...
## Tech Stack
**Frontend**: [Frameworks]
**Backend**: [Frameworks]
**Database**: [Database]
## Quick Stats
- ๐
Started: [Date]
- ๐
Updated: [Date]
- โฑ๏ธ Total Estimated: [X] hours
- โ
Completed: [Y] hours
- ๐ Remaining: [Z] hours
---
*Generated by plan-plugin*
*Full plan: PROJECT_PLAN.md*
Step 4: Write File
Write to PROJECT_SUMMARY.md
Success Output:
Writing Markdown summary...
โ
Exported to: PROJECT_SUMMARY.md
๐ Summary includes:
โข Overall progress
โข Phase breakdown
โข Task checklist
โข Tech stack overview
๐ก Use this for:
โข Quick project overview
โข Sharing with team
โข Status reports
โข README updates
View file: cat PROJECT_SUMMARY.md
Error Handling
โ Error: Cannot write export file
Please check directory permissions and try again.