본문으로 건너뛰기
Skillpedia
일반 코딩15k · #10975

principle-build-the-lever

하는 일

에이전트에게 반복 가능한 작업을 검토자가 다시 실행해 볼 수 있는 도구로 자동화하는 규칙을 제공합니다. 대규모, 반복적, 검증이 어려운 변경을 다루는 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓같은 방식으로 여러 파일을 고쳐야 하는 변경일 때.
  • ✓검토자가 다시 실행해 확인할 수 있는 분석이나 검사가 필요할 때.
  • ✓스크립트가 안정적으로 할 수 있는 일을 손으로 하려고 할 때.

스킬 링크

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-build-the-lever/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-build-the-lever/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 API의 이름을 파일 200개에 걸쳐 바꿔야 합니다. 하나씩 편집하지 말고, 다시 실행할 수 있는 스크립트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 패턴을 익히려고 첫 번째 단위를 손으로 처리한 뒤, codemod 같은 재실행 가능한 도구를 만듭니다. 그 도구를 같은 단위에 다시 실행해 손으로 한 결과와 비교하며 증명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Build the Lever

When the work isn't trivial, build the tool that does it instead of doing it by hand.

A codemod, generator, or script does the work the same way every time and reruns for free. The tool is one artifact a reviewer can read and rerun to check the work. Hand-done changes can only be re-verified by redoing them. A deterministic script turns "trust me" into "run this".

Default to building the lever. Skip it only when the task is trivial, a couple of obvious edits you can see at a glance.

  • Do the first unit by hand to learn the recipe, then build the tool. Prove it by rerunning it on that unit and diffing against your hand-done version. Make the lever safe to rerun.
  • Codemod or script for edits, generator for repetitive files, a dump-to-sqlite query for analysis, a rerunnable check for verification.
  • A deterministic lever beats fan-out. If the tool can process every unit in one pass, run it yourself. Don't fan out delegates to hand-apply what a script can do.
  • When you fan work out to subagents, write the lever as a skill they all read: the recipe, the verification contract, and the do-not-touch fences in one artifact. Keep it outside the delegates' write scope so they can't quietly edit the contract.
  • Applying this principle produces a file. If you cited it and there is no codemod, script, generator, or delegate skill in the diff, you didn't apply it.
  • Commit the lever when the work outlives the session.

The bar is triviality, not repetition. A one-off still earns a lever when the lever is what makes the work checkable. Per the Laziness Protocol, build the smallest script that does or proves the job, never a framework.

Distinct from Encode Lessons in Structure, which makes a recurring instruction a durable guardrail. This is throughput and reviewability on the work in front of you. For scripting the verification itself, see Prove It Works.

자주 묻는 질문

도구를 만들 필요가 없는 경우는 언제인가요?

간단하고 뻔한 편집 몇 개처럼 사소한 작업이라면 손으로 해도 괜찮습니다.

스크립트가 수작업보다 나은 이유는?

매번 같은 방식으로 실행되고, 검토자가 직접 실행해 작업을 확인할 수 있기 때문입니다.

보조 에이전트는 어떤가요?

스크립트 하나로 작업 전체를 한 번에 끝낼 수 있다면, 작업을 보조 에이전트에게 나누기보다 스크립트를 쓰는 편이 낫습니다.

상세 정보

작성자의 원본 설명

Apply to any non-trivial work, not just bulk work: edits, migrations, analyses, checks. Build the tool that does it or proves it (codemod, script, generator, or a skill your subagents follow) instead of working by hand. The tool is the artifact a reviewer can rerun.

repo: cursor/plugins

인기도

GitHub 스타
15k
순위
#10975
라이선스
—
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