Chef for Bitrix CLI

Chef

CLI for building, testing, linting and diagnosing Bitrix JS extensions with TypeScript support

  • 19 ★ on the repository
  • Last commit
  • MIT
CLIOfficial

Extended access

Why this level

  • Runs builds and browser tests
  • Stores a Bitrix login and password in .env.test for tests
  • chef init hooks installs VCS hooks
All reasons and checks
Russian stack

bitrix-tools/chef

Install

Services

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/chef

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Runs builds and browser tests
  • Stores a Bitrix login and password in .env.test for tests
  • chef init hooks installs VCS hooks

This is third-party code. Review the repository files before installing.

What it does

Chef bundles Bitrix JS extensions with Rollup, Babel and PostCSS, type-checks TypeScript and runs ESLint. Unit tests with Mocha and Chai run in real browsers via Playwright, and E2E tests are supported too. chef create scaffolds a new extension, chef flow-to-ts migrates Flow code to TypeScript, and chef diag reports dependencies, bundle sizes, cycles and unused extensions.

Who it is for. Frontend developers writing JS extensions for Bitrix and Bitrix24.

Good fit when

  • You create a new extension in local/js and want a ready structure
  • You migrate legacy extensions from Flow to TypeScript
  • You need to run extension tests in a browser from CI
  • You look for the cause of a bloated bundle or circular dependencies

Not a fit when

  • The project is not built on Bitrix
  • You need to change the PHP part of a module: Chef handles only JS and CSS

Example request

Create a vendor.orders extension with chef, set up bundle.config.ts for TypeScript and build it

Limitations

Requires Node.js 22+ and a Bitrix project or module source directory. Tests need a local Bitrix installation, credentials in .env.test and Playwright browsers.

How to disable. Remove the package with npm uninstall -g @bitrix/chef and the VCS hooks if you installed them with chef init hooks.

FAQ

Where does Chef get target browsers?

First from targets in bundle.config.ts, then from .browserslistrc, and otherwise it uses baseline widely available.

Can I set rules for all extensions?

Yes, with chef.config.ts in the project root using the deny, defaults and enforce sections.

Discussion

No questions or reviews yet.

Bitrix BPT CLI tool

Bitrix BPT CLI Tool

Russian stack

A .NET command-line tool that unpacks, rebuilds and inspects Bitrix business-process template files (*.bpt)

CLIExtended access1Repository stars
Russian stack

A Claude Code and Codex skill for 1C-Bitrix and on-premise Bitrix24 development: check the project core first, then answer

SkillExtended access22Repository stars
Russian stack

A GitHub Copilot plugin with PHP and Bitrix coding conventions, template reformatting commands, and Bitrix24's official developer MCP server wired in

PluginExtended access
Russian stack

Bitrix24 MCP server in TypeScript with a broad set of CRM tools plus a dedicated group for monitoring manager activity and performance

MCP serverExtended access
Russian stack

A React Ink terminal client for Bitrix24: tasks, comments, time tracking and kanban from the command line

CLIExtended access2Repository stars
Russian stack

A skill for administering, diagnosing and developing boxed Bitrix24 and Bitrix Framework, built from official documentation

SkillExtended access1Repository stars

README in short

Chef is a CLI for building, testing and maintaining Bitrix JS extensions. It covers TypeScript builds, Playwright tests, linting, scaffolding, Flow migration and diagnostics. The README documents bundle.config.ts options, the project-level chef.config.ts, browserslist handling and test environment setup. Documentation is available in Russian and English.

README badge

Report a problem

Foxx AIChef for Bitrix
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.