一键导入
testing
Testing conventions for pikru. Use when running tests to avoid timeouts. DO NOT run the full test suite.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Testing conventions for pikru. Use when running tests to avoid timeouts. DO NOT run the full test suite.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Code annotation requirements for pikru. Use when writing or porting Rust functions from C code. All ported functions must have cref comments.
Codebase organization for pikru. Use when you need to find where specific functionality lives.
Debugging conventions for pikru. Use when adding debug traces or investigating issues. Important rule - leave debug traces in place.
Git command conventions for pikru. Use when running any git commands to avoid blocking on interactive pager.
Idiomatic Rust patterns for pikru C port. Use when writing or reviewing Rust code ported from C. Don't write C in Rust - the goal is correct behavior, not line-by-line translation.
Create minimal subtests to isolate and fix complex bugs. Use when a test fails and the issue is buried in complexity.
| name | testing |
| description | Testing conventions for pikru. Use when running tests to avoid timeouts. DO NOT run the full test suite. |
DO NOT run the full test suite with cargo test - it times out and hangs.
Run specific tests only:
cargo test test01 -- --nocapture
cargo test test12 -- --nocapture
Never try to count/grep test results from the full suite - it will hang.
The pikru test suite runs pikchr rendering comparisons which can be slow. Running all tests at once exceeds reasonable timeout limits.