Skip to main content

validate-artifact

Run ENFORCE checks on a rendered artifact slug: Google design.md lint + HTML-side color-token trace. Reports ACCEPT or FAIL with fail_class. Invokes `paperboard validate`.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
All-The-Vibes/ATV-PaperBoard
آخر نشاط في المصدر
١٦ مايو ٢٠٢٦ في ١٧:٥٧
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
validate-artifact
description
Run ENFORCE checks on a rendered artifact slug: Google design.md lint + HTML-side color-token trace. Reports ACCEPT or FAIL with fail_class. Invokes `paperboard validate`.
# validate-artifact Enforces design contract compliance on a previously rendered artifact. ## Usage ``` paperboard validate <slug> ``` ## When to invoke - After `render-artifact` completes, to confirm the artifact is compliant. - When the `artifact-reviewer` agent requests validation. - Before publishing or persisting an artifact as final. ## Checks performed 1. **lint** — `@google/design.md` JSON lint on the paired DESIGN.md sidecar. 2. **color-trace** — Every inline hex color in the HTML must appear in the DESIGN.md Colors section. ## Output Prints one of: - `✓ ACCEPT slug=<slug>` — all checks passed; exit 0. - `✗ FAIL(<fail_class>) slug=<slug>` — details follow; exit 1. `fail_class` is one of: `none | lint | color-trace | environment`
عرض على GitHub