[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FC4PBM8TXFZGBA9RN3967W":3,"skill-same:01M7FC4PBM8TXFZGBA9RN3967W":44},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7FC4PBM8TXFZGBA9RN3967W","refactoring",null,"Restructures existing code without changing its behavior, in small steps with the tests green after each one. Use when asked to refactor, clean up, simplify, rename, extract, move or reorganize code, or to work on items recorded as \"Refactor later\".","gustavoSaboia97\u002Fcasulo","gustavoSaboia97","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F28377961?v=4","01M7FC3VEPZE3BH2DBWD0MJ57A","Gustavo Dutra Domingues Saboia","01M7FC3VF9DYHTHHVXZ0GZ630A",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Frefactoring\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: refactoring\ndescription: Restructures existing code without changing its behavior, in small steps with the tests green after each one. Use when asked to refactor, clean up, simplify, rename, extract, move or reorganize code, or to work on items recorded as \"Refactor later\".\n---\n\n# Refactoring\n\nGoal: better structure, same behavior. The tests prove the behavior; the\n`design-principles` skill says what \"better\" means.\n\n## 1. Know the target\n\n- Say in one line what the refactor is for (remove duplication, split a\n  module, simplify a function) and which code it touches. A \"Refactor later\"\n  item from a review is a good starting point.\n- Never mix it with a feature or a bug fix. If you find a bug, write it down\n  and finish the refactor first, or stop and fix the bug separately.\n\n## 2. Get a safety net first\n\nRun the tests for the code in scope. If they are missing or weak, first write\n**characterization tests**: tests that pin down what the code does today,\neven where it looks wrong, following the `tdd` skill. Commit them on their\nown before changing anything.\n\n## 3. Move in small steps\n\nOne move at a time, such as rename, extract a function, inline, move to\nanother module, merge duplicates or replace a condition with a `match`.\nAfter each move:\n\n1. Run the tests (at least those for the code in scope).\n2. Green: continue, and commit each finished logical change, as the\n   `git-workflow` skill says.\n3. Red: undo the last move instead of debugging forward, then take a smaller\n   step.\n\nDo not change a test's expected result during a refactor. If a test must\nchange, the behavior changed: stop and say so.\n\n## 4. Know when to stop\n\nStop when the target in step 1 is reached. Anything else you notice (\"while\nI am here\") goes on a list for later, not into this change. If the refactor\ngrows beyond the target or touches much more code than planned, stop and\npropose splitting it.\n\n## Output\n\nCommits of type `refactor:`, made as the `git-workflow` skill says, with the\ntests green on each. Reply in a few lines: what changed in the structure, the\ntests that cover it (and any characterization tests added), and what was\nleft for later.\n","# Refactoring\n\nGoal: better structure, same behavior. The tests prove the behavior; the\n`design-principles` skill says what \"better\" means.\n\n## 1. Know the target\n\n- Say in one line what the refactor is for (remove duplication, split a\n  module, simplify a function) and which code it touches. A \"Refactor later\"\n  item from a review is a good starting point.\n- Never mix it with a feature or a bug fix. If you find a bug, write it down\n  and finish the refactor first, or stop and fix the bug separately.\n\n## 2. Get a safety net first\n\nRun the tests for the code in scope. If they are missing or weak, first write\n**characterization tests**: tests that pin down what the code does today,\neven where it looks wrong, following the `tdd` skill. Commit them on their\nown before changing anything.\n\n## 3. Move in small steps\n\nOne move at a time, such as rename, extract a function, inline, move to\nanother module, merge duplicates or replace a condition with a `match`.\nAfter each move:\n\n1. Run the tests (at least those for the code in scope).\n2. Green: continue, and commit each finished logical change, as the\n   `git-workflow` skill says.\n3. Red: undo the last move instead of debugging forward, then take a smaller\n   step.\n\nDo not change a test's expected result during a refactor. If a test must\nchange, the behavior changed: stop and say so.\n\n## 4. Know when to stop\n\nStop when the target in step 1 is reached. Anything else you notice (\"while\nI am here\") goes on a list for later, not into this change. If the refactor\ngrows beyond the target or touches much more code than planned, stop and\npropose splitting it.\n\n## Output\n\nCommits of type `refactor:`, made as the `git-workflow` skill says, with the\ntests green on each. Reply in a few lines: what changed in the structure, the\ntests that cover it (and any characterization tests added), and what was\nleft for later.\n",{"name":5,"description":7},"main","b3235ac1d89c9647507e5697eedf0ca4efb18e47","examples\u002Fskills\u002Frefactoring","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97","2026-11-12 03:39:53",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add gustavoSaboia97\u002Fcasulo --skill refactoring",{"tool":36,"command":37},"bunx","bunx skills add gustavoSaboia97\u002Fcasulo --skill refactoring",{"tool":39,"command":40},"pnpm","pnpm dlx skills add gustavoSaboia97\u002Fcasulo --skill refactoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Frefactoring\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7FC535ZW2293Q4925SDA5C4","{name=null}","Describe what {name} does and when the agent should use it","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FC50ATDXWWH6C86220G7R9","tdd","Develops with TDD driven by BDD scenarios (Given\u002FWhen\u002FThen), writing only the functional, regression and unit tests that protect real behavior. Use when implementing a feature, fixing a bug, or when asked for tests, TDD, BDD, regression tests or coverage.","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FC4WJJ6KJM6DEJQWBG16HC","security-audit","Audits code for exploitable security problems (injection, broken access control, leaked secrets, unsafe input handling, vulnerable dependencies) and reports only verified findings with severity and fix. Use when asked for a security review or audit, before a release, or when a change touches authentication, permissions, secrets, user input, file paths, commands or network calls.","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FC4RZ6Q313R8W3J4F58KFZ","requirements","Turns a request or idea into clear, testable requirements, with scope, user stories and Given\u002FWhen\u002FThen acceptance criteria. Use when starting a new feature or project, when a request is vague, or when asked for requirements, user stories, acceptance criteria or a feature spec.","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Frequirements\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FC4KEBD4F92H6RMPPZJRZH","implementation-plan","Turns requirements into a short implementation plan of small, verifiable steps, each with the files it touches and the test scenarios it covers. Use after requirements are clear and before coding, or when asked to plan, break down or estimate a change.","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fimplementation-plan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"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},"01M7FC4GKWFFCJNJTYT7BGR0C3","git-workflow","Creates branches, small Conventional Commits and pull request descriptions, safely. Use when committing, writing a commit message, creating a branch, pushing, opening or describing a pull request, or resolving a merge conflict.","https:\u002F\u002Fgithub.com\u002FgustavoSaboia97\u002Fcasulo\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fgit-workflow\u002FSKILL.md",[],[]]