Files
gh-cadrianmae-claude-market…/commands/update.md
2025-11-29 18:03:19 +08:00

1.3 KiB

description, argument-hint, allowed-tools
description argument-hint allowed-tools
Update the current development session with progress notes
notes
Bash, Read, Write

Update the current development session by:

  1. Check if .claude/sessions/.current-session exists to find the active session
  2. If no active session, inform user to start one with /session-start
  3. If session exists, append to the session file with:
    • Current timestamp
    • The update: $ARGUMENTS (or if no arguments, summarize recent activities)
    • Git status summary:
      • Files added/modified/deleted (from git status --porcelain)
      • Current branch and last commit
    • Todo list status:
      • Number of completed/in-progress/pending tasks
      • List any newly completed tasks
    • Any issues encountered
    • Solutions implemented
    • Code changes made

Keep updates concise but comprehensive for future reference.

Example format:

### Update - 2025-06-16 12:15 PM

**Summary**: Implemented user authentication

**Git Changes**:
- Modified: app/middleware.ts, lib/auth.ts
- Added: app/login/page.tsx
- Current branch: main (commit: abc123)

**Todo Progress**: 3 completed, 1 in progress, 2 pending
- ✓ Completed: Set up auth middleware
- ✓ Completed: Create login page
- ✓ Completed: Add logout functionality

**Details**: [user's update or automatic summary]