원클릭으로
check-updates
Check upstream repo changes since last analysis, assess impact on docs and demos, or stamp current commit
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check upstream repo changes since last analysis, assess impact on docs and demos, or stamp current commit
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Summarize blast radius, impacted services, and safe next actions.
Run uv, pytest, then lint in a predictable order.
Codex workflow adapter for this repository. Use when working in agent-cracker to translate Claude-style slash workflows into skill usage, remember manual checks that Claude hooks would normally perform, and keep docs/config/progress files in sync.
Systematically analyze an AI agent's source code across 8 core + 4 optional platform dimensions and output structured analysis to docs/<agent>.md
Audit MVP component, platform mechanism, and advanced mechanism coverage for analyzed agents, identifying gaps and suggesting next steps
Create a minimal reproduction demo for a specific mechanism from an analyzed AI agent (coding or platform)
SOC 직업 분류 기준
| name | check-updates |
| description | Check upstream repo changes since last analysis, assess impact on docs and demos, or stamp current commit |
Check if upstream repos have changed since the last analysis, assess the impact on docs and demos, or stamp the current commit as analyzed.
/check-updates [--stamp] [agent-name]
analyzed_commitagent-name: check only that agent--stamp agent-name: update commit tracking to current submodule HEAD/check-updates [agent-name]
Read agents.yaml — find agents with analyzed_commit field. If agent-name is given, filter to that one.
Get remote HEAD — for each agent, extract {owner}/{repo} from the repo: URL and run:
gh api repos/{owner}/{repo}/commits?per_page=1 --jq '.[0].sha'
Compare — if analyzed_commit == remote HEAD → report "UP TO DATE". Otherwise:
gh api repos/{owner}/{repo}/compare/{analyzed_commit}...{remote_head}
Classify changed files by dimension impact:
| File pattern | Likely affected dimension |
|---|---|
**/main.*, **/cli.*, **/core/** | D1 Architecture, D2 Agent Loop |
**/tool*, **/command*, **/action* | D3 Tool System |
**/prompt*, **/system*, **/template* | D4 Prompt Engineering |
**/context*, **/token*, **/repomap* | D5 Context Management |
**/error*, **/retry*, **/recover* | D6 Error Handling |
README*, CHANGELOG* | D1 Overview |
**/test*, *.md, .github/** | Low impact |
Assess demo impact — read demos/<agent>/README.md to find completed demos ([x]). For each demo:
demos/<agent>/<demo>/README.md for source file references (look for lines like 核心源码:, code file paths in "原理" or "相关文档" sections)Output structured report:
## <agent-name>
**Status**: ⚠️ DRIFT DETECTED (N commits behind)
**Analyzed at**: <commit_short> (<date>)
**Upstream HEAD**: <remote_short> (<date>)
**Compare**: <github_compare_url>
### 文档影响
- **高影响维度**: D2, D3(核心文件变更)
- **低影响维度**: D1(仅文档变更)
- **无影响维度**: D4, D5, D6, D7, D8
### Demo 影响
- ⚠️ **repomap**: `aider/repomap.py` 有 +30/-10 行变更 → 可能需要更新 demo
- ✅ **search-replace**: 相关文件无变更
- ✅ **reflection**: 相关文件无变更
- ⚠️ **architect**: `aider/coders/architect_coder.py` 有变更 → 可能需要更新 demo
### 建议
- [ ] 更新 submodule: `npm run update -- <agent>`
- [ ] 重新审查 D2, D3 部分
- [ ] 检查 repomap, architect demo 是否需要更新
- [ ] 或运行 `/check-updates --stamp <agent>` 确认当前内容仍有效
For agents that are up to date:
## <agent-name>
**Status**: ✅ UP TO DATE
**Analyzed at**: <commit_short> (<date>)
/check-updates --stamp <agent-name>
Update commit tracking after reviewing changes or completing a re-analysis.
Read current HEAD from projects/<agent-name>/:
git -C projects/<agent-name> rev-parse HEAD
If the submodule doesn't exist, abort with error.
Update agents.yaml — set analyzed_commit and analyzed_date (today's date) for the agent.
Update doc header — in docs/<agent-name>.md, update the > Analyzed at commit: line with the new SHA and date. If the line doesn't exist, add it after the > Repo: line.
Update demo overview — in demos/<agent-name>/README.md, update the > Based on commit: line with the new SHA and date. If the line doesn't exist, add it after the first description paragraph.
Report what was updated.
gh api instead of local git log to avoid shallow clone limitationsIf the agent's demo overview (demos/<agent>/README.md) uses the three-tier format (MVP 组件/进阶机制/完整串联), append a line at the end of the report:
> 💡 如需检查 MVP 覆盖缺口,运行 `/audit-coverage <agent>`