用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CodySwannGT/lisa --skill ops-verify-health命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
any non-trivial request —…
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
基于 SOC 职业分类
正在显示 SKILL.md
| name | ops-verify-health |
| description | Health check all services… |
| allowed-tools | ["Bash","Read"] |
Health check all services across environments.
Argument: $ARGUMENTS — environment(s) to check (default: all). Options: local, dev, staging, production, all
Read these files to build the environment URL table:
e2e/constants.ts — frontend URLs per environment.env.localhost, .env.development, .env.staging, .env.production — EXPO_PUBLIC_GRAPHQL_BASE_URL for backend GraphQL URLsFor each environment, run these checks:
curl -sf -o /dev/null -w "HTTP %{http_code} in %{time_total}s" {frontend_url}
Verify the response contains Expo/React markers:
curl -sf {frontend_url} | head -20
curl -sf {graphql_url} -X POST \
-H "Content-Type: application/json" \
-d '{"query":"{ __typename }"}' \
-w "\nHTTP %{http_code} in %{time_total}s\n"
curl -sf {graphql_url} -X POST \
-H "Content-Type: application/json" \
-d '{"query":"{ __schema { queryType { name } } }"}' \
-w "\nHTTP %{http_code} in %{time_total}s\n"
Run all checks for the specified environment(s):
check_env() {
local ENV=$1
local FE_URL=$2
local BE_URL=$3
echo "=== $ENV ==="
# Frontend
FE_STATUS=$(curl -sf -o /dev/null -w "%{http_code}" --max-time 10 "$FE_URL" 2>/dev/null || echo "000")
FE_TIME=$(curl -sf -o /dev/null -w "%{time_total}" --max-time 10 "$FE_URL" 2>/dev/null || echo "timeout")
echo "Frontend: HTTP $FE_STATUS ($FE_TIME s)"
# Backend
BE_RESULT=$(curl -sf --max-time 10 "$BE_URL" -X POST \
-H "Content-Type: application/json" \
-d '{"query":"{ __typename }"}' \
-w "\n%{http_code} %{time_total}" 2>/dev/null || echo -e "\n000 timeout")
BE_STATUS=$(echo "$BE_RESULT" | tail -1 | awk '{print $1}')
BE_TIME=$(echo "$BE_RESULT" | tail -1 | awk '{print $2}')
echo "Backend: HTTP $BE_STATUS ($BE_TIME s)"
echo ""
}
Check the latest OTA updates deployed to each branch:
eas update:list --branch {env} --limit 3
Report results as a table:
| Service | Environment | Status | Response Time | Details |
|---|---|---|---|---|
| Frontend | dev | UP (200) | 0.45s | HTML contains React root |
| Backend | dev | UP (200) | 0.32s | GraphQL responds __typename |
Flag any service with status != 200 or response time > 5s as a concern.