Agent skill

Pixiv CLI Test

by FlanChanXwO in FlanChanXwO/pixiv-cli

Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks.

MITAuto-check passedTesting & QA

Install Pixiv CLI Test

skills CLI
$ npx skills add FlanChanXwO/pixiv-cli --skill pixiv-cli-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FlanChanXwO/pixiv-cli pixiv-cli-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FlanChanXwO/pixiv-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pixiv-cli-test .claude/skills/pixiv-cli-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pixiv-cli-test
GitHub stars
134
Token cost
~2.1k tokens
SKILL.md length
1,064 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks.

  • Changing behavior
  • SKILL.md covers Determine the evidence, Decide whether test code must…, Select checks and Live and native boundaries, plus 1 more section
  • Calls go, sh and git
  • Reproducing a bug

What it does

Pixiv CLI Test is an agent skill from FlanChanXwO/pixiv-cli. Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks. Use when changing behavior, reproducing a bug, choosing test scope, or reporting readiness. Separates offline fixtures, native evidence, and explicitly authorized live API tests.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Testing & QA, covering API testing and Test-driven development. It works with Model Context Protocol. The repository describes itself as: Pixiv, in your terminal — a CLI, MCP server, and Go SDK for discovery, accounts, creators, collections, and downloads. The licence is MIT.

When your agent uses it

  • Changing behavior
  • Reproducing a bug
  • Choosing test scope
  • Reporting readiness

Example prompts

  • “/pixiv-cli-test”

What it can do on your machine

Read from SKILL.md and the folder at commit 2b3ccbb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go
    • sh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pixiv CLI Test loads about 2.1k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 1,064 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FlanChanXwO/pixiv-cli at commit 2b3ccbb, republished under its MIT licence (© FlanChanXwO). 1,064 words, ~2,073 tokens.

Download SKILL.mdSave it as .claude/skills/pixiv-cli-test/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
pixiv-cli-test
description
Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks. Use when changing behavior, reproducing a bug, choosing test scope, or reporting readiness. Separates offline fixtures, native evidence, and explicitly authorized live API tests.

Test pixiv-cli

Determine the evidence

Read the diff and the affected owner/tests before choosing commands. Work from the repository root unless a command explicitly needs another directory. Check go version against go.mod; source builds need cgo and a compatible C linker plus the committed native libraries. Do not install missing tools or fetch dependencies without authorization. Report environment failures separately from regressions.

For source behavior, select the smallest existing test that exposes the missing behavior, or extend it only where coverage is missing, and observe its expected failure before implementation. A test that fails to compile or cannot reach its assertion is not a behavioral Red. Implement one slice, run Green, then refactor and rerun. For structural-only work, reuse before/after characterization evidence; obtain an explicit exception if an applicable Red requirement cannot be met. Never modify expected output solely to make an unexplained failure disappear.

Use existing Go testing and HTTP/FS fixtures. Test public behavior through real boundaries rather than reproducing the implementation in mocks. Prefer deterministic inputs and temporary stores; exercise cancellation, error propagation, and ordering when affected. Follow the canonical test file layout, including owner-matched names and documented same-package exceptions; do not create task-numbered test files or public exports only for tests.

Decide whether test code must change

Before adding a test, name the observable contract or credible failure that existing tests do not protect. Inspect their assertions, not just their names or coverage percentage. Prefer running an existing test, then extending a relevant case/table, then adding a new test only for an uncovered scenario. Record the choice briefly in the existing handoff, not a new test-plan file.

  • Test behavior, not the existence of each function or file. A getter, forwarding wrapper, simple field projection, or newly extracted helper needs no separate test when its behavior is already protected at the calling boundary. Short security, parsing, or persistence code can still carry independent risk and require coverage.
  • For pure moves, renames, or extraction, run existing characterization before and after. Do not invent a behavior change, alter an assertion to manufacture Red, or duplicate a test solely because a helper appeared.
  • Test at the narrowest stable boundary that catches the defect. Extra CLI/MCP/SDK layers earn tests for distinct serialization, validation, permissions, or failure semantics, not repeated assertions of the same mapping. Mock real external boundaries rather than recreating the implementation in a test.
  • Keep fixtures and assertions direct. Use table-driven cases only when they share setup and semantics; avoid a generic fixture builder, mock hierarchy, assertion DSL, or new framework for a small case. Do not test standard-library behavior instead of the project's own contract.
  • Ordinary prose comments, headings, and internal code layout do not need exact-text or AST/regex tests. Machine-consumed directives, generated contracts, parsers, and security boundaries may need targeted existing checks; distinguish those from style preferences.
  • Remove or consolidate tests only within the authorized scope and after identifying the same contract protected by retained checks. Preserve regression inputs and run the retained checks; fewer lines alone do not justify deleting evidence.

