Systematic Code Refactoring
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
Help users navigate complex product decisions by weighing competing priorities and calculating long-term value.
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/evaluating-trade-offs .claude/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .claude/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/evaluating-trade-offs .agents/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .agents/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/evaluating-trade-offs .cursor/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .cursor/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/RefoundAI/lenny-skills.git --path skills/evaluating-trade-offs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/evaluating-trade-offs .gemini/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .gemini/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/evaluating-trade-offs .github/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .github/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install RefoundAI/lenny-skills evaluating-trade-offs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/evaluating-trade-offs .opencode/skills/evaluating-trade-offs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "evaluating-trade-offs" agent skill from https://github.com/RefoundAI/lenny-skills/tree/main/skills/evaluating-trade-offs into .opencode/skills/evaluating-trade-offs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "evaluating-trade-offs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
evaluating-trade-offsHelp users navigate complex product decisions by weighing competing priorities and calculating long-term value.
Evaluating Trade Offs is an agent skill from RefoundAI/lenny-skills. Help users navigate complex product decisions by weighing competing priorities and calculating long-term value. This skill covers build-vs-buy logic, technical debt evaluation, and communicating tradeoffs to senior leadership.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/artifacts.md` and `references/guest-insights.md`).
It sits in Development, covering Technical debt. The repository describes itself as: 86 product management skills from Lenny's Podcast for Claude Code and AI agents. Hiring, user research, strategy, shipping, and more. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 13598cc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Evaluating Trade Offs loads about 1.6k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 884 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from RefoundAI/lenny-skills at commit 13598cc, republished under its MIT licence (© RefoundAI). 884 words, ~1,615 tokens.
.claude/skills/evaluating-trade-offs/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Master the art of weighing competing options to maximize long-term impact and team velocity.
Help the user with evaluating trade-offs using insights from 14 guests and posts across Lenny's Podcast and Newsletter.
Ryan Singer: "I often use this analogy of if you're doing a home renovation, you can have the most beautiful rendering of the new bedroom and we're going to have these lamps on the side of the bed that are coming out from the wall. But if you haven't checked if there's electricity in that wall there or not, it's going to drastically change the cost and the time and everything."
Involve senior engineers early to identify technical complexities and infrastructure constraints before committing the team to a high-fidelity design.
From "This Week #13: Balancing outcome-thinking with design and technical requirements ⚖️": "To answer your question about how we balanced this outcome-thinking with engineering and design needs (which often don’t directly drive that outcome), it’s simple — extend your outcome thinking further out into the future. How much would this work benefit your outcome (e.g. growth, quality, retention) 1+ years out? What happens if you don’t do it? What are the chances of it being successful?"
Evaluate major technical or design investments by comparing the impact of doing the work now versus the cost and risk of doing nothing.
Austin Hay: "That's how you actually have a lot of velocity is thinking about not just build versus buy. It's build and buy now. So, you buy the tool to get 90% of the way there and then you build the cool thing on top with the other 10%. And so that architecting decision usually falls on this person."
Avoid reinventing the wheel by buying third-party solutions for core functionality and focusing internal engineering on proprietary layers.
See references/artifacts.md for the full list with details.
For all 13 sourced insights from 14 guests, see references/guest-insights.md
© RefoundAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in skills/evaluating-trade-offs of RefoundAI/lenny-skills.
Open the folder on GitHubat commit 13598cc
Evaluating Trade Offs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Evaluating Trade Offs this skillRefoundAI/lenny-skills | 1.4k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Systematic Code Refactoringluongnv89/claude-howto | 42k | — | ~3k | Automated safety check: Pass | MIT | |
| Code Simplification for ego-litecitrolabs/ego-lite | 17k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Code Refactoring Workflowluongnv89/claude-howto | 42k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Cto AdvisorIbrahim-3d/orchestrator-supaconductor | 381 | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Ponytail Debt LedgerDietrichGebert/ponytail | 159k | — | ~453 | Automated safety check: Pass | MIT |
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
citrolabs/ego-lite
Finds and implements evidence-backed simplifications in the ego-lite repository, such as dead code, duplicated state and speculative abstractions, without hiding behavior changes.
luongnv89/claude-howto
Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.
Ibrahim-3d/orchestrator-supaconductor
Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.
DietrichGebert/ponytail
Collects every ponytail: comment in a codebase into one debt ledger, flags shortcuts with no upgrade trigger and reports without changing any files.
tailcallhq/forgecode
Finds every FIXME comment in a codebase, groups related ones across files into one task, implements the work they describe and removes the comments once it is done.
RefoundAI/lenny-skills
Help users conduct high-impact customer interviews that move beyond surface-level feature requests to identify root emotional frustrations and specific causal triggers.
RefoundAI/lenny-skills
Help users master their personal output by shifting from reactive scheduling to intentional energy management, internal trigger mastery, and proactive boundary setting.
RefoundAI/lenny-skills
Help users reach their first moment of core value by optimizing the first-run experience, removing friction, and aligning product design with psychological triggers.
RefoundAI/lenny-skills
Help users identify unique distribution advantages and master the lifecycle of acquisition channels to build a sustainable engine for growth and retention.
RefoundAI/lenny-skills
Help users build functional product prototypes from natural language or visual mocks using AI coding tools.
RefoundAI/lenny-skills
Help users build robust infrastructure for measuring, monitoring, and iterating on AI product performance using human, code-based, and LLM-as-a-judge methodologies.
Categories
Help users navigate complex product decisions by weighing competing priorities and calculating long-term value. Evaluating Trade Offs is an agent skill from RefoundAI/lenny-skills. Help users navigate complex product decisions by weighing competing priorities and calculating long-term value.
Evaluating Trade Offs fits situations like: tasks that involve Technical debt.
Run `npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a claude-code`. Or copy the skill folder (skills/evaluating-trade-offs in RefoundAI/lenny-skills) into .claude/skills/evaluating-trade-offs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a codex`. Or copy the skill folder (skills/evaluating-trade-offs in RefoundAI/lenny-skills) into .agents/skills/evaluating-trade-offs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RefoundAI/lenny-skills --skill evaluating-trade-offs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/evaluating-trade-offs, .gemini/skills/evaluating-trade-offs, .github/skills/evaluating-trade-offs and .opencode/skills/evaluating-trade-offs in your project.
SKILL.md names no scripts, command-line tools or credentials: Evaluating Trade Offs is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Evaluating Trade Offs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Evaluating Trade Offs: Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Code Simplification for ego-lite (citrolabs/ego-lite, 17k stars), Code Refactoring Workflow (luongnv89/claude-howto, 42k stars) and Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 381 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
RefoundAI (a GitHub organization) maintains it in RefoundAI/lenny-skills, which has 1,381 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on July 16, 2026.
Source: RefoundAI/lenny-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.