[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVFBB79M3EZTKZWBWHR82A":3,"skill-same:01M7AVFBB79M3EZTKZWBWHR82A":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},"01M7AVFBB79M3EZTKZWBWHR82A","git-workflow-and-versioning",null,"Use when changing code with git, isolating work in a worktree, preparing atomic commits or versions, or deciding whether a branch is ready to merge, deploy, release, or hand off.","MinhDuyDEV\u002Fmd-pikit","MinhDuyDEV","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F94704296?v=4","01M7AVDRJB5JM5VG5B6K49X0EZ","Nguyễn Viết Minh Duy","01M7AVDRKDB3JPGHFE4HGK1Z5M",0,"MIT","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgit-workflow-and-versioning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: git-workflow-and-versioning\ndescription: Use when changing code with git, isolating work in a worktree, preparing atomic commits or versions, or deciding whether a branch is ready to merge, deploy, release, or hand off.\n---\n\n# Git Workflow and Delivery\n\n\u003CHARD-GATE>\nProtect the user's work. Inspect status before editing, never stage unrelated files, and do not push, merge, deploy, release, or perform another irreversible action without explicit user approval.\n\u003C\u002FHARD-GATE>\n\n## Safe Change Workflow\n\n1. Run `git status --short`; identify intended and unrelated changes.\n2. Keep each change and commit atomic: one reviewable intent per diff. Prefer short-lived branches and frequent trunk integration.\n3. Stage named files only; never use `git add .` in a mixed worktree.\n4. Treat commits as verified save points. Do not amend, rewrite, force-push, or discard user work without authorization.\n5. For versioning, update only required package versions, changelog, migration notes, tags, and user-facing docs.\n6. Before handoff, inspect status and diff summary and record verification plus remaining risks.\n\n## Worktrees for Isolation\n\nUse a worktree for multi-agent work, a long-running feature, parallel tests, or detached PR review—not a one-line fix.\n\nPreflight:\n\n- `git worktree list`: the same branch cannot be checked out twice.\n- Confirm the current worktree's dirty changes are safe and untouched.\n- Use an empty target directory in a sibling location, not nested inside the repository.\n- Prefer an absolute path and verify the intended base branch.\n\n```bash\n# New branch\n git worktree add -b feature\u002FX \u002Fabsolute\u002Fsibling\u002Frepo-X main\n# Existing branch\n git worktree add \u002Fabsolute\u002Fsibling\u002Frepo-X feature\u002FX\n# Detached review\n git worktree add --detach \u002Fabsolute\u002Fsibling\u002Fpr-123 origin\u002Fpr\u002F123\n# Cleanup after confirming work is preserved\n git worktree remove \u002Fabsolute\u002Fsibling\u002Frepo-X\n git worktree prune\n```\n\nWorktrees share repository history but have separate working directories and checked-out branches. Recheck `pwd`, branch, and status before committing or pushing.\n\n## Ship Gate\n\nA branch is not complete merely because code exists. Before presenting PR, merge, deploy, or hold options:\n\n- Check acceptance criteria line by line.\n- Use fresh verification for changed state: relevant tests, typecheck, lint, and build.\n- Run a phantom completion scan for stubs, placeholders, skipped tests, and disconnected wiring.\n- Resolve high-severity review findings.\n- Inspect the diff for secrets, local-only paths, unsafe configuration, and undocumented API\u002Fuser behavior.\n- Update changelog, docs, ADRs, and migration guidance where behavior requires it.\n- Define rollback beyond `git revert` when migrations, flags, queues, caches, or external state are involved.\n\nIf verification cannot run, report the work as partial or blocked unless the user explicitly accepts the risk. Approval to write code is not approval for an irreversible shipping action.\n\n## Completion Evidence\n\nReport branch\u002Fworktree, intended changed files, verification output, review status, version\u002Fchangelog action, rollback plan, and the approved final action—or explain why no commit or release action was taken.\n","# Git Workflow and Delivery\n\n\u003CHARD-GATE>\nProtect the user's work. Inspect status before editing, never stage unrelated files, and do not push, merge, deploy, release, or perform another irreversible action without explicit user approval.\n\u003C\u002FHARD-GATE>\n\n## Safe Change Workflow\n\n1. Run `git status --short`; identify intended and unrelated changes.\n2. Keep each change and commit atomic: one reviewable intent per diff. Prefer short-lived branches and frequent trunk integration.\n3. Stage named files only; never use `git add .` in a mixed worktree.\n4. Treat commits as verified save points. Do not amend, rewrite, force-push, or discard user work without authorization.\n5. For versioning, update only required package versions, changelog, migration notes, tags, and user-facing docs.\n6. Before handoff, inspect status and diff summary and record verification plus remaining risks.\n\n## Worktrees for Isolation\n\nUse a worktree for multi-agent work, a long-running feature, parallel tests, or detached PR review—not a one-line fix.\n\nPreflight:\n\n- `git worktree list`: the same branch cannot be checked out twice.\n- Confirm the current worktree's dirty changes are safe and untouched.\n- Use an empty target directory in a sibling location, not nested inside the repository.\n- Prefer an absolute path and verify the intended base branch.\n\n```bash\n# New branch\n git worktree add -b feature\u002FX \u002Fabsolute\u002Fsibling\u002Frepo-X main\n# Existing branch\n git worktree add \u002Fabsolute\u002Fsibling\u002Frepo-X feature\u002FX\n# Detached review\n git worktree add --detach \u002Fabsolute\u002Fsibling\u002Fpr-123 origin\u002Fpr\u002F123\n# Cleanup after confirming work is preserved\n git worktree remove \u002Fabsolute\u002Fsibling\u002Frepo-X\n git worktree prune\n```\n\nWorktrees share repository history but have separate working directories and checked-out branches. Recheck `pwd`, branch, and status before committing or pushing.\n\n## Ship Gate\n\nA branch is not complete merely because code exists. Before presenting PR, merge, deploy, or hold options:\n\n- Check acceptance criteria line by line.\n- Use fresh verification for changed state: relevant tests, typecheck, lint, and build.\n- Run a phantom completion scan for stubs, placeholders, skipped tests, and disconnected wiring.\n- Resolve high-severity review findings.\n- Inspect the diff for secrets, local-only paths, unsafe configuration, and undocumented API\u002Fuser behavior.\n- Update changelog, docs, ADRs, and migration guidance where behavior requires it.\n- Define rollback beyond `git revert` when migrations, flags, queues, caches, or external state are involved.\n\nIf verification cannot run, report the work as partial or blocked unless the user explicitly accepts the risk. Approval to write code is not approval for an irreversible shipping action.\n\n## Completion Evidence\n\nReport branch\u002Fworktree, intended changed files, verification output, review status, version\u002Fchangelog action, rollback plan, and the approved final action—or explain why no commit or release action was taken.\n",{"name":5,"description":7},"main","01207a96514af9f9c4d7d6cb594b936c6a9ddb10",".pi\u002Fskills\u002Fgit-workflow-and-versioning","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV","2026-08-20 02:00:33",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add MinhDuyDEV\u002Fmd-pikit --skill git-workflow-and-versioning",{"tool":36,"command":37},"bunx","bunx skills add MinhDuyDEV\u002Fmd-pikit --skill git-workflow-and-versioning",{"tool":39,"command":40},"pnpm","pnpm dlx skills add MinhDuyDEV\u002Fmd-pikit --skill git-workflow-and-versioning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgit-workflow-and-versioning\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},"01M7AVGJR1RSRVA3VJT8ZW4Y27","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization. Includes complete pressure testing methodology.","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fwriting-skills\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},"01M7AVGE076BNB3J7JDBGAKD2T","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fverification-before-completion\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},"01M7AVGAYJ6APXRB9QWBG7482S","typescript-coding-standards","Use when writing, refactoring, or reviewing TypeScript code that needs strong domain modeling, typed errors, schema parsing, safe adapters, test seams, or maintainable module boundaries.","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Ftypescript-coding-standards\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},"01M7AVG8CE5BTR2CRFPHHVJCJZ","test-driven-development","Use when implementing a feature, bugfix, or behavior-changing refactor — require a failing behavior test before production code, then make the smallest change that passes.","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Ftest-driven-development\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},"01M7AVG5FJH3WTG9XR2G0608ND","source-driven-development","Use when unfamiliar libraries, dependency internals, external APIs, framework behavior, migrations, or current ecosystem guidance require official documentation, version-matched source, read the tests, and cited evidence.","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fsource-driven-development\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},"01M7AVG37PZ77CF35KAR6E93ZJ","security-and-hardening","Use when auditing security, implementing authentication or authorization, handling secrets, or validating data across external trust boundaries.","https:\u002F\u002Fgithub.com\u002FMinhDuyDEV\u002Fmd-pikit\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fsecurity-and-hardening\u002FSKILL.md",[],[]]