生活与工具
#agent
skill-comply
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.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=affaan-m-ecc-skills-skill-comply-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name skill-comply description 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. metadata {"origin":"ECC"} tools Read, Bash 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.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |