Grok Bot · QA · Guide

Grok Bot mein QA bot kaise banayein

Part of AI automation for small businesses: where to start

10
skill ke parts
4
severity levels
1
report.md per pass

Skip to the prompt for Claude Code ↓

Grok Bot mein QA bot ek bot hai aur uska ek hi kaam hai: site ya app kholo, asli masle dhoondo, har masle ka saboot rakho, aur report.md likho jisse coding agent bina sawal ke fix kar sake. Tareeqa ek skill hai, website-app-qa. Isko paste karo, ek asli URL pe ek dafa chalao, report padho, aur tab private skill ke tor pe save karo. Schedule us pass ke baad aata hai jise tum dekh chuke ho.

Grok Bot cloud ke computer pe kaam karta hai, browser aur command line ke saath, aur laptop band hone ke baad bhi chalta rehta hai. Chat mein computer preview pe click karke dekh sakte ho. Files /workspace mein rehti hain. Tumhare account ke saare bots wohi computer share karte hain, is liye file mein likha hua password baaki bots ko bhi dikhta hai. Login Vault ya Secure Form se hota hai, jo page bhar deta hai aur password chat mein nahi aata.

Ek pass
URL -> scope -> design -> admin -> user -> AI/RAG (agar jawab deta hai) -> report.md -> retest

Skill neeche English mein hai. Bot wahi padhta hai, is liye Roman Urdu guide mein bhi skill English rehti hai.

Ye cheezein ready rakho

  • Grok Bot ka desktop app, sign-in ke saath.
  • Site ya app ka URL. Bot ka computer tumhare laptop ka localhost nahi dekh sakta. Local site ke liye dev server chalta hua ho, aur tum temporary tunnel ki ijazat do, phir pass khatam hote hi tunnel band karo.
  • Agar target admin panel hai, to ek test login jo tumhe use karne ki ijazat ho. Wo Vault ya Secure Form mein daalo. Chat mein kabhi paste mat karo.
  • Is run mein kaunse passes chahiye: design aur layout, functional flows, admin, user, security aur authorization, AI ya RAG quality, performance. Jo lagoo nahi hota, use chhor do.

Bot banao

Sidebar ke upar New Bot (+ button) chuno, ya Cmd/Ctrl+N dabao. Team pe + ek menu kholta hai; Create a Bot chuno. Naam QA rakho, picture chuno, aur Create dabao.

Grok Bot uske saath chat khol deta hai. Pehla message kaam hai, sources hain, aur wo lakeerein hain jo wo cross nahi kar sakta. Use yaad rakhne ko kaho. Personal bots lasting rules memory mein rakhte hain; iske liye koi settings page nahi. (Create and manage Bots)

Grok Bot
You are my QA bot. Your only job is to test a website or app and write report.md that a coding agent can fix from.

Remember these rules:
- Never invent a finding, a number, or a source. Every issue needs evidence.
- Never print a secret, and never ask me to paste a password in chat. Logins go through Vault or a Secure Form.
- Stay non-destructive. No deletes, no email to real users, no payments, no messages to real people.
- If you are blocked (login, quota, captcha), stop and tell me. Do not loop.

Baad mein naam badalna ho to chat ke upar uske naam pe click karo, ya sidebar mein right-click karke Rename Bot chuno.

Skill paste karo

Neeche wala block bhejo aur bot se kaho ke ise private skill website-app-qa ke naam se save kare. Private skills tumhare saare bots ki ek library hoti hai. Agar ye bot baad mein skill na dhoond paye, sidebar mein Connect apps kholo, title ke paas connected count chuno, aur Private skills ke neeche ise on karo. (Skills and routines)

Ek useful Grok Bot skill batati hai ke kab use karni hai, kya chahiye, steps kya hain, result kaise check karna hai, kya wapas dena hai, aur kis cheez pe tumhari ijazat chahiye. Block pehle se isi shape mein hai. Steps ke andar ke das parts hi pass hain.

Grok Bot
Save the skill below as a private skill named website-app-qa.
Keep the six headings. Show me the saved skill before you run it on a site.
SKILL.md
---
name: website-app-qa
description: Use when asked to QA, audit, test, or re-check a website or web app (public site, admin panel, user flows, AI/RAG features) and deliver a report.md a coding agent can fix from, or a plain-language client PDF.
---

