Agent skill

Run Tests

by ayutaz in ayutaz/piper-plus

piper-plus の各言語ランタイムのテストを実行します。引数 python/rust/cs/go/js/cpp/all で対象を選択。未指定なら git diff から自動判定。

MITAuto-check passedDevelopment

Install Run Tests

skills CLI
$ npx skills add ayutaz/piper-plus --skill run-tests -a claude-code

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

GitHub CLI
$ gh skill install ayutaz/piper-plus run-tests --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/ayutaz/piper-plus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/run-tests .claude/skills/run-tests && 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
run-tests
GitHub stars
220
Token cost
~641 tokens
SKILL.md length
118 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

piper-plus の各言語ランタイムのテストを実行します。引数 python/rust/cs/go/js/cpp/all で対象を選択。未指定なら git diff から自動判定。

  • Development work in your project
  • SKILL.md covers 変更ファイル, ターゲット選択, 各ターゲットの実行コマンド and 結果報告, plus 2 more sections
  • Calls uv, cargo and cmake

What it does

Run Tests is an agent skill from ayutaz/piper-plus. piper-plus の各言語ランタイムのテストを実行します。引数 python/rust/cs/go/js/cpp/all で対象を選択。未指定なら git diff から自動判定。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with C++, Python, Rust and Git. The repository describes itself as: Multilingual neural TTS (6 languages: JA/EN/ZH/ES/FR/PT, code supports SV) — C++, C, Rust, Go, Python, npm (WASM). VITS + Prosody, streaming, CUDA/CoreML/DirectML. pip install…. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/run-tests”

