
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@intent-driven/cli
Advanced tools
Intent-Driven Frontend — CLI для bootstrap новых доменов через LLM-диалог
CLI для bootstrap новых доменов в парадигме Intent-Driven Frontend через интерактивный LLM-диалог.
Без установки, через npx:
ANTHROPIC_API_KEY=sk-ant-... npx @intent-driven/cli init my-domain
Или глобально:
npm install -g @intent-driven/cli
export ANTHROPIC_API_KEY=sk-ant-...
idf init my-domain
API-ключ Claude получить: https://console.anthropic.com/
idf init <name>Ведёт короткий диалог из 5 шагов:
owner / viewer / agent / observer).crystallizeV2.На выходе — каталог <name>/ с готовой стартовой структурой:
<name>/
domain.js ─ ontology + intents + projections
seed.js ─ начальный мир для smoke-тестов
test/crystallize.test.js ─ vitest-проверки
package.json ─ зависимости (@intent-driven/core, vitest)
README.md ─ описание домена
После cd <name> && npm install && npm test — всё должно зеленеть.
idf init <name> [options]
-m, --model LLM-модель: haiku | sonnet | opus (default: sonnet)
-o, --out Каталог для генерации (default: ./<name>)
-h, --help
-v, --version
Модели:
haiku (Claude Haiku 4.5) — самая быстрая и дешёвая, для простых доменовsonnet (Claude Sonnet 4.6) — баланс качества и скорости (default)opus (Claude Opus 4.6) — лучшее качество для сложных domain'овВ клонированном DubovskiyIM/idf:
<name>/ в src/domains/<name>/.src/prototype.jsx как новый пункт переключателя:
import myDomainDef from "./domains/my-domain/domain.js";
import myDomainSeed from "./domains/my-domain/seed.js";
// … добавить в DOMAINS / SEEDS map
npm run dev — твой домен станет доступен через переключатель в шапке.CLI не угадывает бизнес-логику. То, что он генерирует — каркас, который:
crystallizeV2 без ошибок.money, datetime, boolean, entityRef выводятся из имён).particles в каждом intent'е.catalog+detail проекций для каждой non-reference entity.Что не генерируется автоматически:
conditions) — нужно добавить вручную, Claude их не выводит без знания бизнес-правил.dashboard, wizard, canvas (только catalog/detail из коробки).После генерации домен — стартовая точка для итеративной правки.
idf importИмпорт схемы из внешних источников в IDF-ontology.
idf import prismaidf import prisma --file schema.prisma --out src/domains/api/ontology.js
idf import openapiidf import openapi --file openapi.yaml --out src/domains/api/ontology.js
idf import postgresidf import postgres --url postgresql://user:pass@localhost/mydb --out src/domains/api/ontology.js
idf import nestjs-typeormСканирует NestJS+TypeORM проект (*.entity.ts + *.controller.ts) и генерирует ontology.
idf import nestjs-typeorm --src ./src --out src/domains/api/ontology.js
idf import nestjs-typeorm --src ./apps/backend/src --no-guards
Флаги:
--src <dir> (required) — root user-проекта для рекурсивного скана--out <file> (default src/domains/default/ontology.js)--name <name> — domain name (default default)--no-guards — отключить Guards → roles mapping--tsconfig <path> (optional) — путь к tsconfig.json (default: auto-detect в src/)v0.2: extracts @Param/@Body/@Query параметры из Nest handler'ов в intent.parameters. Резолвит DTO-классы и enum-references по relative imports + tsconfig compilerOptions.paths.
В этой версии — только команда init. В планах для следующих минорных:
idf add intent <name> — добавить намерение к существующему доменуidf validate <path> — прогон conformance-тестов из specIssues / feature requests: https://github.com/DubovskiyIM/idf-sdk/issues
MIT.
FAQs
Intent-Driven Frontend — CLI для bootstrap новых доменов через LLM-диалог
We found that @intent-driven/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.