一键导入
swarm-testing-quality
Property-based testing, fuzzing, and edge case coverage. Use when adding comprehensive test coverage with proptest or cargo-fuzz.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Property-based testing, fuzzing, and edge case coverage. Use when adding comprehensive test coverage with proptest or cargo-fuzz.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
GOAP-based orchestrator for managing GitHub issues, creating action plans, and executing workspace operations with branch/PR workflow.
Configure and troubleshoot npm OIDC Trusted Publishing for GitHub Actions. Use when npm publish fails with E404, OIDC errors, or provenance issues.
GitHub release management, crates.io trusted publishing, npm provenance, and GitHub Pages documentation. Use when creating releases, publishing packages, or deploying docs.
Git commit conventions, validation gates, and CI/CD workflows. Use when committing changes, verifying gates, or working with GitHub Actions.
Validate merge readiness with atomic commits and GitHub Actions checks using gh CLI; use for pre-merge verification and CI truth validation.
Apply TRIZ inventive principles to solve problems that seem to have no good solution. Use after triz-analysis has identified contradictions.
| name | swarm-testing-quality |
| description | Property-based testing, fuzzing, and edge case coverage. Use when adding comprehensive test coverage with proptest or cargo-fuzz. |
This project uses separate integration test files in tests/. Run specific tests:
cargo test --test <test_file_name>
tests/ directoryproptest dependency to Cargo.tomltests/ with property testsfuzz/ directory with cargo-fuzz targetsfrom_bytes(to_bytes(v)) == v (roundtrip)cosine_similarity(v, v) == 1.0 (self-similarity)cosine_similarity(a, b) == cosine_similarity(b, a) (symmetry)cosine_similarity(a, b) in [-1.0, 1.0] (bounds)reset() clears state to zerosstep() with same input produces same output after reset()to_hypervector() fails if size < 10240save_concept(c); load_concept(c.id) == Some(c) (roundtrip)delete_concept(id); load_concept(id) == None (deletion)# Run property tests
cargo test --test <test_name>
# Run fuzzer (requires cargo-fuzz)
cargo fuzz run fuzz_hvec_from_bytes
All files must remain ≤ 500 lines. Create new test files rather than inflating existing ones.