Requirements

  • Python 3
  • Node.js
  • Pre-approved tools (allowed-tools): Bash(uv run *), Bash(cargo test *), Bash(dotnet test *), Bash(go test *), Bash(go vet *), Bash(node --test *), Bash(npm *), Bash(cmake *), Bash(ctest *), Bash(git diff *)

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(uv run *)
    • Bash(cargo test *)
    • Bash(dotnet test *)
    • Bash(go test *)
    • Bash(go vet *)
    • Bash(node --test *)
    • Bash(npm *)
    • Bash(cmake *)
    • Bash(ctest *)
    • Bash(git diff *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • cargo
    • cmake
    • dotnet
    • go
    • npm
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use uv, npm and 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

Run Tests loads about 641 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 118 words of instructions outside code blocks.

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

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 ayutaz/piper-plus at commit 9c6946e, republished under its MIT licence (© ayutaz). 118 words, ~641 tokens.

Download SKILL.mdSave it as .claude/skills/run-tests/SKILL.md (or your agent's skills folder).
name
run-tests
description
piper-plus の各言語ランタイムのテストを実行します。引数 python/rust/cs/go/js/cpp/all で対象を選択。未指定なら git diff から自動判定。
allowed-tools
Bash(uv run *), Bash(cargo test *), Bash(dotnet test *), Bash(go test *), Bash(go vet *), Bash(node --test *), Bash(npm *), Bash(cmake *), Bash(ctest *), Bash(git diff *)
argument-hint
[python|rust|cs|go|js|cpp|all]
disable-model-invocation
true

piper-plus テスト実行

各言語ランタイムのテストを CI と同じ条件でローカル実行します。

変更ファイル

!git diff --name-only HEAD 2>/dev/null | head -20

ターゲット選択

$ARGUMENTS:

  • python → Python 全体
  • rust → Rust workspace
  • cs → .NET solution
  • go → Go module
  • js → JS/WASM (npm-package)
  • cpp → C++ (cmake build + ctest)
  • all → 上記すべて (順次、失敗しても次に進む)
  • (空) → git diff HEAD の結果から判定 (複数該当ならそれら全部)

各ターゲットの実行コマンド

Python
bash
cd src/python_run
uv run pytest tests/ -o addopts="" -v --tb=short
cd ../..

# G2P 単体テスト (もし対象なら)
cd src/python/g2p
uv run pytest -o addopts="" -v --tb=short
cd ../../..

注意:

  • pytest.ini の --cov を -o addopts="" で上書き (pytest-cov が無い環境向け)
  • 学習・ベンチマーク系テストは除外 (-m "unit and not training and not benchmark" も可)
Rust
bash
cd src/rust
cargo test -p piper-plus --no-fail-fast
cargo test -p piper-plus --features naist-jdic --no-fail-fast
cd ../..
C# (.NET)
bash
dotnet test src/csharp/PiperPlus.sln -c Release --nologo --verbosity minimal
Go
bash
cd src/go
go vet ./... ./phonemize/...
go test -race -count=1 ./... ./phonemize/...
cd ../..
JavaScript / WASM
bash
cd src/wasm/openjtalk-web
npm run test:npm-package:all
cd ../../..
C++
bash
# Build がまだなら先にビルド
if [ ! -f build/CMakeCache.txt ]; then
  cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON
fi
cmake --build build --config Release
ctest --test-dir build -C Release --output-on-failure

結果報告

各ターゲット完了後、以下の形式で報告:

text
## テスト実行結果

| ランタイム | Pass | Fail | Skip | 時間 |
|----------|------|------|------|------|
| Python (pytest) | 212 | 0 | 20 | 22s |
| Rust (cargo test) | 145 | 0 | 0 | 1m |
| ... | ... | ... | ... | ... |

### 失敗詳細
(失敗があった場合のみ、最初の 3 件まで)

- `test_xxx` (ファイル:行): エラー要約

失敗時のヒント

  • Python ImportError → uv sync で依存をインストール
  • Rust feature not found → cargo build で先にビルドを通す
  • C# build failed → dotnet restore src/csharp/PiperPlus.sln を実行
  • WASM ImportError → cd src/wasm/openjtalk-web && npm install
  • C++ ctest failed → cmake --build build --verbose でビルドエラーを再確認

注意

  • 失敗しても他のターゲットを続行する (all 時)
  • 単一ターゲット時は失敗即停止
  • 環境依存テスト (espeak-ng 等) はスキップされる場合あり

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

Files

Just SKILL.md in .claude/skills/run-tests of ayutaz/piper-plus.

Open the folder on GitHubat commit 9c6946e

Compare with similar skills

Run Tests 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.

Run Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Run Tests this skillayutaz/piper-plus220—~641Automated safety check: PassMIT
Style Checkernoumena-labs/Sipp121—~1.4kAutomated safety check: PassApache-2.0
Check Toolsoaustegard/claude-skills150—~641Automated safety check: PassMIT
Core API Changelibnativeapi/nativeapi161—~2.5kAutomated safety check: PassMIT
Fory Performance Optimizationapache/fory4.6k—~2.2kAutomated safety check: PassApache-2.0
Test Runnernoumena-labs/Sipp121—~854Automated safety check: PassApache-2.0

Similar skills

  • Style Checker

    noumena-labs/Sipp

    Enforces this monorepo's coding style rules by inspecting git diffs, reading .agents/skills/style-checker/references/styleguidance.md, fixing style violations, and reporting the result.

    121 GitHub stars~1.4k tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Check Tools

    oaustegard/claude-skills

    Validates development tool installations across Python, Node.js, Java, Go, Rust, C/C++, Git, and system utilities.

    150 GitHub stars~641 tokensUpdated today
    DevelopmentAuto-check passed
  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    161 GitHub stars~2.5k tokensUpdated today
    MobileAuto-check passed
  • Run profile-driven bottleneck optimization across Apache Fory implementations (Java, C++, Python/Cython, Go, Rust, Swift, C, JavaScript/TypeScript, Dart, Kotlin, Scala).

    4.6k GitHub stars~2.2k tokensUpdated yesterday
    MobileAuto-check passed
  • Test Runner

    noumena-labs/Sipp

    Runs the narrowest relevant tests to validate changes. An agent skill from noumena-labs/Sipp.

    121 GitHub stars~854 tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from ayutaz/piper-plus

All 20 skills in this repo
  • Skill Health

    ayutaz/piper-plus

    .claude/skills//SKILL.md の frontmatter / referenced script 実在 / trigger 衝突 / .claude/hooks/.sh の executable+shebang を検査する meta-skill。

    220 GitHub stars~626 tokensUpdated today
    Auto-check passed
  • Bump Deps

    ayutaz/piper-plus

    ORT / openjtalk / ruff のような cross-runtime に canonical sync が必要な依存関係を 1 コマンドで bump する read-mostly skill。

    220 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Check Cross Runtime

    ayutaz/piper-plus

    Python canonical (src/pythonrun/piperplus/, src/python/pipertrain/, src/python/g2p/piperplusg2p/) を変更した PR で、 ONNX I/O 以外の追随漏れ (phonemizer / config schema / CLI flag / data 形式 / API 変更) を 7 ランタイム +…

    220 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Check Loanword

    ayutaz/piper-plus

    ZH-EN code-switching loanword の同期と forward-compat を 1 コマンドで検査。zhenloanword.json を編集したり 5 ランタイムのいずれかに新規エントリを追加する前後に呼ぶ。Python source を canonical とし、Rust×2 / Go / C / WASM / C++ の 6 mirror + Python…

    220 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Check New Runtime Asset

    ayutaz/piper-plus

    新規データアセット (JSON/TOML) を追加した PR で「7 箇所の package metadata 更新が全て揃っているか」を 1 コマンドで確認。MANIFEST.in / pyproject package-data / Cargo features / npm files / C Content / Android assets / SPM resources の更新漏れを…

    220 GitHub stars~964 tokensUpdated today
    Auto-check passed
  • Check PR Ready

    ayutaz/piper-plus

    PR 作成前の最終チェックリスト (lint/test/docs/CHANGELOG/未コミット確認)。/precheck の拡張版で、ドキュメント整合性も検証します。

    220 GitHub stars~687 tokensUpdated today
    Auto-check passed

Categories

Questions about Run Tests

What does Run Tests do?

piper-plus の各言語ランタイムのテストを実行します。引数 python/rust/cs/go/js/cpp/all で対象を選択。未指定なら git diff から自動判定。. Run Tests is an agent skill from ayutaz/piper-plus.

When should I use Run Tests?

Run Tests fits situations like: development work in your project.

How do I install Run Tests in Claude Code?

Run `npx skills add ayutaz/piper-plus --skill run-tests -a claude-code`. Or copy the skill folder (.claude/skills/run-tests in ayutaz/piper-plus) into .claude/skills/run-tests in your project. Claude Code loads it when a task matches its description.

How do I install Run Tests in Codex?

Run `npx skills add ayutaz/piper-plus --skill run-tests -a codex`. Or copy the skill folder (.claude/skills/run-tests in ayutaz/piper-plus) into .agents/skills/run-tests in your project. Codex loads it when a task matches its description.

Can I use Run Tests 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 ayutaz/piper-plus --skill run-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-tests, .gemini/skills/run-tests, .github/skills/run-tests and .opencode/skills/run-tests in your project.

What does Run Tests need to run?

Going by SKILL.md and its folder, Run Tests needs the command-line tools its instructions call (uv, cargo, cmake, dotnet, go and npm). Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Bash(uv run *), Bash(cargo test *), Bash(dotnet test *), Bash(go test *), Bash(go vet *), Bash(node --test *), Bash(npm *), Bash(cmake *), Bash(ctest *), Bash(git diff *).

Does Run Tests access the network?

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

Is Run Tests 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 Run Tests use?

Run Tests 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 Run Tests use?

About 641 tokens (SKILL.md is roughly 2.6k 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 Run Tests?

Skills that share tags, products or a category with Run Tests: Style Checker (noumena-labs/Sipp, 121 stars), Check Tools (oaustegard/claude-skills, 150 stars), Core API Change (libnativeapi/nativeapi, 161 stars) and Fory Performance Optimization (apache/fory, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Run Tests?

ayutaz (a GitHub user) maintains it in ayutaz/piper-plus, which has 220 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 8, 2026.

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