Review reuse and dedup

From compartmentdev/compartment · View interactive version

Review reuse and dedup is an AI agent skill from the GitHub repository compartmentdev/compartment. Use when reviewing compartment repo changes for existing helper reuse, extractable pure utilities, duplicated logic, repeated constants, hardcoded values, or repeated variable derivations that should be simplified in the owning package or packages/utils.

How to use this skill

Skill file

Review Reuse and Dedup

Overview

Review a change for unnecessary repetition and missed reuse. The goal is to find actionable simplifications that make the changed code smaller and more canonical without turning packages/utils into a dumping ground.

What to Check

Review Rules

Sources to Inspect

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.