跳到正文
cccskills
免费在 GitHub 公开

qa

Use when completing any task (final validation step), running audits, preparing for deployment, or when ESLint/TypeScript/build errors occur.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck星标 80(GitHub 80 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.6 KB
  • LEARNINGS.md737 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

QA Skill

Canonical Sources

This skill references the following globals — read them BEFORE starting work:

  • system/globals/responsiveness.md — Breakpoints, test order, anti-patterns

Domain

Testing, Validation, Code Quality, Launch Readiness

KPIs

MetricTargetMeasurement
Lighthouse Best Practices>90Lighthouse JSON → categories.best-practices.score * 100
ESLint Errors0npm run lint -- --format json
ESLint Warnings0npm run lint -- --format json
Formatting Issues0npm run format:check
HTML Validation Errors0npx html-validate dist/

Rules

Build Pipeline

# Full QA pipeline
npm run check:kpis    # All static convention checks (single source of truth)
npm run lint          # ESLint errors/warnings
npm run format:check  # Prettier formatting
npm run check         # Astro type check — covers .astro templates, which tsc alone does not
npm run build         # Astro build (0 errors, 0 warnings)

Shortcut: npm run validate runs check:kpis, lint, format:check and check in sequence.

Pre-Launch Checklist

Content

  • No placeholder content ("Lorem ipsum", "TODO", "FIXME")
  • All links work (no # or javascript:void(0))
  • Images have descriptive alt text
  • Text is proofread

Branding

  • Logo replaced (no longer AstroDeck default)
  • Favicon set (public/favicon.svg)
  • OG image created (public/og-image.png, 1200x630px)
  • Site title and description in astro.config.mjs

Legal

  • Imprint present (required in DACH region)
  • Privacy policy present
  • Cookie banner configured (if tracking active)

Analytics & Forms

  • Analytics code integrated (if desired)
  • Forms submit to correct endpoints
  • Forms have honeypot/CAPTCHA

Performance

  • Lighthouse Performance >90
  • Images optimized (WebP/AVIF, responsive sizes)
  • No unnecessary client:load directives
  • External scripts with SRI

Lighthouse Targets

CategoryMinimumIdeal
Performance9095+
Accessibility9095+
Best Practices9095+
SEO9095+

Dark Mode Testing

  • All pages checked in dark mode
  • No white surfaces or unreadable text
  • Images/icons visible (no black logo on black background)
  • Toggle works and persists selection

Cross-Browser

  • Chrome/Edge (Chromium)
  • Firefox
  • Safari (WebKit)
  • Mobile Safari (iOS)
  • Chrome Mobile (Android)

Non-Negotiable

These rules always apply — even under time pressure, even for "just a small update":

  • No commit without npm run build. "I only changed text" — content changes can also break the build (missing frontmatter fields, broken links).
  • No ESLint ignore without comment. // eslint-disable-next-line is allowed, but only with an explanation of why the rule doesn't apply here.
  • No skipping the QA pipeline. "It's urgent" is not an exception. The pipeline (lint → format → tsc → build) takes under 30 seconds.
  • Lighthouse always all 4 categories. Never measure only performance and ignore the rest. A score drop in any category is a blocker.
  • Responsive test is part of QA. "Looks good on my monitor" doesn't count. At minimum, 375px and 1280px must be checked.

Before Applying

Read LEARNINGS.md in this directory to avoid known anti-patterns.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when creating or modifying any UI element visible to the user, reviewing HTML markup, adding interactive elements, or when Lighthouse Accessibility drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

astro

免费

Use when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

Use when creating or editing pages, blog posts, or content files, adding meta tags, or when Lighthouse SEO drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

readme

免费

Use when starting work on an AstroDeck project, needing to understand the project structure, or looking up available components, sections, and layouts.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

tailwind

免费

Use when writing or reviewing any CSS class, changing colors, modifying globals.css, or when hardcoded colors or inline styles are detected.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

ui-design

免费

Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

查看 holger1411 的全部技能

报告此技能的问题