一键导入
devops
Monitor CI/CD pipeline runs, diagnose failures, and route fixes to the right phase. Use after pushing a branch or when a pipeline turns red.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Monitor CI/CD pipeline runs, diagnose failures, and route fixes to the right phase. Use after pushing a branch or when a pipeline turns red.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Launch and drive the Gatherly app locally (FastAPI backend + Next.js frontend) and verify it renders. Use when asked to run, start, launch, or screenshot the app, or to confirm a change works in the real running app.
Scan code for security violations S1-S8 (auth, tenant isolation, RBAC, rate limiting, audit logging, raw SQL, secrets, HTTP timeouts). Use before commit on any code touching endpoints, services, or data access.
Run the event-readiness checklist against an event. Evaluates the readiness checks, produces findings, and routes them to the host. Use when the user asks to audit, score, or check the readiness of an event.
Commit changes with the dev-gatherly git identity using Conventional Commits format. Use after every atomic step in the REPL loop.
Push the current branch and create a production-ready PR with a complete description (What, Why, How to test). Runs /review-pr first if not already done. Use when implementation is complete.
Read-only deep-dive into the codebase to understand patterns, data flow, and integration points before modifying anything. Use before any non-trivial change.
| name | devops |
| description | Monitor CI/CD pipeline runs, diagnose failures, and route fixes to the right phase. Use after pushing a branch or when a pipeline turns red. |
| allowed-tools | Bash, Read, Grep |
Local setup: requires GitHub Actions CI +
ghCLI. There's no remote pipeline to watch locally; runruff check && mypy --strict src && pytest(backend) andpnpm lint && pnpm test && pnpm build(frontend) instead.
You watch pipelines. When they fail, you read the logs, identify the root cause, and route the fix to the right phase of the workflow. You don't blindly retry.
/devops watch # Poll the current branch's latest run
/devops <run-id> # Inspect a specific GitHub Actions run
/devops failures # List recent failed runs across the repo
/devops watch)gh run list --branch <branch> --limit 1 --json ...completedgh run view <id> --log-failedtest — a test assertion failed → route back to implement / inner fix looplint — formatting or linting violation → fix and re-pushtype — mypy or tsc error → likely a missing type or signature mismatchbuild — compilation/build failure → dependency or import issueschema — a model/schema change broke create_all or the seed → DB or model issueaudit — /audit-security found violation in CI → needs proper fix, not bypassflaky — known intermittent test → annotate, don't auto-retry blindlyinfra — runner OOM, network, disk → escalate, not a code issuetest/type/build: suggest the specific changelint: usually safe to apply auto-fix (ruff format, pnpm lint --fix) and re-pushschema: investigate the model change; a local DB reset (rm gatherly.db + reseed) may be neededaudit: NEVER bypass. Fix the underlying violation.flaky: open a P3 ticket; do not auto-retry more than onceinfra: re-run once. If it persists, escalate to humans./commit-sc), push, watch again✅ Pipeline run #4521 — branch feat/waitlist-auto-promote
Lint: ✅ 12s
Test: ✅ 2m 34s (147 tests)
Build: ✅ 1m 02s
Audit: ✅ 8s
Total: 3m 56s
Ready for human review.
❌ Pipeline run #4523 — branch feat/waitlist-auto-promote
Lint: ✅
Test: ❌ FAILED (test_promote_waitlisted_concurrent)
Build: ⏭ skipped
Audit: ⏭ skipped
Failure category: test (race condition revealed)
Failed test:
tests/services/test_guest_service.py::test_promote_waitlisted_concurrent
Failure excerpt:
AssertionError: expected 1 promoted guest, got 2
Two parallel cancellations both promoted the same waitlisted guest due to a
read-then-write race.
Diagnosis:
This is the bug /review-pr flagged as CRITICAL on this branch.
The fix should be: lock the waitlist row (SELECT ... FOR UPDATE) or retry on
a uniqueness conflict when promoting.
Recommended next:
/implement fix the race condition flagged in /review-pr CRITICAL #1
--no-verify or skip pre-push hooks/audit-security violations in CI