شعار Data Quality

Data Quality

المجتمع
nahid-sparktales
data-quality

Decide what must be true of a dataset and where that assertion belongs — freshness against event time, volume floors and bands, distribution and referential checks, source reconciliation, and whether it should be a schema constraint, a blocking publish gate or an alert. Use when adding or reviewing data checks, when a wrong number reached a consumer and nothing caught it, or when a check fires so often it is being ignored. Not for proving a specific migration did what it claimed (database-migration-verification), not for building the pipeline itself (data-pipelines), and not for interpreting what the numbers mean.

Add to TypingMind

نظرة عامة

الناشرnahid-sparktales
المستودعagent-dispatcher
اسم المهارةdata-quality
النجوم
58
التفريعات
5
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها nahid-sparktales على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Data Quality في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/database/data-quality
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/database/data-quality .claude/skills/data-quality
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Data Quality في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Data Quality تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Data Quality بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Data quality assertions

A wrong number looks exactly like a right one. Nothing about a dashboard, a type check or a green job reveals that the load was half-empty, that a join fanned out, or that a column has been null since Tuesday. The only thing that reveals it is an assertion someone wrote in advance — placed where it fires before a consumer acts on the number, not after.

When this fires

Checks are being added to or reviewed on a dataset; a bad value reached a consumer and no check caught it; or an existing check is noisy enough that people are muting it. It does not fire for a one-off verification of a migration, for enforcing an invariant inside a single application write path, or for deciding what a metric means.

Procedure

  1. Start from the failure that hurt, not from a catalog of check types. Which wrong value reached whom, how long it took to notice, and what would have caught it earliest. Generic not-null checks generated across four hundred columns produce noise, and a noisy channel is a muted channel — that is a net loss, not a neutral one.

  2. Place each assertion on the lowest rung that can hold it. This is the load-bearing decision and it is usually made by accident:

    • A schema constraint — NOT NULL, UNIQUE, a foreign key, a CHECK. It cannot be bypassed by any writer and fails at write time. If the rule can be a constraint, it is a constraint (schema-design covers designing it).
    • A gate at the pipeline's write boundary — runs before publish and blocks it. Use when the rule needs the whole batch, or the destination cannot express the constraint.
    • A scheduled check against the landed table — alerts after the fact. Use when the rule needs cross-table or historical context that only exists once the data is landed.
    • A check in the consumer's own query or report — last resort. Cheapest to add, latest to fire, and the easiest for everyone to scroll past.

    For each assertion, record the rung and why not the one above it.

  3. Write every assertion as a query that returns the offending rows, not a boolean and not a count. Zero rows is the pass; a non-zero result hands the next person the reproduction case instead of a number to go and re-derive.

  4. Assert freshness against event time, not against the job. A job that succeeded and wrote nothing passes every liveness check there is. Assert that the maximum event timestamp in the table is within the consumer's stated tolerance of now, per partition or per source, and derive that tolerance from what the consumer actually needs rather than from how often the job happens to run.

  5. Assert volume with both a floor and a band. An absolute floor catches the empty load. A relative band against comparable recent windows — same weekday, same hour — catches the half-load that a floor sails past. Neither alone is enough: a floor misses a fifty percent drop, a band alone fires every holiday and every launch. State the comparison window you chose.

  6. Assert distribution on the fields decisions depend on. Null rate, distinct cardinality, category mix against the known set of allowed values, numeric range, and a mean or percentile within a band. A column full of schema-valid wrong values passes every type check in the stack. Anchor to a known-correct set — an enum, a dimension table, a reference feed — wherever one exists; comparing to yesterday only inherits yesterday's defects.

  7. Assert referential integrity and grain in the same pass. Orphans at each join key (fact rows with no matching dimension row, and the reverse where it matters), and uniqueness of the key that defines the grain. Then check fan-out explicitly: a join emitting more rows than its left side is a duplicate-key defect, and it inflates every sum computed downstream of it while leaving each individual row looking correct.

  8. Reconcile against the system of record, not just internally. Row count and the sums of additive measures per window, compared to the source. Internal consistency proves the transform agrees with itself. State the tolerance and where it comes from; a tolerance chosen after seeing the discrepancy is not a tolerance.

  9. Give every check a severity, an owner and an action, decided at the same time as the threshold. Blocking the publish, or alerting a named person. A check with no action is a metric. A blocking check with no recorded override path gets deleted during the first incident where someone needs the data anyway — provide the override and log its use instead.

  10. Make each check fail on purpose before trusting it. Run it against a deliberately broken fixture or a slice you have corrupted — a nulled column, a dropped day, a duplicated key. An assertion never observed failing is not known to work, and this is the step almost every check skips. A check that cannot be made to fail is asserting nothing.

  11. Stop before touching data to satisfy a check. Quarantining, deleting, overwriting or excluding rows so a check passes is destructive and is the user's call, not yours. So is wiring a check to page a team. Report the offending rows; propose the remedy; ask.

  12. Keep the words apart in the report — asserted, executed, failed on purpose, reconciled, deployed. A check that exists in a file is written, not running.

