[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DNFYREXT29MCCENGQZT29E":3,"skill-same:01M7DNFYREXT29MCCENGQZT29E":47},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DNFYREXT29MCCENGQZT29E","commit",null,"Commit staged or unstaged changes with an AI-generated commit message that matches the repository's existing commit style. Use when the user asks to 'commit', 'commit changes', 'create a commit', 'save my work', or 'check in code'.","DragonBallerZ\u002Fdragon-ide","DragonBallerZ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199459338?v=4","01M7DN83GSDPNQH3ACEV21SKTQ","Z McDragon","01M7DN83HDR4KMJAMTCB5S4DCJ",12,"MIT","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: commit\ndescription: Commit staged or unstaged changes with an AI-generated commit message that matches the repository's existing commit style. Use when the user asks to 'commit', 'commit changes', 'create a commit', 'save my work', or 'check in code'.\n---\n\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Commit Changes\n\nHelp the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.\n\n## Guidelines\n\n- **Never amend existing commits** without asking.\n- **Never force-push or push** without explicit user approval.\n- **Never skip pre-commit hooks** (do not use `--no-verify`).\n- **Never skip signing commits** (do not use `--no-gpg-sign`).\n- **Never revert, reset, or discard user changes** unless the user explicitly asked for that.\n- Check for obvious secrets or generated artifacts that should not be committed. If something looks risky - ask the user.\n- When in doubt about staging, convention, or message content — ask the user.\n\n## Workflow\n\n### 1. Discover the repository's commit convention\n\nRun the following to sample recent commits and the user's own commits:\n\n```\n# Recent repo commits (for overall style)\ngit log --oneline -20\n\n# User's recent commits (for personal style)\ngit log --oneline --author=\"$(git config user.name)\" -10\n```\n\nAnalyse the output to determine the commit message convention used in the repository (e.g. Conventional Commits, Gitmoji, ticket-prefixed, free-form). All generated messages **must** follow the detected convention.\n\n### 2. Check repository status\n\n```\ngit status --short\n```\n\n- If there are **no changes** (working tree clean, nothing staged), inform the user and stop.\n- If there are **staged changes**, proceed with those and do not stage any unstaged changes.\n- If there are **only unstaged changes**, stage everything (`git add -A`), and proceed with those.\n\n### 3. Generate the commit message\n\nObtain the full diff of what will be committed:\n\n```bash\ngit diff --cached --stat\ngit diff --cached\n```\n\nUsing the diff and the commit convention detected in step 1, draft a commit message with:\n\n- A **subject line** (≤ 72 characters) that summarises the change, following the repository's convention.\n- An optional **body** that explains *why* the change was made, only when the diff is non-trivial.\n- Reference issue\u002Fticket numbers when they appear in branch names or related context.\n- Focus on the intent of the change, not a file-by-file inventory.\n\n### 4. Commit\n\nConstruct the `git commit` command with the generated message.\n\nExecute the commit:\n\n```\ngit commit -m \"\u003Csubject>\" -m \"\u003Cbody>\"\n```\n\n### 5. Confirm\n\nAfter the commit:\n\n- Run `git status --short` to confirm the commit completed.\n- Run `git log --oneline -1` to show the new commit.\n- If pre-commit hooks changed files or blocked the commit, summarize exactly what happened.\n- If hooks rewrote files after the commit attempt, do not amend automatically. Tell the user what changed and ask whether they want you to stage and commit those follow-up edits.\n","\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Commit Changes\n\nHelp the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.\n\n## Guidelines\n\n- **Never amend existing commits** without asking.\n- **Never force-push or push** without explicit user approval.\n- **Never skip pre-commit hooks** (do not use `--no-verify`).\n- **Never skip signing commits** (do not use `--no-gpg-sign`).\n- **Never revert, reset, or discard user changes** unless the user explicitly asked for that.\n- Check for obvious secrets or generated artifacts that should not be committed. If something looks risky - ask the user.\n- When in doubt about staging, convention, or message content — ask the user.\n\n## Workflow\n\n### 1. Discover the repository's commit convention\n\nRun the following to sample recent commits and the user's own commits:\n\n```\n# Recent repo commits (for overall style)\ngit log --oneline -20\n\n# User's recent commits (for personal style)\ngit log --oneline --author=\"$(git config user.name)\" -10\n```\n\nAnalyse the output to determine the commit message convention used in the repository (e.g. Conventional Commits, Gitmoji, ticket-prefixed, free-form). All generated messages **must** follow the detected convention.\n\n### 2. Check repository status\n\n```\ngit status --short\n```\n\n- If there are **no changes** (working tree clean, nothing staged), inform the user and stop.\n- If there are **staged changes**, proceed with those and do not stage any unstaged changes.\n- If there are **only unstaged changes**, stage everything (`git add -A`), and proceed with those.\n\n### 3. Generate the commit message\n\nObtain the full diff of what will be committed:\n\n```bash\ngit diff --cached --stat\ngit diff --cached\n```\n\nUsing the diff and the commit convention detected in step 1, draft a commit message with:\n\n- A **subject line** (≤ 72 characters) that summarises the change, following the repository's convention.\n- An optional **body** that explains *why* the change was made, only when the diff is non-trivial.\n- Reference issue\u002Fticket numbers when they appear in branch names or related context.\n- Focus on the intent of the change, not a file-by-file inventory.\n\n### 4. Commit\n\nConstruct the `git commit` command with the generated message.\n\nExecute the commit:\n\n```\ngit commit -m \"\u003Csubject>\" -m \"\u003Cbody>\"\n```\n\n### 5. Confirm\n\nAfter the commit:\n\n- Run `git status --short` to confirm the commit completed.\n- Run `git log --oneline -1` to show the new commit.\n- If pre-commit hooks changed files or blocked the commit, summarize exactly what happened.\n- If hooks rewrote files after the commit attempt, do not amend automatically. Tell the user what changed and ask whether they want you to stage and commit those follow-up edits.\n",{"name":5,"description":7},"main","af285532414d1fa855b4360d86103c12253e6f2f","src\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit",0,"https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide","https:\u002F\u002Fgithub.com\u002FDragonBallerZ","https:\u002F\u002Fwww.velloralabs.com","Building Dangerously Disruptive Technology. ","2026-10-23 14:19:51",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add DragonBallerZ\u002Fdragon-ide --skill commit",{"tool":39,"command":40},"bunx","bunx skills add DragonBallerZ\u002Fdragon-ide --skill commit",{"tool":42,"command":43},"pnpm","pnpm dlx skills add DragonBallerZ\u002Fdragon-ide --skill commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7DNGQPVJGHW226R8PS3R31F","update-skills","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DNGP5XJWV3CG63DVS6NR8Y","update-pr","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DNGJEMNJZR24NBJ7MF5V8R","troubleshoot","Investigate unexpected behavior in the current Copilot agent session by analyzing its event log. Use when the user asks why something happened, why a request was slow, why a tool was or was not used, or why instructions\u002Fskills\u002Fagents did not load.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Ftroubleshoot\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DNGFVCVMFN5J4ZKV27CDR1","sync","Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DNGC9GE8EKQED3ZR3KAJ0K","sync-upstream","Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync-upstream\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DNG9NJNG1QPJB6C3GFDHVS","merge","Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fmerge\u002FSKILL.md",[],[]]