[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79D136V4RYGFK0K9NQ0QEZT":3,"skill-same:01M79D136V4RYGFK0K9NQ0QEZT":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79D136V4RYGFK0K9NQ0QEZT","test-correctness-review",null,"MUST invoke to review whether tests are valid, correctly implemented, and prove the behavior they claim. Checks setup, execution, mocks, and assertions for false-confidence risks. Use test-coverage-review for changed-code coverage and requirements-to-tests-traceability for requirement mapping.","JanMichaelSE\u002Fagentic-marketplace","JanMichaelSE","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55473580?v=4","01M79CW862FGHY91NG8DDRRFJC","Jan M Montalvo","01M79CW86M2NJQNRZ41VP9AJ51",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Freview-toolkit\u002Fskills\u002Ftest-correctness-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-correctness-review\ndescription: \"MUST invoke to review whether tests are valid, correctly implemented, and prove the behavior they claim. Checks setup, execution, mocks, and assertions for false-confidence risks. Use test-coverage-review for changed-code coverage and requirements-to-tests-traceability for requirement mapping.\"\n---\n\n# Test Correctness Review\n\nReview whether the tests themselves are honest, strong, and correctly implemented.\n\nThis skill is not about \"is there enough test coverage?\" and it is not about \"does every requirement have a test?\" It answers a narrower question:\n\n\"If this test says it verifies behavior X, does its setup, execution path, and assertions actually prove behavior X?\"\n\n## When to Use\n\n- When the user wants to know whether added or updated tests are implemented correctly\n- When the user suspects a test may pass for the wrong reason\n- When the user asks whether assertions are strong enough to prove the named behavior\n- When the user wants a review focused on false confidence in tests rather than coverage or traceability\n\n## Inputs\n\nCollect or infer these inputs before reviewing:\n\n1. **Review target** — staged changes, unstaged changes, `HEAD`, a commit\u002Frange, branch diff, PR, or specific test files\n2. **Code repo path** — repository containing the tests and nearby implementation\n3. **Optional context** — PR description, bug report, acceptance criteria, or user explanation of the intended behavior\n4. **Optional context repo path** — if a saved artifact is desired\n\nNo formal requirements document is required.\n\n## Workflow\n\n### 1. Scope the tests under review\n\n- Identify added or updated test files in the review target.\n- If the user named specific tests, focus on those even if they were not changed in the diff.\n- Read the nearby production code, fixtures, mocks, helpers, and test utilities needed to understand the test mechanics.\n\n### 2. Derive each test's claimed intent\n\nFor each important added or changed test:\n\n- infer the claimed behavior from the test name, suite name, comments, docstring, or surrounding PR text\n- restate that claim in concrete terms before judging the test\n- note ambiguity explicitly instead of guessing what the author intended\n\n### 3. Check whether the test actually reaches the intended behavior\n\nLook for:\n\n- setup data that never reaches the branch or condition named by the test\n- fixtures or mocks that short-circuit the interesting behavior before it is exercised\n- tests that patch the very method or helper they are supposed to validate\n- parameterized cases that look distinct but all drive the same code path\n- negative-path tests whose arrange step cannot actually trigger the failure being claimed\n\n### 4. Check whether the assertions truly prove the claim\n\nLook for:\n\n- assertions that only confirm setup, mock wiring, or call counts rather than the claimed behavior\n- assertions broad enough that several incorrect implementations would still pass\n- expected values produced by the same helper, algorithm, or transformation as the implementation under test\n- tests named for one behavior but asserting a different side effect\n- assertions on internal implementation details when observable behavior is the real contract\n- tests that execute the code path but do not assert the critical outcome\n- tests that would still pass under the most plausible regression of the behavior they claim to guard\n\n### 5. Check for false-confidence patterns\n\nLook for:\n\n- missing `await`, swallowed exceptions, or assertions that never run\n- exception tests that only assert type while ignoring message, state, or side effects when those details matter\n- over-mocked tests that prove the mock contract, not the real behavior\n- snapshot or golden assertions that do not pin the specific claimed behavior\n- order dependence, shared mutable state, or global state leakage that makes the result misleading\n- time, retry, async, or concurrency tests that are nondeterministic or not properly controlled\n\n### 6. Use cheap verification when it reduces uncertainty\n\n- Run targeted tests when they are easy and reliable in the repo.\n- Prefer narrow commands over full-suite runs.\n- If no command is run, make that explicit in the report.\n- Do not mutate production code just to force a failure unless the user explicitly asks for that style of validation.\n\n### 7. Verify before reporting\n\n- Anchor findings to specific test code and, when needed, the implementation it exercises.\n- Read enough surrounding code to confirm the test is misleading or weak for the stated reason.\n- If a test is unusual but defensible, leave it alone or downgrade it to an open question.\n\n\n## Output Format\n\nStructure the report like this:\n\n```text\n# Test Correctness Review: \u003Cfeature or PR name>\n\n**Date:** YYYY-MM-DD\n**Review target:** staged changes \u002F commit range \u002F PR\n**Code repo:** \u003Crepo-name> (branch: \u003Cbranch>)\n**Verification run:** \u003Ctargeted tests or \"not run\">\n\n## Findings\n\n1. [tests\u002Fpath_test.py:line] Severity: high\n   \u003COne or two concise sentences describing why the test is misleading, weak, or invalid and what false confidence it creates.>\n\n2. [tests\u002Fpath_test.py:line] Severity: medium\n   \u003CFinding with test and implementation context.>\n\n## Test Intent Matrix\n\n| Test | Claimed Behavior | What It Actually Proves | Status | Notes |\n|------|------------------|-------------------------|--------|-------|\n| `tests\u002Ftest_auth.py::test_rejects_expired_token` | Expired tokens are rejected by expiry validation | Only proves unauthenticated requests return 401 | MISLEADING | Would also pass if header parsing failed before expiry logic ran |\n| `tests\u002Ftest_jobs.py::test_retries_three_times` | Job retries stop after third failure | Proves one retry occurs and error is surfaced | WEAK | Retry count assertion never checks the final stop condition |\n| `tests\u002Ftest_users.py::test_create_user_persists_email` | User email is persisted exactly once | Proves stored record contains the requested email | VALID | Observable behavior is asserted directly |\n\n## False Confidence Hotspots\n\n- \u003CAreas where passing tests are likely to overstate confidence>\n\n## Open Questions \u002F Assumptions\n\n- \u003CQuestion or assumption if needed>\n\n## Summary\n\n\u003COne paragraph summarizing overall test correctness health and the biggest risks>\n```\n\n## Status Meanings\n\n- `VALID` — the test meaningfully proves the behavior it claims to verify\n- `WEAK` — the test exercises relevant behavior but important assertions or controls are missing\n- `MISLEADING` — the test name or intent overclaims what the test actually proves\n- `BROKEN` — the test is invalid, unreachable, inherently flaky, or does not exercise the claimed behavior at all\n\n## Severity Guidance\n\n- **High** — the test is actively misleading, passes for the wrong reason, or would fail to catch a likely regression in critical behavior\n- **Medium** — the test partially validates the claim but leaves important loopholes or relies on fragile mechanics\n- **Low** — the test is mostly sound but has a localized weakness worth tightening\n\n## Comment Rules\n\n- High confidence only\n- Maximum two sentences per finding\n- No duplicate findings\n- Focus on the test's claimed behavior versus what it actually proves\n- Prefer concrete false-confidence scenarios over abstract comments like \"weak test\"\n\n## Save the Review\n\nIf a context repo is available, save the report to:\n\n```text\n\u003Ccontext-repo>\u002F\u003Cjira-key>-\u003Cshort-description>\u002Freviews\u002F\u003Cfeature>-test-correctness-review-\u003Cdate>.md\n```\n\nOtherwise present the review in chat only.\n\n## Differentiation from Other Review Skills\n\n| Skill | Primary question |\n|-------|------------------|\n| **test-correctness-review** | Do the tests actually prove the behavior they claim to test |\n| **test-coverage-review** | Do the changed tests cover the changed code and likely regression paths |\n| **requirements-to-tests-traceability** | Do the tests map to the stated requirements or acceptance criteria |\n\n## Related Skills\n\n- **test-coverage-review** — change-based coverage and regression detection\n- **requirements-to-tests-traceability** — requirement-to-test mapping\n- **orchestrated-review** — multi-lens review bundle\n","# Test Correctness Review\n\nReview whether the tests themselves are honest, strong, and correctly implemented.\n\nThis skill is not about \"is there enough test coverage?\" and it is not about \"does every requirement have a test?\" It answers a narrower question:\n\n\"If this test says it verifies behavior X, does its setup, execution path, and assertions actually prove behavior X?\"\n\n## When to Use\n\n- When the user wants to know whether added or updated tests are implemented correctly\n- When the user suspects a test may pass for the wrong reason\n- When the user asks whether assertions are strong enough to prove the named behavior\n- When the user wants a review focused on false confidence in tests rather than coverage or traceability\n\n## Inputs\n\nCollect or infer these inputs before reviewing:\n\n1. **Review target** — staged changes, unstaged changes, `HEAD`, a commit\u002Frange, branch diff, PR, or specific test files\n2. **Code repo path** — repository containing the tests and nearby implementation\n3. **Optional context** — PR description, bug report, acceptance criteria, or user explanation of the intended behavior\n4. **Optional context repo path** — if a saved artifact is desired\n\nNo formal requirements document is required.\n\n## Workflow\n\n### 1. Scope the tests under review\n\n- Identify added or updated test files in the review target.\n- If the user named specific tests, focus on those even if they were not changed in the diff.\n- Read the nearby production code, fixtures, mocks, helpers, and test utilities needed to understand the test mechanics.\n\n### 2. Derive each test's claimed intent\n\nFor each important added or changed test:\n\n- infer the claimed behavior from the test name, suite name, comments, docstring, or surrounding PR text\n- restate that claim in concrete terms before judging the test\n- note ambiguity explicitly instead of guessing what the author intended\n\n### 3. Check whether the test actually reaches the intended behavior\n\nLook for:\n\n- setup data that never reaches the branch or condition named by the test\n- fixtures or mocks that short-circuit the interesting behavior before it is exercised\n- tests that patch the very method or helper they are supposed to validate\n- parameterized cases that look distinct but all drive the same code path\n- negative-path tests whose arrange step cannot actually trigger the failure being claimed\n\n### 4. Check whether the assertions truly prove the claim\n\nLook for:\n\n- assertions that only confirm setup, mock wiring, or call counts rather than the claimed behavior\n- assertions broad enough that several incorrect implementations would still pass\n- expected values produced by the same helper, algorithm, or transformation as the implementation under test\n- tests named for one behavior but asserting a different side effect\n- assertions on internal implementation details when observable behavior is the real contract\n- tests that execute the code path but do not assert the critical outcome\n- tests that would still pass under the most plausible regression of the behavior they claim to guard\n\n### 5. Check for false-confidence patterns\n\nLook for:\n\n- missing `await`, swallowed exceptions, or assertions that never run\n- exception tests that only assert type while ignoring message, state, or side effects when those details matter\n- over-mocked tests that prove the mock contract, not the real behavior\n- snapshot or golden assertions that do not pin the specific claimed behavior\n- order dependence, shared mutable state, or global state leakage that makes the result misleading\n- time, retry, async, or concurrency tests that are nondeterministic or not properly controlled\n\n### 6. Use cheap verification when it reduces uncertainty\n\n- Run targeted tests when they are easy and reliable in the repo.\n- Prefer narrow commands over full-suite runs.\n- If no command is run, make that explicit in the report.\n- Do not mutate production code just to force a failure unless the user explicitly asks for that style of validation.\n\n### 7. Verify before reporting\n\n- Anchor findings to specific test code and, when needed, the implementation it exercises.\n- Read enough surrounding code to confirm the test is misleading or weak for the stated reason.\n- If a test is unusual but defensible, leave it alone or downgrade it to an open question.\n\n\n## Output Format\n\nStructure the report like this:\n\n```text\n# Test Correctness Review: \u003Cfeature or PR name>\n\n**Date:** YYYY-MM-DD\n**Review target:** staged changes \u002F commit range \u002F PR\n**Code repo:** \u003Crepo-name> (branch: \u003Cbranch>)\n**Verification run:** \u003Ctargeted tests or \"not run\">\n\n## Findings\n\n1. [tests\u002Fpath_test.py:line] Severity: high\n   \u003COne or two concise sentences describing why the test is misleading, weak, or invalid and what false confidence it creates.>\n\n2. [tests\u002Fpath_test.py:line] Severity: medium\n   \u003CFinding with test and implementation context.>\n\n## Test Intent Matrix\n\n| Test | Claimed Behavior | What It Actually Proves | Status | Notes |\n|------|------------------|-------------------------|--------|-------|\n| `tests\u002Ftest_auth.py::test_rejects_expired_token` | Expired tokens are rejected by expiry validation | Only proves unauthenticated requests return 401 | MISLEADING | Would also pass if header parsing failed before expiry logic ran |\n| `tests\u002Ftest_jobs.py::test_retries_three_times` | Job retries stop after third failure | Proves one retry occurs and error is surfaced | WEAK | Retry count assertion never checks the final stop condition |\n| `tests\u002Ftest_users.py::test_create_user_persists_email` | User email is persisted exactly once | Proves stored record contains the requested email | VALID | Observable behavior is asserted directly |\n\n## False Confidence Hotspots\n\n- \u003CAreas where passing tests are likely to overstate confidence>\n\n## Open Questions \u002F Assumptions\n\n- \u003CQuestion or assumption if needed>\n\n## Summary\n\n\u003COne paragraph summarizing overall test correctness health and the biggest risks>\n```\n\n## Status Meanings\n\n- `VALID` — the test meaningfully proves the behavior it claims to verify\n- `WEAK` — the test exercises relevant behavior but important assertions or controls are missing\n- `MISLEADING` — the test name or intent overclaims what the test actually proves\n- `BROKEN` — the test is invalid, unreachable, inherently flaky, or does not exercise the claimed behavior at all\n\n## Severity Guidance\n\n- **High** — the test is actively misleading, passes for the wrong reason, or would fail to catch a likely regression in critical behavior\n- **Medium** — the test partially validates the claim but leaves important loopholes or relies on fragile mechanics\n- **Low** — the test is mostly sound but has a localized weakness worth tightening\n\n## Comment Rules\n\n- High confidence only\n- Maximum two sentences per finding\n- No duplicate findings\n- Focus on the test's claimed behavior versus what it actually proves\n- Prefer concrete false-confidence scenarios over abstract comments like \"weak test\"\n\n## Save the Review\n\nIf a context repo is available, save the report to:\n\n```text\n\u003Ccontext-repo>\u002F\u003Cjira-key>-\u003Cshort-description>\u002Freviews\u002F\u003Cfeature>-test-correctness-review-\u003Cdate>.md\n```\n\nOtherwise present the review in chat only.\n\n## Differentiation from Other Review Skills\n\n| Skill | Primary question |\n|-------|------------------|\n| **test-correctness-review** | Do the tests actually prove the behavior they claim to test |\n| **test-coverage-review** | Do the changed tests cover the changed code and likely regression paths |\n| **requirements-to-tests-traceability** | Do the tests map to the stated requirements or acceptance criteria |\n\n## Related Skills\n\n- **test-coverage-review** — change-based coverage and regression detection\n- **requirements-to-tests-traceability** — requirement-to-test mapping\n- **orchestrated-review** — multi-lens review bundle\n",{"name":5,"description":7},"main","d9e185f133b5cbcd785341095a241d0c64d8310d","plugins\u002Freview-toolkit\u002Fskills\u002Ftest-correctness-review",0,"https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace","https:\u002F\u002Fgithub.com\u002FJanMichaelSE","Software Developer | B.S. Computer Science ","2026-11-14 06:36:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add JanMichaelSE\u002Fagentic-marketplace --skill test-correctness-review",{"tool":38,"command":39},"bunx","bunx skills add JanMichaelSE\u002Fagentic-marketplace --skill test-correctness-review",{"tool":41,"command":42},"pnpm","pnpm dlx skills add JanMichaelSE\u002Fagentic-marketplace --skill test-correctness-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Freview-toolkit\u002Fskills\u002Ftest-correctness-review\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",292,"https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Freview-toolkit\u002Fskills\u002Ftest-correctness-review\u002Fagents\u002Fopenai.yaml",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79D1SP72BJKFZDHH2W0VT9G","ui-ux-pro-max","UI\u002FUX design intelligence for web and mobile. Local database with 79 searchable styles (88 catalog entries), 192 color palettes, 74 font pairings, 192 product types, 119 UX guidelines, 105 curated icon entries, 17 GSAP motion presets, and 25 chart types across 22 stacks (React, Next.js, Vue, Nuxt, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn\u002Fui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js, and HTML\u002FCSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fui-ux\u002Fskills\u002Fui-ux-pro-max\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79D1NPRNKYC0GNSPQBG02AD","figma-mcp","Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fui-ux\u002Fskills\u002Ffigma-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79D1HW8E8EBKHYD0VRPAGDB","improve-codebase-architecture","Find evidence-based, active-change architecture improvements using shared design and domain-modeling guidance. Use when a user wants to reduce architectural friction, deepen a module, or make a current change safer, more testable, and easier to navigate.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fsoftware-architecture\u002Fskills\u002Fimprove-codebase-architecture\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79D1E9DJ22BZN68FGNEY6H9","domain-modeling","Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing GLOSSARY.md or CONTEXT.md, or recording or editing an ADR.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fsoftware-architecture\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79D1BWY6DT3SDNRVRJV73PH","codebase-design","Provide the shared vocabulary and discipline for designing deep modules with clear interfaces and seams. Use when a user wants to design or improve a module, find deepening opportunities, choose a seam, or make code more testable and AI-navigable.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fsoftware-architecture\u002Fskills\u002Fcodebase-design\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79D176DSM0779MS5PCW022A","test-coverage-review","MUST invoke to review whether added or updated tests cover code changes in a diff. Checks new logic, branches, error paths, and regression risk, producing a change-to-test matrix. Use requirements-to-tests-traceability for acceptance-criteria mapping and orchestrated-review for bundled reviews.","https:\u002F\u002Fgithub.com\u002FJanMichaelSE\u002Fagentic-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Freview-toolkit\u002Fskills\u002Ftest-coverage-review\u002FSKILL.md",[],[]]