agentleFS
kanjiandahaikanjiandahai/skills-collection/skills/webapp-testing/SKILL.md

webapp-testing

Skill1 starsChanged 32 days agoMITView on GitHub

为 Web 应用设计并运行可靠的 UI/端到端测试与冒烟检查。用户要测页面、写 Playwright/Cypress 测试、加回归、验证修复是否生效时使用。

197 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skill-share, academy-guide and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 27 projects that use this

  • AnthropicSkill

    academy-guide

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

    Also in 10 projects that use this

  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 5 projects that use this

  • ArogyaReddySkill

    raffle-winner-picker

    Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

    Also in 29 projects that use this

  • zephyrwang6Skill

    deepl

    Übersetzt Texte, Dokumente und XLIFF-Dateien via DeepL API. Verwende für Übersetzungen mit /deepl translate, /deepl file oder /deepl xliff.

    Also in 4 projects that use this

  • zephyrwang6Skill

    imagemagick-conversion

    Convert and manipulate images with ImageMagick. Covers format conversion, resizing, batch processing, quality adjustment, and image transformations. Use when user mentions image conversion, resizing images, ImageMagick, magick command, batch image processing, or thumbnail generation.

    Also in 4 projects that use this

  • +3 more from zephyrwang6
  • +2 more from ArogyaReddy

The file

Files
SKILL.md

webapp-testing

让 Web 测试 稳定、表达意图、可在 CI 跑:少睡轮询,多等条件;少耦合实现细节。

何时用

  • 新功能要回归网
  • 「帮我确认这个 bug 修好了」
  • 补 Playwright / Cypress / 同类 E2E

工作流

  1. 定范围:冒烟(关键路径)还是深测;环境 URL 与测试账号策略。
  2. 用用户可见的方式定位:role、label、文案、data-testid。
  3. 每个用例一条用户路径;准备 → 动作 → 断言清晰。
  4. 等待用「元素/响应满足条件」,避免固定 sleep。
  5. 失败保留 trace/截图/视频(若框架支持);先修片状再加测。

原则

  • 测用户可感知行为,不测内部私有类名(除非约定测试钩子)
  • 数据隔离:不依赖脏库顺序;可构造夹具
  • 保持套件快:E2E 少而精,细节下沉单元测

成功标准

  • 本地与 CI 同命令可绿
  • 失败时有足够附件定位;用例名能当规格读

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.