Finish adding tests when changed contracts and credible failure paths are protected. There is no per-function, per-file, test-count, or invented coverage-percentage target. TDD governs the order of evidence, not the quantity of new test code; mandatory repository gates still apply.

Show full SKILL.md (520 more words)Show less

Select checks

Start with the affected package and named test, for example go test ./path/to/owner -run '^TestName$' -count=1, replacing both placeholders with inspected values. Then expand according to actual impact:

ChangeRelevant checks
Documentation, instructions, product skillsInspect links, skill metadata, examples, and git diff --check; run affected existing script/tool contracts
Local Go implementationFocused test, affected integration packages, and scoped go vet; run sh scripts/build.sh when the change affects the build or executable
Shared contract, public SDK, core behavior, or release candidatego test ./... -count=1, go vet ./..., and sh scripts/build.sh, in addition to focused regression
Concurrency, account lifecycle, persistence, shared runtimeAdd go test -race ./... -count=1; use native platform checks where platform code is involved
PR metadata and verification toolinggo test ./tools/prmeta ./tools/verification -count=1; inspect the changed workflow's existing tests
Platform/release contractsgo test ./tools/release ./tools/platformmatrix -count=1, affected scripts/... tests, and the relevant build/package/Homebrew fixture scripts
Rust/cgo/staticlib or ABIFollow pixiv-cli-native, not an unrelated Go-only substitute

Use gofmt -l on affected Go files and the existing .pre-commit-config.yaml. Run installed pre-commit when applicable; do not introduce a new linter or download hook environments silently. sh -n checks shell syntax, not shell behavior. Cross-compilation checks compilation, not execution on another operating system.

CI scope is determined by .github/ci-change-scope.gitignore through scripts/classify-change-scope.sh, not the file extension or this table. ci.yml owns Quality; trusted pr-metadata.yml classifies PRs and dispatches base-ref Platform/Container workers. Required smoke gates are Check Runs on the exact PR head and use a real skipped conclusion when their scope is not required. Honor those gates without changing classification to save a run. Ordinary branch/main pushes do not run CI; matching tags retain the current Quality/release path.

Live and native boundaries

The ordinary suite must remain offline-stable. Real SDK E2E is opt-in and can rotate/persist credentials. Read the live-test section of docs/en/maintainers/development.md and obtain account/target authorization first. Select an authorized secondary Pixiv account with PIXIV_E2E_READ_USER_ID; never read a real credential store into the transcript. FANBOX sessions come from the agreed Keychain environment, not command arguments or logs.

TestRealPixivSDKRead and TestRealFanboxSDKRead prove their specific live paths only when actually run. The FANBOX full read requires a first-party attachment; TestRealFanboxSDKPostInfo is supplemental partial evidence, not a replacement. Default skips are not live evidence. Reverse-search E2E additionally needs explicit image-upload authorization. An upstream 429 is not permission to invent retries or rotate accounts.

Native/browser fixture checks do not establish real keychain/DPAPI access, and one host does not establish native linking on every shipped platform. Select the existing native/browser evidence workflows for those claims. Preserve the documented Windows ARM64 race-detector limitation and its exact diagnostic check; do not call unsupported execution a successful race run.

Handle failures and finish

Identify the first causal failure, command, owner, and relevant environment. For a fail-fast gate, run relevant safely independent downstream checks to expose other blockers. Do not repeatedly run unchanged deterministic failures; retry only after a relevant change or to test a stated infrastructure/flakiness hypothesis. Fix only in-scope regressions.

Report actual commands, pass/fail/skip, unrun checks and why, tested commit, and remaining risk. Completion requires the requested behavior and mandatory evidence, not a selected subset of green checks.

© FlanChanXwO, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/pixiv-cli-test of FlanChanXwO/pixiv-cli.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 2b3ccbb

Compare with similar skills

Pixiv CLI Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pixiv CLI Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pixiv CLI Test this skillFlanChanXwO/pixiv-cli134—~2.1kAutomated safety check: PassMIT
Qwen Code E2E TestingQwenLM/qwen-code28k—~2.1kAutomated safety check: PassApache-2.0
Agentic TDDreticlehq/reticle1.2k—~1.2kAutomated safety check: PassApache-2.0
Bug Fix TDDstacklok/toolhive-studio170—~1.7kAutomated safety check: NotesApache-2.0
Suede MCP Release QAJasonColapietro/suede-creator-skills127—~2.1kAutomated safety check: PassMIT
Quarkus TDDaffaan-m/ECC276k1 repos~6.4kAutomated safety check: PassMIT

