Przejdź do treści
Biblioteka skilli
AI i agenci · Testowanie

skill-comply

/skill-comply

Sprawdza, czy agenci rzeczywiście stosują skille, reguły i definicje: generuje scenariusze na trzech poziomach ścisłości promptu, uruchamia agentów i raportuje zgodność wraz z osią czasu wywołań narzędzi.

Repozytorium
ECC ↗
Licencja
MIT
Ostatnia zmiana repozytorium
20.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
22
Skrypty
14
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 14 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/__init__.py, scripts/classifier.py, scripts/grader.py, scripts/parser.py, scripts/report.py, scripts/run.py, scripts/runner.py, scripts/scenario_generator.py

Co robi i kiedy

Sprawdza, czy agenci rzeczywiście stosują skille, reguły i definicje: generuje scenariusze na trzech poziomach ścisłości promptu, uruchamia agentów i raportuje zgodność wraz z osią czasu wywołań narzędzi.

Oryginalny opis (EN)

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.

Jak działa

  1. Supported Targets
  2. When to Activate
  3. Usage
  4. Key Concept: Prompt Independence
  5. Report Contents
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 276 słów
Podgląd SKILL.md
---
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:
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

```bash
# 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.
Pliki w paczce (22)
  • SKILL.md 2 KB
  • pyproject.toml 1 KB
  • fixtures/compliant_trace.jsonl 1 KB
  • fixtures/noncompliant_trace.jsonl 1 KB
  • fixtures/tdd_spec.yaml 1 KB
  • prompts/classifier.md 1 KB
  • prompts/scenario_generator.md 2 KB
  • prompts/spec_generator.md 2 KB
  • scripts/__init__.py 1 KB
  • scripts/classifier.py 3 KB
  • scripts/grader.py 8 KB
  • scripts/parser.py 3 KB
  • scripts/report.py 6 KB
  • scripts/run.py 4 KB
  • scripts/runner.py 10 KB
  • scripts/scenario_generator.py 2 KB
  • scripts/spec_generator.py 2 KB
  • scripts/utils.py 1 KB
  • tests/test_classifier.py 3 KB
  • tests/test_grader.py 18 KB
  • tests/test_parser.py 3 KB
  • tests/test_runner.py 22 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · affaan-m/ECC100MIT
SHRIJANAGAIN/Nemo-Cli100Apache-2.0
ginaservice/ginaservice-skills100MIT

Identyczna treść występuje jeszcze w 22 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 89872cfe3bc9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100f-comply
    Sprawdza, czy reguły Topping Out faktycznie wiążą agenta, kusząc go do ich złamania na trzech poziomach ścisłości promptu.
  • 95writing-for-agents
    Pomaga pisać skille, definicje agentów, AGENTS.md, CLAUDE.md i dokumenty referencyjne przeznaczone dla agentów.
  • 100custom-agent-definitions
    Pomaga pisać i konfigurować definicje własnych agentów w katalogu agents/ w Claude Code, w tym ich narzędzia.
  • 100domain-agentic-context
    Pomaga projektować agentów AI: prompty systemowe, definicje narzędzi, architekturę kontekstu, plany błędów i koordynację wielu agentów.
  • 90writing-for-agents
    Pisze dokumenty dla agentów: skille, definicje agentów, reguły, pliki instrukcji projektu i polecenia dla innych agentów.
  • 100add-skill
    Dodaje nowy wspólny skill do repozytorium agent-skills zgodnie z zasadami z AGENTS.md, uruchamia kontrole i przelinkowuje skille lokalnie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.