Agents.md may trick us into writing better docs
blog.kilocode.ai
Agents.md may trick us into writing better docs
1–6 of 6 posts
Re: Agents.md may trick us into writing better docs
#2Re: Agents.md may trick us into writing better docs
#3We might need new ways to document code.
Re: Agents.md may trick us into writing better docs
#4I recently added some big, beautiful and detailed doc strings to the code in one of my python projects. The files are now 2-3x in line count and my token usage is off the charts. We might need new ways to document code.
The core agent files links out to architectural and product decisions as well (i have a /docs folder for them)
This works better for me and I can get a good result when asking to make sure docs are updated whenever changes are made
Re: Agents.md may trick us into writing better docs
#5I recently added some big, beautiful and detailed doc strings to the code in one of my python projects. The files are now 2-3x in line count and my token usage is off the charts. We might need new ways to document code.
trust me, the future you will thank you
Re: Agents.md may trick us into writing better docs
#6I recently added some big, beautiful and detailed doc strings to the code in one of my python projects. The files are now 2-3x in line count and my token usage is off the charts. We might need new ways to document code.
I found that too, so I updated to putting limited comments at the beginning of core files that: - Describe what the file contains (e.g. endpoints for x with their route names) - Links to docs that are also in the repo (e.g. bruno files for those endpoints) The core agent files links out to architectural and product decisions as well (i have a /docs folder for them) This works better for me and I can get a good result…