[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7APMBR6T4AAEPT2C2WNWDT2":3,"skill-same:01M7APMBR6T4AAEPT2C2WNWDT2":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7APMBR6T4AAEPT2C2WNWDT2","check-generated-code",null,"Creates bounded source contracts for important facts inside large generated files. Use when verifying request shapes, route tables, bindings, operation names, or headers without loading the full generated artifact into model context.","reoring\u002Fshepherd","reoring","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F735890?v=4","01M7APHZAJGX99VWAZ856836G5","01M7APHZB3FNAJ4KRRN51D8DJ8",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-generated-code\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: check-generated-code\ndescription: Creates bounded source contracts for important facts inside large generated files. Use when verifying request shapes, route tables, bindings, operation names, or headers without loading the full generated artifact into model context.\n---\n\n# Check Generated Code\n\n## Outcome\n\nExtract a small, stable set of public-contract facts from a large generated file through one exact symbol slice, while avoiding broad model context and adjacent generated function contamination.\n\n## Existing Contract Fast Path\n\nWhen the user supplies an existing contract, do not begin with broad repository search.\n\nThe commands below are authoritative. Do not search for the skill, checker, or source before running the preflight.\n\n1. Run `shepherd check \"$REPO\" --contract \"$CONTRACT\" --json`.\n2. If the installed bin is unavailable in this checkout, run `node src\u002Fshepherd-cli.ts check \"$REPO\" --contract \"$CONTRACT\" --json` from the repository root.\n3. Do not invent flags such as `--context`.\n4. On PASS, use returned grounded facts and inspect only source paths needed for the requested risk review.\n5. On FAIL, inspect only failed facts and their bounded source paths before changing the contract.\n6. Treat `check-source-contract` as the deterministic authority. If the user also requests an answer, hand the passing contract to `query-large-source`; do not reconstruct the answer in this skill.\n\n## Use When\n\n- Generated artifacts are large enough to exceed practical model input limits.\n- A specific generated operation or binding has a stable symbol.\n- Generated output is reviewed through its owning schema but exact emitted facts still matter.\n- Source regeneration should fail CI when a public request\u002Froute\u002Fbinding changes.\n\nDo not use this skill to validate generated formatting, whitespace, comments, or implementation noise. Prefer generator drift checks for whole-file reproducibility.\n\n## Workflow\n\n1. Identify the owning schema\u002Fgenerator and the exact generated symbol.\n2. Select the smallest source window containing all required facts.\n3. Define one fact per public concern: method, path, header, operation ID, binding name, or field number.\n4. Use selectors that describe syntax shape without embedding the expected output value.\n5. Use exact cardinality to reject adjacent-function matches.\n6. Run `shepherd check` immediately after regeneration.\n7. If the generated output changes intentionally, update schema, generated file, and contract in one review.\n\n## Good Facts\n\n- HTTP method literal\n- URL\u002Fpath template\n- idempotency or auth header name\n- generated operation method name\n- route name\n- protobuf field\u002Fbinding identity when represented as stable source literals\n\n## Bad Facts\n\n- generated timestamps\n- formatting\n- line numbers\n- comments\n- arbitrary helper implementation details\n- values already protected by a canonical generator checksum\n\n## Bounding Rules\n\n- Prefer `source.kind: symbol` over repository-wide literal search.\n- Keep `before` at zero unless preceding declarations are evidence.\n- Set `after` to the target function length, not a large convenience window.\n- If multiple identical request lines appear, shrink the source before changing cardinality.\n\n## Failure Policy\n\n- `SOURCE_NOT_FOUND`: generated operation was renamed or removed; inspect the owning schema.\n- `CARDINALITY_MISMATCH`: source window may include adjacent generated operations.\n- `CAPTURE_FAILED`: generator syntax changed; review before updating the extractor.\n- Never edit generated source manually to restore a check.\n\n## Acceptance\n\n- Facts correspond to public\u002Fgenerated contract boundaries.\n- No expected value is copied into a selector.\n- The bounded source excludes neighboring operations.\n- Regeneration is the only source writer.\n- Local and CI checks run with zero model calls.\n","# Check Generated Code\n\n## Outcome\n\nExtract a small, stable set of public-contract facts from a large generated file through one exact symbol slice, while avoiding broad model context and adjacent generated function contamination.\n\n## Existing Contract Fast Path\n\nWhen the user supplies an existing contract, do not begin with broad repository search.\n\nThe commands below are authoritative. Do not search for the skill, checker, or source before running the preflight.\n\n1. Run `shepherd check \"$REPO\" --contract \"$CONTRACT\" --json`.\n2. If the installed bin is unavailable in this checkout, run `node src\u002Fshepherd-cli.ts check \"$REPO\" --contract \"$CONTRACT\" --json` from the repository root.\n3. Do not invent flags such as `--context`.\n4. On PASS, use returned grounded facts and inspect only source paths needed for the requested risk review.\n5. On FAIL, inspect only failed facts and their bounded source paths before changing the contract.\n6. Treat `check-source-contract` as the deterministic authority. If the user also requests an answer, hand the passing contract to `query-large-source`; do not reconstruct the answer in this skill.\n\n## Use When\n\n- Generated artifacts are large enough to exceed practical model input limits.\n- A specific generated operation or binding has a stable symbol.\n- Generated output is reviewed through its owning schema but exact emitted facts still matter.\n- Source regeneration should fail CI when a public request\u002Froute\u002Fbinding changes.\n\nDo not use this skill to validate generated formatting, whitespace, comments, or implementation noise. Prefer generator drift checks for whole-file reproducibility.\n\n## Workflow\n\n1. Identify the owning schema\u002Fgenerator and the exact generated symbol.\n2. Select the smallest source window containing all required facts.\n3. Define one fact per public concern: method, path, header, operation ID, binding name, or field number.\n4. Use selectors that describe syntax shape without embedding the expected output value.\n5. Use exact cardinality to reject adjacent-function matches.\n6. Run `shepherd check` immediately after regeneration.\n7. If the generated output changes intentionally, update schema, generated file, and contract in one review.\n\n## Good Facts\n\n- HTTP method literal\n- URL\u002Fpath template\n- idempotency or auth header name\n- generated operation method name\n- route name\n- protobuf field\u002Fbinding identity when represented as stable source literals\n\n## Bad Facts\n\n- generated timestamps\n- formatting\n- line numbers\n- comments\n- arbitrary helper implementation details\n- values already protected by a canonical generator checksum\n\n## Bounding Rules\n\n- Prefer `source.kind: symbol` over repository-wide literal search.\n- Keep `before` at zero unless preceding declarations are evidence.\n- Set `after` to the target function length, not a large convenience window.\n- If multiple identical request lines appear, shrink the source before changing cardinality.\n\n## Failure Policy\n\n- `SOURCE_NOT_FOUND`: generated operation was renamed or removed; inspect the owning schema.\n- `CARDINALITY_MISMATCH`: source window may include adjacent generated operations.\n- `CAPTURE_FAILED`: generator syntax changed; review before updating the extractor.\n- Never edit generated source manually to restore a check.\n\n## Acceptance\n\n- Facts correspond to public\u002Fgenerated contract boundaries.\n- No expected value is copied into a selector.\n- The bounded source excludes neighboring operations.\n- Regeneration is the only source writer.\n- Local and CI checks run with zero model calls.\n",{"name":5,"description":7},"main","fdbd9818a5ac8a0ab084eab8b9eda2c2c20f3baa","skills\u002Fcheck-generated-code","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd","https:\u002F\u002Fgithub.com\u002Freoring","http:\u002F\u002Fwww.craftsman-software.com\u002F","Founder of @appthrust. Building platforms with Rust and Kubernetes to enhance app development. Passionate about open-source and developer tools.\r\n","2026-08-18 15:14:28",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add reoring\u002Fshepherd --skill check-generated-code",{"tool":37,"command":38},"bunx","bunx skills add reoring\u002Fshepherd --skill check-generated-code",{"tool":40,"command":41},"pnpm","pnpm dlx skills add reoring\u002Fshepherd --skill check-generated-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-generated-code\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7APMR40H7JBMZ3NVDWCNRN4","query-large-source","Orchestrates conversational questions over large source through direct inspection tools and bounded Shepherd evidence queries.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fquery-large-source\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M7APMN62J2KPG4T2AMR4ZHR5","check-source-contract","Validates a versioned source-fact contract deterministically with zero model calls. Use in local development or CI to detect extraction, grounding, finalization, answer-pattern, and source drift failures.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-source-contract\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7APMHB56BF0N3VHQ6VAC117","check-sdk-wiring","Creates and verifies cross-file source contracts from handwritten SDK services to generated request builders. Use when preserving validation labels, client method wiring, HTTP methods, URL templates, headers, or idempotency behavior.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-sdk-wiring\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7APMEHDSQCED821C6P8D317","check-registration-inventory","Creates and verifies source contracts for plugin, controller, route, provider, or handler inventories. Use when an exact registration list, order, or cardinality is an architectural invariant checked locally or in CI.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-registration-inventory\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7APM92A4GMQT43JXD803ZBG","check-config-mappings","Creates and verifies source contracts for configuration defaults and constructor wiring. Use when checking zero-value defaults, config field assignments, timeout\u002Fretry settings, environment option mapping, or production constructor fields.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-config-mappings\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7APM5YV6Z5X2ZB25TGWZ74N","check-cli-registrations","Creates and verifies source contracts for CLI root and subcommand registrations. Use when preserving constructor wiring, source order, exact registration cardinality, or detecting command additions, removals, renames, and duplicates.","https:\u002F\u002Fgithub.com\u002Freoring\u002Fshepherd\u002Fblob\u002Fmain\u002Fskills\u002Fcheck-cli-registrations\u002FSKILL.md",[],[]]