with one click
test-like-a-pro
How to write automation test like a professional developer
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
How to write automation test like a professional developer
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
How to debug the e2e test failure
Have thorough understanding of codebase and describe the context like a professional developer
How to architect or design like a PROFESSIONAL developer or architect
How to architect, design, code and test the complex requirement like a professional developer
How to review changes like a professional developer
Have thorough understanding of codebase and describe the context like a professional developer
| name | test-like-a-pro |
| version | 0.0.1 |
| description | How to write automation test like a professional developer |
| user-invocable | true |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep","WebFetch","WebSearch","AskQuestion"] |
Understanding - Have thorough understanding, read .agents/docs/architecture.md first. And read docments in .agents/docs/design/ folder that may relative to this test.
Ask Questions - Think about the changes and ask questions to clarify the test scenario. Invoke the proper tools to ask questions. If no suitable tools avaiable, ask a quesiton in plain text, using follow template
1. [Question here]
* a. [Answer 1]
* b. [Answer 2]
* c. [Answer 3]
* d. Others
2. ...
3. ...
Answer the questions in format:
1 a
2 b
3 a
4 write your own answer if you like
IMPORTANT You can invoke several rounds of Q&A until you fully clarify the requirement.
Software Architecture Draw a diagram to describe the architecture relative to this test
Simulation Identify which part in the test need to simulate or mock
Test Steps Brief the test steps for user review Ask user to input "approved" to approve the test
Write Test Implement the test if user approved the test
Verify Test ask user to input "execute", and execute the test file to ensure test succeeded.