Loading...
Loading...
Apifox Branch Collaboration: Regular branches, sprint branches, AI branches, pick-to, merge, merge-request, protected branches, AI write permissions, and branch resource change processes. Used when users need to modify resources on branches, create AI branches, or merge changes.
npx skill4agent add apifox/apifox-cli-skills apifox-branchPrerequisite: Readfirst. If there is a conflict between the old main entry and the domain rules of this skill, the current CLI help and this skill shall prevail.../apifox-cli/SKILL.md
--branch--branchapifox branch --helpapifox merge-request --help--branch <branchName>Confirm source branch and target changes
-> Create AI branch
-> pick-to existing resources
-> Modify in AI branch
-> Verify via get/run/report
-> preview merge-request
-> Create merge-request or merge after user confirmation--from <sourceBranchName>ai/YYYYMMDD-from-sourceBranchName-featureOrModuleNameai/20260312-from-main-userRegisterbranch pick-to--branch <aiBranchName>getrunmerge-request previewmerge-request createbranch mergebranch gettype: SPRINTisAiBranch: true--type sprint--type ai--branch <branchName>--type ai--include-endpoint-casesAutomation caller branch requiredmerge-request preview/createbranch merge--branch <branchName>Automation caller branch required| Phenomenon | Solution |
|---|---|
Cannot find resources when using | Retry with |
| Cannot find source resources in AI branch | Import first with |
| Do not misjudge as imported; AI branch still requires pick-to |
| run-config returns 404 under branch | Confirm that case/endpoint/environment/branch all exist, then switch to |
| Merge is blocked by protected branch | Switch to |