Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 5ab0a2c

Browse files
Introduce .aiassistant/rules/commit_message.md and update general.blade.php with build and setup guidelines
1 parent 3fa437b commit 5ab0a2c

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.ai/guidelines/general.blade.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
## General
1+
## General Information
22

33
Основные правила описаны в файле `.aiassistant/rules/general.md` этого проекта.
44
Внимательно изучи их перед началом работы.
5+
6+
### **Build/Configuration Instructions**
7+
8+
- Database: Postgres 16
9+
- Установка зависимостей: `composer install`
10+
- ОС разработчиков: Windows, Ubuntu, MacOS
11+
- ОС веб-сервера: Ubuntu 24.04
12+
- При апгрейде зависимостей выполняй вызов скриптов только после внесения изменений в проект.
13+
- При установке и обновлении PHP зависимостей всегда подставляй параметры `--ignore-platform-req=ext-pcntl --ignore-platform-req=ext-posix`, так как эти расширения недоступны в Windows.
14+
15+
### **Additional Development Information**
16+
17+
- Проект придерживается код-стайла PER 3.0.
18+
- Всегда отвечай на русском языке, если не указано иное.
19+
- Лог-файлы: `storage/logs/*.log`. Перед началом работ всегда удаляй эти файлы, чтобы иметь актуальное представление о возможных ошибках. Удаляй файлы только с расширением log.
20+
- Не оставляй комментарии в коде.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
apply: always
3+
---
4+
5+
## Commit message rules
6+
7+
- Keep it concise. Skip unnecessary details.
8+
- Review the diff first, then compose the message.
9+
- Specify exactly what was changed in the code.
10+
- Use a single-line header only; do not add a body.
11+
- Write in English only.
12+
- Be as brief as you can.
13+
- Aim for up to 70 characters (including any markup).
14+
- Absolute cap: 100 characters for the header (including any markup).
15+
- Do not end the header line with a dot.
16+
- Enclose class names, variables, and attributes in backticks `like_this`. Example: Changed the type of `$foo` in class `Bar`.
17+
- Start the header with an action verb that fits the change: added, changed, updated, fixed, improved, translated, removed, deleted, etc.
18+
- Describe the direct edits made to the code, not their outcomes or effects.
19+
- For class names and namespaces, omit leading and trailing backslashes.

0 commit comments

Comments
 (0)