BumpyClock/agent-templates / skills/programming
programming
UnverifiedImplement, debug, refactor, or review code with scoped changes and evidence.
references/gpui/references/test-examples.md
View on GitHub# Test execution
Use the repository's test command and supported platform.
When no wrapper applies, select the affected package and test:
```bash
cargo test -p <package> <test-filter>
```
When the package exposes a `test-support` feature, enable it if the selected test requires it:
```bash
cargo test -p <package> --features test-support <test-filter>
```
Replace placeholders with names from the workspace.
Do not add a feature or CI workflow merely because this example mentions one.
`--test-threads=1` controls Rust test concurrency, not GPUI randomized test iterations.
For a performance claim, use the project's benchmark or a representative runtime measurement.
An arbitrary elapsed-time assertion in a unit test is not a portable performance threshold.
For runnable test examples, inspect the matching revision's
[test context source](https://github.com/zed-industries/zed/blob/main/crates/gpui/src/app/test_context.rs).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |