I used code2prompt to send the entire dave codebase into claude and it generated multiple development guides/docs. I went over them and they are pretty good! that just saved me many hours.

https://github.com/damus-io/notedeck/tree/master/crates/notedeck_dave

https://github.com/damus-io/notedeck/blob/master/crates/notedeck_dave/docs/tools.md

Reply to this note

Please Login to reply.

Discussion

reverse engineering

Sir teach me the AI ways. Plz halp.

Do not ask too complicated things of it otherwise it gets stuck iterating and burning tokens without results.

Funnily enough these docs will be sent to other AIs to make sense of the code instead of humans. Maybe we should have a compressed tokenized doc format optimized for AIs.

indeed. I just took all the docs and fed that into claude again to build an updated top-level README