Similar skills

  • Qwen Code E2E Testing

    QwenLM/qwen-code

    Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.

    28k GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Agentic TDD

    reticlehq/reticle

    Applies red-green TDD to behavior unit tests cannot reach, by stating the expected outcome against the running app with Reticle before writing the feature.

    1.2k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Bug Fix TDD

    stacklok/toolhive-studio

    Reproduce and fix bugs using TDD. An agent skill from stacklok/toolhive-studio.

    170 GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check: notes
  • Suede MCP Release QA

    JasonColapietro/suede-creator-skills

    Checks a Suede AI MCP server release against a live process: the full JSON-RPC lifecycle, schemas, annotations, malformed input, catalog agreement and install docs.

    127 GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Quarkus TDD

    affaan-m/ECC

    Test-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo.

    276k GitHub starsUsed in 1 repo~6.4k tokens
    Testing & QAAuto-check passed
  • Quarkus TDD

    affaan-m/ECC

    Desarrollo guiado por pruebas para Quarkus 3.x LTS usando JUnit 5, Mockito, REST Assured, pruebas Camel y JaCoCo.

    276k GitHub stars~3.6k tokensUpdated 4 days ago
    Testing & QAAuto-check passed

More from FlanChanXwO/pixiv-cli

All 11 skills in this repo
  • Pixiv CLI

    FlanChanXwO/pixiv-cli

    Operate the installed pixiv CLI to search works and users, reverse-search images with SauceNAO or ascii2d, inspect Pixiv references, read feeds and rankings, and perform explicitly authorized…

    134 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Pixiv CLI CI

    FlanChanXwO/pixiv-cli

    Diagnose pixiv-cli GitHub Actions failures and verify current-head quality, platform, PR-verification, native/browser, and release evidence.

    134 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Pixiv CLI Code Commenting

    FlanChanXwO/pixiv-cli

    In pixiv-cli, write and review intent-focused code comments, API documentation, docstrings, and numbered workflow stages.

    134 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Pixiv CLI Native

    FlanChanXwO/pixiv-cli

    Change or validate pixiv-cli Rust ugoira, cgo/FFI, committed static libraries, vendored dependencies, Linux ABI, and native runner evidence.

    134 GitHub stars~948 tokensUpdated 2 days ago
    Auto-check passed
  • Pixiv CLI PR

    FlanChanXwO/pixiv-cli

    Prepare, update, or verify a pixiv-cli pull request using its current template, trusted verification policy, reviewed diff, and head-specific check results.

    134 GitHub stars~802 tokensUpdated 2 days ago
    Auto-check passed
  • Pixiv CLI Docs

    FlanChanXwO/pixiv-cli

    Edit pixiv-cli documentation, AGENTS.md, client bridges, repository maintenance skills, or the distributed product skill.

    134 GitHub stars~997 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Pixiv CLI Test

What does Pixiv CLI Test do?

Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks. Pixiv CLI Test is an agent skill from FlanChanXwO/pixiv-cli. Select and run pixiv-cli regression, TDD, document, SDK, CLI/MCP, and build checks.

When should I use Pixiv CLI Test?

Pixiv CLI Test fits situations like: changing behavior; reproducing a bug; choosing test scope; reporting readiness.

How do I install Pixiv CLI Test in Claude Code?

Run `npx skills add FlanChanXwO/pixiv-cli --skill pixiv-cli-test -a claude-code`. Or copy the skill folder (.agents/skills/pixiv-cli-test in FlanChanXwO/pixiv-cli) into .claude/skills/pixiv-cli-test in your project. Claude Code loads it when a task matches its description.

How do I install Pixiv CLI Test in Codex?

Run `npx skills add FlanChanXwO/pixiv-cli --skill pixiv-cli-test -a codex`. Or copy the skill folder (.agents/skills/pixiv-cli-test in FlanChanXwO/pixiv-cli) into .agents/skills/pixiv-cli-test in your project. Codex loads it when a task matches its description.

Can I use Pixiv CLI Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FlanChanXwO/pixiv-cli --skill pixiv-cli-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pixiv-cli-test, .gemini/skills/pixiv-cli-test, .github/skills/pixiv-cli-test and .opencode/skills/pixiv-cli-test in your project.

What does Pixiv CLI Test need to run?

Going by SKILL.md and its folder, Pixiv CLI Test needs the command-line tools its instructions call (go, sh and git).

Does Pixiv CLI Test access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pixiv CLI Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pixiv CLI Test use?

Pixiv CLI Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pixiv CLI Test use?

About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pixiv CLI Test?

Skills that share tags, products or a category with Pixiv CLI Test: Qwen Code E2E Testing (QwenLM/qwen-code, 28k stars), Agentic TDD (reticlehq/reticle, 1.2k stars), Bug Fix TDD (stacklok/toolhive-studio, 170 stars) and Suede MCP Release QA (JasonColapietro/suede-creator-skills, 127 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pixiv CLI Test?

FlanChanXwO (a GitHub user) maintains it in FlanChanXwO/pixiv-cli, which has 134 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

Source: FlanChanXwO/pixiv-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.