python-agent-development
Python Agent 开发规范(Windows wxauto v4),包括项目结构、模块化、wxauto 使用、IPC 集成、错误处理、测试和部署。
npx skills add majiayu000/claude-skill-registry --skill python-agent-development-cacr92-wereply-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Agent Development Skill (Windows) Expert guidance for developing Windows Platform Agent using Python 3.12 + wxauto v4. ## Project Structure ``` platform_agents/windows_agent/ ├── agent.py # 主入口 ├── wechat_monitor.py # 微信监听模块 ├── input_writer.py # 输入框控制模块 ├── ipc/ # IPC 通信模块 │ ├── message_sender.py │ └── command_receiver.py ├── utils/ # 工具模块 │ ├── logger.py │ └── config.py ├── requirements.txt # 依赖列表 ├── tests/ # 测试目录 │ ├── test_monitor.py │ └── test_writer.py └── README.md ``` ## Dependencies (requirements.txt) ```txt wxauto==4.0.0 pywin32>=305 ``` ## Main Entry Point ```python # agent.py import sys import time from wechat_monitor import WeChatMonitor from input_writer import WeChatInputWriter from ipc.message_sender import MessageSender from ipc.command_receiver import CommandReceiver class WindowsAgent: def __init__(self): self.monitor = WeChatMonitor(interval_ms=500) self.input_writer = WeChatInputWriter() self.command_receiver = CommandReceiver() self.setup_command_handlers() def setup_command_handlers(self): """注册命令处理器""" self.command_receiver.register_handler("WriteInput", self.handle_write_input) self.command_receiver.register_handler("ClearInput", self.handle_clear
- Project Structure
- Dependencies (requirements.txt)
- Main Entry Point
- Code Organization Best Practices
- Modular Design
- Type Hints
- Error Handling
- Try-Except Patterns
- Graceful Degradation
- Logging
- Testing
- Unit Tests
- Integration Tests
- Performance Optimization
pip install pyinstaller pyinstaller --onefile --name windows_agent agent.py
What does the python-agent-development skill do?
Python Agent 开发规范(Windows wxauto v4),包括项目结构、模块化、wxauto 使用、IPC 集成、错误处理、测试和部署。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill python-agent-development-cacr92-wereply-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
