worktree-flow
Create, resume, verify, checkpoint or clean an assigned Rifare Git worktree using native Git and documented local commands. Distinguish checkout isolation from runtime isolation.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-10-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- worktree-flow
- description
- Create, resume, verify, checkpoint or clean an assigned Rifare Git worktree using native Git and documented local commands. Distinguish checkout isolation from runtime isolation.
03 SKILL.md 正文
Run an assigned worktree
Adapted from the pinned workflow in docs/WORKFLOW-ADOPTION.md. Read docs/DEVELOPMENT.md, docs/GOVERNANCE.md and the assigned work record.
- Discover repository/worktree with Git. Inspect status, branch, worktree listing, owner and base. A
.gitfile is valid. Do not construct shared administration paths or disable Git's same-branch guard. - Reconcile interrupted writers, uncommitted/staged changes and owned processes before takeover. Shared repository configuration/ref changes need the administration owner. Worktree locks are not agent semaphores.
- Create/resume the assigned branch with native
git worktree addfrom its recorded base. Preserve other branches and verify the resulting checkout. Use a clean separate verification worktree when necessary. - Restore documented toolchain, fixtures and configuration. Current starter checks require only Git/Python; no product runtime exists. Missing isolation or startup behavior is future goal work, not a passing assumption.
- For future product instances, verify independent ports, data, queues, storage, callback destinations and external development effects. Prove independence with two actual instances before claiming it.
- Run local checks for feedback. Acceptance uses fixed source/build inputs with exact commands, assertions and outcomes. Dirty/live-edit observations are exploratory.
- Update only the assigned branch's work record. Checkpoint source and decisions before handoff, provide exact revisions and preserve durable review links. Publication requires an authorized remote and actual verification.
- Stop and clean only owned processes/resources. Preserve necessary source refs and outcome records first. Report partial cleanup, local-only recovery and remaining work without declaring acceptance.
Use native Git, the operating system and maintained project commands. Do not add a daemon, global lock database, custom worktree CLI or worker scheduler.
04 同仓库更多 Skills
support-reply
Grounded support and human handoff. Use for verified case support without executing financial or messaging actions.
shipment-assistance
Partial-shipment and carrier-exception assistance. Use for verified case support without executing financial or messaging actions.
safe-order-edit
Prepare or resume a verified order change through pinned merchant rules, independent approvals, settlement checks, warehouse acknowledgments, and owned-hold release. Never infer shipment safety from a successful order change.
return-intake-shadow
Classify reported return problems and requested resolutions beside the existing manual case workflow.
return-intake-shadow
Review reported return needs with optional explicitly approved image usability observations.
return-guide
Explain return eligibility using published rules; never authorize money.