Files
Denozordec 5fca165c69
CI / changes (push) Successful in 10s
CI / commitlint (push) Has been skipped
CI / openapi (push) Successful in 25s
CI / web (push) Successful in 36s
CI / go (push) Successful in 49s
CI / bird2 (push) Successful in 17s
CI / release (push) Successful in 3m59s
refactor(settings): deprecate settingsKnownSchema and integrate bird and revision settings
- Merged birdSettingsSchema and revisionSettingsSchema into settingsKnownSchema, marking the previous schema as deprecated.
- Updated emptySettingsKnownForm to utilize emptyBirdSettingsForm and emptyRevisionSettingsForm.
- Refactored layout and page components to streamline theme management and improve tab synchronization in network and operations pages.
- Introduced new system settings tab in operations and updated settings page to manage theme preferences.
2026-05-21 10:11:04 +07:00

1.8 KiB

Сгенерировать commit message (EvoBGP)

Сгенерируй сообщение коммита для текущих staged-изменений. Не выполняй git commit, если пользователь явно не просил закоммитить.

Обязательный workflow (MUST)

  1. Прочитай скилл .cursor/skills/commit-message/SKILL.md.
  2. Следуй правилу .cursor/rules/conventional-commits.mdc.
  3. Первым вызовом Shell из корня репозитория:
powershell -NoProfile -File scripts/commit/staged-context.ps1
  1. Строй текст только по JSON stdout (groups, stat, diff_excerpt). Exit 1 → index пуст, сообщи пользователю.
  2. Запрещено обходить скрипт через один git diff --cached.

Формат вывода

Для каждого коммита (при auto-split — по одному блоку):

<type>(<scope>): <summary in English>

<тело на русском>

Плюс пояснение (RU): semver impact (minor|patch|none|major), почему выбран type, был ли split.

Semver (кратко)

  • Новая пользовательская возможность → feat (minor)
  • Починка ожидаемого поведения / баг → fix (patch)
  • Follow-up баги после недавнего feat в том же scope → fix, не feat
  • Только перестройка без нового поведения → refactor (patch, без новых функций)

Заголовок — EN, императив, ≤72 символов. Тело — RU.