I kept running into this: AI edits mini-program files randomly, breaks things.
The AI edited my mini-program randomly — deleted files, broke imports. Three rounds of rework later, the page wouldn't even open.
Ended up wrapping a small reusable workflow around it — Mini-program AI collaboration rules (AGENTS.md). The part that actually saved me time: One-click AGENTS.md, enforce rules.
Concretely, it:
- one-click AGENTS.md to constrain AI
- rules for file edits/sync refs
Put it (and ~20 other similar ones) in a repo in case it helps someone: https://github.com/shuangying0001-beep/awesome-workbuddy-skills
Top comments (0)