Preface¶
Manually deriving test cases from design drafts or prototypes often requires repeatedly cross-referencing screenshots: identifying controls, checking default values and prompts, and determining how to test dialogs and navigation. When design iterations are rapid, test cases are prone to missing items or becoming disconnected from the interface. This article introduces a community Skill published on SkillHub that consolidates “viewing images to write cases” into a fixed workflow: you upload UI images, and the Agent identifies elements and generates test cases according to rules within the SKILL, reducing the need for repetitive verbal instructions.
What is this¶
Generate Test Cases via UI Images (Coordinates @user_c3b299c0/qkym, Version 1.0.0) is an Agent Skill sourced from the SkillHub community (community), categorized under dev-programming, and maintained by the publisher user_c3b299c0.
The Skill’s positioning is: upon uploading UI designs, prototypes, or page screenshots, it automatically parses page elements, layouts, interactions, text, pop-ups, buttons, etc., and outputs structured, mind-map style test cases, eliminating the need for you to manually supplement interface descriptions item by item. The SkillHub page indicates requires_api_key=false, meaning it does not rely on additional API Key configuration.
Core Functions¶
According to the SKILL.md within the Skill package, the Agent must adhere to the following capability boundaries after enabling this Skill (all agreed upon in the Skill body, not third-party cases):
-
Image Recognition and Element Enumeration
Based on the UI images you upload, identify page names, top navigation, input boxes, dropdowns, radio/checkboxes, buttons, pop-ups, icons, text, pagination, navigation entries, as well as visible information such as disabled states, default values, and prompts. -
Function Point Decomposition by Module
Automatically decompose function points and categorize them by module; for example, fillable fields within an “Add Pop-up” can be listed as separate items for easy reference. -
Coverage Dimensions
Test cases must cover: normal scenarios, boundary values, abnormal inputs, empty values, special characters, button states, pop-up close/confirm actions, page jumps, text display, and compatibility/visuals. -
Output Format
It can first output test points in a mind-map format, then generate more detailed, executable mind-map test cases; case titles should be concise, steps numbered 1, 2, 3; priority levels are divided into High/Medium/Low. -
Multi-page and Trigger Methods
If one or more images correspond to multiple pages, generate cases page by page; the Skill agreement dictates the trigger command: execute the entire set of rules above after uploading images, without needing additional questions or requirement supplements (unless you specify otherwise in the conversation).
Installation and Enablement¶
The installation guide provided on the official page is: first read SkillHub Installation and Priority Source Configuration, then install coordinates @user_c3b299c0/qkym.
1. Check or Install SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, you can perform a full installation according to the installation documentation (the example below is the recommended method from the documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by the current client; otherwise, the default landing in ./skills/ might not be loaded by the Agent.
skillhub install @user_c3b299c0/qkym --dir <your skills directory>
Common paths (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example (Cursor):
skillhub install @user_c3b299c0/qkym --dir ~/.cursor/skills/
After installation is complete, restart or refresh the Agent as required by your client to activate the Skill. Differences between Codex CLI, Claude Code, and Cursor mainly lie in the skills directory location; the installation command itself is identical, with the difference only in the --dir target path.
Typical Usage¶
After enabling the Skill via the steps above, you can use it according to the “Trigger Command” within the Skill:
- Upload one or more UI designs, prototypes, or page screenshots in the conversation (for multi-page designs, the Skill requires generating cases page by page).
- Indicate that test cases need to be generated (or directly use the Skill’s agreed method of “uploading images to execute rules”).
- View the Agent’s output: first the mind-map style test points appear, followed by detailed, executable cases; check if the module decomposition and priority (High/Medium/Low) match your project specifications.
The Skill body requires the Agent to be concise and avoid chit-chat, focusing on case content; if you need to strengthen boundary or exception scenarios for a specific module, you can append constraints in the same session, but the Skill’s default goal is “direct full-suite generation from images.”
Applicable Scenarios and Notes¶
Who is it for
- Front-end or full-stack developers who need to quickly spread test point lists during the requirement/design draft phase.
- QA engineers who need to convert interface screenshots into reviewable structured cases, reducing the mechanical transcription from images to tables.
- Teams dealing with multi-page prototypes that require decomposition by page to avoid missing tests for visible controls and pop-up interactions.
Limitations and Notes
- Output quality depends on the Agent’s image recognition capabilities and whether you provide clear, complete interface images; the Skill does not promise integration with specific test management tools or fixed Excel/JSON templates, so deploying to your company’s case library still requires manual proofreading.
- This is a Community Skill (
community), and maintenance rhythm is subject to the publisher; you can check the version and download status on the SkillHub page before use. As of data retrieval: Rating100000, Downloads1367times (page statistics, subject to change over time). - When dealing with compliance or sensitive interfaces, pay attention to whether the images are suitable for uploading to the AI client environment you are using.
Conclusion¶
Generate Test Cases via UI Images encodes “Image Recognition → Module Decomposition → Case Writing by Dimension → Mind-map Output” into the Agent’s permanent rules, suitable for teams that want to move UI pre-acceptance test design into the conversation. Official SkillHub Page: https://www.skillhub.cn/skills/user_c3b299c0/qkym; API Entry: https://api.skillhub.cn/user_c3b299c0/qkym.