返回 Skill 列表
extension
分类: 开发与工程无需 API Key

oe-release-readiness

OpenEvent-AI合并/发布前的准备检查清单。在为生产环境准备PR时使用:首先运行最快的验证通道(编译/导入、冒烟测试套件、确定性站点访问跟踪),然后根据需要升级到完整的测试套件或集成检查。

person作者: jakexiaohubgithub

oe-release-readiness

Fast gates (run in this order)

  1. Compile/import + refactor invariants:

    • python3 scripts/tests/verify_refactor.py
  2. Fast backend smoke suite (Step 1–7 core invariants):

    • ./scripts/tests/test-smoke.sh
  3. Agent-facing API regressions (manager approve path + tool parity):

    • pytest backend/tests/agents/ -q
  4. Deterministic site-visit trace contract (no UI required):

    • python3 scripts/manual_ux/manual_ux_scenario_I.py > /tmp/ux_site_visit_I.json
    • python3 scripts/manual_ux/validate_manual_ux_run.py /tmp/ux_site_visit_I.json --require_site_visit

Full gates (only if the change touches workflow logic)

  • Full test suite:
    • ./scripts/tests/test-all.sh

Hygiene gates (quick checks that prevent “LLM-ish” regressions)

  • No new debug prints in runtime code (allow scripts/tests only):
    • rg -n "print\\(" backend -g"*.py" | rg -v "/tests/|/scripts/|__init__\\.py"

Claude Code shortcut

  • Keep .claude/commands/validate.md up to date and run /validate for a full-stack lane.