一键导入
shared-validation-feedback-loops
Type-check, lint, test, build validation sequence. Use proactively before every commit across all agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Type-check, lint, test, build validation sequence. Use proactively before every commit across all agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | shared-validation-feedback-loops |
| description | Type-check, lint, test, build validation sequence. Use proactively before every commit across all agents. |
| category | validation |
"Validate early, validate often – catch errors before they compound."
Use before every task related changes commit to ensure code quality and prevent broken builds.
⚠️ PRE-REQUISITE: Test Coverage Check (BLOCKING)
Before running feedback loops, verify test coverage exists:
# Check for modified files without tests
git diff --name-only HEAD~5 | grep '^src/' | while read file; do
test_file="src/tests/${file#src/}"
test_file="${test_file%.ts}.test.ts"
if [ ! -f "$test_file" ]; then
echo "COVERAGE GAP: $file missing $test_file"
fi
done
# If coverage gaps found: BLOCK - invoke test-creator
Then run all feedback loops in sequence:
npm run type-check && npm run lint && npm run build
❌ DON'T:
@ts-ignore or // eslint-disable to hide errorsany type without justification✅ DO:
--fix for auto-fixable issuesComplete Developer workflow orchestration - task research sequence, implementation flow, validation gates, PRD synchronization, exit conditions.
Complete Game Designer workflow - skill invocation protocol, GDD creation, playtest flow with GDD review, design sessions. MUST load before starting assignments.
Complete PM Coordinator workflow - task assignment, project orchestration, PRD management, worker coordination. Use proactively when starting PM agent work.
Complete PM Coordinator workflow - task assignment, project orchestration, PRD management, worker coordination. Use proactively when starting PM agent work.
Complete QA Validator workflow orchestration. References specialized skills for each validation step. Load at session startup for full protocol.
Base instructions and guidelines for all agents in the system. This skill provides foundational behaviors and communication protocols that all agents should follow.