본문으로 건너뛰기
cccskills
무료GitHub에 공개

citation-enforcer

Forces every code-related claim to include file:line citations. No citation means the claim must be verified or removed. Use when building documentation, writing code reviews, or any output that others will rely on.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Citation Enforcer

Every code claim needs a citation. file:line or it didn't happen.

The rule

When you mention any of these, include the file path and line number:

  • A function name -> "validateToken() at src/auth.ts:42"
  • A variable -> "the MAX_RETRIES constant at src/config.ts:15"
  • A class -> "the UserService class at src/services/user.ts:1"
  • An import -> "imported from @auth/core at src/auth.ts:3"
  • A config value -> "timeout set to 30000 at config/default.json:12"
  • An error message -> "the error 'Invalid token' thrown at src/auth.ts:67"

Citation format

Standard: file:line Example: src/auth.ts:42

With range: file:line-line Example: src/auth.ts:42-58

With context: description at file:line Example: "the validateToken function at src/auth.ts:42"

Self-check

Before sending a response, scan it for uncited claims:

  1. Find every mention of a function, file, class, or variable
  2. Does each one have a file:line citation?
  3. If not, either: a. Use Read/Grep to find the actual location and add it b. Remove the claim if you can't find it c. Clearly state "I haven't verified where this is located"

Examples

Bad: "The authentication middleware checks for valid tokens." Good: "The authentication middleware at src/middleware/auth.ts:15-30 checks for valid tokens by calling validateToken()."

Bad: "There's a bug in the error handling." Good: "The catch block at src/api/users.ts:87 swallows the error without logging it."

Bad: "The config file has the wrong timeout." Good: "The timeout at config/production.json:23 is set to 5000ms, which may be too low for this API call."

When citations aren't needed

  • General programming concepts ("REST APIs use HTTP methods")
  • Suggestions that aren't about existing code ("you could add a retry mechanism")
  • Questions to the user ("what error are you seeing?")
  • Tool output that already includes file references

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Complete methodology for preventing AI hallucinations. Use when accuracy is critical and you need Claude to verify before claiming, cite before asserting, and admit uncertainty instead of guessing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

Transform rough ideas into solid designs through structured questioning

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

Canvas API Connection Skill

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

Assign confidence scores (0-100) to every claim in a response. Helps users understand which parts are verified facts and which are educated guesses. Use when the user needs to know how much to trust each part of the answer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

Forces Claude to extract exact quotes from files before making claims about them. Prevents hallucinations by grounding every statement in actual text from the codebase. Use when working with large files or unfamiliar code.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

Verify every claim from multiple independent angles -- code, docs, tests, git history. Use when you need high confidence that something is correct before acting on it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

a-ariff/ariff-claude-plugins142026년 3월 29일 업데이트

a-ariff의 스킬 모두 보기

이 스킬의 문제 신고