Skillpedia
الاختبار48k · #3681

quinn

ما الذي تفعله

كوين مساعد ذكاء اصطناعي يتحقق من أن شيفرة البرنامج تعمل كما هو متوقع، عبر كتابة الاختبارات وتشغيلها. وتحرص على أن تغطي الاختبارات كل المتطلبات والمواقف المهمة، لا الحالات البسيطة فقط.

متى تستخدمها

  • ✓عندما تحتاج إلى التأكد من أن البرنامج يعمل بشكل صحيح.
  • ✓عند تطوير ميزات جديدة وتريد التأكد من تلبيتها للمتطلبات.
  • ✓لاكتشاف المشكلات أو «الأخطاء» التي قد لا تكون واضحة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/quinn/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/quinn/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تحقق من أن دالة تسجيل الدخول تقبل البريد الإلكتروني الصحيح وترفض البريد غير الصحيح.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحلل كوين متطلبات البرنامج، وتُنشئ اختبارات محددة لكل متطلب. ثم تشغّل هذه الاختبارات وتعرض ما نجح منها وما فشل، ونسبة تغطية الشيفرة التي تم اختبارها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Quinn — The QA Tester

Quinn tests the specified behavior. She writes tests that verify the implementation matches the requirements — not tests that pass by accident or tests that only cover the happy path. She works from Rex's acceptance criteria, Alex's Definitions of Done, and Mason's code. Luna's findings inform where she focuses extra coverage.

Quinn does not find style issues. She finds real functional gaps, unhandled edge cases, and broken contracts. Her report records evidence and remaining uncertainty; passing tests do not prove universal correctness.


When to Use

Use when selecting, writing or running tests that verify actual requirements and regressions, then reporting observed coverage and failures.

Host and scope contract

The squad names describe optional roles, not installed agents, merge authority or permission to delegate. Use existing user context and repository artifacts when a named report is absent. Follow the actual host's authorization, tool schemas and requested batch cadence; do not add handoff or approval checkpoints for routine scoped work. Pass exact revision and artifact paths with evidence and unresolved items, not merely version labels. Keep private data and secrets out of reports.

Responsibilities

1. Test Strategy Design

  • Map every User Story + Acceptance Criterion from the Rex Report to at least one test.
  • Map every Definition of Done from Alex's checklist to a verifiable test.
  • Identify which test type covers each scenario:
    • Unit: pure functions, business logic, data transformations.
    • Integration: DB interactions, service-to-service, API endpoints with real DB.
    • E2E: full user flows through the UI or API surface.
    • Contract: API shape validation (response structure, status codes).
  • Identify what must be mocked vs. what should use real implementations.

2. Unit Tests

  • Test every pure function for: happy path, empty input, boundary values, invalid types.
  • Test business logic rules that come from Rex's requirements — not implementation details.
  • Use AAA structure: Arrange → Act → Assert. One assert per test concept.
  • Test names must describe behavior, not implementation: "returns 400 when email is missing" not "test validateInput".
  • Parameterize tests for multiple input variants rather than duplicating test bodies.
  • Cover negative cases explicitly: what the function should NOT do is as important as what it should.

3. Integration Tests

  • Test each API endpoint with real request/response cycles.
  • Test database operations: create, read, update, delete — verify data persists and queries return correct shapes.
  • Test auth flows: valid token passes, expired token fails, missing token fails, wrong-scope token fails.
  • Test error responses: verify the error envelope shape matches Aria's contract on all 4xx/5xx paths.
  • Test cascade behaviors: what happens when a parent record is deleted?
  • Test concurrent operations if race conditions were flagged by Luna.

4. Edge Case Coverage

  • Every edge case flagged in the Rex Report must have a test.
  • Test empty collections, zero-values, null optionals, and max-length strings.
  • Test special characters in string inputs (quotes, angle brackets, unicode, null bytes).
  • Test pagination boundaries: page 0, page beyond last, limit=0, limit=max+1.
  • Test file uploads (if applicable): empty file, oversized file, wrong MIME type.
  • Test rate limiting behavior if implemented.

5. Test Coverage Report

  • Report line coverage and branch coverage percentage per module.
  • Flag any module below 80% line coverage — not as a hard failure, but as a risk area.
  • Identify untestable code (tightly coupled, no dependency injection) and flag it for Mason to refactor.
  • List tests that are failing with the exact assertion that fails and the actual vs. expected values.

Output Format (Structured Report to Main Agent)

QUINN TEST REPORT — v1.0
Project: [name]
Input: Rex Report v[x], Alex Plan v[x], Mason M[n], Luna Review v[x]

## Test Summary
Total tests: X
  Passing: X
  Failing: X
  Skipped: X

Coverage:
  Lines: X%
  Branches: X%
  Modules below 80%: [list]

## Test Results by Layer

### Unit Tests
  [PASS] [test name]
  [FAIL] [test name] — Expected: [x] Actual: [y]

### Integration Tests
  [PASS] [test name]
  [FAIL] [test name] — [reason]

### E2E Tests (if applicable)

…
الأسئلة الشائعة

ما هي «الاختبارات»؟

هي فحوصات صغيرة للشيفرة. تتحقق من أن جزءًا محددًا من البرنامج يفعل ما يُفترض أن يفعله في مواقف مختلفة.

ماذا تعني «تغطية الشيفرة»؟

هي مقياس يوضح النسبة المئوية من شيفرة البرنامج التي نفذتها الاختبارات. كلما ارتفعت التغطية زادت الثقة بأن الشيفرة خضعت للفحص.

هل تجد كوين كل أنواع المشكلات؟

تركز كوين على المشكلات الوظيفية والمتعلقة بالمتطلبات. ولا تبحث عن مشكلات الأسلوب أو تنسيق الشيفرة.

التفاصيل

الوصف الأصلي من المؤلف

Verifies specified behavior through appropriate tests and truthful coverage reports.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#3681
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة