ワンクリックで
code-test
Run targeted tests to validate changes. Use filters to target specific tests when needed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run targeted tests to validate changes. Use filters to target specific tests when needed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Validate and lint code after changes. Use after editing Rust/shell script files, when user mentions compilation errors, linting, clippy warnings, shellcheck issues, or before commits/PRs. Ensures all code passes checks and has zero warnings.
Format Rust and shell script code automatically. Use immediately after editing .rs/.sh files or the install script, when user mentions formatting, code style, or before commits/PRs. Ensures consistent code style following project conventions.
Load relevant coding patterns based on user query or work context. Use when asking about coding patterns, standards, or before implementing code.
Validate pattern doc format against the specification. Use when reviewing PRs, after editing pattern docs, or before commits
Review code changes for bugs, pattern violations, security, and quality. Use when reviewing PRs, code changes, or before commits.
Generate and validate conventional commit messages with Rust workspace scope rules. Use when user says "commit", "git commit", "/commit", asks for help with commit messages, or requests to amend a commit. Enforces crate-based scoping and validates message accuracy against changesets.
SOC 職業分類に基づく
| name | code-test |
| description | Run targeted tests to validate changes. Use filters to target specific tests when needed. |
This skill provides testing operations for the project codebase using cargo test.
Use this skill when you need to run tests and have decided testing is warranted:
Start with the smallest scope that covers the change. Only broaden if you need more confidence.
just test with optional filtersjust test [EXTRA_FLAGS]
Runs tests using cargo test. Integration tests require GITHUB_TOKEN environment variable.
Examples:
just test - run all testsjust test -- --nocapture - run with output capture disabledjust test my_test_name - run specific test by namejust test --lib - run only unit tests (library tests)just test --test integration_test_name - run specific integration testThis test command is pre-approved and can be run without user permission:
just test - Safe, runs tests with optional filtersjust test with optional filters for targeted testingGITHUB_TOKEN environment variable to be setYou can pass extra flags to cargo through the EXTRA_FLAGS parameter:
test_name - run tests matching name-- --nocapture - show println! output--lib - run only unit tests--test <name> - run specific integration testcargo test directly - Use just test for proper configurationGITHUB_TOKEN environment variable for integration testsCode Change → Format → Check → Clippy → Targeted Tests (when needed)
↑ ↓
←── Fix failures ──────────┘
If tests fail:
just fmt-rs-file or just fmt-rs)just check-rs)After required tests pass:
ampup)GITHUB_TOKEN environment variableampup/src/tests/