Conversation
|
I just added a couple of agents. mainly hoisting the file in Maybe this is good enough for 0.1v iteration. I think having AGENTS.md solves alot of stuff. Some more things we can explore / add maybe here or in other PR:
Didn't add them here coz thought maybe they will bloat it. but we can add them in future. |
Pabl0cks
left a comment
There was a problem hiding this comment.
Nice job Shiv! Added some comments, most of them suggestions that can be tackled in future PRs if we find them interesting 🙌
|
Update added the solidity skills took the inspiration from ethwingman and https://skills.sh/wshobson/agents/solidity-security |
rin-st
left a comment
There was a problem hiding this comment.
Great job, Shiv! Thanks!
Let's maybe create an issue or some doc with #1221 (comment) and other potential improvements from this PR comments after merge?
|
Pushed some small tweak mainly including content related to foundry. We could have used template and conditionally only show the foundry content when foundry was selected, but while discussing with Carlos we thought AI is smart enough to infer it and follow the instrction mentioned depending on flavour choose. We can also update it later to use template. Merging this as v0.1 and we can iterate more since this doesn't have any changes to core logic of SE-2 |
Description:
Removed the cursor rules and we now have
AGENTS.mdandCLAUDE.mdfile.Claude.mdfile basically references toAGENTS.mdonly because we don't want to maintain two separate similar copies.So this file will basically will be added as system promp by the harness you are using (not all but most of them do it). So for every new conversion the harness will preload this file in context.
While researching what are the best practices, there is as such no standard and pepople are actually writing plain egnlish in ths file about project. But a certain pattern I have seen in most of the famous repos is that they use this file as a guardrail for AI so that it does't go too crazy, keep the consistency for all the common things, and know how to look into the repo.
So people mainly include code style guidelines, testing instructions, repository conventions, developer environment setup, and project-specific warnings. Tried following the same flow.
I initally generated this file by using
/innitcommand from calude code (which generated CLAUDE.md and then copied it over to AGENTS.md) and followed the pattern mentioned about.Generally everyone suggested to keep the file max 300-600 lines and in some places I even found people suggesting to keep it under 100. Seem like 200 is sweet spot for us since we could mention all the imp things. But we can decrease and refine a bit because I feel the less liness + cripier it is better for LLM.
An nice line which I liked in Claude documentation for adding all the AI compatibility (like skills, subagents, plans.md etc) to your repo was: