본문으로 건너뛰기
Skillpedia
에이전트280k · #408

skill-comply

하는 일

이 도구는 AI 에이전트가 받은 지시를 따르는지 확인합니다. 지시가 명시적이지 않을 때도 에이전트가 기대대로 행동하는지 보기 위해 시험을 만듭니다.

사용하는 경우

  • ✓AI 에이전트가 규칙을 따르는지 확실히 하고 싶을 때.
  • ✓에이전트에 새 규칙이나 지시를 만든 뒤.
  • ✓AI 에이전트가 제대로 기능하는지 확인할 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/skill-comply/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“AI 에이전트가 보안 규칙을 따르는지 확인해 주세요.”

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

작동 방식

도구는 에이전트가 어떻게 행동해야 하는지 예시를 만든 뒤, 실제로 그렇게 하는지 시험합니다. 에이전트가 지시를 얼마나 잘 따르는지 측정합니다.

기술 내용 (원본 SKILL.md)

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

skill-comply: Automated Compliance Measurement

Measures whether coding agents actually follow skills, rules, or agent definitions by:

  1. Auto-generating expected behavioral sequences (specs) from any .md file
  2. Auto-generating scenarios with decreasing prompt strictness (supportive → neutral → competing)
  3. Running claude -p and capturing tool call traces via stream-json
  4. Classifying tool calls against spec steps using LLM (not regex)
  5. Checking temporal ordering deterministically
  6. Generating self-contained reports with spec, prompts, and timelines

Supported Targets

  • Skills (skills/*/SKILL.md): Workflow skills like search-first, TDD guides
  • Rules (rules/common/*.md): Mandatory rules like testing.md, security.md, git-workflow.md
  • Agent definitions (agents/*.md): Whether an agent gets invoked when expected (internal workflow verification not yet supported)

When to Activate

  • User runs /skill-comply <path>
  • User asks "is this rule actually being followed?"
  • After adding new rules/skills, to verify agent compliance
  • Periodically as part of quality maintenance

Usage

# Full run
uv run python -m scripts.run ~/.claude/rules/common/testing.md

# Dry run (no cost, spec + scenarios only)
uv run python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md

# Custom models
uv run python -m scripts.run --gen-model haiku --model sonnet <path>

Key Concept: Prompt Independence

Measures whether a skill/rule is followed even when the prompt doesn't explicitly support it.

Report Contents

Reports are self-contained and include:

  1. Expected behavioral sequence (auto-generated spec)
  2. Scenario prompts (what was asked at each strictness level)
  3. Compliance scores per scenario
  4. Tool call timelines with LLM classification labels

Advanced (optional)

For users familiar with hooks, reports also include hook promotion recommendations for steps with low compliance. This is informational — the main value is the compliance visibility itself.

자주 묻는 질문

'decreasing prompt strictness' 시나리오란 무엇인가요?

도구가 만든 시험입니다. 매우 명확한 지시로 시작해서 점점 모호해지며, 에이전트가 여전히 기대되는 것을 이해하고 따르는지 봅니다.

'Prompt Independence'는 무엇인가요?

프롬프트가 그 규칙을 직접 언급하지 않을 때도 에이전트가 그 규칙을 따르는지 시험하는 것을 뜻합니다.

최종 보고서에는 무엇이 나오나요?

기대했던 것, 수행된 시험, 결과(에이전트가 따랐는지 여부), 그리고 에이전트 행동의 타임라인을 보여 줍니다.

상세 정보

작성자의 원본 설명

Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use when checking whether agents actually follow the skills, rules, and definitions they were given, rather than assuming they do.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#408
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