delete-branch

Delete a NovaDB branch by ID via the novadb_cms_delete_branch tool.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill delete-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delete-branch
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/delete-branch
Command: npx skills add https://github.com/novadb/claude-plugins --skill delete-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove obsolete or unwanted branches from NovaDB that must be permanently erased and cannot be recovered, reducing clutter and enforcing branch lifecycle policies.

Core Features & Use Cases

  • Irreversible Deletion: Permanently deletes a branch by ID; operation cannot be undone.
  • Audit Support: Accepts an optional comment and acting username for audit trails.
  • Integration: Invokes the novadb_cms_delete_branch tool for deterministic deletion; use get-branch or list-branches to locate targets.
  • Use Case: Cleanup test or feature branches after release, or remove sensitive branches created by mistake.

Quick Start

Delete the branch with ID 2100500 with the comment No longer needed and set the acting username to jdoe.

Frequently Asked Questions about delete-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I permanently delete a branch from NovaDB?

Permanently deleting a branch from NovaDB requires passing the specific branch ID to the deletion tool, along with an optional audit comment and acting username. The operation executes deterministically and returns a deletion result containing a unique transaction ID.

Can I recover a branch after deleting it from NovaDB?

Deleting a branch from NovaDB is an irreversible operation that permanently erases the branch and cannot be undone. The deletion enforces strict branch lifecycle policies without any recovery or rollback capability, so targets must be verified before execution.

How do I find the branch ID needed for branch deletion in NovaDB?

Finding the branch ID needed for branch deletion in NovaDB requires using branch lookup or listing tools within the workflow. These tools locate the target branch by querying available branches and returning their unique identifiers for the deletion process.

Does NovaDB branch deletion support audit trails for administrative workflows?

NovaDB branch deletion supports audit trails by accepting an optional comment and acting username during the deletion process. These parameters are captured to document who initiated the irreversible deletion and why it was executed for compliance tracking.

When should I permanently delete a branch instead of archiving it?

Permanently delete a branch when removing obsolete, test, or sensitive branches created by mistake that must be completely erased. This approach reduces clutter and enforces branch lifecycle policies when branches cannot be archived or recovered.

Can I automate NovaDB branch deletion in CI workflows?

You can automate NovaDB branch deletion in CI workflows by invoking the deletion tool with a branch ID and optional audit metadata. The deterministic execution returns a transaction ID, making it suitable for scripted cleanup of test or feature branches after release.