Explorar o código

optimize status: round 1 — D3 fallback + triggers

Add explicit fallback when status-reporter.md unreachable (D3 edge case).
Add triggers to frontmatter description for routing clarity (D1).
Size: 776B → 834B (+7.5%, under 150% cap).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bastien hai 4 días
pai
achega
58e99b2f36
Modificáronse 1 ficheiros con 9 adicións e 2 borrados
  1. 9 2
      skills/status/SKILL.md

+ 9 - 2
skills/status/SKILL.md

@@ -1,14 +1,21 @@
 ---
 name: status
-description: Consolidated project snapshot — plugins active, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break.
+description: Consolidated project snapshot — plugins, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break. Triggers: "status", "sitrep", "where are we", "project state", "after break".
 argument-hint: (no arguments needed)
 disable-model-invocation: true
 allowed-tools: Read, Bash, Glob, Grep
 ---
 
 Load and follow strictly:
-- $HOME/.claude/agents/status-reporter.md
+- `$HOME/.claude/agents/status-reporter.md`
 
 Produce the full PROJECT STATUS report for the current working directory.
 
+## Fallback when agent file missing
+
+If `$HOME/.claude/agents/status-reporter.md` is unreachable (deleted, permission denied, broken symlink):
+
+1. Emit: `Status agent missing — restore ~/.claude/agents/status-reporter.md.`
+2. STOP. Do not improvise a manual report — partial snapshots mislead.
+
 $ARGUMENTS