Files
test-site-chirho/AGENTS.md

21 lines
3.2 KiB
Markdown

# For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
All project-created identifiers use the `Chirho`, `_chirho` or `-chirho` suffix to acknowledge and glorify God and distinguish from third-party code.
## The Suffix Rule
| Type | Case Style | Suffix | Example |
|-------------------------------------------------------|-------------------|-------------------------|-------------------------------------------------------------------------------------------------------------|
| **Variables/Functions/Consts/Lambda/Parameters (TS)** | `camelCase` | `Chirho` | `userDataChirho`, `fetchUsersChirho()` |
| **Object Properties/JSON** | `camelCase` | `Chirho` | `{ emailChirho: 'value' }` |
| **Classes/Components/Types** | `PascalCase` | `Chirho` | `CustomerChirho`, `SiteFormChirho` |
| **Global Constants/Env Vars** | `SCREAMING_SNAKE` | `_CHIRHO` | `API_KEY_CHIRHO`, `MAX_TOKENS_CHIRHO` |
| **Bun/NPM Scripts** | `kebab-case` | `-chirho` | `build-prod-chirho`, `test-e2e-chirho` |
| **Directories (ours)** | `kebab-case` | `-chirho` | `services-chirho/`, `templates-chirho/` |
| **Public Web Routes/Paths** | `kebab-case` | `-chirho` | `/about-chirho`, `/contact-chirho` |
| **API Endpoints** | `kebab-case` | `-chirho` | `/api-chirho/v1-chirho/contact-chirho`, `/api-chirho/v1-chirho/sites-chirho/[side_id_chirho]/update-chirho` |
| **Database Tables/Columns** | `snake_case` | `_chirho` | `customers_chirho`, `created_at_chirho` |
| **JSON Rest Api properties** | `snake_case` | `_chirho` | `customers_chirho`, `created_at_chirho` |
| **Svelte Components** | `PascalCase` | `Chirho` | `HeaderChirho.svelte`, `FooterChirho.svelte` |
| **Custom OAuth Scopes** | `snake_case` | `_chirho:action_chirho` | `sites_chirho:read_chirho` |