
poteto@poteto
주석은 구조도 없고 강제할 수도 없는 텍스트야. 에이전트가 읽긴 하는데 자주 무시되고, 금방 낡고, 에이전트한테 탈출구를 줘서 제대로 고치는 대신 땜빵, 꼼수, 우회책을 쓰게 만들어. 이 프롬프트로 코드 주석을 점검해서 더 강한 타입, 더 나은 API 설계로 코드를 개선할 기회를 찾고, lint 규칙도 만들어서 주석이 필요 없게 해봐!
comments are unstructured and unenforceable text. agents do read them but they are often ignored, go out of date, and gives your agent an escape hatch to do a bandaid, hack or a workaround instead.
use this prompt to audit your code comments to find opportunities to improve your code through stronger types, better API design, and create lint rules so the comments aren’t necessary!
https://x.com/poteto/status/2110149626133438732?s=46&t=HFNOJ7P2JmfjDfKskFwLUw