Repository navigation
feat(wbfy): tell agents that AGENTS_EXTRA.md is the only editable instruction file - #1296
Conversation
…truction file Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the generated agent instructions to ensure that contributors and automated agents understand the correct workflow for modifying configuration files. By centralizing the source of truth to AGENTS_EXTRA.md, it prevents potential conflicts and manual effort loss caused by automated overwrites. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. The files are built by code's own hand, / To follow rules as you have planned. / Edit the source and not the rest, / To keep your agents at their best. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the generated agent instructions in packages/wbfy/src/generators/agents.ts to clarify that several documentation and configuration files (such as AGENTS.md, CLAUDE.md, etc.) are auto-generated from AGENTS_EXTRA.md and overwritten on every run, directing developers to only edit AGENTS_EXTRA.md. There are no review comments, and I have no additional feedback to provide.
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
…truction # Conflicts: # packages/wbfy/src/generators/agents.ts
Customer Summary
AGENTS.md,CLAUDE.md,GEMINI.md,.cursor/rules/general.mdc, and.gemini/styleguide.mdare generated files, and thatAGENTS_EXTRA.mdis the only file to edit for agent instructions.Technical Summary
packages/wbfy/src/generators/agents.ts, placed right after the.tmpbullet and before the conditional instructions.AGENTS.md,CLAUDE.md,GEMINI.md, and.cursor/rules/general.mdcso they carry the new line.docs/expected-repository-rules.md.Why
CLAUDE.mddirectly, and wbfy silently overwrote those edits on its next run.Testing
bun run verifypassed.bun test test/unit/agentInstructions.test.tsinpackages/wbfypassed.