[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BTHC9YP08V0S9HXH78R9FT":3,"skill-same:01M6BTHC9YP08V0S9HXH78R9FT":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":17,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6BTHC9YP08V0S9HXH78R9FT","pr-create","GitHub PR 草稿创建","Create a GitHub pull request as a draft, auto-generating title and body from commits","创建 GitHub 拉取请求（PR）草稿，根据提交记录自动生成标题和正文。","ahmedelgabri\u002Fdotfiles","ahmedelgabri","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F63876?v=4","01M6BTGT61KWRDXN595X7Q8ZRY","Ahmed El Gabri","01M6BTGTAFSBR3A7ZFXK5QDHVZ",291,"Unlicense",null,"https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Fpr-create\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"pr","create","pr create","github","pull request","pull","commits","Bash","grep","read","auto","draft","as","request","title","body","2026-11-10 10:12:30",false,"---\nname: gen-ut\ndescription: >-\n  Generate standard unit tests for one or more target classes in Apache ShardingSphere;\n  cover requested behavior and every affected SUT-owned branch, enforce an explicitly requested numeric coverage target, and pass quality gates;\n  perform explicit merge analysis, suitability filtering, and refactor optimization for parameterized tests.\n---\n\n# Generate Unit Tests\n\n## Inputs and Scope\n\nRequire target production classes, preferably as fully-qualified names. Accept an optional module and optional test-class execution filter.\nDiscover related tests by the exact `\u003CTargetClassName>Test` convention and update them in place; create that class only when none exists.\n\nResolve:\n\n- `\u003CResolvedTargetClasses>`: requested production classes.\n- `\u003CResolvedTestFileSet>`: only related test Java files and required test resources that may be edited.\n- `\u003CResolvedTestModules>`: explicit Maven modules owning those tests.\n- `\u003CResolvedTestClass>`: focused test-class filter for execution.\n\nUse an explicitly supplied module first. Otherwise resolve the nearest owning `pom.xml` from test files, then target sources.\nIf target classes or modules cannot be resolved, return `R10-INPUT_BLOCKED`.\n\n## Ownership Terms\n\n- `SUT-owned behavior`: decisions, branches, state changes, calls, results, or error handling owned by the target class.\n- `Collaborator-owned behavior`: behavior computed by an SPI, registry, factory, parser, loader, driver, dialect, metadata option, or another dependency.\n- `Testing through layers`: driving or asserting collaborator-owned rules instead of mocking the result consumed by the target.\n- `KEEP:\u003Cid>:\u003Creason>`: evidence for retaining an otherwise redundant candidate because removal materially harms readability or diagnosis.\n- `Task scope baseline`: structured pre-edit snapshot of the allowed test files and every dirty path outside them.\n\n## Mandatory Rules\n\n`MUST`, `SHOULD`, and `MAY` are normative. This section is the source of `R1-R15`; workflow and command examples do not override it.\n\n### R1: Repository authority\n\nBefore any test write, read `AGENTS.md` and [code-implementation\u002FSKILL.md](..\u002Fcode-implementation\u002FSKILL.md) through EOF, then read every reference selected by that base Skill for this task through EOF, including its implementation, testing, contract, impact, removal, non-regression, and verification rules.\nFollow the applicable `CODE_OF_CONDUCT.md` sections.\nThe base Skill owns universal implementation, testing, non-regression, verification, and completion requirements; this Skill adds target resolution, coverage, branch-map, parameterization, and scanner requirements for systematic unit-test generation.\nReading either Skill does not expand the user-authorized scope, file types, Git authority, or other permissions.\n\n### R2: Test form and naming\n\nApply the Unit Testing Standards in [CODE_OF_CONDUCT.md](..\u002F..\u002F..\u002FCODE_OF_CONDUCT.md#unit-testing-standards) to test forms, naming, parameter sources, scenario dispatch, and nested types.\n\n### R3: Change boundary\n\n- Edit only `\u003CResolvedTestFileSet>` under `src\u002Ftest\u002Fjava` or `src\u002Ftest\u002Fresources`.\n- Do not edit production, generated output, unrelated tests, or another file type.\n- Capture `Task scope baseline` after resolving the file set and before editing. Any candidate-relevant changed path outside that set is a failure,\n  including further mutation of a path already dirty at task start. Exclude only untracked or ignored reproducible verification outputs such as Maven `target\u002F`\n  and Python `__pycache__\u002F`; they are not editable scope and must not be modified intentionally.\n- Obtain explicit approval before expanding scope. Never use destructive Git operations.\n\n### R4: Branch map\n\n- Before coding, enumerate target public-method branches and map each planned scenario to one branch or path.\n- Classify every trigger and assertion as SUT-owned or collaborator-owned. Isolate collaborator-owned results at the nearest stable boundary and apply `R6` to decide whether to mock them.\n- Exclude Lombok-generated behavior without custom logic. Default to one test per branch or path; use `R13` for additional cases.\n\n### R5: Scenario granularity\n\n- Keep one scenario per test and invoke the target public method once by default. Invoke it more than once only when repeated invocation is itself the scenario, such as idempotency, accumulation, or a state transition.\n- Keep the coverage-relevant invocation and its externally observable assertions in the test body. Helpers and providers must not execute target behavior.\n- For interface targets, test owned `default` or `static` methods directly. Exercise abstract contracts through concrete implementations, including when the user explicitly requests an interface-contract test.\n\n### R6: SPI, mocks, and reflection\n\n- Exercise interface default methods with Mockito `CALLS_REAL_METHODS`.\n- Obtain SPI targets through the applicable project loader and keep the resolved instance as a test-class field by default. Record a concrete reason before bypassing the loader.\n- Mock heavy dependencies and collaborator-owned decisions. Allow real simple values and explicitly scoped integration, contract, or E2E behavior.\n\n### R7: Related tests\n\nUpdate existing related tests in place and fill missing coverage first. An explicit test-class input filters execution only; it does not replace related-test discovery.\nCreate a new exact-name test class only when none exists.\n\n### R8: Parameterization analysis\n\nFor each target public method, record `R8-CANDIDATES` with the method, candidate count, decision, and evidence. A candidate is high-fit only when all are true:\n\n1. target method is the same;\n2. differences are mainly input data;\n3. the same form of assertion is used;\n4. the group meets the minimum scenario count in `CODE_OF_CONDUCT.md`.\n\nCollaborator-owned differences are not high-fit. Refactor high-fit candidates; otherwise record the concrete reason.\nUse `KEEP` only when a genuinely high-fit refactor would materially reduce readability or diagnosis.\n\nThe scanner discovers possible groups but never decides semantic high-fit. Treat its candidate count as evidence to review, not an instruction to refactor.\n\n### R9: Coverage blockers\n\nWhen unreachable production code blocks coverage, report the class, path, exact line, and reason. Do not change production code within this Skill.\n\n### R10: Completion state\n\nUse exactly one state:\n\n- `R10-INPUT_BLOCKED`: target classes or test modules cannot be resolved.\n- `R10-A`: scope is clean; focused tests execute at least one test for the effective candidate; declared target coverage is met for every target and inner class; repository formatting\u002Fcheckstyle gates pass; the full mechanical scan has no blocking violations under `R11`; semantic reviews and `R8` decisions are complete.\n- `R10-B`: production dead code blocks the target and `R9` evidence is complete.\n- `R10-C`: a blocking out-of-scope failure is evidenced under `R11`.\n- `R10-D`: work remains; continue instead of claiming completion.\n\nPriority is `INPUT_BLOCKED > B > C > A > D`. By default, cover the requested behavior and every affected SUT-owned branch. Apply a numeric CLASS, LINE, or BRANCH target only when the user states it; an explicit 100% target remains mandatory.\n\n### R11: Failures\n\nFix task-introduced or currently relevant in-scope failures and rerun the checks they invalidate.\nTreat a mechanical diagnostic as nonblocking only when the pre-edit baseline proves that it already existed, remains unchanged, and is unrelated to the requested behavior, contracts, coverage target, and verification validity.\nRetain its command, nonzero exit code, diagnostic, and baseline evidence; do not describe the full scan as passing.\nMissing baseline evidence, new or strengthened violations, and relevant historical diagnostics remain blocking.\nFor an out-of-scope failure that blocks a required check, record command, exit code, decisive lines, and blocking file\u002Fline, then request direction.\nRetry transient dependency or network failures at most twice.\nMinimal repair checks never replace final gates.\n\n### R12: Existing full coverage\n\nIf reproducible target-class evidence is already 100%, skip coverage completion and perform only required optimization and quality work.\nMark `R4=N\u002FA (triggered by R12)` and retain the coverage command and report path.\n\n### R13: Necessity trimming\n\n- Treat equal line\u002Fbranch coverage only as a duplicate candidate, never as removal proof.\n- Remove a test only when it adds no unique branch, input class, boundary, calculation path, failure mode, contract, collaborator interaction, or externally observable regression protection.\n- Remove collaborator-only tests from the target unit test and report the separate owner when coverage is needed there.\n- Remove redundant stubs, assertions, and locals that affect neither behavior nor diagnosis. Prefer Mockito defaults when the scenario permits.\n- Apply `KEEP` only to an otherwise redundant item retained for a concrete readability or diagnostic reason; meaningful tests need no tag.\n\n### R14: Boolean assertions\n\nApply the Boolean assertion standard in `CODE_OF_CONDUCT.md` to literal, constant, and variable expectations.\n\n### R15: Delivery gates\n\n- `R15-A`: complete the semantic `R8` decision; the scanner cannot infer high-fit.\n- `R15-B`: review every test against the test-value rule in `CODE_OF_CONDUCT.md`; method names do not decide whether a test is permitted.\n- `R15-C`: compare the final worktree with `Task scope baseline`; any candidate-relevant out-of-scope mutation fails. Ignore only reproducible,\n  untracked or Git-ignored verification outputs.\n- `R15-D`: verify each parameterized test's argument source and actual case count against `CODE_OF_CONDUCT.md`; inspect external, unresolved, or dynamic sources manually.\n- `R15-F`: inspect each `switch` candidate in a parameterized test against the grouping rule in `CODE_OF_CONDUCT.md`.\n- `R15-G`: inspect each new nested-type candidate used in argument sets against the grouping rule in `CODE_OF_CONDUCT.md`.\n  A nested type is not a violation by itself.\n  Unresolved grouping keeps the task at `R10-D`.\n- `R15-H`: review Boolean assertions under `R14`; for assertion-dispatch candidates in parameterized tests, compare the assertion forms against the grouping rule in `CODE_OF_CONDUCT.md`.\n- `R15-I`: inspect callback candidates used in argument sets against the grouping rule in `CODE_OF_CONDUCT.md`.\n  Inspect external, unresolved, or dynamic argument sources manually.\n- `R15-J`: helpers and providers do not invoke target public methods. Treat scanner results as partial evidence and inspect unresolved ownership manually.\n\n## Workflow\n\n1. Complete the `R1` source loading, then read this Skill's [verification commands](references\u002Fverification.md) through EOF.\n2. Resolve targets, related tests, editable files, modules, and input-blocked state.\n3. Create a task-specific temporary directory and capture `Task scope baseline` for the resolved file set.\n4. Run focused baseline coverage and the full scanner through the repository command wrapper, retaining native JaCoCo reports and scanner diagnostics under the verification commands.\n5. Decide `R12`; otherwise record the SUT\u002Fcollaborator ownership boundary and `R4` branch map.\n6. Review scanner candidates against every `R8` condition and record candidate-level decisions.\n7. Check `R9`, then implement the smallest tests allowed by `R2-R7`.\n8. After each coherent edit, run invalidated focused tests and relevant repository Checkstyle checks.\n9. Apply `R13` and inspect semantic `R15-A\u002FB\u002FD\u002FG\u002FI\u002FJ` obligations.\n10. Complete missing or invalidated final coverage, repository formatting\u002Fcheckstyle, and full mechanical checks under the [verification commands](references\u002Fverification.md).\n11. Confirm final scope against the baseline and decide `R10` once from current evidence before delivery.\n\nDo not reuse a prior task's test or coverage result.\nFinal coverage must include executed tests for the effective candidate; use the verification commands to determine whether current evidence remains valid.\n\n## Output\n\nInclude:\n\n- `R10=\u003Cstate>`;\n- native JaCoCo report paths and raw CLASS\u002FLINE\u002FBRANCH counters for every target and inner class, with per-class ratios for each requested numeric metric;\n- `R8-CANDIDATES` with candidate decisions and evidence;\n- branch\u002Fownership mapping, or the `R12` exemption;\n- executed commands, exit codes, and bounded log paths\u002Fsummaries;\n- rule-to-evidence mapping for `R1-R15`;\n- blocker and next action when state is not `R10-A`.\n\nNever use completion wording for `R10-D`.\n","# Generate Unit Tests\n\n## Inputs and Scope\n\nRequire target production classes, preferably as fully-qualified names. Accept an optional module and optional test-class execution filter.\nDiscover related tests by the exact `\u003CTargetClassName>Test` convention and update them in place; create that class only when none exists.\n\nResolve:\n\n- `\u003CResolvedTargetClasses>`: requested production classes.\n- `\u003CResolvedTestFileSet>`: only related test Java files and required test resources that may be edited.\n- `\u003CResolvedTestModules>`: explicit Maven modules owning those tests.\n- `\u003CResolvedTestClass>`: focused test-class filter for execution.\n\nUse an explicitly supplied module first. Otherwise resolve the nearest owning `pom.xml` from test files, then target sources.\nIf target classes or modules cannot be resolved, return `R10-INPUT_BLOCKED`.\n\n## Ownership Terms\n\n- `SUT-owned behavior`: decisions, branches, state changes, calls, results, or error handling owned by the target class.\n- `Collaborator-owned behavior`: behavior computed by an SPI, registry, factory, parser, loader, driver, dialect, metadata option, or another dependency.\n- `Testing through layers`: driving or asserting collaborator-owned rules instead of mocking the result consumed by the target.\n- `KEEP:\u003Cid>:\u003Creason>`: evidence for retaining an otherwise redundant candidate because removal materially harms readability or diagnosis.\n- `Task scope baseline`: structured pre-edit snapshot of the allowed test files and every dirty path outside them.\n\n## Mandatory Rules\n\n`MUST`, `SHOULD`, and `MAY` are normative. This section is the source of `R1-R15`; workflow and command examples do not override it.\n\n### R1: Repository authority\n\nBefore any test write, read `AGENTS.md` and [code-implementation\u002FSKILL.md](..\u002Fcode-implementation\u002FSKILL.md) through EOF, then read every reference selected by that base Skill for this task through EOF, including its implementation, testing, contract, impact, removal, non-regression, and verification rules.\nFollow the applicable `CODE_OF_CONDUCT.md` sections.\nThe base Skill owns universal implementation, testing, non-regression, verification, and completion requirements; this Skill adds target resolution, coverage, branch-map, parameterization, and scanner requirements for systematic unit-test generation.\nReading either Skill does not expand the user-authorized scope, file types, Git authority, or other permissions.\n\n### R2: Test form and naming\n\nApply the Unit Testing Standards in [CODE_OF_CONDUCT.md](..\u002F..\u002F..\u002FCODE_OF_CONDUCT.md#unit-testing-standards) to test forms, naming, parameter sources, scenario dispatch, and nested types.\n\n### R3: Change boundary\n\n- Edit only `\u003CResolvedTestFileSet>` under `src\u002Ftest\u002Fjava` or `src\u002Ftest\u002Fresources`.\n- Do not edit production, generated output, unrelated tests, or another file type.\n- Capture `Task scope baseline` after resolving the file set and before editing. Any candidate-relevant changed path outside that set is a failure,\n  including further mutation of a path already dirty at task start. Exclude only untracked or ignored reproducible verification outputs such as Maven `target\u002F`\n  and Python `__pycache__\u002F`; they are not editable scope and must not be modified intentionally.\n- Obtain explicit approval before expanding scope. Never use destructive Git operations.\n\n### R4: Branch map\n\n- Before coding, enumerate target public-method branches and map each planned scenario to one branch or path.\n- Classify every trigger and assertion as SUT-owned or collaborator-owned. Isolate collaborator-owned results at the nearest stable boundary and apply `R6` to decide whether to mock them.\n- Exclude Lombok-generated behavior without custom logic. Default to one test per branch or path; use `R13` for additional cases.\n\n### R5: Scenario granularity\n\n- Keep one scenario per test and invoke the target public method once by default. Invoke it more than once only when repeated invocation is itself the scenario, such as idempotency, accumulation, or a state transition.\n- Keep the coverage-relevant invocation and its externally observable assertions in the test body. Helpers and providers must not execute target behavior.\n- For interface targets, test owned `default` or `static` methods directly. Exercise abstract contracts through concrete implementations, including when the user explicitly requests an interface-contract test.\n\n### R6: SPI, mocks, and reflection\n\n- Exercise interface default methods with Mockito `CALLS_REAL_METHODS`.\n- Obtain SPI targets through the applicable project loader and keep the resolved instance as a test-class field by default. Record a concrete reason before bypassing the loader.\n- Mock heavy dependencies and collaborator-owned decisions. Allow real simple values and explicitly scoped integration, contract, or E2E behavior.\n\n### R7: Related tests\n\nUpdate existing related tests in place and fill missing coverage first. An explicit test-class input filters execution only; it does not replace related-test discovery.\nCreate a new exact-name test class only when none exists.\n\n### R8: Parameterization analysis\n\nFor each target public method, record `R8-CANDIDATES` with the method, candidate count, decision, and evidence. A candidate is high-fit only when all are true:\n\n1. target method is the same;\n2. differences are mainly input data;\n3. the same form of assertion is used;\n4. the group meets the minimum scenario count in `CODE_OF_CONDUCT.md`.\n\nCollaborator-owned differences are not high-fit. Refactor high-fit candidates; otherwise record the concrete reason.\nUse `KEEP` only when a genuinely high-fit refactor would materially reduce readability or diagnosis.\n\nThe scanner discovers possible groups but never decides semantic high-fit. Treat its candidate count as evidence to review, not an instruction to refactor.\n\n### R9: Coverage blockers\n\nWhen unreachable production code blocks coverage, report the class, path, exact line, and reason. Do not change production code within this Skill.\n\n### R10: Completion state\n\nUse exactly one state:\n\n- `R10-INPUT_BLOCKED`: target classes or test modules cannot be resolved.\n- `R10-A`: scope is clean; focused tests execute at least one test for the effective candidate; declared target coverage is met for every target and inner class; repository formatting\u002Fcheckstyle gates pass; the full mechanical scan has no blocking violations under `R11`; semantic reviews and `R8` decisions are complete.\n- `R10-B`: production dead code blocks the target and `R9` evidence is complete.\n- `R10-C`: a blocking out-of-scope failure is evidenced under `R11`.\n- `R10-D`: work remains; continue instead of claiming completion.\n\nPriority is `INPUT_BLOCKED > B > C > A > D`. By default, cover the requested behavior and every affected SUT-owned branch. Apply a numeric CLASS, LINE, or BRANCH target only when the user states it; an explicit 100% target remains mandatory.\n\n### R11: Failures\n\nFix task-introduced or currently relevant in-scope failures and rerun the checks they invalidate.\nTreat a mechanical diagnostic as nonblocking only when the pre-edit baseline proves that it already existed, remains unchanged, and is unrelated to the requested behavior, contracts, coverage target, and verification validity.\nRetain its command, nonzero exit code, diagnostic, and baseline evidence; do not describe the full scan as passing.\nMissing baseline evidence, new or strengthened violations, and relevant historical diagnostics remain blocking.\nFor an out-of-scope failure that blocks a required check, record command, exit code, decisive lines, and blocking file\u002Fline, then request direction.\nRetry transient dependency or network failures at most twice.\nMinimal repair checks never replace final gates.\n\n### R12: Existing full coverage\n\nIf reproducible target-class evidence is already 100%, skip coverage completion and perform only required optimization and quality work.\nMark `R4=N\u002FA (triggered by R12)` and retain the coverage command and report path.\n\n### R13: Necessity trimming\n\n- Treat equal line\u002Fbranch coverage only as a duplicate candidate, never as removal proof.\n- Remove a test only when it adds no unique branch, input class, boundary, calculation path, failure mode, contract, collaborator interaction, or externally observable regression protection.\n- Remove collaborator-only tests from the target unit test and report the separate owner when coverage is needed there.\n- Remove redundant stubs, assertions, and locals that affect neither behavior nor diagnosis. Prefer Mockito defaults when the scenario permits.\n- Apply `KEEP` only to an otherwise redundant item retained for a concrete readability or diagnostic reason; meaningful tests need no tag.\n\n### R14: Boolean assertions\n\nApply the Boolean assertion standard in `CODE_OF_CONDUCT.md` to literal, constant, and variable expectations.\n\n### R15: Delivery gates\n\n- `R15-A`: complete the semantic `R8` decision; the scanner cannot infer high-fit.\n- `R15-B`: review every test against the test-value rule in `CODE_OF_CONDUCT.md`; method names do not decide whether a test is permitted.\n- `R15-C`: compare the final worktree with `Task scope baseline`; any candidate-relevant out-of-scope mutation fails. Ignore only reproducible,\n  untracked or Git-ignored verification outputs.\n- `R15-D`: verify each parameterized test's argument source and actual case count against `CODE_OF_CONDUCT.md`; inspect external, unresolved, or dynamic sources manually.\n- `R15-F`: inspect each `switch` candidate in a parameterized test against the grouping rule in `CODE_OF_CONDUCT.md`.\n- `R15-G`: inspect each new nested-type candidate used in argument sets against the grouping rule in `CODE_OF_CONDUCT.md`.\n  A nested type is not a violation by itself.\n  Unresolved grouping keeps the task at `R10-D`.\n- `R15-H`: review Boolean assertions under `R14`; for assertion-dispatch candidates in parameterized tests, compare the assertion forms against the grouping rule in `CODE_OF_CONDUCT.md`.\n- `R15-I`: inspect callback candidates used in argument sets against the grouping rule in `CODE_OF_CONDUCT.md`.\n  Inspect external, unresolved, or dynamic argument sources manually.\n- `R15-J`: helpers and providers do not invoke target public methods. Treat scanner results as partial evidence and inspect unresolved ownership manually.\n\n## Workflow\n\n1. Complete the `R1` source loading, then read this Skill's [verification commands](references\u002Fverification.md) through EOF.\n2. Resolve targets, related tests, editable files, modules, and input-blocked state.\n3. Create a task-specific temporary directory and capture `Task scope baseline` for the resolved file set.\n4. Run focused baseline coverage and the full scanner through the repository command wrapper, retaining native JaCoCo reports and scanner diagnostics under the verification commands.\n5. Decide `R12`; otherwise record the SUT\u002Fcollaborator ownership boundary and `R4` branch map.\n6. Review scanner candidates against every `R8` condition and record candidate-level decisions.\n7. Check `R9`, then implement the smallest tests allowed by `R2-R7`.\n8. After each coherent edit, run invalidated focused tests and relevant repository Checkstyle checks.\n9. Apply `R13` and inspect semantic `R15-A\u002FB\u002FD\u002FG\u002FI\u002FJ` obligations.\n10. Complete missing or invalidated final coverage, repository formatting\u002Fcheckstyle, and full mechanical checks under the [verification commands](references\u002Fverification.md).\n11. Confirm final scope against the baseline and decide `R10` once from current evidence before delivery.\n\nDo not reuse a prior task's test or coverage result.\nFinal coverage must include executed tests for the effective candidate; use the verification commands to determine whether current evidence remains valid.\n\n## Output\n\nInclude:\n\n- `R10=\u003Cstate>`;\n- native JaCoCo report paths and raw CLASS\u002FLINE\u002FBRANCH counters for every target and inner class, with per-class ratios for each requested numeric metric;\n- `R8-CANDIDATES` with candidate decisions and evidence;\n- branch\u002Fownership mapping, or the `R12` exemption;\n- executed commands, exit codes, and bounded log paths\u002Fsummaries;\n- rule-to-evidence mapping for `R1-R15`;\n- blocker and next action when state is not `R10-A`.\n\nNever use completion wording for `R10-D`.\n",{"name":52,"description":53},"gen-ut","Generate standard unit tests for one or more target classes in Apache ShardingSphere; cover requested behavior and every affected SUT-owned branch, enforce an explicitly requested numeric coverage target, and pass quality gates; perform explicit merge analysis, suitability filtering, and refactor optimization for parameterized tests.","master","e38d2e32b3fec5b37e713789c4fb3c7ea0d4ae7d","config\u002Fagents\u002Fskills\u002Fpr-create",19,"https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fahmedelgabri","https:\u002F\u002Fgabri.me","…","2026-11-09 00:32:17",{"source":9,"skillName":52,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add ahmedelgabri\u002Fdotfiles --skill gen-ut",{"tool":69,"command":70},"bunx","bunx skills add ahmedelgabri\u002Fdotfiles --skill gen-ut",{"tool":72,"command":73},"pnpm","pnpm dlx skills add ahmedelgabri\u002Fdotfiles --skill gen-ut","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Fpr-create\u002FSKILL.md",true,[77,83,87,93,97,101],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"agents\u002Fopenai.yaml","REFERENCE","参考文档",1158,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Fagents\u002Fopenai.yaml",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fverification.md",8293,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Freferences\u002Fverification.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fguard_task_scope.py","SCRIPT","脚本",9052,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Fscripts\u002Fguard_task_scope.py",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fscan_quality_rules.py",23583,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Fscripts\u002Fscan_quality_rules.py",{"path":98,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":99,"sourceHtmlUrl":100},"tests\u002Ftest_guard_task_scope.py",11314,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Ftests\u002Ftest_guard_task_scope.py",{"path":102,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":103,"sourceHtmlUrl":104},"tests\u002Ftest_scan_quality_rules.py",15848,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fshardingsphere\u002Fblob\u002Fmaster\u002F.codex\u002Fskills\u002Fgen-ut\u002Ftests\u002Ftest_scan_quality_rules.py",[106,138,172,191,211,232],{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":120,"publishedAt":47},"01M6BTHV9M65YMX558C22H638A","pi-loop","Pi 周期性任务管理","Set up and manage recurring Pi tasks that run as background Pi processes. Use for recurring prompts, scheduled reports, or \u002Floop requests.","设置并管理作为后台 Pi 进程运行的周期性 Pi 任务。用于重复性提示、定时报告或 \u002Floop 请求。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fpi\u002Fagent\u002Fextensions\u002Floop\u002Fskills\u002Fpi-loop\u002FSKILL.md",[114,117],{"categoryNo":115,"categoryName":116,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":118,"categoryName":119,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSFHC0DJXKNN0QBZDDS4K9","定时任务与自动化编排",[121,122,123,124,125,126,127,128,129,43,130,131,132,133,134,135,136,137],"pi loop","loop","pi","up","background","for","scheduled","requests","processes","manage","reports","prompts","use","recurring","SET","run","tasks",{"skillNo":139,"name":140,"nameZh":141,"description":142,"descriptionZh":143,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":152,"publishedAt":47},"01M6BTHRPVBTX8Y3EHQYP5464N","youtube-transcript","YouTube 视频字幕转录获取","Retrieve a YouTube video transcript with yt-dlp using human or automatic captions. Save timestamped text locally. Use when asked for a YouTube transcript, subtitles, captions, or spoken text from a YouTube link.","使用 yt-dlp 通过人工或自动字幕获取 YouTube 视频的转录文本，并在本地保存带时间戳的文本。当用户要求获取 YouTube 视频的转录稿、字幕、说明文字或来自 YouTube 链接的口述内容时使用。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[146,149],{"categoryNo":147,"categoryName":148,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRP9HTCQJVTBV9WC1A6N5B","多媒体素材检索与处理",{"categoryNo":150,"categoryName":151,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[153,154,155,156,157,158,159,160,161,126,133,162,163,164,165,166,167,168,169,170,171],"youtube","youtube transcript","transcript","output","file","link","id","human","yt-dlp","text","subtitles","save","Captions","Video","dlp","with","when","video transcript","URL",{"skillNo":173,"name":174,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":186,"publishedAt":47},"01M6BTHPAGHJ9KK6MB8HDC97Q8","unslop","非代码文本去 AI 痕迹","Cut AI tells from any writing NOT code. Must always apply.","从任何非代码文字中去除 AI 痕迹。必须始终应用。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Funslop\u002FSKILL.md",[180,183],{"categoryNo":181,"categoryName":182,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",{"categoryNo":184,"categoryName":185,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C1YEW2680C003GGBD6QCKB","回复风格与输出控制",[174,187,188,189,190],"apply","writing","code","cut",{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":203,"publishedAt":47},"01M6BTHKTB6SB3JEY6667PXKYP","shannon","Neovim 代码标注与导航","Interact with Neovim via RPC to annotate code, navigate files, and do walkthroughs","通过 RPC 与 Neovim 交互，为代码添加标注、在文件间导航并进行代码走查讲解。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Fshannon\u002FSKILL.md",[199,200],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":201,"categoryName":202,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[193,38,204,168,205,206,207,208,40,39,209,210,189],"navigate","via","annotate","do","files","neovim","rpc",{"skillNo":212,"name":213,"nameZh":214,"description":215,"descriptionZh":216,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":217,"categories":218,"keywords":221,"publishedAt":47},"01M6BTHHFSD5H7XR3ZRBSVFVPK","rex","Rex 终端会话管理","Use the rex CLI to manage Rex sessions, open tabs, arrange panes, run commands, inspect terminal output, and control connected Rex apps.","使用 rex CLI 管理 Rex 会话、打开标签页、排列窗格、运行命令、查看终端输出，并控制已连接的 Rex 应用。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Frex\u002FSKILL.md",[219,220],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":201,"categoryName":202,"taxonomyType":28,"taxonomyTypeDesc":29},[213,133,222,223,136,224,225,226,130,227,156,228,229,230,231],"panes","open","sessions","terminal","cli","inspect","apps","control","commands","arrange",{"skillNo":233,"name":234,"nameZh":235,"description":236,"descriptionZh":237,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":238,"categories":239,"keywords":242,"publishedAt":47},"01M6BTHF5G2K3Q990PFD7BEMZ9","pr-review","GitHub PR 审查","Review a GitHub pull request, examining the summary, linked resources, and diff","审查 GitHub 拉取请求（PR），检查其摘要、关联资源和代码差异（diff）。","https:\u002F\u002Fgithub.com\u002Fahmedelgabri\u002Fdotfiles\u002Fblob\u002Fmain\u002Fconfig\u002Fagents\u002Fskills\u002Fpr-review\u002FSKILL.md",[240,241],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[243,31,244,245,44,246,171,247,248,249,40,39,38,36,35,34],"review","pr review","resources","number","summary","diff","webfetch"]