tfx-prune is a specialized optimization skill for the Triflux orchestrator designed to counteract the 'slop' often found in AI-generated code. It employs a unique three-agent consensus mechanism—utilizing Claude Opus, Codex, and Antigravity—to analyze code from structural, implementation, and readability perspectives. By requiring agreement between at least two independent models before making changes, it ensures high-confidence cleanup of redundant abstractions, excessive error handling, and clutter, followed by automated regression testing to maintain project integrity.
주요 기능
01Flexible Scopes: Targets specific files, git diff ranges, or entire directories.
02Multi-Model Consensus: Cross-references Claude, Codex, and Antigravity to prevent false positives.
03Automated Regression Testing: Runs existing test suites post-cleanup with automatic rollback on failure.
04Intelligent Slop Detection: Identifies over-abstraction, unused code, and excessive logging.
057 GitHub stars
06Detailed Audit Reports: Generates comprehensive summaries of detected, confirmed, and removed code elements.
사용 사례
01Optimizing TypeScript types and redundant interfaces that complicate the codebase without adding value.
02Pruning excessive comments, logs, and unreachable error handling before a production code review.
03Cleaning up verbose boilerplate and over-engineered patterns after a large AI-assisted refactor.