بنقرة واحدة
cimonitor
Monitor CI pipeline status, diagnose failures, and drive the badge back to green
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Monitor CI pipeline status, diagnose failures, and drive the badge back to green
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Reconstruct Dazzle/HM judgement from stems before inventing structure
Reconstruct Dazzle/HM judgement from stems before inventing structure
Run all quality checks on modified files — the on-demand pre-ship quality gate
Commit, verify, tag, and push with the repo's pre-flight gate suite (lint, type, drift gates, docs build)
Use when authoring or revising trial.toml scenarios for dazzle qa trial — puts an LLM in the shoes of a real business user evaluating a Dazzle app. Use when the user asks to "set up qa trials", "write a trial scenario", "evaluate this app as a user", or mentions qualitative/trial/business-user testing. Also use when a trial report is sparse or unhelpful — the scenario itself is usually the root cause.
Use when writing or editing Dazzle .dsl files — syntax rules, the mistakes agents actually make, and pointers to the drift-gated references. Complements (never replaces) CLAUDE.md's DSL Quick Reference.
استنادا إلى تصنيف SOC المهني
| name | cimonitor |
| description | Monitor CI pipeline status, diagnose failures, and drive the badge back to green |
Monitor CI/CD pipeline status. Checks both the current branch and the CI badge workflow on main.
The README badge tracks the CI workflow on main. Always check this first:
gh run list --workflow ci.yml --branch main --limit 1 --json status,conclusion,databaseId,url
Report whether the badge is green or red. If red, this takes priority — investigate and fix before other work.
gh run list --branch $(git branch --show-current) --limit 5 --json status,conclusion,name,url,databaseId,event,workflowName
For each in_progress or queued run, poll every 15 seconds up to 20 attempts:
gh run view <run-id> --json status,conclusion,name
Show a brief status update each poll.
For each completed run, show individual job results:
gh run view <run-id> --json jobs --jq '.jobs[] | {name, conclusion, startedAt, completedAt}'
Present as a table:
| Job | Status | Duration |
|---|---|---|
| Python Tests | success | 2m 15s |
| Security Tests | success | 1m 30s |
| ... | ... | ... |
The CI workflow has these jobs (all must pass for a green badge):
python-tests — Unit tests with coverage (~8000 tests)security-tests — JWT, ASVS, sanitization, banditlint — ruff + bandit + DSL validation + AsyncAPItype-check — mypy on core + backendintegration — Integration tests (depends on tests + lint + security)e2e-smoke — Example project validation + serve testspostgres-tests — Full test suite against PostgreSQLe2e-runtime — CRUD + DSL tests against PostgreSQLhomebrew-validation — Formula syntax + version consistencyFor each failed job:
gh run view <run-id> --log-failed | tail -100mypy src/dazzle (matches /ship, /check, and CI)ruff check src/ tests/ --fix && ruff format src/ tests/pytest <test_file> -x -vfix: resolve pre-existing mypy errors in <file>.## CI Status
**Badge (main):** ✅ green | ❌ red (failing since <date>)
**Current branch:** <branch> — <status>
### Job Results (run #<id>)
| Job | Result |
|-----|--------|
| ... | ... |
### Action Required
- <what needs fixing, if anything>