Skip to content
cccskills
FreePublished on GitHub

rt-dead-code-removal

Find code that no execution path can reach using the package's dead code detector, then check candidates for dynamic references and special entry points. Remove only confirmed dead code and its dedicated tests or fixtures, verify the package, and ship each removal.

OriginalShow the original description

Autonomous maintenance routine that deletes provably unreachable code from one monorepo package using the repo's own detectors (yarn lint:deadcode / make deadcode / scripts/lint-deadcode.sh), verifies every hit against dynamic references before deleting, and ships each removal via /ship. Use only when the user explicitly invokes /rt-dead-code-removal or asks to find and delete dead or unused code. SKIP for dead branches behind a feature flag (rt-shipped-feature-inliner), live duplicates whose callers need repointing (rt-dup-unifier), tests that pass but assert nothing (rt-useless-test-pruner), or live single-implementation indirection (rt-abstraction-improver). The core trigger is "find and delete code nothing can reach".

bex-co/beancount-io622 stars(GitHub 622 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Remove confirmed unused functions or files
  • Check detector results against dynamic imports and registries
  • Clean up tests and fixtures used only by deleted code

Files included (1)

  • SKILL.md4.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Calculates accrual adjustments for a period from a user-confirmed schedule and supporting records, then presents balanced draft entries with a stable identity. It posts through the ledger workflow only after explicit approval and checks the ledger afterward.

  • Prepare a period-end accrual from a stated schedule
  • Calculate the adjustment after checking amounts already booked
  • Draft a reversal for an accrued entry with approval
bex-co/beancount-io328Updated Nov 5, 2026

beancount-add

FreeSummary

Add user-described purchases, income, bills, transfers, account changes, prices, or notes to a local Beancount ledger. It checks for possible duplicates, proposes exact entries using existing accounts, and writes only after approval and ledger validation.

  • Record a purchase from a receipt
  • Enter a paycheck or bill payment
  • Transfer money between personal accounts
bex-co/beancount-io329Updated Nov 9, 2026

beancount-ask

FreeSummary

Answer specific questions about a local Beancount ledger, such as spending, net worth, holdings, subscriptions, or unusual entries. Each reported figure comes from a read-only query that is shown so the result can be checked and rerun.

  • Checking spending over a chosen period
  • Reviewing net worth or asset holdings
  • Finding recurring subscriptions
bex-co/beancount-io681Updated Nov 18, 2026

Answer monthly operating burn, closing cash, and runway questions using recorded cash movements in a local Beancount ledger. The output states which accounts count as cash and how runway is calculated, while excluding financing, investing, and transfers from burn. Requires bea.

  • Checking monthly operating burn from ledger cash movements
  • Estimating runway from closing cash and average burn
  • Reviewing which accounts count toward cash figures
bex-co/beancount-io622Updated Nov 17, 2026

beancount-close

FreeSummary

Closes a period in a local Beancount ledger by reconciling active accounts, checking assertions and recurring gaps, and reporting unresolved items. After a passing ledger check and explicit confirmation, it can create a commit containing the period report; it never pushes.

  • Closing the books for a month
  • Reconciling all active ledger accounts
  • Reviewing missing recurring transactions before close
bex-co/beancount-io681Updated Nov 18, 2026

beancount-import

FreeSummary

Import bank, card, broker, or payment processor exports into an existing local Beancount ledger. The workflow normalizes amounts, checks duplicates, suggests accounts from ledger history, and writes approved entries only after confirmation.

  • Importing a bank or card statement into a ledger
  • Adding broker activity or opening holdings lots
  • Recording transactions from a PDF-only statement
bex-co/beancount-io681Updated Nov 18, 2026

See all skills by bex-co

Report a problem with this skill