mcp-release-qa
ما الذي تفعله
تتحقق هذه المهارة من جاهزية خادم ذكاء اصطناعي (يُسمى MCP) للاستخدام العام. تختبر ما إذا كان الخادم يعمل كما هو متوقع، وما إذا كانت معلوماته دقيقة، وما إذا كان يتعامل مع الأخطاء بشكل سليم.
متى تستخدمها
- ✓عندما تكون على وشك إطلاق خادم ذكاء اصطناعي جديد.
- ✓عند مراجعة خادم ذكاء اصطناعي موجود.
- ✓للتأكد من أن توثيق خادم الذكاء الاصطناعي يطابق سلوكه الفعلي.
رابط المهارة
https://github.com/github/awesome-copilot/blob/main/skills/mcp-release-qa/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تحقّق من أن خادم الذكاء الاصطناعي «my-cool-server» يعمل بشكل صحيح قبل الإطلاق.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل النظام خادم الذكاء الاصطناعي، ويتفاعل معه كما يفعل المستخدم، ويتحقق من أنه يستجيب بشكل صحيح، ومن أن توثيقه (ماذا يفعل وكيف يُستخدم) دقيق.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
MCP Release QA
Test the server that users will run. A schema review or a passing unit test is not runtime evidence.
This skill complements security review. It focuses on protocol behavior, published-contract drift, transport correctness, and reproducible release evidence.
Rules
- Run checks against a fresh server process built from the candidate revision.
- Keep
initialize,notifications/initialized, discovery, and invocation in the same session. A new process is a new STDIO session. - Treat source registrations as implementation truth and public documentation as a contract that must match it.
- Record exact commands and raw responses. Do not replace missing evidence with "looks correct."
- Do not invoke mutation-capable tools against production data. Use fixtures, a sandbox, or stop and name the missing safe test environment.
- Derive the expected capability inventory from the candidate source on every run.
1. Establish the release surface
Identify:
- candidate commit and build command;
- server entry point and transport: STDIO, Streamable HTTP, or SSE;
- supported MCP protocol versions;
- source files that register tools, resources, resource templates, and prompts;
- generated catalogs, manifests, README tables, and install instructions;
- existing protocol, integration, and smoke-test commands.
Prefer repository-native commands. Inspect package.json, pyproject.toml,
Makefile, CI workflows, and contributor instructions before inventing a test
harness.
2. Start a clean server
Build the candidate and start the documented entry point with test-safe configuration. Capture:
- the exact command;
- commit SHA;
- environment variable names, with values redacted;
- stdout, stderr, and exit status;
- the endpoint or child-process transport used by the client.
For STDIO, stdout is protocol-only. Logs, banners, and stack traces belong on stderr. For HTTP transports, record the status, relevant MCP headers, and session identifier handling without printing credentials.
If the server cannot start from its documented instructions, report that as a release failure and preserve the startup error verbatim.
3. Exercise one complete session
Run this sequence through a real MCP client or the repository's integration harness:
initializewith a protocol version the server claims to support.- Confirm the negotiated version and advertised capabilities.
- Send
notifications/initialized. - Call
ping. - Call each supported discovery method:
tools/listresources/listresources/templates/listprompts/list
- Exercise at least one representative read-only item from every advertised capability class.
- Follow pagination until no cursor remains when a list method is paginated.
Do not send post-initialization requests through separate one-shot processes. That accidentally tests several incomplete sessions instead of one valid session.
4. Prove inventory parity
Build four inventories from current evidence:
| Surface | Evidence |
|---|---|
| Source | Registered tool, resource, template, and prompt definitions |
| Runtime | Results from the live discovery methods |
| Generated metadata | Catalogs, manifests, or generated indexes |
| Documentation | README, reference pages, and install output |
Compare by stable identifier. Report:
- source entries missing at runtime;
- runtime entries absent from metadata or documentation;
- stale names, descriptions, arguments, URIs, or prompt parameters;
- documented install commands that do not start the candidate server.
Regenerate derived files with the repository's own build command, then fail if the working tree still contains unexplained generated changes.
5. Check published contracts
For every discovered item, verify the runtime definition against its source:
Tools
- Name and description are stable and specific.
inputSchemadefines types, required fields, enums, and bounds where needed.- Unknown properties are rejected when the tool contract is closed.
- Mutation, idempotence, read-only, and open-world annotations match behavior.
- Successful calls conform to
outputSchemawhen one is published. - Errors are protocol errors or structured tool failures, not leaked stack traces.
Resources and templates
- URIs and MIME types match the registered definitions.
- Static resources are readable.
- Template parameters are validated before resolution.
…
الأسئلة الشائعة
لماذا لا يكفي اختبار الكود وحده؟
اختبار الكود (اختبارات الوحدات) مهم، لكنه لا يضمن أن الخادم سيعمل بشكل صحيح عندما يتفاعل معه المستخدمون الحقيقيون. هذا الاختبار يفحص السلوك الفعلي للخادم.
ما هو MCP؟
MCP نوع من البروتوكولات، أي مجموعة من القواعد للتواصل بين برامج الحاسوب. وفي هذا السياق، يشير إلى خادم ذكاء اصطناعي يستخدم هذا البروتوكول.
ما هي «مسارات الفشل» (failure paths)؟
هي الحالات التي يحدث فيها خطأ، مثل أمر غير صحيح أو خطأ داخلي. ويضمن اختبار هذه المسارات أن الخادم يتعامل مع الأخطاء بشكل سليم، ويُعلم المستخدم بوضوح.
التفاصيل
الوصف الأصلي من المؤلف
Verify an MCP server before release by exercising a real protocol session, comparing runtime capabilities with source and documentation, testing failure paths, and recording reproducible evidence. Use when shipping or reviewing an MCP server, tool, resource, prompt, catalog, or install path.
repo: github/awesome-copilot
الشعبية
- نجوم GitHub
- 40k
- الترتيب
- #7283
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquire-codebase-knowledge
40kيساعد وكيلك على فهم مشروع برمجي موجود وتوثيقه. مفيد لتعريف الأشخاص الجدد أو للحصول على نظرة عامة على البنية.
acreadiness-assess
40kيمكّن وكيلك من تقييم جاهزية مشروع للذكاء الاصطناعي وإنشاء تقرير. مفيد لمعرفة مدى استعداد المشروع لاستخدام أدوات الذكاء الاصطناعي.
acreadiness-generate-instructions
40kيساعد وكيلك على إنشاء تعليمات لأدوات الذكاء الاصطناعي بناءً على تقييم. مفيد لتحسين طريقة تفاعل الذكاء الاصطناعي مع الكود وسد الثغرات المحددة.
acreadiness-policy
40kيمكّن وكيلك من تحديد أو تطبيق سياسات لتقييم مشاريع الذكاء الاصطناعي. مفيد لتوحيد طريقة تقييم المشاريع وضمان الالتزام.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.