Communitygithub.com

skill-comply: 자동화된 컴플라이언스 측정

스킬, 규칙, 에이전트 정의가 실제로 준수되는지 시각화합니다. 3가지 프롬프트 엄격도 수준에서 시나리오를 자동 생성하고, 에이전트를 실행하며, 행동 시퀀스를 분류하고, 전체 툴 호출 타임라인과 함께 컴플라이언스 비율을 보고합니다. 에이전트가 주어진 스킬, 규칙, 정의를 실제로 따르는지 확인할 때 사용하세요.

skill-comply: 자동화된 컴플라이언스 측정란 무엇인가요?

이 스킬은 코딩 에이전트가 스킬, 규칙, 에이전트 정의를 실제로 따르는지 자동으로 측정합니다. 지원되는 대상으로는 skills/*/SKILL.md의 워크플로우 스킬, rules/common/*.md의 필수 규칙, agents/*.md의 에이전트 정의가 있습니다. 사용자는 '/skill-comply <path>' 명령어를 실행하거나 '이 규칙이 실제로 준수되고 있습니까?'라고 질문하여 활성화할 수 있습니다. 이 스킬은 Markdown 파일에서 예상 행동 시퀀스를 자동 생성하고, 세 가지 프롬프트 엄격도 수준(지원형, 중립형, 경쟁형)에서 시나리오를 생성하며, 'claude -p' 명령 실행과 stream-json을 통한 툴 호출 추적을 결합합니다. 핵심 특징은 프롬프트 독립성 개념입니다. 즉, 프롬프트가 명시적으로 지원하지 않을 때에도 스킬/규칙이 준수되는지 측정합니다. LLM 기반 분류를 통해 툴 호출을 사양 단계에 매핑하고, 결정적 방식으로 시간적 순서를 확인합니다. 최종 보고서에는 사양, 시나리오 프롬프트, 시나리오별 컴플라이언스 점수, LLM 분류 레이블이 포함된 툴 호출 타임라인이 포함됩니다. 추가적으로, 낮은 컴플라이언스를 보이는 단계에 대한 훅 프로모션 권장 사항도 제공됩니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/skill-comply

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

skill-comply: 자동화된 컴플라이언스 측정은(는) 무엇을 하나요?

코딩 에이전트가 스킬, 규칙 또는 에이전트 정의를 실제로 따르는지 측정합니다:

  1. 모든 .md 파일에서 예상 행동 시퀀스(사양) 자동 생성
  2. 프롬프트 엄격도가 감소하는 시나리오 자동 생성 (지원형 → 중립형 → 경쟁형)
  3. claude -p 실행 및 stream-json을 통한 툴 호출 추적 수집
  4. LLM을 사용한 툴 호출 분류 (정규식 아님)
  5. 시간적 순서 결정적으로 확인
  6. 사양, 프롬프트, 타임라인이 포함된 자체 완결형 보고서 생성

지원 대상

  • 스킬 (skills/*/SKILL.md): search-first, TDD 가이드 등의 워크플로우 스킬
  • 규칙 (rules/common/*.md): testing.md, security.md, git-workflow.md 등의 필수 규칙
  • 에이전트 정의 (agents/*.md): 예상 시점에 에이전트가 호출되는지 여부 (내부 워크플로우 검증은 아직 지원되지 않음)

활성화 시점

  • 사용자가 /skill-comply <path> 실행
  • 사용자가 "이 규칙이 실제로 준수되고 있나요?"라고 질문
  • 새 규칙/스킬 추가 후 에이전트 컴플라이언스 확인
  • 품질 유지 관리를 위한 정기적 점검

사용법

# 전체 실행
uv run python -m scripts.run ~/.claude/rules/common/testing.md

# 드라이 런 (비용 없음, 사양 + 시나리오만 생성)
uv run python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md

# 커스텀 모델
uv run python -m scripts.run --gen-model haiku --model sonnet <path>

핵심 개념: 프롬프트 독립성

프롬프트가 명시적으로 지원하지 않는 상황에서도 스킬/규칙이 준수되는지 측정합니다.

보고서 내용

보고서는 자체 완결형이며 다음을 포함합니다:

  1. 예상 행동 시퀀스 (자동 생성된 사양)
  2. 시나리오 프롬프트 (각 엄격도 수준에서 요청된 내용)
  3. 시나리오별 컴플라이언스 점수
  4. LLM 분류 레이블이 포함된 툴 호출 타임라인

고급 (선택 사항)

후크에 익숙한 사용자를 위해, 보고서에는 컴플라이언스가 낮은 단계에 대한 후크 프로모션 권장 사항도 포함됩니다. 이는 정보 제공용입니다 — 주요 가치는 컴플라이언스 가시성 자체입니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