# Website and app QA

Find real problems in a site or app, prove each one with evidence, and hand back a report that a cloud coding agent can fix from without asking questions.

## When to use it

Use when the owner asks to QA, audit, test, or re-check a website or web app and wants a report. Do not use it to fix the code unless the owner asks for a fix in a separate message. Do not use it on a site you were not given a URL for.

## Inputs and access

- The URL. If it is an admin panel or app, ask for the login once. Take passwords through Vault or a Secure Form. Never ask for a password in chat, never echo it, and never write it into a file, a log, a screenshot, or the report.
- Which passes this run needs: design/layout, functional flows, admin side, user side, security/authorization, AI or RAG quality, performance.
- The computer is in the cloud. `localhost` on the owner's laptop is not reachable. A temporary tunnel only with approval, and close it when the pass is done.
- Keep the work in `/workspace/<site>-qa/` with `screens/`, `highlights/`, and `report.md`. Dated subfolders for retests (`2026-11-07/`). Never overwrite an earlier report.
- Playwright, Lighthouse, and Pillow are used by the design pass. Install them on this computer if they are missing. If one will not install, mark that part NOT RUN and say why. Do not invent a score or a screenshot.

## Steps

### 1. Scope the job

Confirm the URL, the passes, and whether a login is required. State the plan in chat before you click anything.

### 2. Set up the workspace

One folder per target: `/workspace/<site>-qa/` with `screens/`, `highlights/`, `report.md`. Dated subfolders for retests. Never overwrite an earlier report.

### 3. Design and layout pass

Headless Playwright at 1440x900 (desktop) and 390x844 (mobile), full-page screenshots of every page in the nav and footer. Check horizontal overflow, cut-off tables, overlapping or off-screen controls, tap targets under 44px, broken images, inconsistent spacing and fonts, and RTL text (Urdu/Arabic) direction. Collect console errors, failed network requests, and broken links (404s) on every page. Run Lighthouse for performance, accessibility, best practices, and SEO. For the worst issues, make annotated highlight PNGs (box the problem area with Pillow).

### 4. Admin pass

Log in, open every page, and exercise every control: tables, search, filters, empty states, forms, validation (empty, huge, past dates, emoji, script-injection text), confirmations, and mobile layout. Stay non-destructive. Changes only on clearly labelled test data, undone afterwards. Never delete real data or email real users.

### 5. User pass

Create one clearly labelled test user (public sign-up if it exists, otherwise via admin). Use a bot or test email the owner approved; let Vault generate the password. Walk every flow: sign-up, approval, login, logout, password reset, onboarding, core feature, limits and quotas, pricing, settings. Edge cases: double submit, back or refresh mid-flow, expired session, bad inputs. Authorization: can the user reach `/admin`, admin API routes, or other users' data? Try logged-out and fake-cookie requests too. Anything reachable without auth is Critical.

### 6. AI / RAG pass (when the product answers questions)

Build a test matrix across subjects and topics: definitions, calculations, follow-ups that switch topic, paraphrases, other languages, ambiguous prompts, off-scope prompts, and a request to invent a citation. Record for each: exact prompt, exact answer, detected topic or subject, sources or citations shown, whether those sources actually support the claims, factual correctness, and whether earlier context leaked in. A correct answer is not proof that retrieval worked. Without visible passages or logs, mark retrieval "unverified". Respect quotas. Never bypass limits, reset counters, or make extra accounts unless the owner says so. Mark blocked cases NOT RUN. Write a separate `rag-report.md` with the matrix.

### 7. Write report.md

For each issue: an ID (for example ADM-03, USR-07, RAG-02), severity (Critical, High, Medium, or Low), page or URL, steps to reproduce, expected and actual, screenshot path, and a suggested fix (file or component if known). Top of the report: counts by severity, the 3 to 5 worst issues in plain words, what was not tested and why, and any leftover test data to clean up.

### 8. Retests

Re-run every issue ID and mark it fixed, partly fixed, still broken, or not verified, with fresh evidence in a dated `retest/` folder. Look for regressions and log new issues in the same format. Never claim a full pass on partial coverage.

### 9. Client PDF (only when asked)

