mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Improve AGENT.md
This commit is contained in:
6
AGENT.md
6
AGENT.md
@@ -18,5 +18,7 @@
|
||||
- **Models**: Inherit `ApplicationRecord`, extensive use of concerns/enums/scopes
|
||||
- **Error Handling**: `rescue => e` + `Rails.logger.error`, graceful degradation in jobs
|
||||
- **Imports**: Use `include` for concerns, `helper_method` for view access
|
||||
- **API**: Namespace under `api/v1/`, structured JSON responses
|
||||
- **Testing**: Minitest with fixtures, parallel execution enabled
|
||||
- **API**: Namespace under `api/v1/`, structured JSON responses with status codes
|
||||
- **Jobs**: GoodJob with 4 priority queues, inherit from `ApplicationJob`, concurrency control for cache jobs
|
||||
- **Auth**: `ensure_authenticated!` for APIs, token via `Authorization` header or `?api_key=`
|
||||
- **CSS**: Pico CSS framework + Uchu colors, component-specific CSS files, no Tailwind
|
||||
|
||||
Reference in New Issue
Block a user