news
Best Practices
1. **Always cleanup**: Use trap to cleanup temp directories 2. **Parse transcripts**: Don't grep user-facing output - parse the `.jsonl` session file 3. **Grant permissions**: Use `--permission-mode bypassPermissions` and `--add-dir` 4. **Run from plugin dir**: Skills only load when running from the superpowers directory 5. **Show token usage**: Always include token analysis for cost visibility 6. **Test real behavior**: Verify actual files created, tests passing, commits made
← 返回教程列表
AI8899 · 内容仅供学习参考