[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DH3MW4QBVHE602JVZF07RQ":3,"skill-same:01M7DH3MW4QBVHE602JVZF07RQ":59},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7DH3MW4QBVHE602JVZF07RQ","untangling-codebases",null,"Refactors a whole codebase in one pass so each change lands in one place: catalogs hidden links, needless links, surplus code, and special cases, redesigns to remove their shared causes, and repeats until nothing worth fixing is left. Use when the user says \"untangle this codebase\", or when asked to refactor a whole codebase so changes land in one place. Never infer from a bug fix or feature request. Not for one new requirement; use redesigning-from-first-principles.","bostonaholic\u002Fskills","bostonaholic","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F362146?v=4","01M7DGVW4NA3AZAS7ZVN59FFTR","Matthew Boston","01M7DGVW56TS63D9MTAPRW8SCT",2,"MIT","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Funtangling-codebases\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: untangling-codebases\ndescription: 'Refactors a whole codebase in one pass so each change lands in one place: catalogs hidden links, needless links, surplus code, and special cases, redesigns to remove their shared causes, and repeats until nothing worth fixing is left. Use when the user says \"untangle this codebase\", or when asked to refactor a whole codebase so changes land in one place. Never infer from a bug fix or feature request. Not for one new requirement; use redesigning-from-first-principles.'\nargument-hint: \"[\u003Carea or concern to focus on>]\"\n---\n\n# Untangle a Codebase\n\nRefactor the whole codebase, or the area the user names, and finish. Treat\nit as a goal, not a list of suggestions. Behavior stays the same.\n\nThe aim is code where an agent reads little per change, a change lands in\none place, and a break shows up instead of hiding.\n\nThe test for every finding: should these pieces change together? Pieces\nthat must change together but look apart are a hidden link. Pieces that look\ntogether but need not change together are a needless link.\n\n1. **Ask about the extras.** Offer two optional passes and wait for the\n   answer, then do only the chosen ones:\n   - **Comments:** delete comments that restate the code.\n   - **Tests:** delete tests that cannot catch a real bug, and rewrite tests\n     coupled to internals to test behavior.\n2. **List every problem before changing anything.** Read the code and git\n   history (files that change in the same commits are linked). Record each\n   problem with `path:line`:\n   - **Hidden links:** copied logic or constants, state read from globals or\n     files written elsewhere, one feature split across folders by layer,\n     call-order rules nothing enforces.\n   - **Needless links:** callers that reach into internals, stable code\n     importing volatile code, general functions with parameters for one\n     workflow, shallow modules whose interface is as big as their body.\n   - **Surplus:** pass-through wrappers, config or extension points with one\n     use, dead code.\n   - **Special cases:** a branch for one value, a parameter for one caller,\n     a swallowed exception, a retry or sleep, a skipped test. Read each as a\n     requirement the design is missing.\n3. **Redesign from the causes.** Group problems that share a cause and find\n   the one change that removes the group. Never patch special cases one at a\n   time. Write a decision log: each fix, then the problems it removes, as in\n   [the example](references\u002Fdecision-log-example.md).\n4. **Fix everything on the list.** Apply the fixes in the log, then delete\n   the special cases the redesign made unnecessary. Run the project's checks\n   after each fix and keep them passing. For Comments, also delete comments\n   that worked around a problem the redesign removed; keep comments about\n   facts outside the code. Do Tests last.\n5. **Check and repeat.** Start subagents with fresh context, never a fork of\n   this conversation, each looking for one kind of problem from step 2 in the\n   changed code. Fix what they find and check again. Stop when a new pass\n   finds nothing worth fixing.\n\nDone when few special cases remain, a typical change touches one place,\nimports point from volatile code to stable code, and the full test suite\npasses with behavior unchanged.\n\n## Tips\n\n- Map before reading: script a dependency graph from imports, and have\n  fresh-context subagents summarize large areas.\n- Start where one fix removes the most problems.\n- Read a skeleton first: signatures and types without bodies show the\n  shape faster than the full code.\n\n## Report\n\nReply with the decision log, what each pass found, the checks you ran with\ntheir results, and any problem you left with why.\n","# Untangle a Codebase\n\nRefactor the whole codebase, or the area the user names, and finish. Treat\nit as a goal, not a list of suggestions. Behavior stays the same.\n\nThe aim is code where an agent reads little per change, a change lands in\none place, and a break shows up instead of hiding.\n\nThe test for every finding: should these pieces change together? Pieces\nthat must change together but look apart are a hidden link. Pieces that look\ntogether but need not change together are a needless link.\n\n1. **Ask about the extras.** Offer two optional passes and wait for the\n   answer, then do only the chosen ones:\n   - **Comments:** delete comments that restate the code.\n   - **Tests:** delete tests that cannot catch a real bug, and rewrite tests\n     coupled to internals to test behavior.\n2. **List every problem before changing anything.** Read the code and git\n   history (files that change in the same commits are linked). Record each\n   problem with `path:line`:\n   - **Hidden links:** copied logic or constants, state read from globals or\n     files written elsewhere, one feature split across folders by layer,\n     call-order rules nothing enforces.\n   - **Needless links:** callers that reach into internals, stable code\n     importing volatile code, general functions with parameters for one\n     workflow, shallow modules whose interface is as big as their body.\n   - **Surplus:** pass-through wrappers, config or extension points with one\n     use, dead code.\n   - **Special cases:** a branch for one value, a parameter for one caller,\n     a swallowed exception, a retry or sleep, a skipped test. Read each as a\n     requirement the design is missing.\n3. **Redesign from the causes.** Group problems that share a cause and find\n   the one change that removes the group. Never patch special cases one at a\n   time. Write a decision log: each fix, then the problems it removes, as in\n   [the example](references\u002Fdecision-log-example.md).\n4. **Fix everything on the list.** Apply the fixes in the log, then delete\n   the special cases the redesign made unnecessary. Run the project's checks\n   after each fix and keep them passing. For Comments, also delete comments\n   that worked around a problem the redesign removed; keep comments about\n   facts outside the code. Do Tests last.\n5. **Check and repeat.** Start subagents with fresh context, never a fork of\n   this conversation, each looking for one kind of problem from step 2 in the\n   changed code. Fix what they find and check again. Stop when a new pass\n   finds nothing worth fixing.\n\nDone when few special cases remain, a typical change touches one place,\nimports point from volatile code to stable code, and the full test suite\npasses with behavior unchanged.\n\n## Tips\n\n- Map before reading: script a dependency graph from imports, and have\n  fresh-context subagents summarize large areas.\n- Start where one fix removes the most problems.\n- Read a skeleton first: signatures and types without bodies show the\n  shape faster than the full code.\n\n## Report\n\nReply with the decision log, what each pass found, the checks you ran with\ntheir results, and any problem you left with why.\n",{"name":5,"description":7,"argument-hint":24},"[\u003Carea or concern to focus on>]","main","e8ff85fe8cec970c537bf34f0373fdff02834815","skills\u002Fengineering\u002Funtangling-codebases",0,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills","https:\u002F\u002Fskills.bostonaholic.dev","https:\u002F\u002Fgithub.com\u002Fbostonaholic","https:\u002F\u002Fmatthewboston.com","agility. simplicity. value.","2026-11-15 04:51:36",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add bostonaholic\u002Fskills --skill untangling-codebases",{"tool":41,"command":42},"bunx","bunx skills add bostonaholic\u002Fskills --skill untangling-codebases",{"tool":44,"command":45},"pnpm","pnpm dlx skills add bostonaholic\u002Fskills --skill untangling-codebases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Funtangling-codebases\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",254,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Funtangling-codebases\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fdecision-log-example.md",1263,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Funtangling-codebases\u002Freferences\u002Fdecision-log-example.md",[60,67,74,81,88,95],{"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},"01M7DH74HXXCFEZVAGZWETR4TY","writing-system-prompts","Writes and reviews system prompts for AI tools, agents, chatbots, and LLM products using a fixed section order and a quality checklist. Use when the user says \"write a system prompt\", or when drafting a system prompt or auditing one for missing stop criteria, tool rules, constraints, or examples. Not for compressing an existing prompt; use improving-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-system-prompts\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},"01M7DH6ZJ1RFRCGM01CGMJ10RY","writing-prose","Writes and edits prose for people in a plain, conversational, short house style with no em dashes. Use when the user says \"write this up\", or when drafting or revising documentation, READMEs, explanations, blog posts, or other human-facing prose. Not for prompts written for agents; use writing-system-prompts or composing-agent-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-prose\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},"01M7DH6TR43CYKY8VHFQWKNDWW","writing-acceptance-criteria","Writes or rewrites acceptance criteria until each is provable: one observable outcome with a named check that can fail. Use when the user says \"write acceptance criteria\", or asks to write, rewrite, or tighten acceptance criteria or a definition of done. Not for proving work meets them; use proving-claims.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-acceptance-criteria\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},"01M7DH6P0PC857A3W7CAGJPXSM","summarizing-shipped-work","Summarizes the user's merged GitHub PRs for a timeframe into a grouped, linked shipped-work report with highlights, and offers to update a brag document. Use when the user says \"what shipped?\", or when asked what the user shipped (this week, last month, a quarter, since a date), for a status update, or to update a brag doc.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fsummarizing-shipped-work\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},"01M7DH6H3YCJ59CZ0DMKHZ3N7S","running-retros","Mines a session transcript, past agent sessions, or named sources such as PR review comments for durable learnings, then proposes approval-gated edits to skills, AGENTS.md, or docs and tracker issues. Use when the user says \"retro\", or when the user explicitly asks for a retrospective. Never infer from session end or friction.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Frunning-retros\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7DH6C68WZB8Z6DD4MH770B7","learning-from-mistakes","Codifies the latest correction or mistake in the conversation as a short imperative rule in the project or global CLAUDE.md or AGENTS.md, after the user approves it. Use when the user says \"learn from this mistake\", or when the user asks to learn from a mistake, remember a lesson for next time, add a rule to CLAUDE.md, or not repeat a behavior. Not for a whole session; use running-retros.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Flearning-from-mistakes\u002FSKILL.md",[],[]]