pixiv-cli-ci
Skill134 starsChanged 2 months agoMITView on GitHub
Diagnose pixiv-cli GitHub Actions failures and verify current-head quality, platform, PR-verification, native/browser, and release evidence. Use for CI readiness, failed or stalled runs, or an explicitly authorized rerun/cancel/dispatch; default to read-only evidence gathering.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- pixiv-cli-code-commentingSkill
- pixiv-cli-commit-messageSkill
- pixiv-cli-developSkill
- pixiv-cli-docsSkill
- pixiv-cli-mcp-toolSkill
- pixiv-cli-nativeSkill
- pixiv-cli-prSkill
- pixiv-cli-release-notesSkill
- pixiv-cli-reviewSkill
- pixiv-cli-testSkill
- pixiv-cliSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read AGENTS.md, the exact changed workflow, and its invoked script/tool.
- Very specific: line 37
Before rerun, cancel, dispatch, or repair, state the exact run/workflow/target and why.
- Very specific: line 41
Do not move a tag, rebuild different bytes under an old release identity, bypass approval, invent a deploy input, or enable production …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagnose pixiv-cli CI
Read AGENTS.md, the exact changed workflow, and its invoked script/tool. Workflow YAML owns ordering, inputs, permissions, and conditions; ci/platforms.json plus tools/platformmatrix own platform selection. Do not infer executable policy from a historical plan or a skill's old command example.
Identify the failure
Use the connected GitHub tools or an already available authenticated gh. Establish repository, PR/head SHA, workflow, run ID, attempt, event, job, and failing step. Read the first causal error and relevant surrounding log, not just the final failure line. Never display tokens, account stores, signed URLs, or raw secret-bearing responses.
Useful read-only commands, with verified placeholders, are:
gh pr checks PR_NUMBER
gh run view RUN_ID --json name,event,headBranch,headSha,status,conclusion,jobs,url
gh run view RUN_ID --log-failed
gh run view --job JOB_ID --logClassify deterministic code/contract failure, missing environment, upstream/network failure, cancellation, or genuine infrastructure flakiness. A long-running job is not automatically hung. Gather bounded relevant output, but preserve complete logs where needed instead of truncating source evidence.
Select the owning checks
Use pixiv-cli-test for local reproduction. ci.yml owns the read-only, untrusted Quality gate. Trusted pr-metadata.yml checks out current base-branch policy, validates template/command declarations, classifies the PR, dispatches base-ref Platform/Container workers, and owns the real job-level Platform smoke / Container smoke required checks. Its distinct * smoke worker Check Runs are only the trusted result bridge consumed by those gate jobs. Only worker matrix jobs execute the exact PR head with read-only permissions. Preserve the fork-safe boundary and classifier. Run relevant safely independent downstream phases if fail-fast hid their results.
Inspect the exact PR SHA: Quality gate, Platform smoke, and Container smoke are GitHub Actions jobs; PR template gate / PR commands gate are commit statuses. Unneeded Quality or smoke jobs must display Skipped, not synthetic success. Required smoke jobs wait for the distinct trusted Platform smoke worker / Container smoke worker Check Runs that are completed by the base-ref worker workflows. Body-only PR edits reclassify the unchanged head and mirror its existing worker result rather than creating a bypassing skip. Filtering workflow runs only by PR head can miss the worker runs themselves. Ordinary branch/main pushes do not run CI; matching tag pushes use Quality and Release rather than duplicate PR smoke matrices.
pr-verification.yml handles explicit /test requests using trusted parser/runner code and an exact PR head. Keep write-capable control jobs separate from untrusted PR execution. Never execute a PR body or title as shell code, expose privileged credentials to it, or treat a returned artifact as trusted without the existing identity checks.
native-evidence.yml and browser-evidence.yml are explicit manual, credential-free evidence providers, not automatic main-push gates; synthetic browser data does not prove real user-profile access. homebrew-prepublish-verify.yml is a read-only rehearsal, not a deployment workflow. Native linking and real API tests remain different evidence classes.
Operate only the authorized action
Before rerun, cancel, dispatch, or repair, state the exact run/workflow/target and why. A changed source or documented infrastructure hypothesis may justify a rerun; repeated deterministic failure does not. Preserve the original failure and attempt identity even after recovery succeeds.
release.yml is tag-triggered and has no manual dispatch input. Its verified immutable artifacts precede the single release-approval boundary. Independent Homebrew, container, SkillHub, and ClawHub publishers consume a completed Release handoff; publish-dockerhub.yml publishes both GHCR and Docker Hub. Manual publisher recovery uses the original release_run_id, not a guessed tag or current main. ClawHub also exposes verify_only for a non-republishing review check. Inspect live YAML before dispatching.
Do not move a tag, rebuild different bytes under an old release identity, bypass approval, invent a deploy input, or enable production secrets to rescue a check. Use release preparation for release-specific work.
Report
State the causal finding, exact run/attempt/SHA, evidence, relevant local results, and remaining checks. Distinguish API/tool access failure from workflow failure. Never call a skipped matrix, stale-head run, fixture, or pending publisher a completed release.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

