شعار Cdd Report

Cdd Report

المجتمع
Oscaner
cdd-report

Analyzes the current CDD session for bugs and enhancement opportunities and files a single aggregate GitHub issue against Oscaner/skills via gh CLI. Open dedup matches become links in the issue body (never comments); closed matches are flagged as regression follow-ups, never reopened. Findings never auto-include branch names or paths. One-shot chain — no review self-loop. Repo development tool, not a regular workflow skill. Manual trigger only, never automatic.

Add to TypingMind

نظرة عامة

الناشرOscaner
المستودعskills
اسم المهارةcdd-report
النجوم
63
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-report
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Oscaner/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/packages/kairos/skills/cdd-report .claude/skills/cdd-report
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Kairos CDD-Report

Analyzes the current CDD session (session context records + {repo}/.kairos/cdd/*/progress.json ledgers + git log) and files one aggregate issue on Oscaner/skills via gh — or a links-only list when every confirmed finding dedup-matches an open issue — as a one-shot toolchain, manual trigger only.

Invocation discipline — every command runs as a background dispatch: launch it in the background and await the completion notification — never poll — then read the full output (stdout/stderr). Output filtering is forbidden — no piping to tail/head, no 2>&1 |, no EXIT=$? capture. One-shot toolchain — the flow is a single pass to the terminal (no review self-loop, no next: consumption); a rejected confirm or a failed create ends the chain with the finding preserved for manual retry. Failure face — cross-node failure handling lives in the Failure Modes table below (the single source); node Fail entries keep only local behavior.

Flow Digraph

Node Definitions

explore-current-session

  • Do: Capture the four-field Session Context snapshot once at report start (taken by this node; every downstream node derives from this snapshot, never from the live cwd) —
    • root: git top-level of the harness launch cwd (git rev-parse --show-toplevel). Captured once; never re-derived from the real-time cwd.
    • workspace: .kairos/cdd/<run-slug>/ of the current CDD run — present only when this session is a CDD run. Cross-repo reuse is forbidden: the workspace must resolve under root.
    • harness: the harness this session runs in (e.g. claude-code) — the value of the Session region's - Harness: row.
    • program-owning issue (CDD runs only): the phase-owning issue of the current program, resolved from the run workspace — progress.json#plan → that plan's slug: → the identity document sharing that slug, whose own attribution is the owning issue: a phase-spec names its overall through program: (the overall's Issue inventory owns the issue), while an overall or single-spec is its own chain root (its Issue inventory / issues: declares the issue). A pure lookup feeding the Related region's Program link, never a routing decision.
  • Read: harness launch cwd; (when CDD run) the run workspace
  • Exit: snapshot complete → collect
  • Fail: workspace cannot resolve under root → BLOCKED (cross-repo reuse forbidden)

collect

  • Do: Collect candidate findings from the session's reference sources — ① session context records: tool-call records / errors / handoff / review findings visible in this session; ② ledger: {repo}/.kairos/cdd/*/progress.json files — the JSON ledger read face: per run, read the waves[] rows' rounds{} records (the completed round counts per mode — implement/review/fix — and the failure counters) and surface findings from the runs whose records show fix rounds, blocked/failed reviews, or parked states; the retired text-line extraction no longer applies; ③ git log: git log $(git merge-base HEAD origin/main)..HEAD --oneline, falling back to a recent-scope log when origin/main is unavailable. These sources are described for reference, not as a fixed channel contract — in practice the surface flexes with the task; every candidate passes the toolchain scope filter regardless of how it surfaced. Apply the toolchain scope filter: a candidate enters the list only when it satisfies both —
    • component slot: the affected component is in the components enumeration (e.g. kairos:cdd-report(pi:/skill:cdd-report), cdd-engine);
    • behavior predicate: the finding touches a toolchain artifact — cdd command output / handoff / progress ledger / issue form / skill flow node. Consumer-project domain rules (e.g. a missing ruff config in the consumer project, a project-specific test flake) are rejected samples: component-free findings never enter the list. Redact secrets: replace any match of API_KEY=... / TOKEN=... / SECRET=... / PASSWORD=... with [REDACTED] before a finding leaves this node.
  • Read: session context records; {repo}/.kairos/cdd/*/progress.json; git log
  • Exit: filtered findings → reform
  • Fail: ledger / git log unavailable → use session context only (fail-open, never block)

reform

  • Do: Prepare each finding for filing — privacy strip (both directions: no consumer-identifiable data + a maintainer-reproducible mechanism) and maintainer-friendly formatting (readable problem statement, impact, suggested fix). Then derive the neutral topic: a short phrase from the first finding with type/component labels stripped, ≤ 60 chars — the base for the issue title. The title is the topic itself: no shell prefix and no run slug leak into it, so the title stays stable for consumers.
  • Read: collected findings
  • Exit: reformed findings + topic → confirm
  • Fail: no finding survives reform → BLOCKED (nothing to report)

confirm

  • Do: Human gate — present the N findings as a numbered list plus the recommended topic; the user may add, remove, or edit findings and confirm or replace the topic. Do not pre-create or pre-comment on any gh issue before explicit confirmation. Findings never include branch names, absolute paths, or filenames by default; such context is added only when the user opts in at this gate.
  • Read: reformed findings + topic
  • Exit: user confirms → dedup; user rejects → BLOCKED (user-reject)
  • Fail: no response / explicit rejection → BLOCKED (user-reject, flow terminates)

dedup

  • Do: Run single-pass dedup over the repository's recent issue history. Window: issues updated within the last 90 days — GitHub search accepts no relative duration, so materialize the window as an ISO absolute date: date -v-90d +%F → YYYY-MM-DD. Run one query, one network round-trip: gh issue list --repo Oscaner/skills --state all --limit 100 --search "updated:>=<now-90d-ISO>" --state all + --search covers open and closed issues in the same pass. Match each finding in memory, case-insensitively, by affected component + core behavior words + title/body keywords:
    • Open match → record the hit as #N (open): <component> · <reason> with a conditional landing: the issue body's Dedup region when the create-issue branch runs, or the links-only list when the gate routes everything to report-links-only. Never append a comment to, or edit, the matched issue.
    • Closed match → record Regression / follow-up of #N (closed) for the Related region; never reopen.
  • Read: the single gh issue list output; confirmed findings
  • Exit: dedup decisions complete → create-issue?
  • Fail: gh unavailable / network failure → fail-open (record stderr, keep finding for manual retry)

create-issue?

  • Do: Gate — if all confirmed findings matched an open issue in dedup, creating a new issue would be an empty issue → report-links-only. Otherwise (at least one unmatched new finding) → create-issue.
  • Read: dedup decisions
  • Exit: all findings open-dedup-matched → report-links-only; any new finding → create-issue
  • Fail: —

create-issue

  • Do: Compose and file the single aggregate issue.
    1. Render the body with the renderer CLI bare call: npx -y @oscaner-skills/cdd-engine@latest issue render reading stdin JSON { harness, findings, related } → aggregate body straight to stdout. The stdin contract: top-level harness (Session row value) / findings[] (non-empty) / optional related; per finding, type ∈ {bug, enhancement, chore} · lang ∈ {en, zh} · non-empty context/problem/impact/suggestedFix · meta{skill, step}. Input violations → exit 1 with the offending field path (e.g. findings[0].type: must be one of bug | enhancement | chore) — fix the stdin JSON and retry; never hand-assemble the body.
    2. Body layout (renderer-produced, deterministic): ## Session region with one - Harness: <harness> row; per finding, its four typed segments (section headings from the canonical issue-label oracle by type × lang) each followed by its 2-line report-meta - Skill: <skill> / - Step: <step> — position adjacency is the ownership declaration; single tail regions ## Dedup (all open hits) and ## Related (all closed hits + program ownership), never per-finding.
    3. Resolve labels — read the target repo's label surface once: gh label list --repo Oscaner/skills --limit 100. Create set = the default cdd-engine intersected with the labels the repo carries; a dropped default is recorded as a label deviation for report, and an empty intersection creates the issue with no label. Labels never block the create call.
    4. Create — gh issue create --repo Oscaner/skills --title <topic> --label <label> … with the rendered body. The flag is singular — --label, repeated once per resolved label; gh issue create has no --labels. Program ownership — the session's program-owning issue — is passed as related.program and renders as - Program: #N in the Related region.
  • Read: renderer CLI (bare call); the gh label list surface; confirmed findings + topic; dedup decisions; Session Context (harness / program-owning issue)
  • Exit: issue created → report
  • Fail: renderer rejects the stdin → exit 1 with field path (fix stdin, retry); the label pre-check fails → fail-open (create with the default set, record stderr); the create call fails → fail-open (record stderr, keep finding for manual retry)

report-links-only

  • Do: Create nothing — every confirmed finding already matched an open issue (no empty issue). Assemble the links-only list: each finding → matched issue number, with component and reason. No renderer run, no issue body.
  • Read: dedup decisions
  • Exit: links list complete → report
  • Fail: —

report

  • Do: Print the run summary — created issue URL (when create-issue ran) / the links-only list (when report-links-only ran); Regression / follow-up of #N (closed) notes with the closed issue number; the program ownership link; any label deviation the create-issue pre-check recorded; failed or skipped finding with reason.
  • Read: final action for each finding
  • Exit: summary presented → the APPROVED terminal
  • Fail: none (display only)

Invariants

#Invariant
I1Confirm Gate — no gh issue is created before explicit user confirmation (hard gate at confirm); dedup matches are recorded in the new issue body only, never acted on as comments on existing issues
I3Manual Trigger Only — cdd-report runs only on manual trigger, never automatically
I5Renderer Determinism — the issue body is produced by npx -y @oscaner-skills/cdd-engine@latest issue render as a bare call (stdin JSON → aggregate body → stdout, no mode flag, no hand-assembled paragraph structure in this skill)
I6Evidence Contract — findings never carry consumer-identifiable data (branch names, absolute paths, filenames, process counts, RSS values, launch dirs, session habits) — such context enters only on consumer opt-in at confirm — AND findings always describe a maintainer-reproducible mechanism (trigger conditions / mechanism / expected behavior / reproduction steps)
I8One-shot chain — the flow is a single pass to the terminal (no review self-loop, no next: consumption); a rejected confirm or a failed create terminates the chain with the finding preserved for manual retry
I9Label Safety — the create call carries the singular --label and only labels the repo's live label surface, resolved by the gh label list pre-check; a missing label shrinks the label set, never blocks the filing

Failure Modes

failurebehaviorreasonrecovery
User rejects filing (confirm rejected)BLOCKED (user-reject)no gh issue is created or commented on before confirmation (I1)flow terminates, nothing filed
gh CLI unavailable / network failurefail-open (record stderr, keep finding)external tool dependencymanual retry using the recorded stderr
renderer rejects the stdin JSONexit 1 + offending field path (early report)renderer input contract is strict — body is never hand-assembled (I5)fix the stdin JSON per the reported path, retry
a default label is absent, or the label pre-check failsauto-degrade (create with the surviving set, none when empty)labels are repo-side state, never a filing blockerissue is created; report prints the deviation
create call failsfail-open (record stderr, keep finding)title / body size / network / permissionsmanual retry, keep findings
no finding survives collect/reformBLOCKED (nothing to report)toolchain scope filter rejected everythingrevisit the session, re-run on manual trigger

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

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

Analyzes the current CDD session for bugs and enhancement opportunities and files a single aggregate GitHub issue against Oscaner/skills via gh CLI. Open dedup matches become links in the issue body (never comments); closed matches are flagged as regression follow-ups, never reopened. Findings never auto-include branch names or paths. One-shot chain — no review self-loop. Repo development tool, not a regular workflow skill. Manual trigger only, never automatic.

لماذا تستخدم Cdd Report على TypingMind؟

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

كيف أثبّت Cdd Report في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-report. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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