[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735B42S2HJ3XDS76WDFJTGG":3,"skill-same:01M735B42S2HJ3XDS76WDFJTGG":53},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":52},"01M735B42S2HJ3XDS76WDFJTGG","tidy",null,"Audit codebase to simplify and DRY.","Morrison-Lab\u002Fai-config","Morrison-Lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104235520?v=4","01M734G0451S2G35MN4HFQK7XP","Morrison Lab","01M734G059BYFDFQA8YTPDGPMH",4,"MIT","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Ftidy\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: tidy\ndescription: \"Audit codebase to simplify and DRY.\"\nuser-invocable: true\nallowed-tools:\n  - Bash\n  - Read\n  - Write\n  - Edit\n  - Glob\n  - Grep\n---\n\n# tidy\n\nAudit the codebase for opportunities to reduce complexity, duplication, and\nmaintenance burden. Produce a **prioritized, actionable** list of suggestions\n— not vague advice.\n\n## When this fires\n\n- User says `\u002Ftidy`, \"tidy up\", \"DRY this\", \"what can we remove\",\n  \"what can we outsource\", or similar.\n- After a large feature lands and the user wants a cleanup pass.\n- When reviewing a repo for the first time and looking for quick wins.\n\n## Scope\n\nIf the user specifies a file, directory, or topic, restrict the audit to that\nscope. Otherwise, audit the full workspace.\n\n## What to look for\n\nEvaluate the codebase along these axes (in priority order):\n\n### 1. Dead code & unused features\n- Functions\u002Fmodules\u002Ffiles never called or imported.\n- Feature flags that are always on\u002Foff.\n- Commented-out code blocks.\n\n### 2. Outsource to external tools\n- Hand-rolled logic that a well-maintained package\u002FCLI already handles\n  (e.g., custom YAML parsing → use a library; hand-rolled HTTP retry →\n  use a retry library; custom linting rules → existing linter plugin).\n- Vendored code that could be a dependency instead.\n- Shell scripts reimplementing `jq`, `yq`, `sed` pipelines that a\n  purpose-built tool does better.\n\n### 3. DRY (Don't Repeat Yourself)\n- Duplicated logic across files that could be extracted into a shared\n  helper\u002Fmodule.\n- Copy-pasted config blocks that could be templated or parameterized.\n- Repeated patterns that suggest a missing abstraction.\n\n### 4. Simplify\n- Over-engineered abstractions (more indirection than the problem warrants).\n- Deeply nested conditionals that could be flattened with early returns or\n  guard clauses.\n- Complex shell pipelines that could be a single tool invocation.\n- Overly defensive code for impossible states.\n\n### 5. Reduce maintenance burden\n- Pinned dependency versions that could use ranges.\n- CI\u002FCD steps that could be consolidated or parallelized.\n- Documentation that duplicates what the code already says.\n- Config files with stale\u002Firrelevant entries.\n\n## Output format\n\nPresent findings as a numbered list, grouped by axis, with:\n\n1. **What**: One-line description of the issue.\n2. **Where**: File(s) and line(s) affected.\n3. **Suggestion**: Concrete action to take (not \"consider refactoring\" —\n   say exactly what to extract, replace, or delete).\n4. **Impact**: Low \u002F Medium \u002F High — how much maintenance burden it removes.\n5. **Effort**: Low \u002F Medium \u002F High — how much work the fix is.\n\nSort within each group by impact÷effort (best bang-for-buck first).\n\n## What NOT to do\n\n- Don't make the changes yourself unless explicitly asked. This is an audit.\n- Don't suggest changes that alter public API or behavior without flagging\n  the breaking-change risk.\n- Don't suggest \"rewrite in language X\" — stay within the current stack.\n- Don't flag style\u002Fformatting issues — that's the linter's job.\n- Don't suggest adding complexity (new abstractions, frameworks) unless\n  it clearly nets out simpler.\n\n## After the audit\n\nAsk the user which items (if any) they'd like you to implement. Offer to:\n- Implement the top-N items in this session.\n- File issues for deferred items.\n- Skip items the user disagrees with.\n\n## Relationship to other skills\n\n- **`shared\u002Fworkflow\u002Fchallenge-unnecessary-complexity.md`** — the standing\n  review-time counterpart to this skill's axis 4 (\"Simplify\"). That\n  fragment folds an unnecessary-complexity check into every normal review\n  pass (including prose and math, not just code) and runs automatically,\n  not on demand; run `\u002Ftidy` when you want a full prioritized audit across\n  all 5 axes on demand, not just complexity.\n- **`prune-dead-code`** (`pdc`) — the dedicated dead-code and orphaned-asset removal procedure for axis 1, systematically eliminating dead symbols, orphaned configs, and stale docs.\n- **`simplify`** — the narrow dead-code-removal counterpart, triggered\n  after a refactor narrows invocation context, not an on-demand audit.\n- **`code-editor` agent** ([`.claude\u002Fagents\u002Fcode-editor.md`](..\u002F..\u002F.claude\u002Fagents\u002Fcode-editor.md)) --- the dedicated code editor subagent.\n  Coding workflows work iteratively: implement functionally-correct code first,\n  then hand off to `code-editor` to enforce style guide compliance and refactor cleanly.\n  While `\u002Ftidy` audits complexity and produces prioritized recommendations,\n  `code-editor` can be dispatched to implement approved simplification and cleanup.\n  See [`shared\u002Fworkflow\u002Fiterative-editing.md`](..\u002F..\u002Fshared\u002Fworkflow\u002Fiterative-editing.md).\n","# tidy\n\nAudit the codebase for opportunities to reduce complexity, duplication, and\nmaintenance burden. Produce a **prioritized, actionable** list of suggestions\n— not vague advice.\n\n## When this fires\n\n- User says `\u002Ftidy`, \"tidy up\", \"DRY this\", \"what can we remove\",\n  \"what can we outsource\", or similar.\n- After a large feature lands and the user wants a cleanup pass.\n- When reviewing a repo for the first time and looking for quick wins.\n\n## Scope\n\nIf the user specifies a file, directory, or topic, restrict the audit to that\nscope. Otherwise, audit the full workspace.\n\n## What to look for\n\nEvaluate the codebase along these axes (in priority order):\n\n### 1. Dead code & unused features\n- Functions\u002Fmodules\u002Ffiles never called or imported.\n- Feature flags that are always on\u002Foff.\n- Commented-out code blocks.\n\n### 2. Outsource to external tools\n- Hand-rolled logic that a well-maintained package\u002FCLI already handles\n  (e.g., custom YAML parsing → use a library; hand-rolled HTTP retry →\n  use a retry library; custom linting rules → existing linter plugin).\n- Vendored code that could be a dependency instead.\n- Shell scripts reimplementing `jq`, `yq`, `sed` pipelines that a\n  purpose-built tool does better.\n\n### 3. DRY (Don't Repeat Yourself)\n- Duplicated logic across files that could be extracted into a shared\n  helper\u002Fmodule.\n- Copy-pasted config blocks that could be templated or parameterized.\n- Repeated patterns that suggest a missing abstraction.\n\n### 4. Simplify\n- Over-engineered abstractions (more indirection than the problem warrants).\n- Deeply nested conditionals that could be flattened with early returns or\n  guard clauses.\n- Complex shell pipelines that could be a single tool invocation.\n- Overly defensive code for impossible states.\n\n### 5. Reduce maintenance burden\n- Pinned dependency versions that could use ranges.\n- CI\u002FCD steps that could be consolidated or parallelized.\n- Documentation that duplicates what the code already says.\n- Config files with stale\u002Firrelevant entries.\n\n## Output format\n\nPresent findings as a numbered list, grouped by axis, with:\n\n1. **What**: One-line description of the issue.\n2. **Where**: File(s) and line(s) affected.\n3. **Suggestion**: Concrete action to take (not \"consider refactoring\" —\n   say exactly what to extract, replace, or delete).\n4. **Impact**: Low \u002F Medium \u002F High — how much maintenance burden it removes.\n5. **Effort**: Low \u002F Medium \u002F High — how much work the fix is.\n\nSort within each group by impact÷effort (best bang-for-buck first).\n\n## What NOT to do\n\n- Don't make the changes yourself unless explicitly asked. This is an audit.\n- Don't suggest changes that alter public API or behavior without flagging\n  the breaking-change risk.\n- Don't suggest \"rewrite in language X\" — stay within the current stack.\n- Don't flag style\u002Fformatting issues — that's the linter's job.\n- Don't suggest adding complexity (new abstractions, frameworks) unless\n  it clearly nets out simpler.\n\n## After the audit\n\nAsk the user which items (if any) they'd like you to implement. Offer to:\n- Implement the top-N items in this session.\n- File issues for deferred items.\n- Skip items the user disagrees with.\n\n## Relationship to other skills\n\n- **`shared\u002Fworkflow\u002Fchallenge-unnecessary-complexity.md`** — the standing\n  review-time counterpart to this skill's axis 4 (\"Simplify\"). That\n  fragment folds an unnecessary-complexity check into every normal review\n  pass (including prose and math, not just code) and runs automatically,\n  not on demand; run `\u002Ftidy` when you want a full prioritized audit across\n  all 5 axes on demand, not just complexity.\n- **`prune-dead-code`** (`pdc`) — the dedicated dead-code and orphaned-asset removal procedure for axis 1, systematically eliminating dead symbols, orphaned configs, and stale docs.\n- **`simplify`** — the narrow dead-code-removal counterpart, triggered\n  after a refactor narrows invocation context, not an on-demand audit.\n- **`code-editor` agent** ([`.claude\u002Fagents\u002Fcode-editor.md`](..\u002F..\u002F.claude\u002Fagents\u002Fcode-editor.md)) --- the dedicated code editor subagent.\n  Coding workflows work iteratively: implement functionally-correct code first,\n  then hand off to `code-editor` to enforce style guide compliance and refactor cleanly.\n  While `\u002Ftidy` audits complexity and produces prioritized recommendations,\n  `code-editor` can be dispatched to implement approved simplification and cleanup.\n  See [`shared\u002Fworkflow\u002Fiterative-editing.md`](..\u002F..\u002Fshared\u002Fworkflow\u002Fiterative-editing.md).\n",{"name":5,"description":7,"allowed-tools":24,"user-invocable":31},[25,26,27,28,29,30],"Bash","Read","Write","Edit","Glob","Grep",true,"main","0f720481f8ce3b3d9fef485f6e230d8b3035748e","skills\u002Ftidy",1,"https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config","https:\u002F\u002Fmorrison-lab.github.io\u002Fai-config\u002F","https:\u002F\u002Fgithub.com\u002FMorrison-Lab","2026-11-15 04:39:15",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":31},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Morrison-Lab\u002Fai-config --skill tidy",{"tool":46,"command":47},"bunx","bunx skills add Morrison-Lab\u002Fai-config --skill tidy",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Morrison-Lab\u002Fai-config --skill tidy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Ftidy\u002FSKILL.md",[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M735BVYCGR5VEC65AFDVSNKW","wrap-up","End-of-session verification and UMS.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M735BTH469T1CQ8G2Q9GENCR","workaround-watcher","Watch upstream issue for fix.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fworkaround-watcher\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M735BRKZWFANSQ0GM380B4TD","wn","→ whats-next.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwn\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M735BPE9V830B3B6NGXQ56J6","whats-next","Recommend concrete next step or action.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwhats-next\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M735BMHQ60EAD5B7QAWXC5A0","wait-for-results","Wait for pipeline\u002FCI results.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwait-for-results\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M735BKGZHPN1PEMJ7YBD5VJ8","wai","→ send-notes.","https:\u002F\u002Fgithub.com\u002FMorrison-Lab\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Fwai\u002FSKILL.md",[],[]]