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 Card:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
SUCCESS โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ 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
Write Error Card:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ ERROR โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Cannot write export file. โ
โ โ
โ Please check directory permissions and try again. โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