Checklist

  • Assertions derived from a real failure or a real consumer need
  • Each one placed on a named rung, with the reason it is not one rung lower
  • Every check returns offending rows rather than a boolean
  • Freshness measured on event time, against a consumer-stated tolerance
  • Volume has both an absolute floor and a relative band, with the comparison window named
  • Distribution checks cover the fields decisions depend on, anchored to a known-correct set
  • Orphan, grain-uniqueness and fan-out checks all present
  • Source reconciliation run, with a tolerance set in advance
  • Severity, owner, action and override path recorded per check
  • Each check observed failing against a broken fixture
  • Anything left unasserted stated explicitly

Failure handling

  • A check fires and the data is fine — that is a defect in the check. Tune the threshold using the observed history or delete it. Muting it is deleting it while pretending otherwise.
  • A check fires and the data is wrong — capture the offending keys before anything reruns or overwrites them; those rows are the reproduction case, and the next run may erase them.
  • Reconciliation is off by a small amount — do not widen the tolerance to cover it. Find which rows account for the difference; a persistent small gap is usually a systematic rule, not noise.
  • Nobody can state a freshness or volume expectation — say the check is unanchored rather than inventing a threshold. An invented threshold fires on the wrong things and teaches people the channel is unreliable.
  • Only read access to the target — the assertions still stand as queries and still run. Report them as run and any gating or scheduling as not installed, rather than downgrading the whole thing to an opinion.

Evidence to report

Each assertion: the query verbatim, the rung it sits on, the threshold and where the threshold came from. The result of running it now, as rows or as an explicit zero. The deliberate-failure run that showed it works. The reconciliation figures against the source, per window, with the tolerance stated in advance. The severity, owner and action for each check. Then the fields, tables and windows deliberately left unasserted — the gap is part of the report, not an omission from it.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

ماذا تفعل مهارة الذكاء الاصطناعي Data Quality؟

Decide what must be true of a dataset and where that assertion belongs — freshness against event time, volume floors and bands, distribution and referential checks, source reconciliation, and whether it should be a schema constraint, a blocking publish gate or an alert. Use when adding or reviewing data checks, when a wrong number reached a consumer and nothing caught it, or when a check fires so often it is being ignored. Not for proving a specific migration did what it claimed (database-migration-verification), not for building the pipeline itself (data-pipelines), and not for interpretin...

لماذا تستخدم Data Quality على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Data Quality عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Data Quality في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/database/data-quality. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Data Quality؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Data Quality؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Data Quality معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Data Quality مجانية؟

نعم. نشرها nahid-sparktales على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار garrytan

Gstack Openclaw Ceo Review

garrytan
المجتمعشائع

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

19.9K
133.5K
التعليمات
عرض
شعار JuliusBrussee

Caveman Stats

JuliusBrussee
المجتمعشائع

اعرض استخدام التوكنات الناتجة والمقروءة من ذاكرة التخزين المؤقت، ونمط الاستخدام لجلسة Claude Code الحالية، أو اعثر على تقرير الاستخدام الأصلي للمضيف. يُفعَّل بالأمر: /caveman-stats.

6.2K
106.3K
التعليمات
عرض
شعار pytorch

Ci Metrics

pytorch
مؤسسةشائع

استعلم عن مقاييس PyTorch CI وGitHub Actions وHUD وGrafana والبنية التحتية. استخدم هذه المهارة عندما يسأل المستخدم عن مدة CI أو حالات فشل المهام أو أوقات الانتظار في قوائم الانتظار أو اتجاهات مسارات العمل أو سلامة المشغّلات أو بيانات لوحات المعلومات أو مقاييس…

31K
103.6K
الملفات: 1
عرض
شعار openclaw

Notcrawl

openclaw
مؤسسةشائع

أرشيف Notion: البحث، وحداثة المزامنة، والصفحات/قواعد البيانات، وتصدير Markdown، وإحصاءات SQL، والعمل على مستودع Notcrawl.

82.2K
391K
الملفات: 1
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