मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट280k · #408

skill-comply

यह क्या करती है

यह टूल जाँचता है कि AI एजेंट अपने दिए गए निर्देशों को सही से मानता है या नहीं। यह टेस्ट बनाता है ताकि देखा जा सके कि एजेंट वैसा ही व्यवहार करता है जैसा उम्मीद है, भले ही निर्देश साफ़ तौर पर न लिखे हों।

कब इस्तेमाल करें

  • ✓जब आप पक्का करना चाहते हैं कि AI एजेंट नियमों का पालन कर रहा है।
  • ✓एजेंट के लिए नए नियम या निर्देश बनाने के बाद।
  • ✓यह जाँचने के लिए कि AI एजेंट सही तरीके से काम कर रहा है या नहीं।

Skill का लिंक

https://github.com/affaan-m/ECC/blob/main/skills/skill-comply/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/affaan-m/ECC/blob/main/skills/skill-comply/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“जाँचो कि AI एजेंट सिक्योरिटी वाले नियम का पालन कर रहा है या नहीं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल ऐसे उदाहरण बनाता है कि एजेंट को कैसे व्यवहार करना चाहिए, और फिर जाँचता है कि वह सच में ऐसा करता है या नहीं। यह मापता है कि एजेंट निर्देशों को कितनी अच्छी तरह मानता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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

# 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.

अक्सर पूछे जाने वाले सवाल

'घटते प्रॉम्प्ट सख़्ती वाले परिदृश्य' (scenarios with decreasing prompt strictness) क्या हैं?

ये टूल द्वारा बनाए गए टेस्ट हैं। ये बहुत साफ़ निर्देश से शुरू होते हैं और धीरे-धीरे अस्पष्ट होते जाते हैं, ताकि देखा जा सके कि एजेंट फिर भी समझता है और जो अपेक्षित है उसे मानता है या नहीं।

'Prompt Independence' क्या है?

इसका मतलब है यह टेस्ट करना कि एजेंट नियम का पालन करता है या नहीं, भले ही उसे दिए गए प्रॉम्प्ट में उस नियम का सीधा ज़िक्र न हो।

अंतिम रिपोर्ट में क्या दिखता है?

रिपोर्ट में दिखता है कि क्या उम्मीद थी, कौन-से टेस्ट किए गए, नतीजे (एजेंट ने नियम माना या नहीं), और एजेंट के कामों की टाइमलाइन।

जानकारी

लेखक का मूल विवरण

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.

repo: affaan-m/ECC

लोकप्रियता

GitHub स्टार
280k
रैंकिंग में स्थान
#408
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

accessibility

280k

यह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करता है जिन्हें हर कोई इस्तेमाल कर सके। यह पक्का करता है कि वेबसाइट और ऐप दिव्यांग लोगों के लिए भी अच्छे से काम करें, जैसे नेत्रहीन या जिन्हें चलने-फिरने में दिक्कत होती है।

डिज़ाइनइंटरफ़ेस (UI/UX)

agent-architecture-audit

280k

यह आपके एजेंट को जाँचने देता है कि सब कुछ सही से चल रहा है। यह AI सिस्टम में समस्याएँ ढूँढकर ठीक करता है, ताकि वे उम्मीद के मुताबिक काम करें।

AI और एजेंटएजेंट

agent-eval

280k

यह आपके एजेंट को अलग-अलग AI coding tools की तुलना करने में मदद करता है। यह मापता है कि किसी खास काम के लिए कौन सा टूल ज़्यादा तेज़, सस्ता और भरोसेमंद है।

AI और एजेंटएजेंट

agent-harness-construction

280k

यह आपके एजेंट को काम कैसे करना है, यह बेहतर समझने में मदद करता है। यह उन tools और instructions को बेहतर बनाता है जिनका एजेंट इस्तेमाल करता है, ताकि उसकी सफलता की संभावना बढ़े।

AI और एजेंटएजेंट

मिलती-जुलती skills