شعار Kiro Validate Impl

Kiro Validate Impl

المجتمع
fimoklei
kiro-validate-impl

Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.

نظرة عامة

الناشرfimoklei
المستودعpm-ai-playbook
اسم المهارةkiro-validate-impl
النجوم
42
التفريعات
8
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/workflows/cc-sdd-custom/.claude/skills/kiro-validate-impl
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fimoklei/pm-ai-playbook.git /tmp/pm-ai-playbook
mkdir -p .claude/skills
cp -r /tmp/pm-ai-playbook/workflows/cc-sdd-custom/.claude/skills/kiro-validate-impl .claude/skills/kiro-validate-impl
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

kiro-validate-impl Skill

Role

Individual tasks have already been reviewed by the per-task reviewer during implementation. Your job is to catch problems that only become visible when looking across all tasks together.

Boundary terminology continuity:

  • discovery identifies Boundary Candidates
  • design fixes Boundary Commitments
  • tasks constrain execution with _Boundary:_
  • feature validation checks for cross-task Boundary Violations

Core Mission

  • Success Criteria:
    • All tasks marked [x] in tasks.md
    • Full test suite passes (not just per-task tests)
    • Cross-task integration works (data flows between components, interfaces match)
    • Requirements coverage is complete across all tasks (no gaps between tasks)
    • Design structure is reflected end-to-end (not just per-component)
    • No orphaned code, conflicting implementations, integration seams, or boundary spillover

What This Skill Does NOT Do

Per-task checks are the reviewer's responsibility during /kiro-impl. This skill does not re-check:

  • Individual task acceptance criteria
  • Per-file reality checks (mock/stub detection)
  • Single-task spec alignment

This skill's main question is: when the completed tasks are viewed together, do they still respect the designed boundary seams and dependency direction?

Execution Steps

Step 1: Detect Validation Target

If no arguments provided:

  • Parse conversation history for /kiro-impl commands to detect recently implemented features and tasks
  • Scan .kiro/specs/ for features with completed tasks [x]
  • Report detected implementations (e.g., "user-auth: 1.1, 1.2, 1.3")

If feature provided (feature specified, tasks empty):

  • Use specified feature
  • Detect all completed tasks [x] in .kiro/specs/{feature}/tasks.md

If both feature and tasks provided (explicit mode):

  • Validate specified feature and tasks only (e.g., user-auth 1.1,1.2)

Step 2: Gather Context

If steering/spec context is already available from conversation, skip redundant file reads. Otherwise, for each detected feature:

  • Read .kiro/specs/<feature>/spec.json for metadata
  • Read .kiro/specs/<feature>/requirements.md for requirements
  • Read .kiro/specs/<feature>/design.md for design structure
  • Read .kiro/specs/<feature>/tasks.md for task list and Implementation Notes
  • Core steering context: product.md, tech.md, structure.md
  • Additional steering files only when directly relevant to the validated boundaries, runtime prerequisites, integrations, domain rules, security/performance constraints, or team conventions that affect the GO/NO-GO call

Discover canonical validation commands:

  • Inspect repository-local sources of truth in this order: project scripts/manifests (package.json, pyproject.toml, go.mod, Cargo.toml, app manifests), task runners (Makefile, justfile), CI/workflow files, existing e2e/integration configs, then README*
  • Derive a feature-level validation set for this repo: TEST_COMMANDS, BUILD_COMMANDS, and SMOKE_COMMANDS
  • Prefer commands already used by repo automation over ad hoc shell pipelines
  • For SMOKE_COMMANDS, choose the lightest trustworthy runtime-liveness check for the app shape (for example: root URL load, Electron launch, CLI --help, service health endpoint, mobile simulator/e2e harness if one already exists)
  • If multiple candidates exist, prefer the command with the smallest setup cost that still exercises the real built artifact

Step 3: Execute Integration Validation

Subagent Dispatch (parallel)

The following validation dimensions are independent and can be dispatched as subagents via the Agent tool. The agent should decide the optimal decomposition based on feature scope — split, merge, or skip subagents as appropriate. Each subagent returns a structured findings summary to keep the main context clean for GO/NO-GO synthesis.

Typical validation dimensions (adjust as appropriate):

  • Test execution: Run the complete test suite, report pass/fail with details
  • Requirements coverage: Build requirements → implementation matrix, report gaps
  • Design alignment: Verify architecture matches design.md, report drift and dependency violations
  • Cross-task integration: Verify data flows, API contracts, shared state consistency

For simple features (few tasks, small scope), run checks in main context without subagent dispatch.

Mechanical Checks (run commands, use results)

These checks apply at the feature level. Use command output as the primary signal.

A. Full Test Suite

  • Run the discovered canonical full-test command. Use the exit code.
  • If tests fail → NO-GO. No judgment needed.
  • If the canonical test command cannot be identified → MANUAL_VERIFY_REQUIRED

B. Residual TBD/TODO/FIXME

  • Run: grep -rn "TBD\|TODO\|FIXME\|HACK\|XXX" <files-in-feature-boundary>
  • If matches found that were introduced by this feature → flag as Warning

C. Residual Hardcoded Secrets

  • Run: grep -rn "password\s*=\|api_key\s*=\|secret\s*=\|token\s*=" <files-in-feature-boundary> (case-insensitive)
  • If matches found that aren't environment variable references → flag as Critical

D. Runtime Liveness (Smoke Boot)

  • Run the discovered canonical smoke command that proves the built artifact actually starts and reaches its first usable state.
  • Examples if relevant: open the root URL in a headless browser and require zero boot-time console errors; launch Electron and wait for the main process ready signal and first renderer load; run a CLI with --help; start a service and hit its health endpoint.
  • If boot produces a runtime crash, unhandled exception, module-load failure, native ABI mismatch, or missing required env/config → NO-GO.
  • If no trustworthy smoke command can be identified, or the required runtime environment is unavailable → MANUAL_VERIFY_REQUIRED
