Communitygithub.com

skill-comply: 자동 규정 준수 측정

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

skill-comply: 자동 규정 준수 측정란 무엇인가요?

이 스킬은 AI 코딩 에이전트가 실제로 할당된 규칙, 스킬, 에이전트 정의를 따르고 있는지 자동으로 측정하고 분석하는 도구입니다. Claude Code 플랫폼에서 작동하며, `.md` 파일에서 예상 행동 시퀀스(명세)를 자동 생성하고, 프롬프트 엄격성을 점진적으로 낮춘 시나리오(지원적 → 중립적 → 경쟁적)를 생성하여 에이전트가 명시적 지시 없이도 규칙을 따르는지 확인합니다. `claude -p`를 실행하고 stream-json을 통해 도구 호출 추적을 캡처한 후, 정규식이 아닌 LLM을 사용하여 각 단계의 준수 여부를 분류하고 시간적 순서 결정론적으로 검증합니다. 최종적으로 전체 타임라인과 준수 점수가 포함된 자체 완비 보고서를 생성하므로, 규칙이나 스킬 추가 후 품질 검증이나 주기적 유지보수에 유용합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/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/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

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.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

관련 스킬