AGENT SKILL

示例图书应用变更审查

book-app-reviewer

审查 samples/book-app-web 中的变更,涵盖无障碍访问、响应式布局、测试/构建验证,以及适合初学者的细小改动。

适用职业测试工程师
License 许可
MIT
最近更新
2026-11-12
Stars
★ 165
Forks
196

01 前言 Front Matter

name
book-app-reviewer
description
Review changes in samples/book-app-web for accessibility, responsive layout, tests/build validation, and small beginner-safe changes.

02 资源文件 3

03 SKILL.md 正文

Book App Reviewer

Use this skill to review changes in samples/book-app-web.

Review focus

  1. Confirm the app remains Vite, React, TypeScript, and Vitest only.
  2. Check that tests still pass with npm test -- --run.
  3. Check that the app builds with npm run build.
  4. Review accessibility for labels, region names, keyboard-friendly controls, and useful empty states.
  5. Review responsive behavior for the filter row, stats cards, and book card grid.
  6. Keep changes small enough for a beginner to understand in a course chapter.

Preferred feedback style

  • Explain what matters and why.
  • Avoid style-only comments unless they affect readability, accessibility, or the course goal.
  • Suggest the smallest safe fix.
  • If a scenario intentionally fails, confirm it is documented in samples/app-course-pr-scenarios.md or samples/app-course-issues.md.

Files usually in scope

  • samples/book-app-web/src/App.tsx
  • samples/book-app-web/src/components/*.tsx
  • samples/book-app-web/src/data/books.ts
  • samples/book-app-web/src/styles/app.css
  • samples/book-app-web/src/tests/*.tsx

04 同仓库更多 Skills