bdg

Community

Safely manage README badge blocks.

Authorf4ah6o
Version1.0.0
Installs0

System Documentation

What problem does it solve?

bdg prevents accidental edits to README files by detecting, adding, listing, and removing badges only inside a designated marker block so repository metadata and unrelated content remain unchanged.

Core Features & Use Cases

  • Detects project context: Inspects Cargo.toml, package.json, and moon.mod.json to infer project identity and registry targets.
  • Safe badge management: Adds or removes badges strictly inside the <!-- bdg:begin --> / <!-- bdg:end --> marker, with dry-run and JSON output for review.
  • CI and registry awareness: Detects GitHub Actions workflows and registry metadata (crates.io, npm) to suggest appropriate badges.
  • Use Case: Add repository version, license, and CI badges to a Rust or Node README without altering any other sections and preview changes before writing.

Quick Start

Use bdg to add recommended badges to the README managed block and preview the edits with a dry-run.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bdg
Download link: https://github.com/f4ah6o/bdg-rs/archive/main.zip#bdg

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.