acreadiness-policy
ما الذي تفعله
تساعد هذه المهارة على إنشاء قواعد مخصصة وتطبيقها لتقييم جودة الكود. يمكنك تحديد الفحوصات المهمة، والفحوصات التي تريد تجاهلها، والحد الأدنى المقبول للنتيجة.
متى تستخدمها
- ✓عندما تريد تجاهل بعض فحوصات الجودة.
- ✓عندما تريد تحديد حد أدنى للنتيجة للموافقة على الكود.
- ✓عندما تريد توحيد قواعد الجودة في مؤسستك.
رابط المهارة
https://github.com/github/awesome-copilot/blob/main/skills/acreadiness-policy/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف أنشئ قاعدة تتجاهل فحص «التوثيق» وتجعل «README» ذا أهمية عالية؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تنشئ ملف إعداد (JSON) يحدد الأجزاء التي تريد تجاهلها وتلك التي تريد إعطاءها وزناً أكبر. ثم تطبّق هذه القاعدة لتقييم الكود.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
/acreadiness-policy — AgentRC policies
Use this skill when the user asks about policies, strict mode, custom scoring, disabling checks, org standards, or CI gating of readiness.
A policy is a small JSON file with three optional sections — criteria, extras, thresholds — that customise how AgentRC scores readiness.
Built-in examples
AgentRC ships with three example policies in examples/policies/:
| Policy | What it does |
|---|---|
strict.json |
100% pass rate, raises impact on key criteria |
ai-only.json |
Disables all repo-health checks, focuses on AI tooling |
repo-health-only.json |
Disables AI checks, focuses on traditional quality |
Recommend these as starting points before writing a custom policy.
Policy schema
{
"name": "my-policy",
"criteria": {
"disable": ["env-example", "observability", "dependabot"],
"override": {
"readme": { "impact": "high", "level": 2 },
"lint-config": { "title": "Linter required" }
}
},
"extras": {
"disable": ["pre-commit"]
},
"thresholds": {
"passRate": 0.9
}
}
Impact weights
| Impact | Weight |
|---|---|
| critical | 5 |
| high | 4 |
| medium | 3 |
| low | 2 |
| info | 0 |
Score = 1 − (deductions / max possible weight). Grades: A ≥ 0.9, B ≥ 0.8, C ≥ 0.7, D ≥ 0.6, F < 0.6.
Sub-commands
show
List policies currently in effect (from agentrc.config.json policies array, or none).
new <name>
Scaffold policies/<name>.json with sensible defaults. Walk the user through:
- What to disable — irrelevant pillars or extras for their stack (e.g. disable
observabilityfor a static site). - What to raise — override
impacttohighorcriticalfor must-haves (e.g.readme,codeowners). - Pass-rate threshold — typical org baselines:
0.7(lenient),0.85(standard),1.0(strict). - Reference the policy from
agentrc.config.json:{ "policies": ["./policies/<name>.json"] }
apply <path-or-pkg>
Run agentrc readiness --json --policy <source> and re-render the report by handing off to the assess skill / ai-readiness-reporter agent. Supports chaining:
npx -y github:microsoft/agentrc readiness --json --policy ./org-baseline.json,./team-frontend.json
CI gating
Combine policies with --fail-level to enforce a minimum maturity level in CI:
- run: npx -y github:microsoft/agentrc readiness --policy ./policies/strict.json --fail-level 3
Advanced
JSON policies can disable, override, and set thresholds — but cannot add new criteria. For new detection logic, point users at AgentRC's TypeScript plugin system (docs/dev/plugins.md).
Operating rules
- Never silently disable a pillar. If the user wants to disable
observability, confirm and explain the trade-off. - Prefer overriding
impactover disabling. Disabling hides the gap entirely; overriding lets it still appear in the report. - Recommend extras stay enabled. They cost nothing — they don't affect the score.
- Suggest layering — most orgs want a baseline policy + per-team overrides chained with
--policy a.json,b.json.
الأسئلة الشائعة
ما هي «السياسة» (policy)؟
هي ملف إعداد يخصص طريقة قياس جودة الكود، مما يتيح لك تجاهل فحوصات أو تعديل أهميتها.
هل يمكنني إنشاء قواعدي الخاصة؟
نعم، يمكنك إنشاء ملفات سياسات مخصصة تلبي احتياجاتك الخاصة في التقييم.
ما الفرق بين التعطيل وتجاوز التأثير؟
التعطيل يزيل الفحص تماماً من التقييم. أما تجاوز التأثير فيجعل الفحص أكثر أهمية في النتيجة النهائية، لكنه يظل ظاهراً في التقرير.
التفاصيل
الوصف الأصلي من المؤلف
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.
repo: github/awesome-copilot
الشعبية
- نجوم GitHub
- 40k
- الترتيب
- #7037
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquire-codebase-knowledge
40kيساعد وكيلك على فهم مشروع برمجي موجود وتوثيقه. مفيد لتعريف الأشخاص الجدد أو للحصول على نظرة عامة على البنية.
acreadiness-assess
40kيمكّن وكيلك من تقييم جاهزية مشروع للذكاء الاصطناعي وإنشاء تقرير. مفيد لمعرفة مدى استعداد المشروع لاستخدام أدوات الذكاء الاصطناعي.
acreadiness-generate-instructions
40kيساعد وكيلك على إنشاء تعليمات لأدوات الذكاء الاصطناعي بناءً على تقييم. مفيد لتحسين طريقة تفاعل الذكاء الاصطناعي مع الكود وسد الثغرات المحددة.
ad-campaign-analyzer
40kيساعد وكيلك على تحليل بيانات حملات الإعلانات. يحدد ما يجب إيقافه أو تكبيره أو اختباره لتحسين الإنفاق.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.