用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Hbin77/codex-kit --skill qa命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | qa |
| description | Browser QA — automation, accessibility audit, user flow verification |
Run QA testing on the target application with browser automation, accessibility audit, and user flow verification.
Target: the task/scope the user described when invoking this skill (if none given, ask or infer from context)
npx playwright --version.playwright in devDependencies: install in place (npm install && npx playwright install chromium).npm init inside it:
mkdir -p ~/.cache/claude-qa-playwright
( cd ~/.cache/claude-qa-playwright && npm install playwright && npx playwright install chromium )
Then invoke Playwright via that path (e.g. NODE_PATH=~/.cache/claude-qa-playwright/node_modules node script.js, or run the script from within that directory).package.json scripts, .env) and start it (npm run dev, npm start, bun dev). Wait until ready.Navigate to the URL. Take full-page screenshots at 3 viewports (375px, 768px, 1280px). Report console errors, broken images, layout issues. Register console/pageerror listeners before navigation.
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
const errors = [];
page.on('console', m => { if (m.type() === 'error') errors.push(m.text()); });
page.on('pageerror', e => errors.push(e.message));
for (const w of [375, 768, 1280]) {
await page.setViewportSize({ width: w, height: 900 });
await page.goto('URL_HERE', { waitUntil: 'networkidle' });
await page.screenshot({ path: `/tmp/qa-${w}.png`, fullPage: true });
}
// Accessibility audit (axe-core)
await page.addScriptTag({ : });
a11y = page.( () => axe.());
.(.({ errors, : a11y. }, , ));
browser.();
})();
Based on app type, test critical flows sequentially:
Run WCAG AA checks (axe-core as above): contrast ratios, form labels, alt text, keyboard navigation, focus indicators, semantic HTML.
## QA Report: [target]
### Summary
- Pages tested: N · Viewports: 375/768/1280 · Findings: N (Blocker/Major/Minor)
- Accessibility violations: N
### Blocker (must fix before ship) [findings + screenshot paths]
### Major (should fix) [findings + screenshots]
### Minor (nice to have) [findings]
### Accessibility [WCAG violations + remediation]
### Verdict: PASS / FAIL
If BLOCKER or MAJOR issues found: present findings with screenshots, ask "Fix these automatically?", and if yes → fix code → re-run affected tests → verify.