pixiv-cli-native
Skill140 starsChanged 12 days agoMITView on GitHub
Change or validate pixiv-cli ugoira encoding, pure-Go platform builds, and native runner evidence. Use when encoder behavior, target builds, or artifact provenance change; routine leaf Go changes use the develop/test workflow.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- pixiv-cli-ciSkill
- pixiv-cli-code-commentingSkill
- pixiv-cli-commit-messageSkill
- pixiv-cli-developSkill
- pixiv-cli-docsSkill
- pixiv-cli-mcp-toolSkill
- 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
2 rules. About 0 are common, 0 are distinctive, and 2 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.
2
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 affected encoder/build owner, and Ugoira Go encoder.
- Very specific: line 12
Use the test workflow for behavior changes.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Maintain Encoding and Platform Builds
Read AGENTS.md, the affected encoder/build owner, and Ugoira Go encoder. scripts/build/platforms.json owns runners and capabilities; the coding handbook owns the Go toolchain baseline. scripts/build/platform.sh owns exact-target Go builds and canonical archives; scripts/build/matrix.sh validates the registry.
Change the responsible boundary
Use the test workflow for behavior changes. Keep the downloader's ugoira.Encoder seam: ZIP metadata order, frame timing, resizing, transparency, playback, cancellation and atomic publication belong to internal/media/ugoira. Preserve the documented decoder-derived allocation boundary and buffer ownership. A slow encode is not a timeout failure.
Production builds use CGO_ENABLED=0; only explicit race-detector steps enable cgo. Local vector setup separately installs ONNX Runtime native libraries. Ported algorithms keep their source/license notices. A toolchain change needs verification of affected targets, not just a version-field edit.
Verify the changed behavior
Select the relevant existing checks:
CGO_ENABLED=0 go test ./internal/media/ugoira/... -count=1
sh scripts/build/platform.sh --target linux/amd64 --output-dir /tmp/pixiv-platform-check
sh scripts/build/matrix.sh --capability smokeFor quality/resource comparisons, use the documented offline corpus and fixed legacy/Go settings. Keep frozen baselines and complete inputs; compare each required sample/format rather than hiding failures in an overall average.
CGO_ENABLED=0 with purego produces a dynamic glibc-linked Linux ELF; confirm with file when the build recipe changes. Cross-compilation proves compilation, not native execution. Check the built and unpacked binary's version and archive's sole executable member.
Consume matching evidence
The Platform smoke workflow executes the built binary and the native encoder tests on every shipped target; those runs are the native execution evidence. Its executable workflow comes from the trusted base ref. Inspect the actual run and source SHA rather than assuming a PR-head workflow edit changes it. Keep failed or missing targets visible; fixture success is not six-platform evidence. Report actual native executions and outstanding platforms. Release, signing, tags and publisher actions require separate authorization.
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.

