frontend-checklist-global
Fungsinya
Skill ini memakai satu titik masuk untuk meninjau kode dan halaman web terhadap kumpulan lengkap aturan Front-End Checklist. Cocok untuk pengembang yang menginginkan audit yang teliti dengan perbaikan spesifik, bukan tebakan umum.
Kapan dipakai
- ✓Saat Anda ingin tinjauan lengkap sebuah proyek web terhadap kumpulan aturan yang lengkap.
- ✓Saat Anda membutuhkan audit HTML yang dirender dari halaman publik.
- ✓Saat Anda menginginkan perbaikan spesifik dan penjelasan singkat untuk setiap masalah yang ditemukan.
Link skill
https://github.com/thedaviddias/Front-End-Checklist/blob/main/plugins/front-end-checklist/skills/frontend-checklist-global/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tinjau kode formulir pendaftaran saya untuk masalah aksesibilitas dan beri tahu saya cara tepat memperbaiki setiap masalahnya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mencari aturan yang berlaku, hanya melaporkan masalah yang jelas terlihat dalam kode, dan memberikan perbaikan untuk setiap masalah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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 (
Pertanyaan umum
Apakah akan melaporkan setiap kemungkinan perbaikan?
Tidak. Skill meminta audit yang konservatif, dengan temuan yang lebih sedikit tetapi lebih kuat.
Bisakah memeriksa situs web yang aktif?
Bisa. Skill dapat mengaudit HTML yang dirender dari halaman publik.
Apakah skill ini menilai keputusan bisnis untuk saya?
Tidak. Skill menghindari menebak aturan bisnis, seperti apakah sebuah kolom wajib diisi, kecuali jika kode memperlihatkannya dengan jelas.
Detail
Deskripsi asli dari pembuat
Use when auditing or improving any frontend codebase against the full Front-End Checklist rule corpus through one entry point.
Popularitas
- Bintang GitHub
- 75k
- Peringkat
- #2705
- Lisensi
- MIT
- Diperbarui
- 31/10/2026
Komentar
- …
Skill lain dari repositori ini
frontendchecklist
75kMemeriksa kode frontend dan halaman langsung terhadap lebih dari 380 aturan untuk aksesibilitas, kecepatan, SEO, dan keamanan, dengan alat baris perintah.
404-page
75kMemeriksa bahwa halaman tidak ditemukan Anda menawarkan tautan yang membantu dan mengembalikan status 404 yang sebenarnya, untuk membantu pengunjung yang tersesat.
about-page
75kMeninjau apakah situs Anda memiliki halaman Tentang yang jelas yang menjelaskan siapa yang mengelolanya, untuk membangun kepercayaan pengunjung dan mesin pencari.
accessibility-testing
75kMemasang pemeriksaan aksesibilitas otomatis untuk komponen dan halaman, sehingga masalah WCAG yang umum tertangkap sebelum pengguna melihatnya.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.