1c-ai-agent-cli
$
npx mdskill add SteelMorgan/1c-agent-based-dev-framework/1c-ai-agent-cliClones and installs the 1C BSL agent framework for IDE setup and project component management.
- Helps with cloning repositories, installing components, and configuring IDEs for development projects.
- Integrates with Git and supports IDEs like Cursor, Claude Code, Windsurf, and VS Code with Continue.
- Uses command-line options and interactive prompts to determine actions like cloning branches or installing components.
- Presents results through command-line output, guiding users through setup steps and installation status.
SKILL.md
.github/skills/1c-ai-agent-cliView on GitHub ↗
--- name: 1c-ai-agent-cli description: CLI 1C BSL Agent Framework — tools/install.py (clone, install). Используй при клонировании репозитория, установке компонентов в проект, настройке IDE (Cursor, Claude Code, Windsurf, VS Code+Continue). --- # 1c-ai-agent CLI — install.py ## Команда clone — получение фреймворка Репозиторий: `SteelMorgan/1c-agent-based-dev-framework`. Git должен быть установлен. ```bash python tools/install.py clone # в ./1c-agent-based-dev-framework python tools/install.py clone -t ./my-framework # целевая директория python tools/install.py clone --depth 1 # shallow clone python tools/install.py clone -b <branch> # конкретная ветка python tools/install.py clone -t ./fw --install # clone + интерактивная установка ``` Альтернатива (первый запуск без CLI): ```bash git clone https://github.com/SteelMorgan/1c-agent-based-dev-framework.git cd 1c-agent-based-dev-framework python tools/install.py ``` --- ## Команда install — установка компонентов Запуск из корня репозитория фреймворка: ```bash python tools/install.py [опции] ``` ### Примеры вызова | Команда | Описание | |---------|----------| | `python tools/install.py` | Интерактивный режим | | `python tools/install.py --ide cursor --list` | Показать дерево компонентов | | `python tools/install.py --ide cursor --all` | Установить все компоненты | | `python tools/install.py --ide cursor --include agent/developer workflow/full-cycle` | Конкретные компоненты (зависимости подтянутся) | | `python tools/install.py --ide cursor --include agent/developer --dry-run` | Показать план без изменений | | `python tools/install.py --relink` | Пересоздать сломанные симлинки | | `python tools/install.py --ide cursor --all --sync` | Удалить симлинки снятых компонентов | ### Поддерживаемые IDE `--ide` принимает несколько значений: `python tools/install.py --ide claude-code codex --all` | `--ide` | Описание | |---------|----------| | `cursor` | `.cursor/rules/` (авто), навыки в `.cursor/skills/` | | `claude-code` | `CLAUDE.md` + `.claude/rules/` — требует `@import` в CLAUDE.md | | `windsurf` | `.windsurf/rules/` (авто), навыки в `.windsurf/skills/` | | `vscode-continue` | `.continue/rules/` | | `roocode` | `.roo/rules/` (авто), навыки в `.roo/skills/` | | `kilocode` | `AGENTS.md` + `.kilocode/rules/` — требует ссылок в AGENTS.md | | `kiro` | `.kiro/steering/` (авто), навыки в `.kiro/skills/` | | `codex` | `AGENTS.md` + `.codex/rules/` — требует ссылок в AGENTS.md | | `antigravity` | `.agents/rules/`, навыки в `.agents/skills/` | | `generic` | Копирование в `framework/` | IDE с ручным импортом (claude-code, codex, kilocode): инсталлер выведет строки для добавления в `CLAUDE.md` / `AGENTS.md`. ### Флаги | Флаг | Описание | |------|----------| | `--ide <IDE> [IDE ...]` | Целевая IDE (несколько через пробел) | | `--project-dir <path>` | Каталог проекта (по умолчанию: текущий) | | `--include ID [ID ...]` | ID компонентов для установки | | `--all` | Установить все компоненты | | `--list` | Показать дерево без установки | | `--copy` | Копировать файлы вместо симлинков (Windows без Developer Mode) | | `--dry-run` | Показать план без изменений | | `--relink` | Пересоздать сломанные симлинки | | `--sync` | Удалить симлинки снятых компонентов | Требования: Python 3.7+, без внешних зависимостей. --- ## Когда применять | Триггер | Действие | |---------|----------| | Получить фреймворк | `python tools/install.py clone` | | Установить в проект | `clone -t ./fw --install` или `--ide cursor --all` | | Проверить компоненты | `--ide cursor --list` или `--dry-run` | | Установить конкретные компоненты | `--ide cursor --include <id1> <id2>` | | Сломанные симлинки | `--relink` | | Windows без симлинков | `--copy` | --- depends_on: [] metadata: category: framework-meta version: "1.0" ---
More from SteelMorgan/1c-agent-based-dev-framework
- agent-debugПаттерн отладочных сообщений для 1С BSL. Используй, когда стандартная диагностика (event-log, скриншоты) не даёт понять фактическое поведение системы — нужно вставить временные точки логирования в код, запустить тест и проанализировать записи ЖР.
- agent-developmentCreate custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific agents, configure code reviewers, debuggers, or domain-specific assistants with custom prompts.
- agent-development-ext>
- agent-git-workflowStandardizes git workflow for the AI agent in the sandbox devcontainer: work in agent/<task>-<yyyymmdd>, integrate via agent, never push to main/master, open PRs via GitHub CLI. Use when the user asks to create branches, push changes, open PRs, or follow this sandbox repo setup.
- auto-skill-bootstrapDeterministic helper to inventory existing project skills, detect missing capability coverage, search skills.sh via Skills CLI, and (optionally) install missing skills under a trust policy. Uses skills-manifest.json + state.json to stay idempotent across changing requirements.
- code-navigationНавигация по коду (Code Navigation). Навык учит агента **эффективно перемещаться по BSL-коду** с помощью LSP (Language Server Protocol).
- config-operationsОперации с конфигурацией 1С (CF) — init, info, edit, validate. Используй при создании конфигурации, анализе структуры, изменении свойств и ChildObjects, валидации Configuration.xml.
- epf-buildСобрать EPF/ERF из XML-исходников. Используй после внесения временных диагностических правок в разобранную обработку.
- epf-dumpРазобрать EPF/ERF в XML-исходники. Используй, когда нужно быстро получить исходный код внешней обработки или отчета для анализа и временной модификации.
- epf-operationsОперации с внешними обработками 1С (EPF) — создание, добавление форм и шаблонов. Используй при epf init, add-form, add-template, add-attribute, add-tabular-section.