assay
यह क्या करती है
Assay एक ऐसा टूल है जो अपने आप जाँचता है कि आपके बनाए या बदले हुए web page के buttons और बाकी controls सही से काम कर रहे हैं या नहीं। यह page को एक असली browser में खोलता है, सभी elements के साथ interact करता है, और किसी भी गड़बड़ी की रिपोर्ट देता है।
कब इस्तेमाल करें
- ✓नया HTML page बनाने के बाद यह देखना कि उसके controls काम करते हैं या नहीं।
- ✓web page, उसकी JavaScript, या CSS बदलने के बाद यह सुनिश्चित करना कि सब कुछ ठीक चल रहा है।
- ✓जब किसी local web page को check, QA, या smoke-test करने के लिए कहा जाए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/assay/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे 'index.html' page को check करो और बताओ कि क्या buttons काम कर रहे हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप अपने computer पर 'assay' टूल install करते हैं। फिर अपनी web page file की तरफ इशारा करने वाला एक सरल command चलाते हैं। टूल page खोलता है, हर चीज़ पर click करता है, और आपको एक लाइन में सार बताता है कि उसे क्या मिला।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Assay
Overview
A page you have just written has no tests yet. assay serves the page locally, opens it in a real Chromium browser through Playwright, finds every control on it, uses all of them, and reports where the page contradicts itself. There are no tests to write, no LLM, no API key, and no network. The same page gives the same result every time.
Use this skill after you create or change a web page, to run assay on that page and report the one line it prints. The skill reports the result and does not change code because of it unless you ask.
When to Use This Skill
- Use when you have just created an HTML page and want to know whether its controls work before you move on.
- Use when you changed a page, or the JavaScript or CSS that a page loads, and want to confirm the page still holds together.
- Use when the user asks you to check, QA, or smoke-test a local web page.
- Run it once at the end, after the last edit, on each page you changed. Do not run it while you are still making changes.
How It Works
Step 1: Install the CLI once
Install assay from PyPI. The package is named assay-ui and the command it installs is assay.
pip install assay-ui
It needs Python 3.10 or newer. On the first run assay downloads the Chromium build Playwright uses.
Step 2: Run assay on the page you changed
Point assay at the page itself and ask for the one-line summary.
assay <the page you changed> --one-line
Point it at a file such as todo.html or dist/index.html. A folder also works and opens the index.html inside it. The page is often a folder or two above the file you edited, so a change to a script or stylesheet still means running assay on the page that loads it. assay needs no key, network, or configuration. A small page takes seconds, and a busy one can take a minute or more.
Step 3: Report the one line assay printed, verbatim
Put assay's output, word for word, as the last thing in your reply. It is already one line, or one line and a short list. Do not summarize it, reformat it, add to it, or write your own version.
A clean run looks like this, with assay's own numbers and wording.
assay: checked todo/todo.html, 8 checks, nothing flagged.
A run that flagged something looks like this, followed by a short list.
assay: checked notes/index.html, 12 checks, 4 flagged:
Report the line whether it flagged anything or not. Without it, the reader cannot tell a clean page from a check that never ran.
If the command did not run, say so in your own words, name the page, and quote what the shell actually printed. Never describe a check that did not happen as one that passed, and never guess at a cause.
Step 4: Report the finding and stop
Report what assay found and stop. Do not edit code in response to a finding in the same reply. If the user then asks you to fix it, fix it.
Examples
Example 1: A page that checks out clean
User: I added a to-do list at todo/todo.html. Does it work?
assay todo/todo.html --one-line
assay: checked todo/todo.html, 8 checks, nothing flagged.
Report that line as the last thing in the reply, and do not change the page.
Example 2: A page where assay flagged something
assay notes/ --one-line
assay: checked notes/index.html, 12 checks, 4 flagged:
- draw on canvas twice, then press Undo twice: it reacted one press late
Report the whole line and its short list, say that a finding is a place to look rather than a confirmed bug, and wait for the user to ask before changing anything.
Example 3: The command did not run
assay dist/index.html --one-line
assay: error: dist/index.html does not exist
Say that assay did not run, name the page, and quote the message. Do not report a check that never happened as one that passed.
Best Practices
- ✅ Run assay once, at the end, on each page you changed.
- ✅ Point it at the built page, such as
dist/index.html, not at a source template. - ✅ Print assay's one line exactly as it came out, as the last thing in your reply.
- ✅ When assay flags something, treat it as a place to look and wait to be asked before changing code.
- ❌ Do not run assay while you are still editing the page.
- ❌ Do not summarize, reword, or invent the result, and never report a check that did not run as one that passed.
Limitations
…
अक्सर पूछे जाने वाले सवाल
क्या मुझे tests लिखने होंगे?
नहीं, Assay अपने आप सब कुछ करता है, इसके लिए आपको कोई test code लिखने की ज़रूरत नहीं।
क्या इसे internet या API key चाहिए?
नहीं, Assay locally चलता है, internet का इस्तेमाल नहीं करता, और इसे कोई key नहीं चाहिए।
'flagged' का क्या मतलब है?
इसका मतलब है कि Assay को कुछ ऐसा मिला है जिस पर ध्यान देने की ज़रूरत हो सकती है, जैसे कोई button जो अपेक्षित तरीके से react नहीं कर रहा। यह आपके लिए देखने की जगह है, ज़रूरी नहीं कि वह कोई bug ही हो।
जानकारी
लेखक का मूल विवरण
Run assay on a web page you just wrote or changed. It opens the page in a real browser, drives every control, and reports where the page contradicts itself. Deterministic, no API key, no network.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #3825
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।