이 페이지는 아직 번역되지 않았습니다 — 영어 버전을 표시합니다.

Verification skills

강의 35분
Sign in to save your progressYou can keep reading without an account, but completed lessons won't be saved.
Sign in

Verification skills

As your project grows, you start noticing the same work happening over and over. You already know skills are a good way to automate repeated work. In this lesson we look at one specific job that skills are great for: verifying your own work. If there's one skill worth building first, this is it.

한국어 대본
  • 00:00프로젝트가 계속 성장하면 계속 반복되는 작업을 자동화하고 싶어집니다.
  • 00:05이미 이를 위해 Skills가 좋다는 것을 알고 계시겠지만, Skills를 사용해
  • 00:10작업을 검증하는 데 도움이 되도록 하는 몇 가지 팁을 소개하겠습니다. 이 예시는 가장 먼저 만들어 볼 가치가 있는 Skill입니다.
  • 00:17Claude에 무언가를 리팩터링해 달라고 요청하고 작업이 끝나면 설명이 일치하며, 해당 코드를 편집한 작업이
  • 00:21Skill이 실행됩니다. 테스트 모음을 실행하고, diff를 읽고, 어떤 테스트도 약화되어 통과하도록 바뀌지 않았는지 확인한 뒤
  • 00:26근거를 첨부해 통과 또는 실패를 보고합니다. 이제 작업을 확인하는 일이
  • 00:31확인을 요청해야 한다는 사실을 기억하는 데 더 이상 달려 있지 않습니다. 같은 형태를 팀이 반복하는 모든 절차에 적용할 수 있습니다.
  • 00:36릴리스 체크리스트나 마이그레이션 레시피에도 적용됩니다. 같은 여러 단계 지침을
  • 00:41두 번 입력했다면, 그것은 Skill입니다. 이제 Skill 폴더에는 skill.md 파일만 둘 수 있는 것이 아닙니다.
  • 00:48자세한 자료를 담은 reference.md를 옆에 추가하고 해당 Skill에서 링크하세요.
  • 00:53Claude는 더 깊은 내용이 필요할 때만 이를 읽습니다.
  • 00:55Claude는 폴더 안의 스크립트를 불러오는 대신 실행하므로
  • 00:59Skill에 자체 도구를 담을 수 있습니다.
  • 01:00skill.md 파일은 간결하게 유지하고 방대한 자료는 이런 보조 파일로 옮기세요.
  • 01:06세 가지 지침 표면을 구분하는 빠른 방법은 다음과 같습니다. 항상 적용되는 규칙은
  • 01:10CLAUDE.md 파일에 넣고, 특정 종류의 작업에 연결된 절차나 참고 자료는
  • 01:15Skill에 넣습니다.
  • 01:17Claude가 건너뛸 수 없어야 하는 규칙은 Hook에 두어야 합니다. CLAUDE.md와 Skills는 둘 다
  • 01:22실행되는 코드가 아니라 Claude가 따르는 지침이기 때문입니다.
  • 01:27Skill은 skill.md, 이름, 실행을 트리거하는 설명,
  • 01:31그리고 절차 자체가 들어 있는 폴더입니다. Skill이 필요할 때까지는 설명만 로드되므로 반복하는 모든 절차를
  • 01:37패키징하세요. 검증부터 시작해 Claude Skills에 체크인하면 팀이
  • 01:42같은 방식을 그대로 이어받습니다.
Watch on YouTube

Why a verification skill is the one to build first

Think about how you normally check Claude's work. You ask it to refactor something, it finishes, and then you have to remember to double-check it. Maybe you ask it to run the tests. Maybe you read the diff yourself. The problem is that the checking depends on you remembering to ask for it. Skip that step once and bad code slips through.

A verification skill removes that dependency. Here's the shape of it. You ask Claude to refactor something. When it finishes, the change matches the skill's description, so the skill fires on its own. From there it:

  • Runs the test suite.
  • Reads the diff.
  • Checks that no test was weakened just to make things pass.
  • Reports pass or fail, with the evidence attached.

The whole flow runs without you asking. The description on the skill is what triggers it, and once triggered it walks the same steps every time.

Notice the last check in that chain. It's not enough to run the tests and see green. A test can be quietly loosened so it passes no matter what. So the skill reads the diff and confirms tests weren't weakened. "Done" isn't "the code looks right" from reading the diff alone. Done is the gates being run and observed, with the results stated explicitly.

This same shape carries any procedure your team repeats. A release checklist. A migration recipe. A pre-PR check. The rule of thumb: if you've typed the same multi-step instruction twice, that's a skill.

A skill folder can hold more than instructions

A skill isn't just a single skill.md file. The folder around it can carry other things, and this is what makes skills powerful for verification.

  • Drop a reference.md next to the skill for detailed material, then link to it from skill.md. Claude only reads it when it actually needs that depth. Your main file stays short.
  • Put scripts in the folder too. Claude executes them rather than loading their contents into context. That means a skill can carry its own tooling, like a check.sh that runs all the gates.

The takeaway: keep skill.md itself lean. Push the heavy material, the long explanations and the executable scripts, into side files. The lean file describes what to do; the side files hold the depth and the tools.

Which instruction surface owns which rule

By now you've got three places to put instructions, and it's easy to mix them up. Here's a quick way to keep them straight.

Conventions that apply all the time, things like naming rules or where files go, belong in your CLAUDE.md file. Procedures and reference material tied to a particular kind of task belong in a skill.

There's a third case. A rule that Claude must not be able to skip belongs in a hook, not in either of the above. That's because CLAUDE.md and skills are both instructions that Claude follows, while a hook is code that actually runs. If skipping the rule isn't acceptable, don't leave it up to instruction-following.

The recap

A skill is a folder with a skill.md inside it: a name, a description that triggers it, and the procedure itself. Only the descriptions load into context until a skill is actually needed, so there's no cost to packaging every procedure you repeat.

Start with verification. Build the skill, check it into your project's .claude/skills, and now the whole team inherits the same move. Everyone's work gets checked the same way, automatically, without anyone having to remember to ask.