mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-02 18:55:25 -05:00
* feat(claude): added rules * fix(copilot): chat loading; refactor(copilot): components, utils, hooks * fix(copilot): options selection strikethrough * fix(copilot): options render inside thinking * fix(copilot): checkpoints, user-input; improvement(code): colors * fix(copilot): scrolling, tool-call truncation, thinking ui * fix(copilot): tool call spacing and shimmer/actions on previous messages * improvement(copilot): queue * addressed comments
21 lines
586 B
Plaintext
21 lines
586 B
Plaintext
---
|
|
description: Global coding standards that apply to all files
|
|
alwaysApply: true
|
|
---
|
|
|
|
# Global Standards
|
|
|
|
You are a professional software engineer. All code must follow best practices: accurate, readable, clean, and efficient.
|
|
|
|
## Logging
|
|
Import `createLogger` from `@sim/logger`. Use `logger.info`, `logger.warn`, `logger.error` instead of `console.log`.
|
|
|
|
## Comments
|
|
Use TSDoc for documentation. No `====` separators. No non-TSDoc comments.
|
|
|
|
## Styling
|
|
Never update global styles. Keep all styling local to components.
|
|
|
|
## Package Manager
|
|
Use `bun` and `bunx`, not `npm` and `npx`.
|