| name | build-python-cli-tool |
| description | Create a Python script that solves the problem described below. |
Problem
<具體需求>
Expectations
- The tool must be runnable from command line
- It should accept input args
- It should handle errors gracefully
- It comes with a markdown file as a basic agent skill for using this tool
Workflow
- Clarify the problem
- Design the interface (CLI arguments)
- Implement the script, uses $AGENT_CWD/.tmp/ as temporary workspace
- Run and test it
- Fix any issues found
Deliverable
Under $AGENT_CWD/tools// :
- A .py file
- A requirements.txt file if needed
- Create a skill by $AGENT_CWD/skills/make-skill-template
Validation
After implementation, run the script and verify:
- It completes without error
- Output is correct
If things fail
- Debug the issue
- Update the script
- Try again