搜索

PythonReactSEOPDF
GitHub Skill

verify-deploy

Full system verification loop for deployment readiness

gevans3000☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Verify & Deploy Skill

This skill runs the complete verification suite to confirm the system is ready for deployment or commit.

Usage

Invoke with: /verify-deploy or "run the verify deploy skill"

Prerequisites

  • Python virtual environment activated
  • All dependencies installed

Steps

// turbo-all

Step 1: Audit Critical Paths

Verify required files exist:

$paths = @('.env', 'config/default.json', '.venv')
$results = @()
foreach ($p in $paths) {
    $exists = Test-Path $p
    $results += [PSCustomObject]@{Path=$p; Exists=$exists}
}
$results | Format-Table -AutoSize
Step 2: Run Unit Tests
$env:PYTHONPATH="src"; .\.venv\Scripts\python.exe -m pytest tests/ -v --tb=short

Pass Condition: Exit code 0, no failures.

Step 3: Smoke Backtest
$env:PYTHONPATH="src"; .\.venv\Scripts\python.exe -m src.laptop_agents.run --mode backtest --source mock --backtest 100

Pass Condition: Exit code 0, runs/latest/summary.html exists.

Step 4: Live System Test
$env:PYTHONPATH="src"; .\.venv\Scripts\python.exe scripts/test_live_system.py

Pass Condition: Exit code 0.

Step 5: Integration Test
$env:PYTHONPATH="src"; .\.venv\Scripts\python.exe scripts/test_dual_mode.py

Pass Condition: Exit code 0.

Step 6: Output Summary

After all steps complete, output a summary table:

Step Command Status
Audit Paths Test-Path ... PASS/FAIL
Unit Tests pytest tests/ PASS/FAIL
Smoke Backtest --mode backtest PASS/FAIL
Live System Test test_live_system.py PASS/FAIL
Integration test_dual_mode.py PASS/FAIL

Success Criteria

All 5 steps must PASS for the skill to succeed.

On Failure

  • Do NOT commit any changes
  • Report which step failed
  • Check runs/latest/ for artifacts

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!