[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78F8XG982Z433X5QCVV1HPK":3,"skill-same:01M78F8XG982Z433X5QCVV1HPK":73},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M78F8XG982Z433X5QCVV1HPK","git-workflow",null,"poppyTM\u002Foride","poppyTM","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339400917?v=4","01M78F6YNKFR5S5JQR27X9F09Z","Poppy Team","01M78F6YP8ZZTRES9X8Q2ZAD21",1,"MIT","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Git Workflow, Branching & Evidence-Backed Review\n\n## Purpose\nKeep changes isolated, reviewable, and traceable with focused branches or worktrees, small conventional commits, secret-free history, and pull requests that carry test evidence and explicit acceptance mapping.\n\n## Use when\n- Starting scoped work: creating a feature, fix, or refactor branch or worktree from a pinned base.\n- Committing: writing small conventional commits that each build and pass tests independently.\n- Opening or reviewing pull requests: description, evidence, review checklist, merge strategy.\n- Repairing history hygiene: rebasing a branch, splitting an oversized change, purging an accidentally committed secret.\n\n## Do not use when\n- Designing CI pipelines or merge-gate infrastructure (use `ci-cd`; this skill owns the human workflow side).\n- Authoring Prumo Goals, phases, or acceptance criteria (use `goal-management`).\n- Cutting versioned releases with tags and signatures (use `release-engineering`).\n- Rewriting published shared history (`main`, release tags) without explicit team agreement — that is never routine.\n\n## Required context\n- Active Goal or task definition with acceptance criteria the branch must satisfy.\n- Base branch and remote state: `git status`, `git log --oneline -5`, `git fetch origin` freshness.\n- Repository conventions: commit message format (Conventional Commits), maximum change size (400 lines per PR), required reviewers (CODEOWNERS).\n- Worktree or branch naming scheme: `feat\u002Fbilling-tiered-pricing-481`, `fix\u002Finvoice-rounding-502`.\n\n## Procedure\n1. **Start isolated from a fresh base**:\n   - Sync first: `git fetch origin && git checkout -b feat\u002Fbilling-tiered-pricing-481 origin\u002Fmain`.\n   - For parallel efforts, use a linked worktree instead of stashing: `git worktree add ..\u002Fprumo-fix-502 -b fix\u002Finvoice-rounding-502 origin\u002Fmain`.\n   - Confirm isolation with `git status --short` (clean) before writing any code.\n2. **Commit small, conventional, and green**:\n   - One logical change per commit, each under 150 lines, each building and passing its package tests (`go test .\u002Finternal\u002Fbilling\u002F`).\n   - Format `type(scope): imperative summary` with a body explaining why, e.g. `fix(billing): round tiered tax half-up at line-item level`.\n   - Allowed types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`, `perf`; `refactor` commits must show zero behavior change via identical test outcomes.\n   - Never commit secrets, lockfile churn from unrelated tooling, or drive-by reformatting; run `git diff --check` and `gitleaks protect --staged` before each commit.\n3. **Keep the branch review-sized and current**:\n   - Rebase onto `origin\u002Fmain` at least daily during active work (`git pull --rebase origin main`); resolve conflicts once, promptly.\n   - If the diff exceeds 400 lines, split by stacking: `feat\u002F...-part1` merged first, part 2 branched from it.\n   - Push with `--force-with-lease` only on your own feature branch after rebase; force-pushing shared branches is prohibited.\n4. **Open an evidence-backed pull request**:\n   - Title mirrors the leading commit; body maps each acceptance criterion to its verifying test or log line.\n   - Attach evidence: CI run link, coverage delta (+1.8 percent on `internal\u002Fbilling`), and manual verification notes where automation cannot reach.\n   - Request the CODEOWNERS reviewers; a PR touching `internal\u002Fbilling\u002F` needs Marina Duarte's approval before merge.\n5. **Merge cleanly and clean up**:\n   - Merge strategy per repo policy: squash for feature branches (one commit per PR on `main`), merge-commit for release branches to preserve the trail.\n   - Delete the branch and prune the worktree after merge (`git worktree remove ..\u002Fprumo-fix-502 --force; git branch -d fix\u002Finvoice-rounding-502`).\n   - Run the verification script `scripts\u002Fverify.sh` from the repo root; it must exit 0.\n\n## Decision rules\n- **One Branch, One Purpose**: A branch touching two unrelated concerns is split; mixed PRs are closed, not reviewed.\n- **Every Commit Builds**: Each commit on a feature branch must compile and pass its package tests; `git bisect` on the branch must never land on red.\n- **Conventional Format Is Mandatory**: Non-conventional messages fail review because changelog generation and SemVer inference depend on them.\n- **Force-Push Is Branch-Private**: `--force-with-lease` is allowed only on unshared feature branches; shared history is append-only.\n- **Secrets in History Trigger Incident Response**: A committed secret is rotated immediately and purged with `git filter-repo`, never just deleted in a follow-up commit.\n\n## Evidence required\n- Pull request record adhering to `templates\u002Fgit-workflow-spec.md` with acceptance mapping and test links.\n- Commit list showing conventional format, small sizes, and per-commit green status.\n- `git diff --check` and staged secret-scan logs clean at each commit.\n- Review approvals from CODEOWNERS reviewers recorded on the PR.\n- Passing execution log from `scripts\u002Fverify.sh`.\n\n## Output contract\n- Merged change on the base branch as one traceable unit (squashed commit or merge commit per policy).\n- PR documentation: scope, acceptance mapping, coverage delta, risk notes, rollback pointer.\n- Clean local state: branch deleted, worktree pruned, no stash leftovers.\n- History invariants intact: linear feature history or preserved release trail as policy dictates.\n\n## Stop conditions\n- PR merged with required approvals, CI green, and acceptance criteria mapped to evidence.\n- Change formally rejected in review with recorded rationale and follow-up tasks filed.\n- Worktree and branch cleaned up with nothing unpushed or stashed.\n- Token budget exhausted.\n- Blocked on external dependency.\n\n## Escalation rules\n- Escalate to the owning team if a required reviewer is unavailable for more than 2 business days; do not merge around CODEOWNERS.\n- Escalate to Security immediately if a secret reaches any branch; rotate first, purge second, investigate third.\n- Escalate to Lead if a merge conflict reveals two Goals editing the same contract; stop and reconcile scope before rebasing through it.\n",{},"main","1cd515630b8ceb57777d466bee4970fe7c2e30e0",".agents\u002Fskills\u002Fgit-workflow",0,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride","https:\u002F\u002Fgithub.com\u002FpoppyTM","https:\u002F\u002Fpoppy.lat","Construímos linguagens de programação e ferramentas para quem lê código com o mesmo cuidado com que escreve.","2026-09-30 10:15:52",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add poppyTM\u002Foride --skill git-workflow",{"tool":37,"command":38},"bunx","bunx skills add poppyTM\u002Foride --skill git-workflow",{"tool":40,"command":41},"pnpm","pnpm dlx skills add poppyTM\u002Foride --skill git-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002FSKILL.md",true,[45,51,55,59,65,69],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"checks\u002Fgit-workflow-checklist.md","REFERENCE","参考文档",2232,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Fchecks\u002Fgit-workflow-checklist.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"manifest.json",2255,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Fmanifest.json",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fgit-workflow-guide.md",3450,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Freferences\u002Fgit-workflow-guide.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fverify.sh","SCRIPT","脚本",3877,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Fscripts\u002Fverify.sh",{"path":66,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":67,"sourceHtmlUrl":68},"templates\u002Fgit-workflow-spec.md",2391,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Ftemplates\u002Fgit-workflow-spec.md",{"path":70,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":71,"sourceHtmlUrl":72},"templates\u002Fgit-workflow-template.md",780,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgit-workflow\u002Ftemplates\u002Fgit-workflow-template.md",[74,80,86,93,100,107],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M78FHQN254KEH0DETXT5JM29","zoom-reflow","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fzoom-reflow\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M78FHP1880S695V8GQEE0RXK","wireframe-styleguide","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fwireframe-styleguide\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M78FHHYM6AN2H819FABW01DZ","visual-regression","Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fvisual-regression\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M78FHE53D8DD0QVRY5C37DA4","ui-implementation","Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fui-implementation\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M78FHBJ1KXFF734GFE509TBJ","tui-editor-engine","Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftui-editor-engine\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M78FH9X6CPJX1H61ZDWTTVW8","tree-sitter-context-indexing","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftree-sitter-context-indexing\u002FSKILL.md",[],[]]