frontend-checklist-global
Skill này làm gì
Skill này dùng một điểm vào để xem lại mã web và trang theo toàn bộ quy tắc Front-End Checklist. Nó dành cho lập trình viên muốn có một bản kiểm toán cẩn thận với cách sửa cụ thể thay vì đoán chung chung.
Khi nào nên dùng
- ✓Khi bạn muốn xem lại đầy đủ một dự án web theo bộ quy tắc hoàn chỉnh.
- ✓Khi bạn cần kiểm toán HTML đã render của một trang công khai.
- ✓Khi bạn muốn cách sửa cụ thể và giải thích ngắn cho mỗi vấn đề tìm thấy.
Liên kết skill
https://github.com/thedaviddias/Front-End-Checklist/blob/main/plugins/front-end-checklist/skills/frontend-checklist-global/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Xem lại mã form đăng ký của tôi về các vấn đề khả năng tiếp cận và cho tôi biết chính xác cách sửa từng vấn đề.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm trong bộ quy tắc những gì áp dụng, chỉ báo cáo các vấn đề mà mã thể hiện rõ ràng, và đưa cách sửa cho từng vấn đề.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Front-End Checklist Global Audit
This skill connects one entry point to all 386 Front-End Checklist rules. Use MCP retrieval instead of trying to recall rules from memory.
Workflow
- Start with
review_codefor pasted code, file contents, or focused code review. - Use
audit_urlfor a public page when you need rendered HTML audited quickly. - Narrow or expand scope with
search_rules,list_categories,get_workflow, orget_quick_reference. - For each issue, use
get_rule,fix_rule, orexplain_ruleto give exact remediation. - If a checklist is a better fit than ad hoc search, use
get_checklist_rules.
Audit Stance
- Be conservative. Prefer fewer, stronger findings over speculative breadth.
- Only report an issue when the code or markup shown supports it directly.
- In small component or route audits, prefer the strongest 1-2 supported findings over listing every possible enhancement.
- Do not infer business intent from a snippet alone. Example: do not assume a field is required unless the code or surrounding copy makes that explicit.
- Do not treat
alt=""as an issue by default; empty alt can be correct for decorative images. - When an image is explicitly decorative, prefer zero findings unless the snippet shows a concrete problem rather than a hypothetical optimization.
- If you see an isolated decorative image like
<img ... alt="" aria-hidden="true">, treat it as a zero-issue pattern unless the snippet also shows real evidence of layout instability. - Do not raise low-confidence preference tweaks as findings when the snippet is otherwise sound. Prefer silence over weak nitpicks.
- Do not treat
autocomplete="off"as a defect by itself unless the snippet shows a stronger user-harm or security reason to flag it. - In link-preview cards, decorative preview images and favicons may be safe when nearby visible text already names the destination.
- Do not treat React or JSX fragments as full HTML documents unless the snippet includes real document context like
<html>,<head>, or<body>. - When reviewing Next.js or metadata-driven page files, consider
metadata,viewport, andgenerateMetadataAPIs before claiming head-tag omissions.
Coverage Checklist
- Forms: check labels, accessible button names, explicit button types,
autocompletehints, password-field autocomplete, and validation semantics that are explicit in the code. - Images: check
width/height,loading,srcset/sizes, and whether image semantics are clearly meaningful or decorative. Do not assume tiny SVG logos or clearly decorative assets must be lazy-loaded, and do not demand explicit dimensions for tiny ornamental dividers unless the snippet shows a real layout-shift risk. If an image is both decorative and hidden from assistive tech, bias strongly toward no finding. - Metadata: check title placement, canonical-url behavior, meta descriptions, Open Graph coverage, and structured data only when the file is responsible for metadata.
- Motion: check expensive animated properties, prefer transform/opacity, and require
prefers-reduced-motionhandling for persistent motion. - Motion: when counters or visual widgets animate every frame, assess both reduced-motion support and whether the animation strategy adds unnecessary main-thread work.
- Security: check
target="_blank"links fornoopener noreferrer, insecure form actions, password input best practices, and blocking third-party scripts. - Structure: check duplicate ids, list semantics, and table headers conservatively. For simple tables, column-header associations are stronger findings than speculative row-header or outer-layout landmark issues.
- Structure: when a visible heading already introduces a simple table, treat missing captions as a lower-confidence improvement than missing header associations.
Rule-Derived Highlights
Set explicit width and height on images
- Reserve findings for meaningful content images; decorative micro-SVGs or ornament-only assets are low-priority exceptions when CSS already reserves stable space
- Example low-risk exception:
<img src="/divider.svg" alt="" aria-hidden="true">should not be flagged on its own without evidence of visible layout shift - Always set
widthandheightattributes on<img>matching the image's intrinsic dimensions - Pair with
height: autoin CSS to keep the image fluid while preserving the aspect ratio - Missing dimensions are the leading cause of Cumulative Layout Shift (
Câu hỏi thường gặp
Nó có báo cáo mọi cải tiến có thể không?
Không. Skill yêu cầu kiểm toán thận trọng, với ít phát hiện hơn nhưng chắc chắn hơn.
Nó có kiểm tra một trang web trực tiếp không?
Có. Nó có thể kiểm toán HTML đã render của một trang công khai.
Nó có quyết định kinh doanh thay tôi không?
Không. Skill tránh đoán các quy tắc kinh doanh, chẳng hạn một trường có bắt buộc hay không, trừ khi mã thể hiện rõ.
Chi tiết
Mô tả gốc của tác giả
Use when auditing or improving any frontend codebase against the full Front-End Checklist rule corpus through one entry point.
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2705
- Giấy phép
- MIT
- Cập nhật
- 31/10/2026
Bình luận
- …
Thêm skill từ kho mã này
frontendchecklist
75kKiểm tra mã frontend và trang trực tiếp theo hơn 380 quy tắc về khả năng tiếp cận, tốc độ, SEO và bảo mật, bằng một công cụ dòng lệnh.
404-page
75kKiểm tra xem trang báo thiếu của bạn có đưa ra các liên kết hữu ích và trả về mã trạng thái 404 thật hay không, để giúp khách bị lạc tìm đường.
about-page
75kKiểm tra xem trang web có trang Giới thiệu rõ ràng giải thích ai điều hành nó hay không, để xây dựng niềm tin với khách và công cụ tìm kiếm.
accessibility-testing
75kThiết lập kiểm tra khả năng tiếp cận tự động cho thành phần và trang, bắt các lỗi WCAG phổ biến trước khi người dùng nhìn thấy.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.