Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/wbfy/src/generators/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function generateAgentInstruction(
- If not specified, make sure to add a new line at the end of your commit message${rootConfig.isWillBoosterRepo ? ` with: \`Co-authored-by: WillBooster (${toolName}) <agent@willbooster.com>\`` : ''}.
- Always create new commits. Avoid using \`--amend\`.
- Always use heredoc syntax when passing multi-line content to any command.
- Put temporary files in the \`.tmp\` or \`/tmp\` directory.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The generated files (e.g., AGENTS.md, CLAUDE.md, GEMINI.md, and .cursor/rules/general.mdc) appear to be out of sync with this change. Please ensure you run the generator to update these files in the repository.

Additionally, it's better to clarify that the .tmp directory should be at the project root. This helps avoid cluttering sub-packages in monorepos and ensures the files are more likely to be covered by a root-level .gitignore.

Suggested change
- Put temporary files in the \`.tmp\` or \`/tmp\` directory.
- Put temporary files in the project root's \`.tmp\` or the system \`/tmp\` directory.

${hasPlaywrightTestServer(allConfigs) ? `- Use \`${packageManager} wb start --mode test\` to launch a web server for debugging or testing.` : ''}

${generateAgentCodingStyle(allConfigs)}
Expand Down
Loading