bitrix-console-commands

Automate Bitrix CLI command management and registration in .settings.php.

33|3|Updated Jun 5, 2025
One-click install
npx skills add https://github.com/bxmaximum/bitrix_ai_challenge --skill bitrix-console-commands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bitrix-console-commands
Source: https://github.com/bxmaximum/bitrix_ai_challenge/tree/main/.agents/skills/bitrix-console-commands
Command: npx skills add https://github.com/bxmaximum/bitrix_ai_challenge --skill bitrix-console-commands

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Покрывает CLI-инструменты Bitrix — bitrix.php, генераторы make:module/make:controller/make:tablet/make:service/make:event/make:component/make:request, команды ядра (orm:annotate, messenger:consume, translate:index), создание собственных команд на Symfony Console и их регистрация в секции console файла .settings.php. Применяется при скаффолдинге нового кода, cron-задачах, написании своих CLI-команд и запуске воркеров очереди. Ключевые термины — bitrix.php, make command, Symfony Console, CLI, command, console namespace.

Core Features & Use Cases

  • Генераторы кода (make:*)
  • Встроенные команды ядра (orm:annotate, messenger:consume, translate:index)
  • Регистрация своих команд в .settings.php
  • Поддержка cron и воркеров очереди

Quick Start

Используйте этот навык для быстрого создания и регистрации консольных команд Bitrix через генераторы make:* и интеграцию их в файл .settings.php.

Frequently Asked Questions about bitrix-console-commands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register a custom Symfony Console command in Bitrix?

To register a custom Symfony Console command in Bitrix, you add it to the console section within the .settings.php file. This ensures the command is recognized and executable via the bitrix.php CLI tool.

What Bitrix make commands are available for code generation?

Bitrix provides make:* generators for scaffolding code, including make:module, make:controller, make:tablet, make:service, make:event, make:component, and make:request. These commands automate the creation of standard boilerplate structures.

How do I run queue workers and cron tasks in Bitrix?

Bitrix supports cron tasks and queue workers by integrating Symfony Console commands through the bitrix.php CLI. You can run workers using the core messenger:consume command and schedule your custom commands for cron execution.

What built-in core CLI commands does Bitrix include?

Bitrix includes built-in core CLI commands such as orm:annotate for ORM entity generation, messenger:consume for queue processing, and translate:index for managing localization. These are accessed via the bitrix.php console tool.

Does Bitrix CLI support safe, repeatable workflows for command registration?

Yes, Bitrix CLI supports safe and repeatable workflows for command registration. By defining commands in the .settings.php console section, you ensure consistent integration for cron tasks and queue workers without manual duplication.