원클릭으로
test-gaps
Hunt down test coverage gaps in the server meshing system, write tests to fill them, and verify against AKS.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Hunt down test coverage gaps in the server meshing system, write tests to fill them, and verify against AKS.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Full development pipeline — architect a feature, get user approval, then implement, test, and audit it using the mesh agent team.
Develop features for the server meshing system — implement, test against AKS, verify with Playwright, and deploy.
Optimize the server meshing system — benchmark, identify bottlenecks, implement fixes, verify, and deploy against the live AKS cluster.
Ship the current branch — commit, rename, push, create PR, merge to main, and create a new branch for the next piece of work.
| name | test-gaps |
| description | Hunt down test coverage gaps in the server meshing system, write tests to fill them, and verify against AKS. |
| user-invocable | true |
Find untested code paths, write unit and integration tests, verify they catch real bugs.
.claude/skills/test-gaps/PASS_LOG.md for history of prior runs.claude/skills/mesh-dev/CHANGELOG.md for known issues and recent changesCheck what exists and what doesn't:
# Rust unit tests
grep -r "#\[test\]" crates/ --include="*.rs" -l
# Rust integration tests
ls crates/*/tests/ 2>/dev/null
# TypeScript test files
find tools/ client/ -name "*.test.ts" -o -name "*.spec.ts" 2>/dev/null
# Existing test tools
ls tools/test-suite/scenarios/
ls tools/browser-test.ts tools/client-sim.ts tools/diagnose*.ts 2>/dev/null
Hunt gaps in this order (highest risk first):
ClientMessage, ServerMessage, CoordClientMsg, CoordServerMsg variantsAdd #[cfg(test)] mod tests { ... } at the bottom of the source file being tested.
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_example() {
// ...
}
}
Run: cargo test -p <crate>
Create crates/<crate>/tests/<name>.rs for cross-module tests.
Run: cargo test -p <crate> --test <name>
For protocol/decoder tests, create files in tools/tests/ using Node's built-in assert.
Run: npx tsx tools/tests/<name>.ts
Use existing tools:
GW_IP=$(kubectl get svc gateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
npx tsx browser-test.ts ws://${GW_IP}
npx tsx test-suite/runner.ts ws://${GW_IP} 8101 3 --no-color --json <scenario>
Explore each crate/module. For every public function, check:
Pick the highest-risk untested code path from the priority list above.
Write focused tests that:
test_authority_transfer_removes_from_source# Rust
cargo test --workspace
# TypeScript
npx tsx tools/tests/<name>.ts
# Integration (if applicable)
npx tsx browser-test.ts ws://${GW_IP}
Append results to .claude/skills/test-gaps/PASS_LOG.md (keep last 5).
Each entry in .claude/skills/test-gaps/PASS_LOG.md:
## Run [N] — [date] — [area covered]
- **Files tested**: list of source files that got new tests
- **Tests added**: count and names
- **Gaps found**: what was untested
- **Gaps remaining**: what still needs tests
- **All tests pass**: YES/NO
- **Notes**: anything notable (bugs found by tests, etc.)
shared cratecargo test --workspace must pass