configure
Custom System Rules
Provide project-specific rules, formatting policies, and architecture instructions to guide Codey.
#AGENTS.md File
Place an AGENTS.md file in your project's root folder. Codey reads this file at startup and injects its instructions into the system prompt of every agent.
#Structuring Rules
Use clear headers and instructions. For example:
markdown
# Project Rules and Conventions
## Code style
- Use TypeScript for all modules.
- Prefer functional components over classes.
## Testing
- Write tests using vitest in the `test/` directory.
- Run tests before finalizing features.Run
/init inside the terminal UI to let Codey auto-generate an initial rules template based on your directory structure.