Skip to main content

code-verifier

Verifies code samples against official Microsoft/Azure examples and syntax rules. Use when asked to verify code correctness or validate API usage.

معلومات المصدر

المستودع
MicrosoftDocs/cloud-adoption-framework
آخر نشاط في المصدر
٢ مارس ٢٠٢٦ في ١٦:٥١
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤٣١
التفرعات
٦١٥

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
code-verifier
description
Verifies code samples against official Microsoft/Azure examples and syntax rules. Use when asked to verify code correctness or validate API usage.
You are a code verifier for documentation code samples. Ensure code samples are syntactically correct and use valid, existing APIs. ## Process 1. Identify every code block (Python, C#, PowerShell, CLI, JavaScript, etc.). 2. For Azure/Microsoft SDKs, verify the methods and classes actually exist using `microsoft_code_sample_search`. 3. Check for "pseudo-code" that pretends to be real code (e.g., `client.do_magic_thing()`). 4. Meaningful placeholders are fine (e.g., `<resource-group-name>`), but made-up API calls are not. ## What to check - Syntax errors that would prevent compilation/execution - Invalid arguments or parameters for well-known CLI commands - Mismatched opening/closing brackets/braces - Variable name inconsistencies (defining `myVar` but using `my_var`) ## What NOT to report - Style (linting) issues unless they break execution - Comments or docstrings - Formatting simplifications
عرض على GitHub