# Shrike - [Shrike](https://docs.getshrike.dev/index.md): Your agent writes dead code. Shrike deletes it — and proves the app still builds. The cleanup layer for AI-built TypeScript apps. - [Installation](https://docs.getshrike.dev/getting-started/installation.md): Install the getshrike npm package, verify the CLI, and resolve the native engine on a supported platform. - [Quickstart](https://docs.getshrike.dev/getting-started/quickstart.md): Go from npx getshrike report to a reviewed cleanup plan in a TypeScript repository without changing project source. - [Cleanup report](https://docs.getshrike.dev/guides/cleanup-report.md): Read the dead-weight report: the metric, groups, branch scope, protected items, diagnostics, advisory dependencies, and the interactive view. - [Current-state cleanup](https://docs.getshrike.dev/guides/current-state-cleanup.md): Remove dead code that already existed before this branch with clean --all, through the same worktree, baseline, check, bisection, revert, and receipt pipeline. - [Report format](https://docs.getshrike.dev/reference/report-format.md): The cleanup-report JSON contract: scope, summary fields, groups, items, protected reasons, advisory dependencies, diagnostics, determinism, and an example. - [Verified pruning](https://docs.getshrike.dev/guides/verified-pruning.md): Apply deletion batches in a worktree, verify them against a baseline, read receipts, and recover from a failed revert. - [Branch cleanup](https://docs.getshrike.dev/guides/branch-cleanup.md): Remove only the code this branch orphaned with clean --base, using the same verified batches, checks, bisection, receipts, and draft-PR flow as prune. - [Agent integrations](https://docs.getshrike.dev/guides/agent-integrations.md): Install the portable Shrike skill for coding agents, add optional adapters and a bounded post-agent hook, and use the read-only MCP server. - [GitHub Action](https://docs.getshrike.dev/guides/github-action.md): Generate an advisory or gated Shrike workflow with ci install, or wire the Action manually for read-only delta mode or a verified cleanup PR. - [Commands](https://docs.getshrike.dev/reference/commands.md): Every public Shrike command, its syntax, what it changes, and whether it supports JSON output. - [Configuration](https://docs.getshrike.dev/reference/configuration.md): Where Shrike reads configuration, every supported field and default, and how validation failures surface. - [Exit codes](https://docs.getshrike.dev/reference/exit-codes.md): What each Shrike exit code means, which commands use it, and how to interpret findings, verification failures, and fail-closed errors in CI. - [Troubleshooting](https://docs.getshrike.dev/troubleshooting.md): Diagnose engine resolution, base ref, config, check, and revert failures, and know which exit code means what. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.