一键导入
deploy-check
Pre-deployment validation. Verifies files exist, no broken references, build succeeds, and critical paths work before marking ticket deployed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pre-deployment validation. Verifies files exist, no broken references, build succeeds, and critical paths work before marking ticket deployed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Merges bookend agent reports into revised readiness, complexity, and decomposition plan. Produces the final evidence-backed assessment consumed by sprint-architect-agent.
Fast filesystem readiness scan — counts docs, source files, manifests, platform signals. Produces initial ReadinessReport for agent spawning decisions.
Scores proposal complexity against codebase surface. Uses proposal text analysis and readiness stats to determine decomposition tier and agent count.
Generation-time design taste for web UI work. Anti-cliche bans, layout and motion hard rules, and client-intent dials. Advisory only - shapes drafts; declared measured contracts remain the sole gate authority.
Rigorously reasons about definitions, proofs, and computations in algebra, analysis, discrete math, probability, linear algebra, and applied math. Verifies derivations, spots invalid steps, and states assumptions clearly. Use when solving or proving math problems, reviewing mathematical arguments, modeling with equations, interpreting statistics, or when the user mentions proofs, lemmas, theorems, integrals, series, matrices, optimization, or numerical methods.
Visual verification for interactive elements (popups, modals, tooltips). Clicks elements and captures screenshots for analysis. Bypasses MCP browser tool limitations with cross-origin CSS.
| name | deploy-check |
| description | Pre-deployment validation. Verifies files exist, no broken references, build succeeds, and critical paths work before marking ticket deployed. |
Final validation before marking a ticket as deployed. Ensures all files exist, references are valid, and the build succeeds.
{
"project_dir": "/path/to/project",
"ticket_id": "TICKET-XXX",
"ticket_path": "/path/to/ticket.json",
"checks": ["files_exist", "imports_valid", "build", "smoke_test"]
}
# For each file in ticket.files_created
for file in $(jq -r '.files_created[].path' "$ticket_path"); do
if [[ ! -f "$project_dir/$file" ]]; then
echo "MISSING: $file"
fi
done
# Check all imports in created files resolve
for file in $(jq -r '.files_created[].path' "$ticket_path" | grep -E '\.(js|ts)$'); do
# Extract imports and verify targets exist
grep -E "^import .* from ['\"]" "$project_dir/$file"
done
# Detect build system and run
if [[ -f "package.json" ]]; then
npm run build 2>&1
elif [[ -f "Makefile" ]]; then
make build 2>&1
elif [[ -f "go.mod" ]]; then
go build ./... 2>&1
fi
# Start server and test critical endpoints
python3 -m http.server 8080 &
SERVER_PID=$!
sleep 2
# Test main page loads
curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/
# Cleanup
kill $SERVER_PID
{
"skill": "deploy-check",
"status": "ready|blocked|failed",
"ticket_id": "TICKET-OXY-003",
"checks": {
"files_exist": {
"passed": true,
"expected": 5,
"found": 5,
"missing": []
},
"imports_valid": {
"passed": true,
"checked": 12,
"broken": []
},
"build": {
"passed": true,
"duration_ms": 3200,
"warnings": 2,
"errors": 0
},
"smoke_test": {
"passed": true,
"endpoints_tested": 3,
"all_200": true
}
},
"errors": [],
"warnings": ["Build produced 2 warnings"],
"next_action": "deploy|fix"
}
| Check | What it Validates | Blocking |
|---|---|---|
files_exist | All files_created are on disk | YES |
imports_valid | No broken import statements | YES |
build | Build completes without errors | YES |
smoke_test | Server starts, pages load | YES |
lint_clean | No lint errors (optional) | NO |
tests_pass | Unit tests pass (optional) | NO |
Any files missing?
YES → status: "blocked", next_action: "fix"
Any broken imports?
YES → status: "blocked", next_action: "fix"
Build failed?
YES → status: "failed", next_action: "fix"
Smoke test failed?
YES → status: "failed", next_action: "fix"
All checks pass?
YES → status: "ready", next_action: "deploy"
Full pre-deployment check:
{
"project_dir": "/projects/oxygen_site",
"ticket_id": "TICKET-OXY-003",
"ticket_path": "/projects/oxygen_site/tickets/sprint_current/testing/TICKET-OXY-003.json",
"checks": ["files_exist", "imports_valid", "build", "smoke_test"]
}
Quick file check only:
{
"project_dir": "/projects/oxygen_site",
"ticket_id": "TICKET-OXY-003",
"ticket_path": "/projects/oxygen_site/tickets/sprint_current/testing/TICKET-OXY-003.json",
"checks": ["files_exist"]
}
Build verification:
{
"project_dir": "/projects/api-service",
"ticket_id": "TICKET-API-001",
"ticket_path": "/projects/api-service/tickets/testing/TICKET-API-001.json",
"checks": ["files_exist", "build"]
}