Branches Clean

Delete non-default local and configured-remote branches one-by-one using the active repo profile, safety checks, and a final prune/report.

Clyra-AI Updated

File contents

Branches Clean

This is a local discovery wrapper for the shared Factory skill at factory/skills/branches-clean/SKILL.md.

Before using this skill:

  1. Verify factory/skills/branches-clean/SKILL.md exists.
  2. If it is missing, stop and ask the user to run:
git submodule update --init factory

Then read factory/skills/branches-clean/SKILL.md and follow that Factory skill exactly, using the active gait repo profile unless the user provides another explicit profile.

Do not treat this wrapper as the source of truth. The Factory skill is authoritative.

Gait repository skill contract:

  • When command evidence is needed, prefer gait doctor --json or another active-profile gait ... --json command from factory/profiles/gait.yaml.
  • Require --json output for machine-readable command evidence.

Clyra-AI/gait/tree/main/.agents/skills/branches-clean commit 9611c56dbf

Frequently asked questions

npx skillmds@latest add clyra-ai/branches-clean