Langsung ke konten
Skillpedia
Analisis & spreadsheet48k Β· #6284

mock-hunter

Fungsinya

Tool ini memeriksa website yang sedang berjalan untuk mengetahui apakah data yang Anda lihat itu asli, mock, dihasilkan AI, hardcoded, atau rusak. Tool ini membuat laporan agar Anda memahami sumber dari setiap informasi.

Kapan dipakai

  • βœ“Saat mengaudit UI yang dibuat AI untuk melihat apakah datanya benar-benar terhubung.
  • βœ“Sebelum menyetujui pekerjaan orang lain.
  • βœ“Sebelum menampilkan prototipe kepada klien atau investor.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/mock-hunter/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/mock-hunter/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAudit website https://mysite.com dan beri tahu saya dari mana datanya berasal.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini menjelajahi website seperti pengguna biasa, misalnya mengklik tombol dan mengisi formulir (dengan izin Anda). Kemudian tool menganalisis informasi yang ditampilkan untuk menentukan asal-usulnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

MockHunter β€” Live Page Reality Check

Overview

MockHunter is a Claude Code skill that audits a live web page and tells you, for every visible value, whether it is real, mocked, LLM-generated, hardcoded, broken, or unknown. It is built for vibe-coded apps (Lovable, Bolt, v0, Replit, AI Studio, Cursor Composer) where the UI may look complete but the data layer often is not. It uses Playwright MCP to drive a real browser, then traces each visible value through the network and DOM to its source.

This skill adapts the upstream CodeShuX/mockhunter project (community source).

Because this workflow drives a real browser against live pages, treat it as an interactive audit tool, not a plugin-safe read-only helper. Default to observation-only until the user confirms the target is theirs, identifies a safe test account or environment, and explicitly approves any click, submit, or authenticated action that can mutate state.

When to Use This Skill

  • Use when auditing an AI-generated UI to find out which values are actually wired up
  • Use when reviewing a contractor or teammate's deliverable before sign-off
  • Use before showing a vibe-coded MVP to a customer or investor
  • Use when a dashboard "looks too clean" β€” every metric uniformly round, all timestamps clustered, no variance β€” and you suspect seeded data

How It Works

Phase 1: Setup & Smart Questions

  1. Greet the user, ask for the target URL
  2. Auto-detect the stack from the URL (*.lovable.app, *.bolt.new, *.v0.app, *.replit.app, aistudio.google.com, otherwise Custom)
  3. Ask 3-5 targeted questions: auth mode (public / localhost / form / skip), DB access (optional), suspicions, page goal
  4. Confirm the audit plan, ownership/permission, target environment, and allowed action classes before proceeding

Phase 2: Navigate & Catalog

  1. browser_navigate to the target URL
  2. Handle auth per chosen mode (form-login: fill fields, click submit)
  3. Wait for network idle (max 10s)
  4. Take full-page screenshot, capture accessibility snapshot
  5. Inventory every: heading, button, link, input, card, badge, stat, table cell, empty state, image
  6. Capture initial console errors and network requests

Phase 3: Test Interactivity

  1. For every tab: click only after the user has approved navigation-style interactions, then snapshot, scroll to bottom, re-catalog
  2. For every button: click only user-approved, allowlisted controls that are clearly non-destructive by role, accessible name, nearby text, icon, URL/action target, and expected network side effect; skip destructive or ambiguous controls rather than relying on a label regex alone
  3. For every form: identify required fields and prefer empty-submit validation; submit throwaway data only when the user explicitly approved the exact form, target environment, and test account
  4. Record per-element behavior

Phase 4: Trace Provenance

For every visible value, run this decision tree:

Did any network request return this value?
β”œβ”€β”€ YES β€” found in a response:
β”‚   β”œβ”€β”€ Status 4xx/5xx β†’ BROKEN
β”‚   β”œβ”€β”€ Endpoint matches /ai|openai|generate|llm|chat β†’ LLM
β”‚   β”œβ”€β”€ Response shape matches mock library (faker, MSW, mockoon) β†’ MOCK
β”‚   β”œβ”€β”€ Uniformity flags trigger β†’ MOCK or LLM (review)
β”‚   β”œβ”€β”€ DB connection provided?
β”‚   β”‚   β”œβ”€β”€ Run read-only SELECT, value matches DB row β†’ REAL
β”‚   β”‚   └── Value not in DB β†’ MOCK
β”‚   └── No DB β†’ UNKNOWN (best-guess)
└── NO β€” value not in any network response:
    β”œβ”€β”€ String literal in DOM source β†’ HARDCODED
    β”œβ”€β”€ Computed from Math.random / Date.now / faker β†’ MOCK
    └── Cannot determine β†’ UNKNOWN

Uniformity heuristics flag suspicious data:

  • All numeric values identical across rows
  • All percentages round (50%, 75%, 90%)
  • All timestamps cluster within a single minute
  • < 3 unique values across 10+ rows

Phase 5: Report

Generate mockhunter-report.md with:

  • Summary table (verdict counts)
  • Findings per section/tab (element / value / verdict / source / severity / action)
  • Console errors and network failures
  • NO-OP buttons
  • Suspicious patterns
  • Smart follow-up questions for the user

Examples

Example 1: Auditing a Lovable admin dashboard

User: /mockhunter audit https://my-app.lovable.app/admin
Skill: [Phase 1] Stack detected: Lovable. Auth: skip. DB: no.
       [Phase 2] Catalog: 6 stat cards, 4 verification queues, 8 activity items.
       [Phase 3] Search box: NO-OP (zero network requests). Activity link β†’ 404.

…
Pertanyaan umum

Apa maksud 'mock data'?

Itu adalah data palsu yang digunakan untuk pengujian atau untuk meniru informasi nyata saat data sebenarnya belum tersedia.

Apa itu nilai 'hardcoded'?

Itu adalah teks atau angka yang langsung ditulis di dalam kode website, bukan diambil dari database atau sumber lain.

Bisakah saya menggunakan ini di website mana pun?

Bisa, tetapi berhati-hatilah saat berinteraksi dengan situs yang bukan milik Anda. Tool ini bisa saja mengklik tombol atau mengisi formulir, yang berpotensi mengubah informasi di situs tersebut.

Detail

Deskripsi asli dari pembuat

Audit a live web page in five phases (catalog, click, trace, classify, report) to identify mock data, hardcoded values, LLM-generated metrics, and broken endpoints. Outputs a markdown report with REAL/MOCK/LLM/HARDCODED/BROKEN/UNKNOWN verdicts per visible value.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#6284
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa