[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758XGA8C5Z38GAJQAHBE5PS":3,"skill-same:01M758XGA8C5Z38GAJQAHBE5PS":73},{"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":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M758XGA8C5Z38GAJQAHBE5PS","git-workflow-master",null,"Trigger: Git workflows, branching strategies, commit conventions, history management. Git workflow expert with branching, conventional commits, CI-friendly practices, and work-unit commit planning.","davidcoachdev\u002Fdcfiles","davidcoachdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69812733?v=4","01M758C4BR16TAV1N47W319E9V","David H. Caycedo Blum.","01M758C4CCZA2ZYGA0BGMXCDRH",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: git-workflow-master\ndescription: \"Trigger: Git workflows, branching strategies, commit conventions, history management. Git workflow expert with branching, conventional commits, CI-friendly practices, and work-unit commit planning.\"\n\n---\n\n> **Absorbed:** `work-unit-commits` (commit planning as reviewable work units)\n  history cleanup, merge conflicts, or CI\u002FCD Git integration.\n---\n\n## When to Use\n\n- Designing branching strategies (GitFlow, Trunk-Based, GitHub Flow)\n- Writing conventional commits\n- Cleaning up Git history (rebase, squash, amend)\n- Resolving merge conflicts\n- Setting up CI\u002FCD Git integration\n- Cherry-picking, bisecting, blaming\n\n## Branching Strategies\n\n### Trunk-Based Development (Recommended for most teams)\n\n```\nmain ───────────────────────────────────────►\n  ├─ feature\u002Fshort-lived-1 ──► (merged in \u003C1 day)\n  ├─ feature\u002Fshort-lived-2 ──► (merged in \u003C1 day)\n  └─ release\u002Fv1.2 ────────────► (if needed)\n\nRules:\n- Feature branches live \u003C1 day (ideally \u003C2 hours)\n- Commit to main frequently (CI must be green)\n- Feature flags for incomplete work\n- Pair programming over long-lived branches\n```\n\n### GitHub Flow (Simple, popular)\n\n```\nmain ───────────────────────────────────►\n  └─ feature\u002Fadd-auth ──────► PR → merge to main\n\nRules:\n- main is always deployable\n- Feature branches for everything\n- PRs required for merge\n- Deploy from main automatically\n```\n\n### GitFlow (Complex, for scheduled releases)\n\n```\nmain ──────────────────────────────► (production)\ndevelop ───────────────────────────► (integration)\n  ├─ feature\u002Fnew-api ─────────────► (into develop)\n  ├─ release\u002Fv1.2 ────────────────► (into main + develop)\n  └─ hotfix\u002Fsecurity-patch ───────► (into main + develop)\n\nRules:\n- main = production, develop = next release\n- Release branches when stabilizing\n- Hotfix branches from main\n- Use only if you have scheduled releases\n```\n\n## Conventional Commits 1.0.0\n\n### Format\n```\n\u003Ctype>(\u003Cscope>): \u003Cdescription>\n\n[optional body]\n\n[optional footer(s)]\n```\n\n### Types\n\n| Type | When | Example |\n|------|------|---------|\n| `feat` | New feature | `feat(auth): add OAuth2 login` |\n| `fix` | Bug fix | `fix(api): handle null response` |\n| `docs` | Documentation | `docs(readme): update install steps` |\n| `style` | Formatting, no logic | `style(lint): fix semicolon` |\n| `refactor` | Code restructure | `refactor(auth): extract token service` |\n| `perf` | Performance | `perf(list): virtualize rendering` |\n| `test` | Adding tests | `test(auth): add login integration test` |\n| `build` | Build system | `build(docker): update node version` |\n| `ci` | CI config | `ci(actions): add lint step` |\n| `chore` | Maintenance | `chore(deps): bump react to 19` |\n| `revert` | Revert commit | `revert: feat(auth): add OAuth2 login` |\n\n### Breaking Changes\n```\nfeat(api): change user endpoint response format\n\nBREAKING CHANGE: \u002Fapi\u002Fusers now returns { data: [...] } instead of [...]\n```\n\nOr use `!` shorthand: `feat(api)!: change user endpoint response format`\n\n## History Cleanup Commands\n\n### Interactive Rebase (Edit last N commits)\n```bash\ngit rebase -i HEAD~3\n# pick → keep commit\n# squash → merge with previous\n# reword → change message\n# edit → pause and modify commit\n# drop → remove commit\n```\n\n### Squash All Commits in Branch\n```bash\ngit merge --squash feature\u002Fbranch\ngit commit -m \"feat(scope): add feature description\"\n```\n\n### Amend Last Commit (Message Only)\n```bash\ngit commit --amend -m \"feat(scope): better message\"\n```\n\n### Remove File from History (Sensitive Data)\n```bash\ngit filter-branch --force --index-filter \\\n  'git rm --cached --ignore-unmatch path\u002Fto\u002Ffile' \\\n  --prune-empty HEAD\n# Or use BFG (faster):\nbfg --delete-files path\u002Fto\u002Ffile\ngit reflog expire --expire=now --all && git gc --prune=now\n```\n\n### Find When a Bug Was Introduced\n```bash\ngit bisect start\ngit bisect bad          # current commit is broken\ngit bisect good \u003Chash>  # this commit was fine\n# Git checks out middle commit\ngit bisect good         # if middle works\ngit bisect bad          # if middle is broken\n# Repeat until found\ngit bisect reset        # clean up\n```\n\n## Merge Conflict Resolution\n\n```bash\n# See which files conflict\ngit status\n\n# Three-way merge tool\ngit mergetool\n\n# Accept ours for all conflicts in a file\ngit checkout --ours path\u002Fto\u002Ffile\ngit add path\u002Fto\u002Ffile\n\n# Accept theirs for all conflicts in a file\ngit checkout --theirs path\u002Fto\u002Ffile\ngit add path\u002Fto\u002Ffile\n\n# Rebase instead of merge (cleaner history)\ngit pull --rebase origin main\n\n# Abort merge if too complex\ngit merge --abort\n```\n\n## CI\u002FCD Git Best Practices\n\n```yaml\n# .github\u002Fworkflows\u002Fci.yml — essentials\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  lint-and-test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n        with:\n          fetch-depth: 0  # Full history for analysis\n      - run: npm ci\n      - run: npm run lint\n      - run: npm test\n      - run: npm run build\n```\n\n### Git Rules for CI\n1. **main is always green** — never merge broken code\n2. **Small PRs** — max 400 lines changed, easier to review\n3. **Rebase, don't merge** into feature branches from main\n4. **Sign commits** — `git config commit.gpgsign true`\n5. **Protect main** — require PR reviews, CI passes, no force push\n\n## Resources\n\nSee `references\u002F` for detailed guides and code examples in `assets\u002F`.\n\n## External Resources\n\n- [Official Documentation]","> **Absorbed:** `work-unit-commits` (commit planning as reviewable work units)\n  history cleanup, merge conflicts, or CI\u002FCD Git integration.\n---\n\n## When to Use\n\n- Designing branching strategies (GitFlow, Trunk-Based, GitHub Flow)\n- Writing conventional commits\n- Cleaning up Git history (rebase, squash, amend)\n- Resolving merge conflicts\n- Setting up CI\u002FCD Git integration\n- Cherry-picking, bisecting, blaming\n\n## Branching Strategies\n\n### Trunk-Based Development (Recommended for most teams)\n\n```\nmain ───────────────────────────────────────►\n  ├─ feature\u002Fshort-lived-1 ──► (merged in \u003C1 day)\n  ├─ feature\u002Fshort-lived-2 ──► (merged in \u003C1 day)\n  └─ release\u002Fv1.2 ────────────► (if needed)\n\nRules:\n- Feature branches live \u003C1 day (ideally \u003C2 hours)\n- Commit to main frequently (CI must be green)\n- Feature flags for incomplete work\n- Pair programming over long-lived branches\n```\n\n### GitHub Flow (Simple, popular)\n\n```\nmain ───────────────────────────────────►\n  └─ feature\u002Fadd-auth ──────► PR → merge to main\n\nRules:\n- main is always deployable\n- Feature branches for everything\n- PRs required for merge\n- Deploy from main automatically\n```\n\n### GitFlow (Complex, for scheduled releases)\n\n```\nmain ──────────────────────────────► (production)\ndevelop ───────────────────────────► (integration)\n  ├─ feature\u002Fnew-api ─────────────► (into develop)\n  ├─ release\u002Fv1.2 ────────────────► (into main + develop)\n  └─ hotfix\u002Fsecurity-patch ───────► (into main + develop)\n\nRules:\n- main = production, develop = next release\n- Release branches when stabilizing\n- Hotfix branches from main\n- Use only if you have scheduled releases\n```\n\n## Conventional Commits 1.0.0\n\n### Format\n```\n\u003Ctype>(\u003Cscope>): \u003Cdescription>\n\n[optional body]\n\n[optional footer(s)]\n```\n\n### Types\n\n| Type | When | Example |\n|------|------|---------|\n| `feat` | New feature | `feat(auth): add OAuth2 login` |\n| `fix` | Bug fix | `fix(api): handle null response` |\n| `docs` | Documentation | `docs(readme): update install steps` |\n| `style` | Formatting, no logic | `style(lint): fix semicolon` |\n| `refactor` | Code restructure | `refactor(auth): extract token service` |\n| `perf` | Performance | `perf(list): virtualize rendering` |\n| `test` | Adding tests | `test(auth): add login integration test` |\n| `build` | Build system | `build(docker): update node version` |\n| `ci` | CI config | `ci(actions): add lint step` |\n| `chore` | Maintenance | `chore(deps): bump react to 19` |\n| `revert` | Revert commit | `revert: feat(auth): add OAuth2 login` |\n\n### Breaking Changes\n```\nfeat(api): change user endpoint response format\n\nBREAKING CHANGE: \u002Fapi\u002Fusers now returns { data: [...] } instead of [...]\n```\n\nOr use `!` shorthand: `feat(api)!: change user endpoint response format`\n\n## History Cleanup Commands\n\n### Interactive Rebase (Edit last N commits)\n```bash\ngit rebase -i HEAD~3\n# pick → keep commit\n# squash → merge with previous\n# reword → change message\n# edit → pause and modify commit\n# drop → remove commit\n```\n\n### Squash All Commits in Branch\n```bash\ngit merge --squash feature\u002Fbranch\ngit commit -m \"feat(scope): add feature description\"\n```\n\n### Amend Last Commit (Message Only)\n```bash\ngit commit --amend -m \"feat(scope): better message\"\n```\n\n### Remove File from History (Sensitive Data)\n```bash\ngit filter-branch --force --index-filter \\\n  'git rm --cached --ignore-unmatch path\u002Fto\u002Ffile' \\\n  --prune-empty HEAD\n# Or use BFG (faster):\nbfg --delete-files path\u002Fto\u002Ffile\ngit reflog expire --expire=now --all && git gc --prune=now\n```\n\n### Find When a Bug Was Introduced\n```bash\ngit bisect start\ngit bisect bad          # current commit is broken\ngit bisect good \u003Chash>  # this commit was fine\n# Git checks out middle commit\ngit bisect good         # if middle works\ngit bisect bad          # if middle is broken\n# Repeat until found\ngit bisect reset        # clean up\n```\n\n## Merge Conflict Resolution\n\n```bash\n# See which files conflict\ngit status\n\n# Three-way merge tool\ngit mergetool\n\n# Accept ours for all conflicts in a file\ngit checkout --ours path\u002Fto\u002Ffile\ngit add path\u002Fto\u002Ffile\n\n# Accept theirs for all conflicts in a file\ngit checkout --theirs path\u002Fto\u002Ffile\ngit add path\u002Fto\u002Ffile\n\n# Rebase instead of merge (cleaner history)\ngit pull --rebase origin main\n\n# Abort merge if too complex\ngit merge --abort\n```\n\n## CI\u002FCD Git Best Practices\n\n```yaml\n# .github\u002Fworkflows\u002Fci.yml — essentials\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  lint-and-test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n        with:\n          fetch-depth: 0  # Full history for analysis\n      - run: npm ci\n      - run: npm run lint\n      - run: npm test\n      - run: npm run build\n```\n\n### Git Rules for CI\n1. **main is always green** — never merge broken code\n2. **Small PRs** — max 400 lines changed, easier to review\n3. **Rebase, don't merge** into feature branches from main\n4. **Sign commits** — `git config commit.gpgsign true`\n5. **Protect main** — require PR reviews, CI passes, no force push\n\n## Resources\n\nSee `references\u002F` for detailed guides and code examples in `assets\u002F`.\n\n## External Resources\n\n- [Official Documentation]",{"name":5,"description":7},"main","5dc86f90a5cbe45db3acd917825461b3ed6937fb","config\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master",0,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev","🌐 Apasionado por crear soluciones web escalables y eficientes. \r\n🧑‍🏫 Coach Dev.\r\n💻 Frontend Dev. \r\n🎚️Backend Dev.\r\n📊 Agile\u002FScrum.\r\n🚀100% remoto.","2026-08-26 07:28:05",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add davidcoachdev\u002Fdcfiles --skill git-workflow-master",{"tool":38,"command":39},"bunx","bunx skills add davidcoachdev\u002Fdcfiles --skill git-workflow-master",{"tool":41,"command":42},"pnpm","pnpm dlx skills add davidcoachdev\u002Fdcfiles --skill git-workflow-master","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002FSKILL.md",true,[46,52,58,62,66,70],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},".skill-meta.json","REFERENCE","参考文档",500,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002F.skill-meta.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002F01-conventional-commits.txt","ASSET","资产文件",727,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002Fassets\u002F01-conventional-commits.txt",{"path":59,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":60,"sourceHtmlUrl":61},"README.md",431,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002FREADME.md",{"path":63,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002F01-branching-strategies.md",72,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002Freferences\u002F01-branching-strategies.md",{"path":67,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002F02-conventional-commits.md",68,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002Freferences\u002F02-conventional-commits.md",{"path":71,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":72},"references\u002F03-history-management.md","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fgit-workflow-master\u002Freferences\u002F03-history-management.md",[74,82,89,96,103,110],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7740FETMZY1VTYAEFY1TWY7","zustand-5","Zustand 5 state management patterns. Trigger: When managing React state with Zustand.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzustand-5\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M773ZZM9V68SA1AKP4WF4J29","zod-4","Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzod-4\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M773ZJFR90CQAY0N9QR40QVP","x-bookmark-quote-posts","Workflow para revisar bookmarks de X\u002FTwitter y convertirlos en drafts de quote posts. Accede a la sección de bookmarks vía browser headless, extrae posts recientes, y genera drafts con voz personal del usuario. No publica ni muta X — solo genera contenido para revisión. Trigger: X bookmarks, Twitter bookmarks, quote posts, bookmark automation, crear quote posts, revisar bookmarks, growth content X.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fx-bookmark-quote-posts\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M773Z2RGV3786FV310SDB0YD","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M773YJH3KDSW467CSS63CSRJ","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M773Y3S3H2CPRK5S8YFHWB5C","work-unit-commits","Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwork-unit-commits\u002FSKILL.md",[],[]]