/dev-flows:sync [local|remote|help] [ISSUE-ID] [--tracker <entry>] [--tracker-project <name>] [--no-catch-up]from dev-flows
Commit, catch up to the base branch, push, and keep the draft PR and its issue in step with the branch. Only for this named sync workflow, not generic commit or push requests.
Ships in dev-flows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This command's instructions are in the dev-flows-base plugin.
Find dev-flows-base. Take the directory from the first of these that gives one:
echo "$DEV_FLOWS_BASE";node -e 'const f=require("fs"),p=require("path");const d=process.env.CLAUDE_CONFIG_DIR||p.join(require("os").homedir(),".claude");const all=Object.entries(JSON.parse(f.readFileSync(p.join(d,"plugins","installed_plugins.json"),"utf8")).plugins).filter(([k])=>k.startsWith("dev-flows-base@")).flatMap(([,v])=>v);const r=x=>{try{return f.realpathSync(x)}catch{return x}};const c=r(process.cwd())+"/";const e=all.find(e=>e.projectPath&&c.startsWith(r(e.projectPath)+"/"))||all.find(e=>e.scope==="user");if(e)console.log(e.installPath)', which prints where Claude Code installed it (for a session where its startup hook didn't run).When none gives one, stop: dev-flows-base isn't installed. Tell the user to run claude plugin install dev-flows-base@agent-flows and start a new session.
Check it's one this plugin can follow. Its flow contract is the one the session start names, else the contract in <that directory>/flows/manifest.json. When it isn't 1, stop: dev-flows is out of date for the installed dev-flows-base. Tell the user to run claude plugin update dev-flows@agent-flows and start a new session.
Follow the flow. Read <that directory>/flows/claude/sync/flow.md with the Read tool and follow it to the end, as the caller dev-flows (its commands are /dev-flows:<name>), with these arguments: $ARGUMENTS
When echo "$DEV_FLOWS_BASE" printed nothing, write that directory in place of $DEV_FLOWS_BASE in every command the flow gives.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub project-white-rabbit/agent-flows --plugin dev-flows12 skills in this plugin
/cancel/dev-flows:cancelAbandon the current branch's work: close its pull request, delete its remote branch, cancel its issue, and run the repo's teardown. Invoking it authorizes the cleanup. Only for scrapping work without merging, never for landing it./configure/dev-flows:configureSet up or update .agent-flows/config.json, the repo's shared dev configuration: base branch and the integrations it uses for each capability (source control, issue tracker, deployments, error tracking, …)./create-tickets