From janmarkuslanger-engineering
Assesses the true cost a change introduces — added complexity, new infrastructure (a database, a queue, a service), new dependencies, and ongoing operational and maintenance burden. Works on a pull request, a branch, or a described feature idea, and ends with a blunt bottom-line list of what the change costs. Asks which case to assess first.
How this skill is triggered — by the user, by Claude, or both
Slash command
/janmarkuslanger-engineering:cost-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When this skill is activated, assess the **true cost** a change introduces — not just whether the code works, but what it adds to the system that has to be carried forever: more complexity, an extra database, another dependency, more to deploy, more to monitor, more to maintain. The output ends with a blunt bottom-line summary of what the change costs.
When this skill is activated, assess the true cost a change introduces — not just whether the code works, but what it adds to the system that has to be carried forever: more complexity, an extra database, another dependency, more to deploy, more to monitor, more to maintain. The output ends with a blunt bottom-line summary of what the change costs.
This is not a code-quality review. It does not judge whether the code is good — it makes the ongoing cost of the change explicit so it can be weighed against the benefit before merging.
Before starting, determine what is being assessed. Ask this first and wait for the answer unless it is already obvious from the conversation:
Then, if not already clear:
git status, git log <base>..HEAD --oneline, and git diff <base>...HEAD (three-dot range).| Dimension | What to look for |
|---|---|
| Complexity | New abstractions, indirection, branching logic, concepts a reader must hold in their head |
| Infrastructure | A new database, cache, queue, bucket, cron, external service — anything new to provision and run |
| Dependencies | New libraries or third-party/SaaS services, and the upgrade/security burden they bring |
| Operations | More to deploy, configure, monitor, alert on, scale, and back up; new failure modes and on-call surface |
| Maintenance | Ongoing upkeep, who owns it, code that will rot or need patching |
| Cognitive / onboarding | How much harder the system is to understand for the next person |
| Performance / resources | CPU, memory, storage, network, added latency, N+1s, extra round-trips |
| Security / compliance | New attack surface, secrets, PII, data-residency or audit obligations |
| Testing | New test surface, harder-to-test paths, fixtures or environments needed |
| Migration / rollback | Data migrations, backfills, how hard it is to undo if it goes wrong |
| Recurring $ | Hosting, license, or per-call costs that show up every month |
One or two sentences: what the change does and the headline cost.
For each relevant dimension, an entry:
{Dimension} — one-time | recurring
A blunt, scannable bottom line — the part the reader remembers:
- +1 database (Postgres) — recurring infra + backups + monitoring
- +2 runtime dependencies — ongoing upgrade/security burden
- More complexity — a new async job layer to reason about
- +1 deploy target — another service to ship and watch
- One-time: a data migration with a non-trivial rollback
End with a one-line verdict: is the cost proportionate to the stated benefit, or does it look heavy for what it delivers?
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub janmarkuslanger/skills --plugin janmarkuslanger-engineering