S

skill-comply

by @affaan-mv
4.4(20)

AIエージェントの行動規範テストシナリオを自動生成し、コードエージェントがスキル定義とルール要件に厳密に従っているかを検証します。

ai-agentstest-automationprompt-engineeringquality-assurancellm-orchestrationGitHub
インストール方法
npx skills add https://github.com/affaan-m/everything-claude-code --skill skill-comply
compare_arrows

Before / After 効果比較

1 组
使用前

AIエージェントの動作検証のため、手動でテストケースを作成し、各出力が仕様に準拠しているかを手動で確認します。1つのエージェントに数日かかり、カバレッジが限定的で、エッジケースを見落としがちです。

使用後

仕様書から完全なテストスイートを自動生成し、様々な厳格度レベルのテストシナリオを含みます。自動で実行し、コンプライアンスレポートを生成し、2時間で包括的な検証を完了します。

SKILL.md

skill-comply

skill-comply: Automated Compliance Measurement

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

  • Auto-generating expected behavioral sequences (specs) from any .md file

  • Auto-generating scenarios with decreasing prompt strictness (supportive → neutral → competing)

  • Running claude -p and capturing tool call traces via stream-json

  • Classifying tool calls against spec steps using LLM (not regex)

  • Checking temporal ordering deterministically

  • 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:

  • Expected behavioral sequence (auto-generated spec)

  • Scenario prompts (what was asked at each strictness level)

  • Compliance scores per scenario

  • 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. Weekly Installs325Repositoryaffaan-m/everyt…ude-codeGitHub Stars114.8KFirst Seen6 days agoSecurity AuditsGen Agent Trust HubFailSocketWarnSnykFailInstalled oncodex314cursor281gemini-cli280github-copilot280cline280opencode280

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数4.9K
評価4.4 / 5.0
バージョン
更新日2026年8月7日
比較事例1 件

ユーザー評価

4.4(20)
5
40%
4
50%
3
10%
2
0%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code

タイムライン

作成2026年3月30日
最終更新2026年8月7日
🎁 Agent 知識カード
アンケート