一键导入
test-like-a-pro
How to write automation test like a professional developer
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to write automation test like a professional developer
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| 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.
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