Remove /refresh-directives references from save, checkpoint, scc, sync commands. Trim sync.md from 400+ lines to essentials. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.4 KiB
1.4 KiB
/scc - Save, Commit, and Push
Quick command to save session log, stage everything, and push to Gitea in one shot.
Steps
-
Save session log - Create/update session log for today using the /save skill logic:
- Determine correct location based on work context (project-specific or general
session-logs/) - Use format
YYYY-MM-DD-session.md - If file exists, append with
## Update: HH:MMheader - Include: summary, credentials (unredacted), infrastructure, commands, files changed, pending tasks
- Determine correct location based on work context (project-specific or general
-
Stage all changes - Run
git add -Ato stage everything including the new session log -
Commit - Auto-commit with message:
scc: Session save and push from [hostname] at [timestamp] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> -
Push to Gitea - Run
git push origin main -
Report - Confirm what was saved, committed, and pushed
-
Reaffirm roles - After push, briefly restate:
- You are a COORDINATOR, not an executor
- Delegate: DB -> Database Agent, code -> Coding Agent, git -> Gitea Agent, tests -> Testing Agent
- Do yourself: simple responses, reading 1-2 files, planning, decisions
-
500 tokens of work = delegate. Code or database = ALWAYS delegate.
- NO EMOJIS. Use ASCII markers:
[OK],[ERROR],[WARNING],[SUCCESS],[INFO]
Important
- This is a FAST command - no lengthy analysis, just save and ship
- Just save, commit, push, reaffirm, report