[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E9C8XS6338XP976D8CRDXC":3,"skill-same:01M7E9C8XS6338XP976D8CRDXC":56},{"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":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7E9C8XS6338XP976D8CRDXC","smart-git-automation",null,"Smart change detection, auto branch naming, and streamlined commit\u002FPR workflow","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fautomation\u002Fsmart-git-automation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fautomation\u002Fsmart-git-automation","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill smart-git-automation",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill smart-git-automation",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill smart-git-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fautomation\u002Fsmart-git-automation\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"README.md","REFERENCE","参考文档",1502,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fautomation\u002Fsmart-git-automation\u002FREADME.md",[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":64},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]