pr-test-analyzer
PR test coverage analyzer. Use when reviewing PR tests, finding missing tests, or checking edge case coverage.
Why use this skill?
Improve code quality with the PR Test Analyzer. Automatically detect missing test coverage, critical regression risks, and edge cases in your pull requests.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-pr-test-analyzerWhat This Skill Does
The pr-test-analyzer is an intelligent agent skill designed to audit pull requests for insufficient testing. It bridges the gap between raw code changes and robust verification by mapping modifications to their corresponding test suites. By evaluating coverage through the lens of behavioral verification rather than just line-by-line metrics, it ensures that your PRs are resilient, maintainable, and regression-proof. The analyzer identifies high-risk areas—such as security flaws, data persistence errors, and edge-case failures—and generates a structured report prioritizing fixes by severity, ranging from mission-critical security patches to useful edge-case hardening.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/anton-abyzov/sw-pr-test-analyzer
Ensure you have the necessary repository permissions configured within OpenClaw to allow the agent access to your codebase.
Use Cases
- PR Auditing: Quickly assess if a developer has included adequate tests for complex logic changes.
- Refactoring Safety: Use the analyzer before merging major refactors to verify that existing behavior remains consistent.
- Onboarding Assistance: Help junior developers understand the required testing standards by providing objective feedback on their PRs.
- CI/CD Optimization: Identify which code paths are frequently missed in automated test suites, allowing for strategic test suite expansion.
Example Prompts
- "Analyze the current PR changes and generate a coverage gap report for all files modified in the last commit."
- "Review the authentication service updates in this PR. Are there any edge cases regarding expired tokens or malformed headers that we are missing?"
- "Evaluate the test coverage for the new payment gateway integration and list any critical paths currently lacking unit or integration tests."
Tips & Limitations
- Behavioral Focus: The agent prioritizes functional outcomes. If your test suite is heavily tied to implementation details, the agent may suggest refactoring tests to be more resilient.
- Context Awareness: The analyzer is most effective when the codebase follows standard naming conventions (e.g.,
src/foo.tsmapping totests/foo.test.ts). If your project uses a non-standard structure, provide a brief mapping context to the agent. - Manual Verification: While highly accurate, the analyzer's output should be reviewed by a human senior developer to verify the business logic context, especially in complex system architectures.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anton-abyzov-sw-pr-test-analyzer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.