一键导入
shadow-check
Review changes and determine if PROJECT_SHADOW.md needs updating per AI_CONTRACT.md criteria. Runs automatically during code review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review changes and determine if PROJECT_SHADOW.md needs updating per AI_CONTRACT.md criteria. Runs automatically during code review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Drive the real GUI against the real engine via the standalone dev HTTP bridge (`npm run dev:bridge`). Use whenever "does the wiring test actually hold up against real code?" matters — smoke verification, UI development with live engine state, real-engine bug repro, exploratory debugging with Chrome DevTools instruments.
Generate Playwright E2E tests following project conventions (Tauri fixture, storage isolation, helpers).
Generate unit tests following project conventions. Use when the user asks to create, generate, or write tests for a file or component.
Scaffold a new React component with co-located test, shadcn/ui primitives, and barrel export registration.
Scaffold a new Tauri command across Rust backend and TypeScript frontend with proper patterns.
| name | shadow-check |
| description | Review changes and determine if PROJECT_SHADOW.md needs updating per AI_CONTRACT.md criteria. Runs automatically during code review. |
| user-invocable | false |
After completing a code change, review whether docs/ai/PROJECT_SHADOW.md needs updating.
Trigger: Run this check after any non-trivial code change is complete.
Steps
Identify what changed — review the files modified in this session
Check against Shadow update criteria from docs/ai/AI_CONTRACT.md:
A Shadow update is needed when changes affect:
Do NOT flag for:
If update needed: Propose a minimal, patch-style update to PROJECT_SHADOW.md describing only the divergence. Do not rewrite unchanged sections.
If no update needed: Say nothing — do not mention this check unless it finds something.
Output (only when update is warranted)
## Shadow Update Recommended
**Reason**: [which criteria triggered]
**Section affected**: [PROJECT_SHADOW.md section number]
**Proposed change**: [minimal patch description]