一键导入
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 职业分类
| 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, including compiling the code, running tests, linting, building Docker images, and verifying container status and recent logs.
Run the following checks sequentially:
Build the Code:
go build ./...
Test the Code:
go test ./...
Lint:
golangci-lint run
Build Docker Containers: Build the images using the local docker-compose override:
docker compose -f docker/docker-compose.yml build
Start the Containers: Start the services in the background:
docker compose -f docker/docker-compose.yml up -d
Check Container Health/Status: Verify services are up and inspect recent logs:
# Wait a few seconds for services to start
sleep 5
# Verify service/container status
docker compose -f docker/docker-compose.yml ps
# Tail recent logs for quick failure signals
docker compose -f docker/docker-compose.yml logs --tail=50
Clean up: Bring the containers back down after the check is complete:
docker compose -f docker/docker-compose.yml down
Report to the User: Consolidate the results of all the above steps. Clearly report whether each phase (Build, Test, Lint, Docker Build, Health Check) passed or failed, and provide the relevant error logs if any step failed.
Mandatory rules for general git use in this repository. Follow these constraints before starting work, committing, or pushing.
Use for any Go code writing, refactoring, or review in starbunk-go. This agent cares about clean, idiomatic, readable Go — thoughtful naming, aesthetic structure, and code that feels good to read.
Feature developer and task runner agent. Start a new task on a fresh branch, orchestrate worktrees, do the implementation work, and open a PR when done.
Autonomously diagnose and fix a failing CI pipeline on the current branch.
PR Comment Addresser agent. Fetches all unresolved PR comments, evaluates their relevance, lists them for the user to select from, implements the selected fixes, and closes the addressed (and skipped) comments while ignoring new ones.
High-level architecture and planning for starbunk-go. Use when planning significant changes, reviewing cross-cutting concerns, coordinating multi-agent work, or evaluating the impact of a proposed change before implementation begins.