pstack 0.15.9 发布新 /correct 技能:当智能体反复犯同类错误时,它会找出模式并用架构、类型和检查来修复。
it's easy to fall into the trap of micromanaging your agents instead of correcting the environment that shapes its behavior.
pstack 0.15.9 now ships a new /correct skill: if you keep correcting agents for the same mistakes, it finds the pattern and fixes it with architecture, types, and checks.
i like to imagine that commits rapidly flowing into the codebase are like a bonsai tree rapidly growing in whatever direction it pleases. what you want to do is not to give in to the chaos, but tame it intentionally with the right constraints
0.15.9 also has improvements to:
• /architect: now includes instructions on designing agent friendly architecture
• a new /benchmark-checklist skill based on @brendangregg's benchmarking checklist
here's a prompt you can give to grok bot to start architecting a better codebase with pstack:
/poteto-mode create a new Project agent to refactor and rearchitect my repo so that our architecture is more agent friendly. it should use both the /correct and /architect skill to look through past commits and find the most common pitfalls that agents fall into, whether its with code quality, performance, or bugs. if relevant you can also use the /recall skill to find past conversations for context. it should make a high level plan for me to review. it should also answer its own open questions by prototyping rather than defer to me. come back to me with a plan backed by real data. once i approve the plan, use either the stack or full autopilot playbook (ask me which i want) to execute
every time you intervene and correct your agent, you should think about how to eliminate it entirely. in order of value: 1. categorically eliminate the problem through better architecture or choice of data structures 2. turn it into a lint rule or test so CI catches it 3. turn it into a skill or rule 4. have humans review the code to catch it (ngmi)在 X 查看被引用的帖子
来源:lauren · x.com