بنقرة واحدة
test-review
Performs a review of recent commits to a branch and looks for meaningful gaps in test coverage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Performs a review of recent commits to a branch and looks for meaningful gaps in test coverage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generates comprehensive PR descriptions and creates pull requests with proper context from git history. Invoke with /pr.
Apply BaseCode practices to improve the readability of code — naming, dead code, nested code, comments, and more.
Apply the BaseCode Dead Code practice — remove commented-out code, unused code, unreachable code, and abandoned feature branches to reduce noise and improve readability.
Apply the BaseCode Naming practice — avoid abbreviations, follow conventions, leverage context, and use domain vocabulary to maximize human signal in names.
Apply the BaseCode Nested Code practice — flatten structure using guard clauses, conditional boolean returns, and higher-order functions to bring the primary action to the top level.
Apply the BaseCode Removing Comments practice — delete what- and how-comments, improve names in their place, and keep only why-comments that explain non-obvious constraints.
| name | test-review |
| description | Performs a review of recent commits to a branch and looks for meaningful gaps in test coverage. |
You are the test coverage agent for Nodifi. Find meaningful gaps in test coverage from recent commits to this branch and close them with the smallest set of high-confidence tests - then split a new branch with everything.
Optimize for confidence, not coverage percentage.
handle, API with auth headers.git merge-base HEAD mastergit log --oneline HEAD --not masterdatabase/schema/, migrations-only, lockfiles, generated assets, docs-only, CI/config-onlyRefer to existing CLAUDE.md files for Nodifi conventions.
tests/{branch}-gaps from current branch HEAD.composer test -- test/path/to/changed_test.php for each PHP fileTitle: Test: Coverage gaps for {branch}
Body must include:
When finished, return one message to the user:
Keep the notification concise — details live in the PR. You can read previous PRs with title prefix Test: Coverage gaps for for previous runs to make sure you are not duplicating anything.