Update existing app design document based on codebase changes and project evolution
Updates your app design document to reflect current codebase state, new features, and project evolution. Use when you've added significant functionality or changed direction to keep documentation accurate.
/plugin marketplace add udecode/dotai/plugin install dotai@dotaiUser Request: $ARGUMENTS
pwdstat -f "%Sm" .claude/rules/1-app-design-document.mdc 2>/dev/null || echo "No existing document"Update the existing Application Design Document to reflect current codebase state, new features, changed priorities, and project evolution. Maintain consistency with the original document while incorporating new information.
Think deeply about what has changed in the codebase since the document was last updated.
Analyze for:
Extended thinking helps identify subtle changes, understand how new features integrate with existing ones, and recognize patterns that indicate architectural evolution.
CRITICAL: Ask project stage question FIRST to assess if priorities have changed:
If project stage or priorities have changed:
.claude/rules/3-project-status.mdcUpdate the document incrementally:
1. Has your project stage evolved since the last update?
a) Same Stage - Still in [current stage], just adding features
b) Stage Evolution - Moved from [current] to next stage
c) Major Pivot - Significant change in direction or purpose
d) Help Me Assess - Let's review current state together
2. Have your development priorities changed?
Based on your current stage, are these still your priorities?
[Show current DO/DON'T lists from .claude/rules/3-project-status.mdc]
a) Same Priorities - These still reflect our focus
b) Adjusted Priorities - Some changes needed (please specify)
c) New Focus Areas - Different priorities based on learnings
d) Stage-Based Change - Priorities changed due to stage evolution
3. What major features have been added?
Please describe any significant new capabilities, modules, or user-facing features added since the last update.
4. Have any core user flows changed?
a) Authentication/Authorization - Login, permissions, security
b) Main User Journey - Primary application workflow
c) Data Management - How users create/edit/delete data
d) Integration Points - External service connections
e) None/Minor Only - No significant flow changes
5. What has been removed or deprecated?
List any features, integrations, or capabilities that have been removed or are being phased out.
6. Have you integrated new external services?
a) Payment Processing - Stripe, PayPal, etc.
b) Communication - Email, SMS, notifications
c) Analytics/Monitoring - Tracking, logging services
d) AI/ML Services - LLMs, image processing, etc.
e) Other - Please specify
f) None - No new integrations
7. How has user feedback influenced changes?
Describe any significant pivots or adjustments made based on user feedback or usage patterns.
8. What are your updated success metrics?
Have your KPIs or success measurements changed? Current focus:
9. What's the next major milestone?
a) Feature Release - Specific new capability
b) Scale Milestone - User/revenue target
c) Technical Goal - Performance, security, architecture
d) Business Goal - Partnerships, funding, market expansion
Introduction
Core Features
User Experience
System Architecture
Business Logic
Future Considerations
# Check when document was last updated
stat -f "%Sm" .claude/rules/1-app-design-document.mdc
# Review recent commits for feature changes
git log --oneline --since="30 days ago" | head -20
Think deeply about: "What has fundamentally changed in this application? How have new features altered the original vision? What patterns indicate architectural evolution?"
If stage or priorities changed, update both:
# In `.claude/rules/3-project-status.mdc`
## Project Status
**Current Stage**: [New Stage]
### DO Care About (Production-Ready Foundation)
[Updated priorities]
### DO NOT Care About (Skip for Velocity)
[Updated items to skip]
<!-- Last updated: [date] - Major changes: [summary] -->
# Optional: Create backup
cp .claude/rules/1-app-design-document.mdc .claude/rules/1-app-design-document.backup.mdc
# Save updated document
# Overwrite .claude/rules/1-app-design-document.mdc
.mdc).claude/rules/1-app-design-document.mdc (overwrites).claude/rules/3-project-status.mdc if stage/priorities changed