[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NCNDXR3F5RTN83G5KWNARX":3,"skill-same:01M6NCNDXR3F5RTN83G5KWNARX":53},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":21,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6NCNDXR3F5RTN83G5KWNARX","odylith-code-hygiene-guard",null,"odylith\u002Fodylith","odylith","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273743042?v=4","01M6NBM8TE74H3GP527QEJFCPB","01M6NBM8YT7A5XTNABG4R5KQQ0",36,"MIT","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fodylith\u002Fskills\u002Fodylith-code-hygiene-guard\u002FSKILL.md",[16],{"categoryNo":17,"categoryName":18,"taxonomyType":19,"taxonomyTypeDesc":20},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[22,23,24,25,26],"code","guard","code hygiene","hygiene","odylith code hygiene guard","2026-11-10 10:12:30",false,"# Odylith Code Hygiene Guard\n\nUse this skill when a slice shows duplicate helper churn, fake modularization,\noversized-file pressure, mirrored host drift, or comment slop. Treat AI slop\nas a regression.\n\nThis skill is shared across consumer and maintainer lanes, and it applies on\nboth Codex and Claude. Codex and Claude must enforce the same anti-slop\ncontract across consumer and maintainer lanes. Consumer repos may be Python,\nTypeScript, JavaScript, Go, Rust, Java, shell, SQL, or mixed-language; the\nlanguage changes, the anti-slop bar does not.\nApply that bar to any codebase or project surface: services, libraries, apps,\nCLIs, infra glue, scripts, docs, prompts, hooks, templates, config, and\ngenerated assets all count.\nStructural cleanup is not permission to drift behavior, UX, or UI. Preserve\nsemantics deliberately and prove the touched contract on the real toolchain or\nsurface that owns it.\n\nNo transitional states. Do not replace one slop class with another. Move\nownership, not just file boundaries.\n\n## Default Flow\n- Read the nearest `AGENTS.md`, then read\n  `odylith\u002Fagents-guidelines\u002FANTI_SLOP_AND_DECOMPOSITION.md` before editing.\n- Inventory the current owner, call sites, shared helpers, validators, and\n  file sizes before changing structure.\n- Inventory the bounded slop signals explicitly before editing:\n  remaining `def _host()` shims, `bind(host)` \u002F `_HOST_BIND_NAMES` globals\n  injection, duplicate `_mapping` or `_normalize_*` helpers, near-identical\n  host mirrors, local alias walls that hide the real owner, phase-mixed giant\n  functions, and touched files already above the repo size thresholds.\n- Treat the slop class, not the language syntax, as the thing to ban.\n- Inventory the equivalent non-Python slop signals explicitly before editing:\n  duplicated parser or normalizer helpers, near-identical adapters or hook\n  scripts, phase-mixed controllers or components, mirrored prompt or config\n  assets, and extracted modules that still tunnel back into parent internals.\n- Inventory lane and host reach as well before editing: shared guidance,\n  install-generated guidance, Codex assets, Claude assets, shared skills, and\n  shipped mirrors that must stay aligned if the rule changes.\n- Governance-learning: inventory governance reach before editing. Escaped defects and failed\n  simulations need Casebook truth, planned rearchitecture needs Radar or\n  technical-plan truth, component-contract changes need Registry truth,\n  changed flows or topology need Atlas truth, and proof checkpoints need\n  Compass truth before closeout. Search prior Casebook\u002Fgovernance learning and\n  prior failed mechanisms, do not repeat a fix path that already failed, and\n  capture new mechanism-level learning.\n- Inventory project-surface reach too before editing: source files, hooks,\n  prompts, templates, config, docs, generators, and installed assets that may\n  be carrying the same slop class under different file extensions.\n- Treat unclear human-visible generated copy as slop. Titles, summaries,\n  cards, diagrams, component specs, workstream descriptions, prompts, hooks,\n  CLI messages, and docs must be simple, easy to understand, legible,\n  grammatically coherent, and clear before any voice or live narration is\n  added.\n- Consolidate generic coercion and normalization helpers into a real shared\n  owner instead of adding one more local wrapper.\n- Do not treat a shared helper or kernel as a cleanup ornament. If it lands,\n  adopt it in the touched slice or leave a bounded follow-up tied to the same\n  slop class.\n- Do not hide the old owner behind compatibility wrappers, lazy proxies,\n  facade accessors, or mirror-only indirection after a nominal extraction.\n- Partial shared-kernel adoption is still incomplete. If a shared helper or\n  kernel lands, the touched callers must adopt it or the pass is incomplete.\n- If a touched hand-maintained source file is already above `1200` LOC,\n  choose decomposition or carry an explicit active decomposition plan before\n  adding more growth.\n- If a touched function is already above `500` LOC, extract at least one real\n  phase owner or data-model seam in the same pass unless the change is purely\n  a safety-critical repair.\n- Remove the slop class end to end inside the touched slice. Do not stop at a\n  halfway state where the shared owner exists but the touched duplicates still\n  remain.\n- Do not call the pass complete just because the first smell disappeared. If\n  the replacement smell still exists in the touched slice, the pass is\n  incomplete.\n- Update inline documentation only for invariants, failure modes, boundary\n  assumptions, or non-obvious state transitions.\n- Add or update enforcement tests so the cleanup stays pinned in CI.\n\n## Hard Bans\n- `def _host()` plus a wall of rebound private host symbols is banned.\n- `bind(host)`, `_HOST_BIND_NAMES`, or `bind_*_runtime(globals(), host)` are\n  banned when they still hide the real dependency owner behind globals\n  injection.\n- A local alias wall that only renames dozens of helpers without moving the\n  ownership boundary is banned.\n- Do not duplicate generic coercion helpers such as `_mapping`,\n  `_json_dict`, `_normalize_*`, `_delta`, or `_parts` across files when one\n  shared owner is appropriate.\n- Do not allow the same failure class to hide behind non-Python syntax:\n  duplicated parser helpers, cloned adapters, giant mixed-phase handlers,\n  mirrored hook scripts, or boilerplate config and template assets are the\n  same regression under a different file extension.\n- Do not hide the same slop class behind host-only hooks, prompt formatters,\n  command shims, statuslines, or generated guidance assets.\n- Do not leave giant renderers, payload builders, or routers phase-mixed when\n  the touched slice can be split into data prep, view model, and\n  template\u002Frender stages, or gather, score, and decide stages.\n- Do not keep host-mirror files near-identical when a shared helper, shared\n  renderer, or shared formatter would remove the duplication.\n- Do not add filler comments or docstrings.\n- New or materially rewritten runtime Python modules must carry a truthful\n  module docstring.\n\n## Required Proof\n- Every anti-slop cleanup must add or update enforcement tests.\n- For shared hot paths, user-visible flows, or high-risk structural moves,\n  land characterization or contract-focused tests before or alongside the\n  refactor instead of relying on post hoc confidence.\n- Run the focused regression suite for the touched slice.\n- When the user asks for repo-wide or lane-wide anti-slop hardening, update\n  guidance, skills, install-generated guidance, host contracts, mirrors, and\n  enforcement tests together; prose-only hardening is incomplete.\n- In consumer repos, run the consumer repo's own toolchain, tests, lints,\n  type checks, and build validation for the touched stack after Odylith\n  narrows the slice.\n- When the anti-slop rule itself changes, update shared guidance, host\n  contracts, install-generated guidance, skills, and shipped mirrors in the\n  same pass.\n- If the change updates guidance, skills, or shipped mirrors, validate the\n  source and bundle copies in the same change.\n- If the change touches human-visible generated content, update the source\n  rule or generator and its regression tests. Do not hand-polish one rendered\n  sample while leaving the unclear-copy class alive.\n- If the pass claims repo-wide or lane-wide cleanup, rerun the requested\n  repo-wide structural scan or equivalent inventory before closeout.\n- Repo-wide or lane-wide anti-slop claims require two proof layers: fresh\n  behavior proof for the touched slice and a fresh structural inventory for\n  the claimed scope. One does not substitute for the other.\n- Guidance-only hardening without updated tests, validators, or mirror-content\n  checks is incomplete.\n- If the change touches shared runtime hot paths, run the full runtime suite.\n- If the change touches browser-proved surfaces, run the full headless browser\n  matrix.\n- When browser proof applies, cover the real rendered states that own the\n  contract: normal, empty\u002Ffallback, and degraded or error states when they\n  exist.\n- If the change touches install, upgrade, repair, launchers, or install-managed\n  mirror surfaces, run the install suite and the mirror-content checks.\n\n## Fail-Closed Exit Criteria\n- No touched file may still contain `def _host()` or `host = _host()` after\n  the cleanup.\n- No touched file may keep a newly avoidable `_mapping`, `_normalize_*`,\n  `_delta`, or `_parts` clone once the shared owner exists.\n- No touched pass may leave a shared helper or kernel as an ornament while the\n  touched callers stay on local forks without a bounded follow-up.\n- No touched non-Python file may keep the same duplicated parser, adapter,\n  prompt, config, or hook pattern once the shared owner exists.\n- No touched giant function may exit with the same phase-mixed ownership it had\n  on entry when the pass is explicitly about structural debt.\n- No touched file may replace a removed shim with a new alias wall that still\n  hides the owner behind rebinding.\n- Do not close the pass on assumption. Fail closed until the proof lane for\n  the touched install, runtime, and browser surfaces is green.\n",{},"main","6d249fbca9cd8c41d45e6e2e90a72745cd954ce6","src\u002Fodylith\u002Fbundle\u002Fassets\u002Fodylith\u002Fskills\u002Fodylith-code-hygiene-guard",3,"https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith","https:\u002F\u002Fodylith.ai","https:\u002F\u002Fgithub.com\u002Fodylith","2026-10-25 01:05:33",{"source":7,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add odylith\u002Fodylith --skill odylith-code-hygiene-guard",{"tool":45,"command":46},"bunx","bunx skills add odylith\u002Fodylith --skill odylith-code-hygiene-guard",{"tool":48,"command":49},"pnpm","pnpm dlx skills add odylith\u002Fodylith --skill odylith-code-hygiene-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fodylith\u002Fskills\u002Fodylith-code-hygiene-guard\u002FSKILL.md",true,[],[54,66,78,95,111,128],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":27},"01M6NDHJPSYZGHRX4S392CCQQE","odylith-version","Inspect the pinned, active, and locally available Odylith versions.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-version\u002FSKILL.md",[],[61,62,63,64,65],"odylith version","version","inspect","true","active",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":27},"01M6NDHEGHCN2ARB3MJVKJC1PY","odylith-sync","Refresh governed Odylith surfaces for the current changed slice.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-sync\u002FSKILL.md",[],[73,74,75,76,77],"sync","odylith sync","surfaces","for","refresh",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":27},"01M6NDHBJ21XYP1SHNV2ABS4FJ","odylith-subagent-router","Choose local execution versus bounded delegation for Odylith slices and shape routed payloads.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-subagent-router\u002FSKILL.md",[],[85,86,87,88,89,90,91,92,93,64,76,94],"subagent","router","odylith subagent router","payloads","delegation","execution","choose","shape","local","bounded",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":27},"01M6NDH8FPCQB4TBXDZGKZEX43","odylith-subagent-orchestrator","Plan Odylith delegation ownership, bounded fanout, and merge-safe orchestration.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-subagent-orchestrator\u002FSKILL.md",[],[102,103,85,104,105,64,94,106,107,108,109,110,89],"subagent orchestrator","orchestrator","odylith subagent orchestrator","ownership","plan","fanout","safe","orchestration","merge",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":27},"01M6NDGT24T77XP3714G3YWTQQ","odylith-start","Run the repo-local Odylith startup contract first, before context\u002Fsearch fan out.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-start\u002FSKILL.md",[],[118,119,120,121,122,123,124,125,93,126,127],"start","odylith start","search","run","startup","first","repo","context","contract","contract first",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":27},"01M6NDGNVNGNAFYF76GXJ4CAB4","odylith-show-me","Use when the operator asks what Odylith can do for a repo, requests an advisory repo demo, or asks for the clean scenario-aware show-me output.","https:\u002F\u002Fgithub.com\u002Fodylith\u002Fodylith\u002Fblob\u002Fmain\u002Fsrc\u002Fodylith\u002Fbundle\u002Fassets\u002Fproject-root\u002F.claude\u002Fskills\u002Fodylith-show-me\u002FSKILL.md",[],[135,136,137,138,139,124,140,141,142,143,144,145,146,147,76,148],"odylith show me","me","show me","show","demo","use","clean","do","advisory","scenario","output","requests","can","operator"]