Rewrite issues in plain, non-technical words: what is wrong, why it matters to visitors, what to do. Group by priority, include the highlight images, keep it friendly. Build from HTML and CSS to PDF, and sign it with the owner's name and brand.

### 10. Hand-off

Send the report file, a two- or three-line summary of the worst issues, and offer to pass `report.md` to a cloud coding agent for fixes once the repo is known.

## How to check the result

Every issue in `report.md` has evidence: a screenshot path that exists, a failed request, or a quote of the page. Counts at the top match the issues in the file. Untested passes are named. No secret appears in the report, the logs, or the screenshots. A pass you could not run says NOT RUN and why.

## What to return

The path to `report.md`, the counts by severity, and the 3 to 5 worst issues in plain words. If you ran the AI pass, also the path to `rag-report.md`.

## What needs my approval

Logging in, opening a tunnel, creating a test user, changing or undoing test data, sending a client PDF, emailing anyone, paying, deleting, and handing the report to another agent. Stop and ask. Do not do these because they would make the pass more complete.

## Rules

- Never invent findings, numbers, or sources. Every issue needs evidence.
- Never print secrets in reports, logs, or screenshots.
- No payments, messages to real people, or destructive actions.
- Report blockers (login, quota, captcha) early instead of looping.

Bot se saved skill dikhane ko kaho. Jo nahi chahiye, kaat do, phir aage barho. Team pe skill teammates ke liye Connect apps se publish hoti hai: skill kholo aur Publish chuno. Publish se pehle description chahiye. (Share a skill with your team)

Ek dafa chalao

Ek URL, wo passes jo tum waqai chahte ho, aur ek finish line. Kaam ke dauran computer preview dekhte raho.

Grok Bot
Use the website-app-qa skill on https://example.com
Passes: design and layout, and the public pages only.
Do not log in. Do not change anything.
Write report.md and reply with the path plus the 3 worst issues.

Apna URL laga do. Agar bot ko login chahiye, wo Secure Form card bhejega. Wohi card bharo. Agar wo password chat mein maange, ruk jao aur kaho ke Secure Form use kare.

Pehla run skill ka test hai. Doosre run pe bharosa karne se pehle report padho. xAI ka apna order bhi yahi hai: pehle kaam reliable banao, phir method save karo, aur uske baad automate karo.

Report padho

File bot ke computer pe hai: /workspace/<site>-qa/report.md. Bot se kaho ke chat mein paste kare, ya computer khol ke file wahan padho.

Report ke upar chaar cheezein hon:

  1. Severity ke counts: Critical, High, Medium, Low.
  2. Sab se bure 3 se 5 issues, seedhi zubaan mein.
  3. Kya test nahi hua, aur kyun (login nahi tha, quota, ya tool install nahi hua).
  4. Jo test data peeche reh gaya, taake tum use delete kar sako.

Har issue ka ID, page, steps, kya dikhna chahiye tha, kya dikha, screenshot ka path, aur suggested fix. Bina saboot ka issue, issue nahi. Bot se kaho ke wo line nikaal de.

ID prefixPass
ADM-admin pages aur forms
USR-signed-in user flows aur authorization
RAG-jawab, citations, aur retrieval

Design aur layout ke issues bhi isi shape mein likhe jaate hain. Baaki passes ke liye skill ki misaal ye prefixes hain.

Screenshots screens/ mein hoti hain. Sab se buri wali highlights/ mein box ki hui hoti hain. Agar product sawal ka jawab deta hai, to rag-report.md matrix hai: prompt, jawab, sources, aur kya wo sources claim ko support karte hain. Sahi jawab jis ke saath passage nahi, wo "unverified" hai. Ye evidence ka gap hai, aur bot ise isi tarah likhta hai.

Fix ke baad retest

Jab coding agent, ya tum, fix ship kar chuke ho, usi bot ko wapas bhejo. Wo har ID dobara chalata hai aur use fixed, partly fixed, still broken, ya not verified mark karta hai. Taazi screenshots dated retest/ folder mein jaati hain. Purani report.md apni jagah rehti hai.

Grok Bot
Retest the open issues in /workspace/example-qa/report.md against https://example.com
Write the result in a dated retest folder. Do not overwrite the old report.
Flag anything new in the same format.

Jo retest sirf teen IDs cover kare, wo un teen ka retest hai. Bot use full pass nahi kehta.

Report aage do

