一键导入
spec-consistency
Prevent and repair drift between `/docs` (source of truth), code, tests, CI, and runtime artifacts. Use before marking work done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prevent and repair drift between `/docs` (source of truth), code, tests, CI, and runtime artifacts. Use before marking work done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add/extend Playwright E2E/integration specs for web use-case changes. Prefer existing repo naming conventions; include UC ID when introducing new use-case-specific specs.
Ensure GitHub Actions CI exists and is green. CI must run lint/format, build, and tests as applicable. Failing CI is blocking.
Derive comprehensive `/docs` from an existing codebase when docs are missing/stale. This is blocking work before new features.
Add docker-compose for HTTP APIs (required before implementing/changing use cases). Provide .env.example + Make targets: up/down/test/lint/build.
End-to-end Gaia SDLC workflow (Repo Explorer → drift/CI fixes → task graph → gated delivery → QA veto → MCP proof). Use for any work in a repo.
Run curl-style integration checks against the docker-compose stack for HTTP APIs. Required for use-case changes.
| name | spec-consistency |
| description | Prevent and repair drift between `/docs` (source of truth), code, tests, CI, and runtime artifacts. Use before marking work done. |
Use whenever:
/docs changes (especially /docs/use-cases/)Drift is blocking in Gaia.
/docs/ (use-cases, architecture, testing docs)none | suspected | confirmedIf unsure about “source of truth” direction, default to docs. Orchestrator may decide case-by-case, but must be able to justify in 1 line.
If “code wins” changes a use case: apply use-case gates (Playwright specs + manual regression).
For each affected UC file:
If UC changed (new/change/remove): trigger use-case gates.
Validate consistency between:
If HTTP API:
.env.example exists and docs list required vars (high-level)
Makefile:make up/down/test/lint/build (or best approximation) exists and docs reflect itcurl, playwright-mcp)AGENTS.md (drift policy; blocking).github/skills/gaia-process/SKILL.md (workflow).github/skills/doc-derivation/SKILL.md (restore docs-first).github/workflows/, Makefile, docker-compose.yml/docs/use-cases/, /docs/architecture/, /docs/testing/