一键导入
health-check
Comprehensive health check that runs build, test, lint, builds docker containers, checks container health/status, and reports to the user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive health check that runs build, test, lint, builds docker containers, checks container health/status, and reports to the user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Evaluate the CI/CD pipeline on the PR, check for failures, and fix any issues.
Analyzes the current branch/PR and adds comprehensive, well-formatted structured logging and spans for observability.
Review PR comments, categorize them into critical/nitpicks, fix user-selected ones, and close resolved comments.
Create a PR using the current branch. Generates a PR description, commits changes, and pushes.
Mandatory rules for general git use in this repository. Follow these constraints before starting work, committing, or pushing.
Feature developer and task runner. Start a new task on a fresh branch, orchestrate worktrees, do the implementation work, and open a PR when done.
| name | health-check |
| description | Comprehensive health check that runs build, test, lint, builds docker containers, checks container health/status, and reports to the user. |
Run a full end-to-end local health check on the project.
Run the following checks sequentially:
Build the Code:
cargo build --bins
Test the Code:
cargo test --all
Lint:
cargo clippy -- -D warnings
Build Docker Containers:
docker compose -f docker/docker-compose.yml build
Start the Containers:
docker compose -f docker/docker-compose.yml up -d
Check Container Health/Status:
sleep 5
docker compose -f docker/docker-compose.yml ps
docker compose -f docker/docker-compose.yml logs --tail=50
Clean up:
docker compose -f docker/docker-compose.yml down
Report to the User: Clearly report whether each phase (Build, Test, Lint, Docker Build, Health Check) passed or failed, and provide relevant error logs if any step failed.