[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F58HQNK2YM22EX4SS8MZQP":3,"skill-same:01M7F58HQNK2YM22EX4SS8MZQP":58},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7F58HQNK2YM22EX4SS8MZQP","smart-git-automation",null,"Smart change detection, auto branch naming, and streamlined commit\u002FPR workflow","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fsmart-git-automation\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: smart-git-automation\nversion: 1.0.0\ndescription: \"Smart change detection, auto branch naming, and streamlined commit\u002FPR workflow\"\nrisk: critical\nsource: community\nsource_type: community\nsource_repo: mskadu\u002Fopencode-agent-skills\nlicense: MIT\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fmskadu\u002Fopencode-agent-skills\u002Fblob\u002Fmain\u002FLICENSE\"\ndate_added: \"2026-06-05\"\n---\n\n## What I do\n- Intelligently detect and group related changes\n- Auto-generate descriptive branch names from changes\n- Streamlined workflow: scan → branch → commit → push → PR with fewer prompts\n\n## When to Use\nUse this when you want a faster, smarter git workflow that groups changes logically and reduces manual confirmation overhead.\n\n## Workflow Steps\n\n### 1. Smart Detection & Grouping\nRun in parallel:\n- `git status` - check what's changed\n- `git diff --stat` - see file modification summary\n- `git diff --name-only` - list changed files only\n- `git diff --staged --stat` - see what's already staged\n\nAnalyze changes to group them logically:\n- Files in the same module\u002Fdirectory → likely related\n- Files that were modified together in recent edits → likely related\n- New files that complement each other → likely related\n\nPresent grouped changes in a clear format, e.g.:\n```\n📁 Group 1: UI Components\n  - src\u002Fcomponents\u002FButton.tsx (modified)\n  - src\u002Fcomponents\u002FButton.test.tsx (modified)\n\n📁 Group 2: API Layer\n  - src\u002Fapi\u002Fclient.ts (new)\n  - src\u002Fapi\u002Ftypes.ts (modified)\n```\n\n### 2. Auto Branch Name Generation\nGenerate branch name from dominant change pattern:\n- Use format: `\u003Ctype>\u002F\u003Cshort-description>`\n- Types: `feature`, `fix`, `refactor`, `docs`, `test`, `chore`\n- Derive description from most significant changed file\u002Ffeature\n- Convert to kebab-case, max 50 chars\n- Examples:\n  - `feature\u002Fadd-user-auth` (from auth-related files)\n  - `fix\u002Flogin-validation` (from validation changes)\n  - `refactor\u002Fapi-cleanup` (from API refactoring)\n\nShow the proposed branch name and ask for one-word confirmation (or type alternative).\n\n### 3. Streamlined Branch & Commit\n- If not on main\u002Fmaster: check if current branch matches proposed name\n  - If yes: stay on it\n  - If no: ask to switch or create new\n- Create branch only after validating the branch name, then use `git checkout -b \"$branch_name\"`\n- Stage explicit pathspecs only: `git add -- path\u002Fto\u002Ffile ...`\n  - If file paths are generated, keep them NUL-delimited (`git diff -z --name-only`) and pass them as pathspec arguments.\n  - Never concatenate untrusted filenames into a shell command and never run the placeholder text literally.\n- Auto-generate commit message from changes:\n  - First line: `\u003Ctype>: \u003Cshort description>` (max 72 chars)\n  - Body: grouped file changes with brief descriptions\n- Commit with generated message, show preview first\n- Ask for one-word confirmation to proceed\n\n### 4. Push & Optional PR\n- After commit, ask: \"Push to remote? (yes\u002Fno\u002Fabort)\"\n- If yes: `git push -u origin \u003Cbranch-name>`\n- Then ask: \"Create PR? (yes\u002Fno)\"\n- If yes:\n  - Check remote: `git remote -v`\n  - If fork: use fork's remote (e.g., `mskadu\u002Frepo-name`)\n  - Auto-generate PR description from commit messages\n  - Use `gh pr create` with:\n    - Title from branch name\n    - Body: summary of changes + file breakdown + follow-up notes\n\n## Key Rules\n- Group related files automatically, but allow user to adjust\n- Generate branch names from actual changes, don't ask user to name them\n- Reduce confirmations: ask for one-word answers or single confirmation points\n- Never commit secrets, credentials, or large binaries\n- Check if GitHub repo exists before PR creation\n- Skip PR step if user says \"no\" at any point\n- If branch already exists with changes, offer to amend or add new commit\n\n## Limitations\n\n- Do not bypass repository-specific maintainer rules, branch policies, or required review gates.\n- Confirm destructive or publishing actions explicitly; this skill should streamline routine Git flow, not remove accountability.\n","## What I do\n- Intelligently detect and group related changes\n- Auto-generate descriptive branch names from changes\n- Streamlined workflow: scan → branch → commit → push → PR with fewer prompts\n\n## When to Use\nUse this when you want a faster, smarter git workflow that groups changes logically and reduces manual confirmation overhead.\n\n## Workflow Steps\n\n### 1. Smart Detection & Grouping\nRun in parallel:\n- `git status` - check what's changed\n- `git diff --stat` - see file modification summary\n- `git diff --name-only` - list changed files only\n- `git diff --staged --stat` - see what's already staged\n\nAnalyze changes to group them logically:\n- Files in the same module\u002Fdirectory → likely related\n- Files that were modified together in recent edits → likely related\n- New files that complement each other → likely related\n\nPresent grouped changes in a clear format, e.g.:\n```\n📁 Group 1: UI Components\n  - src\u002Fcomponents\u002FButton.tsx (modified)\n  - src\u002Fcomponents\u002FButton.test.tsx (modified)\n\n📁 Group 2: API Layer\n  - src\u002Fapi\u002Fclient.ts (new)\n  - src\u002Fapi\u002Ftypes.ts (modified)\n```\n\n### 2. Auto Branch Name Generation\nGenerate branch name from dominant change pattern:\n- Use format: `\u003Ctype>\u002F\u003Cshort-description>`\n- Types: `feature`, `fix`, `refactor`, `docs`, `test`, `chore`\n- Derive description from most significant changed file\u002Ffeature\n- Convert to kebab-case, max 50 chars\n- Examples:\n  - `feature\u002Fadd-user-auth` (from auth-related files)\n  - `fix\u002Flogin-validation` (from validation changes)\n  - `refactor\u002Fapi-cleanup` (from API refactoring)\n\nShow the proposed branch name and ask for one-word confirmation (or type alternative).\n\n### 3. Streamlined Branch & Commit\n- If not on main\u002Fmaster: check if current branch matches proposed name\n  - If yes: stay on it\n  - If no: ask to switch or create new\n- Create branch only after validating the branch name, then use `git checkout -b \"$branch_name\"`\n- Stage explicit pathspecs only: `git add -- path\u002Fto\u002Ffile ...`\n  - If file paths are generated, keep them NUL-delimited (`git diff -z --name-only`) and pass them as pathspec arguments.\n  - Never concatenate untrusted filenames into a shell command and never run the placeholder text literally.\n- Auto-generate commit message from changes:\n  - First line: `\u003Ctype>: \u003Cshort description>` (max 72 chars)\n  - Body: grouped file changes with brief descriptions\n- Commit with generated message, show preview first\n- Ask for one-word confirmation to proceed\n\n### 4. Push & Optional PR\n- After commit, ask: \"Push to remote? (yes\u002Fno\u002Fabort)\"\n- If yes: `git push -u origin \u003Cbranch-name>`\n- Then ask: \"Create PR? (yes\u002Fno)\"\n- If yes:\n  - Check remote: `git remote -v`\n  - If fork: use fork's remote (e.g., `mskadu\u002Frepo-name`)\n  - Auto-generate PR description from commit messages\n  - Use `gh pr create` with:\n    - Title from branch name\n    - Body: summary of changes + file breakdown + follow-up notes\n\n## Key Rules\n- Group related files automatically, but allow user to adjust\n- Generate branch names from actual changes, don't ask user to name them\n- Reduce confirmations: ask for one-word answers or single confirmation points\n- Never commit secrets, credentials, or large binaries\n- Check if GitHub repo exists before PR creation\n- Skip PR step if user says \"no\" at any point\n- If branch already exists with changes, offer to amend or add new commit\n\n## Limitations\n\n- Do not bypass repository-specific maintainer rules, branch policies, or required review gates.\n- Confirm destructive or publishing actions explicitly; this skill should streamline routine Git flow, not remove accountability.\n",{"name":5,"risk":24,"source":25,"license":15,"version":26,"date_added":27,"description":7,"source_repo":28,"source_type":25,"license_source":29},"critical","community","1.0.0","2026-06-05","mskadu\u002Fopencode-agent-skills","https:\u002F\u002Fgithub.com\u002Fmskadu\u002Fopencode-agent-skills\u002Fblob\u002Fmain\u002FLICENSE","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fsmart-git-automation",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill smart-git-automation",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill smart-git-automation",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill smart-git-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fsmart-git-automation\u002FSKILL.md",true,[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"README.md","REFERENCE","参考文档",1502,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fsmart-git-automation\u002FREADME.md",[59,66,71,78,85,92],{"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},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":67,"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":68,"categories":69,"keywords":70,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]