Agent Skills: /athena-status — 项目状态查询 (v9.7.0)

|

UncategorizedID: WenJunDuan/Rlues/athena-status

Install this agent skill to your local

pnpm dlx add-skill https://github.com/WenJunDuan/Rlues/tree/HEAD/vibeCoding/codex/9.7.1/.codex/skills/athena-status

Skill Files

Browse the full folder contents for athena-status.

Download Skill

Loading file tree…

vibeCoding/codex/9.7.1/.codex/skills/athena-status/SKILL.md

Skill Metadata

Name
athena-status
Description
|

/athena-status — 项目状态查询 (v9.7.0)

工作流

# 1. 检查初始化
[ -d .ai_state ] || { echo "项目未 init, 先跑 /athena-init"; exit 1; }

# 2. _index.md frontmatter 摘要
echo "=== 项目状态 ==="
sed -n '/^---$/,/^---$/p' .ai_state/_index.md | head -50

# 3. 当前 sprint
slug=$(grep -oP 'current_sprint_slug:\s*"?\K[^"\n]*' .ai_state/_index.md | head -1)
if [ -n "$slug" ]; then
  echo ""
  echo "=== 当前 sprint: $slug ==="
  ls .ai_state/sprints/$slug/ 2>/dev/null
  
  # 4. 最新 review
  if [ -d ".ai_state/sprints/$slug/reviews" ]; then
    echo ""
    echo "=== 最新 review ==="
    ls -t .ai_state/sprints/$slug/reviews/*.md 2>/dev/null | head -1 | xargs tail -30 2>/dev/null
  fi
  
  # 5. cleanup-pass
  if [ -f ".ai_state/sprints/$slug/cleanup-pass.md" ]; then
    echo ""
    echo "=== Cleanup pass ==="
    tail -20 ".ai_state/sprints/$slug/cleanup-pass.md"
  fi
fi

# 6. 活动 worktree
echo ""
echo "=== 活动 worktree ==="
grep -oP 'active_worktrees:\s*\K\[.*\]' .ai_state/_index.md | head -1
git worktree list 2>/dev/null

# 7. compound/ 统计
echo ""
echo "=== Compound 沉淀 ==="
for type in learning trick decision explore; do
  count=$(ls .ai_state/compound/*-${type}-*.md 2>/dev/null | wc -l)
  echo "  $type: $count"
done

# 8. roadmap 进度
roadmap=$(grep -oP 'current_roadmap_slug:\s*"?\K[^"\n]*' .ai_state/_index.md | head -1)
if [ -n "$roadmap" ]; then
  echo ""
  echo "=== Roadmap: $roadmap ==="
  cat .ai_state/roadmap/$roadmap/items.yaml 2>/dev/null
fi

# 9. git 状态
echo ""
echo "=== Git ==="
git status -s
git log --oneline -5

输出示例

=== 项目状态 ===
version: "9.7.0"
path: "Feature"
stage: "impl"
current_sprint_slug: "2026-05-25-jwt-refresh"
...

=== 当前 sprint: 2026-05-25-jwt-refresh ===
brainstorm.md  design.md  checklist.yaml  reviews/
subagent-log.md  evidence.yaml  tool-trace.jsonl

=== 活动 worktree ===
["worktree-jwt-refresh-impl"]

=== Compound 沉淀 ===
  learning: 3
  trick: 1
  decision: 5
  explore: 2

=== Roadmap: auth-system ===
[items.yaml]

不要做

  • ❌ 不修改任何文件 (只读)
  • ❌ 不触发任何 hook
  • ❌ 不调度任何 subagent

联动

| 用户问 | 进什么 | |---|---| | "现在做到哪了" | /athena-status (这个) | | "上次 sprint 怎么搞的" | grep .ai_state/sprints/ | | "为啥之前决定用 X" | grep .ai_state/compound/decision-*.md | | "回顾整个项目历史" | git log + .ai_state/sprints/ + .ai_state/compound/ |