[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADCHR351Y7GHNPXWV7BWC3":3,"skill-same:01M7ADCHR351Y7GHNPXWV7BWC3":46},{"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":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M7ADCHR351Y7GHNPXWV7BWC3","big-file-refactor",null,"Use when a source file has grown past roughly 1000 lines, when context compaction is losing track of a file's content, or when asked to break an oversized file into modules safely.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fbig-file-refactor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: big-file-refactor\ndescription: Use when a source file has grown past roughly 1000 lines, when context compaction is losing track of a file's content, or when asked to break an oversized file into modules safely.\ndisable-model-invocation: true\n---\n\n# Big-file refactor\n\nOversized files (>~800-1500 lines, language-dependent) rot agent context: reads get truncated, compaction loses content, edits hallucinate against what is no longer visible. This is the mechanical protocol for splitting one - never a rewrite.\n\n## Phase 0 - Gate\n\n- A test suite must exist and be green BEFORE the first move. If coverage is thin, write characterization tests first (`edge-coverage`, `architecture`'s characterization-test pattern). No suite, no split.\n- Confirm the file is actually the problem: is it on the hot path of edits, or just big? Splitting cold files adds churn for nothing.\n\n## Phase A - Inventory\n\n- List every top-level symbol (class, function, constant) with line ranges.\n- Map dependents: who imports this file, and which symbols each importer uses (`grep` for each symbol).\n- Group symbols by cohesion: same data, same collaborator, same caller. These groups are the module candidates. A file that is one cohesive class is NOT a split candidate - extract methods or accept the size.\n\n## Phase B - Extraction\n\n- One mechanical move at a time: cut a cohesion group into its target module, rewire imports, commit or checkpoint.\n- Move code verbatim. Do NOT \"improve\" it while moving - renaming, reformatting, and logic edits belong to a separate pass after the split is green.\n- Keep a compatibility shim (re-export from the old path) while external callers migrate; delete the shim only when no importer needs it.\n- Target: leaf modules first (utilities, constants, types), then the groups with the fewest inbound edges.\n\n## Phase C - Verify\n\n- Tests green after EVERY move, not at the end. A red move gets reverted, not patched forward.\n- After the last move: no file should exceed the threshold, the old path either re-exports cleanly or is gone, and the import graph has no cycles.\n- Sanity: `grep` the codebase for stale references to moved symbols.\n\n## Heuristics\n\n- Threshold ~800-1000 lines for dense logic languages; generated\u002Fvendored\u002Fdata files exempt.\n- Prefer fewer, deeper modules over many shallow ones (`architecture` deep-module rule).\n- If a move fights you (symbols tangled, everything references everything), stop - the file needs redesign, not relocation. Say so.\n\n## Related\n\n- `lean-code` for what to cut once modules are visible; `de-slop`\u002F`unslop` for the cleanup pass after structure settles; `architecture` for seam design.\n","# Big-file refactor\n\nOversized files (>~800-1500 lines, language-dependent) rot agent context: reads get truncated, compaction loses content, edits hallucinate against what is no longer visible. This is the mechanical protocol for splitting one - never a rewrite.\n\n## Phase 0 - Gate\n\n- A test suite must exist and be green BEFORE the first move. If coverage is thin, write characterization tests first (`edge-coverage`, `architecture`'s characterization-test pattern). No suite, no split.\n- Confirm the file is actually the problem: is it on the hot path of edits, or just big? Splitting cold files adds churn for nothing.\n\n## Phase A - Inventory\n\n- List every top-level symbol (class, function, constant) with line ranges.\n- Map dependents: who imports this file, and which symbols each importer uses (`grep` for each symbol).\n- Group symbols by cohesion: same data, same collaborator, same caller. These groups are the module candidates. A file that is one cohesive class is NOT a split candidate - extract methods or accept the size.\n\n## Phase B - Extraction\n\n- One mechanical move at a time: cut a cohesion group into its target module, rewire imports, commit or checkpoint.\n- Move code verbatim. Do NOT \"improve\" it while moving - renaming, reformatting, and logic edits belong to a separate pass after the split is green.\n- Keep a compatibility shim (re-export from the old path) while external callers migrate; delete the shim only when no importer needs it.\n- Target: leaf modules first (utilities, constants, types), then the groups with the fewest inbound edges.\n\n## Phase C - Verify\n\n- Tests green after EVERY move, not at the end. A red move gets reverted, not patched forward.\n- After the last move: no file should exceed the threshold, the old path either re-exports cleanly or is gone, and the import graph has no cycles.\n- Sanity: `grep` the codebase for stale references to moved symbols.\n\n## Heuristics\n\n- Threshold ~800-1000 lines for dense logic languages; generated\u002Fvendored\u002Fdata files exempt.\n- Prefer fewer, deeper modules over many shallow ones (`architecture` deep-module rule).\n- If a move fights you (symbols tangled, everything references everything), stop - the file needs redesign, not relocation. Say so.\n\n## Related\n\n- `lean-code` for what to cut once modules are visible; `de-slop`\u002F`unslop` for the cleanup pass after structure settles; `architecture` for seam design.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fbig-file-refactor",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill big-file-refactor",{"tool":39,"command":40},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill big-file-refactor",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill big-file-refactor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fbig-file-refactor\u002FSKILL.md",[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"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},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\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},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\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},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\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},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":83,"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":84,"categories":85,"keywords":86,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]