Ab tumhare paas ek file hai jo coding agent meeting ke bagair le sakta hai. report.md bhejo, aur sab se bure issues ki do ya teen line. Jab repo pata ho, QA bot ko kaho ke wo file us agent ko de sakta hai. Ye hand-off haan ka intezar karta hai.

Do extras hain, dono sirf jab tum kaho:

  • Client PDF. Bot issues ko seedhi zubaan mein likhta hai, priority ke hisaab se group karta hai, aur highlight images shamil karta hai. PDF HTML aur CSS se banta hai, aur tumhare naam se sign hota hai.
  • Routine. Ek aisa pass padh chuke ho jise tum maante ho, uske baad is bot se kaho ke skill schedule pe ya kisi event pe chale. Bot, waqt aur time zone, URL, jo report chahiye, aur ye rule confirm karo ke wo khud login, delete, email, ya pay nahi karega. Nayi routine apne agle waqt ka intezar karti hai. Abhi ek dafa chalane ke liye routine pe Test use karo. Test run asli kaam karta hai. (Create a routine)
Grok Bot
Every Monday at 9:00 AM, run the website-app-qa skill on https://example.com
Passes: design and layout, public pages only.
Post the report path and the 3 worst issues in this chat.
Do not log in, delete, email, or pay.
If the site is down, say so. Do not reuse last week's report.

Common mistakes

  1. Dhundla kaam. "Site check karo" se dhundli report aati hai. URL aur passes ka naam lo.
  2. Report padhe bagair routine save karna. Wahi pass automate karo jo tum ek dafa kamyab dekh chuke ho.
  3. Password chat mein. Vault ya Secure Form. Computer account ke har bot ke saath shared hai.
  4. Bina tunnel ke localhost. Bot ka computer cloud mein hai. Wo tumhara laptop nahi khol sakta.
  5. Bina screenshot ke finding. Agar bot saboot na dikha sake, wo line report se nikal jaati hai.
  6. Sahi jawab ko retrieval ka saboot kehna. Passage aur log ke bagair AI pass "unverified" kehta hai.
  7. Retest jo purani report overwrite kar de. Dated folder, purani file apni jagah.
  8. Chauri routine. "Har ghante, sab kuch test karo" ek din mein hafte ka usage jala deta hai. Ek URL, kam passes, ek weekday subah.

Safety

  • Bot dhoondta hai aur report karta hai. Wo product nahi badalta, data delete nahi karta, customers ko email nahi karta, aur pay nahi karta.
  • Test data labelled hota hai aur hata diya jata hai. Asli rows nahi cherti.
  • Quotas rehte hain. Blocked case NOT RUN hai, naya account kholne ki wajah nahi.
  • Cloud computer pe jo kuch hai, wo tumhare doosre bots ko bhi milta hai. Client ke secrets /workspace se bahar rakho.
  • Public bot template, link wale har shakhs ko bot ki skills aur routines dikha deta hai. Share karne se pehle URLs, customer data, aur keys nikaal do. (Share a Bot)

Checklist

  • Grok Bot install hai aur tum sign-in ho
  • QA naam ka bot, memory mein chaar rules ke saath
  • Private skill website-app-qa save hai, aur tum ne use padh liya
  • Ek asli URL, passes ka naam, chat mein password nahi
  • /workspace/<site>-qa/ mein report.md, har issue pe saboot
  • Jo passes nahi hue unka naam, aur bacha hua test data likha hua
  • Retest dated folder likhta hai aur purani report ko nahi chherta
  • Routine, agar lagao, khud login, delete, email, ya pay nahi kar sakti

Ship karne se pehle kisi site pe ye pass chahiye? Open a case file. Main 24 ghante mein reply karta hoon.

Using Claude Code or Codex?

Paste this. Let your agent set it up.

Prompt
Set up a QA bot in Grok Bot from https://www.theaikhan.com/guides/qa-bot-grok
1. Create a Bot named QA. Its only job is to test a website or app and write report.md.
2. Save a private skill named website-app-qa using the exact skill in that guide.
3. Never read, print, or store passwords. Logins go through Vault or a Secure Form.
4. Do not delete data, send email, pay, or message real users.
5. When the skill is saved, ask me for the URL and which passes to run.

Keep reading

All of AI automation →

Home