Judgment Checks (read code, compare to spec)

E. Cross-Task Integration

  • Identify where tasks share interfaces, data models, or API contracts
  • Verify that Task A's output format matches Task B's expected input
  • Check for conflicting assumptions between tasks (naming conventions, error codes, data shapes)
  • Verify shared state (database schemas, config, environment) is consistent across tasks
  • Verify integration work happens at the intended seams rather than by leaking one boundary's behavior into another

F. Requirements Coverage Gaps

  • Map every requirement section to at least one completed task
  • Identify requirements that no single task fully covers (cross-cutting requirements)
  • Identify requirements partially covered by multiple tasks but not fully by any
  • Use the original section numbering from requirements.md; do NOT invent REQ-* aliases

G. Design End-to-End Alignment

  • Verify the overall component graph matches design.md
  • Check that integration patterns (event flow, API boundaries, dependency injection) work as designed
  • Verify dependency direction follows design.md's architecture (no upward imports)
  • Verify File Structure Plan matches the actual file layout
  • Identify any architectural drift from the original design
  • Use the original section numbering from design.md

G.5 Boundary Audit

  • Compare completed work against the design's Boundary Commitments, Out of Boundary, Allowed Dependencies, and Revalidation Triggers
  • Identify cross-task spillover where one area quietly absorbed another boundary's responsibility
  • Identify downstream-specific workarounds embedded upstream "to make integration easier"
  • Identify new hidden dependencies or shared ownership that were not declared in the design
  • If a revalidation trigger fired, verify the affected adjacent specs or integration points were actually re-checked

H. Blocked Tasks & Implementation Notes

  • Check for any tasks still marked _Blocked:_ — report why and assess impact on feature completeness
  • Review ## Implementation Notes in tasks.md for cross-cutting insights that need attention

Step 4: Generate Report

Before returning GO, apply the kiro-verify-completion protocol to the feature-level claim. Tests alone are insufficient: include full-suite, runtime liveness, coverage, integration, design-alignment, and blocked-task status in the evidence.

Classify concrete failures by ownership before writing remediation:

  • LOCAL if the defect belongs to the feature being validated
  • UPSTREAM if the root cause belongs to a dependency, foundation, shared platform, or earlier spec
  • UNCLEAR if ownership cannot be established from the available evidence

If ownership is UPSTREAM, do not collapse the issue into local remediation for this feature. Name the owning upstream spec and explain which dependent specs should be revalidated after that upstream fix lands.

Provide summary in the language specified in spec.json:

## Validation Report
- DECISION: GO | NO-GO | MANUAL_VERIFY_REQUIRED
- MECHANICAL_RESULTS:
  - Tests: PASS | FAIL (command and exit code)
  - TBD/TODO grep: CLEAN | <count> matches
  - Secrets grep: CLEAN | <count> matches
  - Smoke boot: PASS | FAIL | MANUAL_REQUIRED
- INTEGRATION:
  - Cross-task contracts: <status>
  - Shared state consistency: <status>
  - Boundary audit: <status>
- COVERAGE:
  - Requirements mapped: <X/Y sections covered>
  - Coverage gaps: <list of uncovered requirement sections>
- DESIGN:
  - Architecture drift: <findings>
  - Dependency direction: <violations if any>
  - File Structure Plan vs actual: <match/mismatch>
- OWNERSHIP: LOCAL | UPSTREAM | UNCLEAR
- UPSTREAM_SPEC: <feature-name | N/A>
- BLOCKED_TASKS: <list and impact assessment>
- REMEDIATION: <if NO-GO: specific, actionable steps to fix each issue>

If NO-GO, REMEDIATION is mandatory — identify the exact issue and what needs to change. Vague feedback is not acceptable.

Important Constraints

  • Strict Final Gate: Return GO only when all integration checks passed; return NO-GO for concrete failures and MANUAL_VERIFY_REQUIRED when mandatory validation could not be completed
  • Boundary integrity over convenience: Do not return GO if the feature only works by smearing responsibilities across boundaries, even when tests pass

Safety & Fallback

Error Scenarios

  • No Implementation Found: If no [x] tasks found, report "No implementations detected"
  • Test Command Unknown: Return MANUAL_VERIFY_REQUIRED and explain which validation command is missing; do not return GO
  • Missing Spec Files: Stop with error if spec.json/requirements.md/design.md missing

Next Steps Guidance

If GO Decision:

  • Feature validated end-to-end and ready for deployment or next feature

If NO-GO Decision:

  • Address issues listed in REMEDIATION
  • Re-run /kiro-impl {feature} [tasks] for targeted fixes
  • Re-validate with /kiro-validate-impl {feature}

If MANUAL_VERIFY_REQUIRED:

  • Do not treat the feature as complete
  • Provide the exact missing validation step or environment prerequisite

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

ماذا تفعل مهارة الذكاء الاصطناعي Kiro Validate Impl؟

Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.

لماذا تستخدم Kiro Validate Impl على TypingMind؟

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

كيف أثبّت Kiro Validate Impl في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/fimoklei/pm-ai-playbook/tree/main/workflows/cc-sdd-custom/.claude/skills/kiro-validate-impl. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Kiro Validate Impl؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Kiro Validate Impl؟

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

هل مهارة الذكاء الاصطناعي Kiro Validate Impl مجانية؟

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

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

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

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

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

عرض الكل

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

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