Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С.

AGPL-3.0Auto-check: notesAgent Workflows

Install 1c Test Runner

skills CLI
$ npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Arman-Kudaibergenov/1c-ai-development-kit 1c-test-runner --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Arman-Kudaibergenov/1c-ai-development-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/1c-test-runner .claude/skills/1c-test-runner && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
1c-test-runner
GitHub stars
166
Token cost
~1.3k tokens
SKILL.md length
183 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С.

  • Agent Workflows work in your project
  • SKILL.md covers Предварительные требования, Стек, Шаг 1 — Создать тестовые данные and Шаг 2 — Написать тест, plus 6 more sections
  • Calls claude

What it does

1c Test Runner is an agent skill from Arman-Kudaibergenov/1c-ai-development-kit. Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С. SHOULD также вызывать после реализации бизнес-логики для верификации через 1c-ai-debug MCP. Do NOT использовать для UI-тестов — используй playwright-test или 1c-web-session.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Model Context Protocol and Playwright. The repository describes itself as: Comprehensive AI agents, skills and rules toolkit for 1C:Enterprise development in Cursor IDE. The licence is AGPL-3.0.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “запусти unit-тесты”
  • “/1c-test-runner”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash, mcp__1c-ai-debug__run_unit_tests, mcp__1c-ai-debug__execute_1c_code

What it can do on your machine

Read from SKILL.md and the folder at commit 92d389e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash
    • mcp__1c-ai-debug__run_unit_tests
    • mcp__1c-ai-debug__execute_1c_code

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

1c Test Runner loads about 1.3k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 183 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash, mcp__1c-ai-debug__run_unit_tests, mcp__1c-ai-debug__execute_1c_

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Arman-Kudaibergenov/1c-ai-development-kit at commit 92d389e, republished under its AGPL-3.0 licence (© Arman-Kudaibergenov). 183 words, ~1,323 tokens.

Download SKILL.mdSave it as .claude/skills/1c-test-runner/SKILL.md (or your agent's skills folder).
name
1c-test-runner
description
Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С. SHOULD также вызывать после реализации бизнес-логики для верификации через 1c-ai-debug MCP. Do NOT использовать для UI-тестов — используй playwright-test или 1c-web-session.
allowed-tools
Read, Write, Edit, Glob, Grep, Bash, mcp__1c-ai-debug__run_unit_tests, mcp__1c-ai-debug__execute_1c_code

/1c-test-runner — AI-тестирование 1С без внешних зависимостей

Workflow для автономного тестирования бизнес-логики 1С:

  • AI создаёт тестовые данные через 1c-ai-debug MCP (CRUD)
  • AI пишет тест — CommonModule с суффиксом _Test
  • Тест загружается в базу через /db-load-xml + /db-update
  • AI запускает через MCP инструмент run_unit_tests
  • Результат возвращается текстом/JSON — без скриншотов, без vanessa-runner

Предварительные требования

  • 1c-ai-debug MCP подключён к проекту
  • Расширение AI_Debug установлено и опубликовано в базе

Стек

Claude → 1c-ai-debug MCP (run_unit_tests) → 1С база
              ↑
         BSL: CommonModule *_Test (пишет Claude)
              ↑
         CRUD: create_catalog_item, create_document, post_document

Шаг 1 — Создать тестовые данные

json
{"name": "create_catalog_item", "arguments": {"catalogName": "Контрагенты", "data": {"Наименование": "TEST-001"}}}

{"name": "create_document", "arguments": {
  "documentType": "ПоступлениеТоваровУслуг",
  "header": {"Контрагент": "<ref>", "Дата": "2026-01-01T00:00:00"},
  "tables": {"Товары": [{"Номенклатура": "<ref>", "Количество": 10, "Цена": 100}]}
}}

{"name": "post_document", "arguments": {"documentType": "ПоступлениеТоваровУслуг", "documentRef": "<ref>"}}

Шаг 2 — Написать тест

Тест — CommonModule с суффиксом _Test. Пример модуля AI_SelfTest_Test уже в составе AI_Debug.

bsl
// CommonModules/ТестПроведенияПоступления_Test/Ext/Module.bsl

#Область СлужебныйПрограммныйИнтерфейс

Процедура ИсполняемыеСценарии() Экспорт
    ЮТТесты.ДобавитьТест("ПроведениеПоступленияФормируетДвижения");
КонецПроцедуры

Процедура ПроведениеПоступленияФормируетДвижения() Экспорт
    // Arrange — ссылка из шага 1
    ДокументСсылка = ПредопределённоеЗначение("...");  // или передать через параметры

    // Act + Assert
    Движения = РегистрыНакопления.ТоварыНаСкладах.СоздатьНаборЗаписей();
    Движения.Отбор.Регистратор.Установить(ДокументСсылка);
    Движения.Прочитать();

    ЮТУтверждения.Больше(Движения.Количество(), 0, "Ожидаются движения по регистру");
КонецПроцедуры

#КонецОбласти
API ЮТУтверждения (прямые вызовы)
bsl
ЮТУтверждения.Равно(Факт, Ожидаемое, "комментарий")
ЮТУтверждения.НеРавно(Факт, НеОжидаемое)
ЮТУтверждения.ЭтоИстина(Условие, "комментарий")
ЮТУтверждения.ЭтоЛожь(Условие)
ЮТУтверждения.Больше(Значение, Порог, "комментарий")
ЮТУтверждения.Меньше(Значение, Порог)
ЮТУтверждения.НеЗаполнено(Значение)
ЮТУтверждения.Заполнено(Значение)
ЮТУтверждения.ИмеетДлину(Коллекция, N)

⚠️ Fluent-стиль (ЮТУтверждения.Что(X).Равно(Y)) не работает в CommonModule — нет self-reference.

Добавить тест в конфигурацию
xml
<!-- Configuration.xml → ChildObjects -->
<CommonModule>ТестПроведенияПоступления_Test</CommonModule>

CommonModule флаги: Server=true, ClientManagedApplication=false.


Шаг 3 — Загрузить в базу

/db-load-xml <configDir> -Mode Partial -Files "CommonModules/ТестПроведенияПоступления_Test.xml,CommonModules/ТестПроведенияПоступления_Test/Ext/Module.bsl"
/db-update

Шаг 4 — Запустить тесты

json
// Все _Test модули
{"name": "run_unit_tests", "arguments": {}}

// Конкретный модуль
{"name": "run_unit_tests", "arguments": {"moduleName": "ТестПроведенияПоступления_Test"}}
Формат результата
json
{
  "success": true,
  "total": 3,
  "passed": 3,
  "failed": 0,
  "summary": "[OK] ПроведениеПоступленияФормируетДвижения\n[OK] ..."
}

При failed > 0 — success: false, в summary строки [FAIL] ИмяТеста: текст ошибки.


Шаг 5 — Cleanup

json
{"name": "delete_object", "arguments": {"objectType": "Documents", "objectName": "ПоступлениеТоваровУслуг", "objectRef": "<ref>"}}
{"name": "delete_object", "arguments": {"objectType": "Catalogs", "objectName": "Контрагенты", "objectRef": "<ref>"}}

Полный пример (end-to-end)

1. create_catalog_item(Номенклатура, {Наименование: "TEST-001"}) → ref_ном
2. create_document(ПоступлениеТоваровУслуг, {Товары: [{Номенклатура: ref_ном, Кол: 5, Цена: 200}]}) → ref_doc
3. post_document(ПоступлениеТоваровУслуг, ref_doc) → success: true
4. Claude пишет BSL тест → /db-load-xml + /db-update
5. run_unit_tests({moduleName: "ТестПроведенияПоступления_Test"}) → {success: true, passed: 1}
6. delete_object x2 (cleanup)

Ограничения

  • Тесты только серверная бизнес-логика: расчёты, движения, проведение — не UI
  • Тест загружается в базу до запуска через /db-load-xml + /db-update
  • Ссылки между объектами — GUID-строки из ответов create_*
  • post_document требует РежимЗаписиДокумента.Проведение — база должна допускать проведение

Связанные скилы

  • /db-load-xml — загрузить тест-модуль в базу
  • /db-update — применить к БД
  • 1c-ai-debug MCP — CRUD данных и запуск run_unit_tests

© Arman-Kudaibergenov, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/1c-test-runner of Arman-Kudaibergenov/1c-ai-development-kit.

Open the folder on GitHubat commit 92d389e

Compare with similar skills

1c Test Runner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

1c Test Runner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
1c Test Runner this skillArman-Kudaibergenov/1c-ai-development-kit166—~1.3kAutomated safety check: NotesAGPL-3.0
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence
Agent QA Authoringvostride/agent-qa903—~569Automated safety check: PassCustom licence
Agent QA Result Triagevostride/agent-qa903—~394Automated safety check: PassCustom licence
Project Releaseswimmwatch/cloakbrowser-mcp164—~1.9kAutomated safety check: PassMIT
Lightpandalightpanda-io/agent-skill101—~6kAutomated safety check: PassApache-2.0

Similar skills

  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent QA Authoring

    vostride/agent-qa

    A skill your agent uses when creating, editing, validating, or running agent-qa tests, suites, or hooks.

    903 GitHub stars~569 tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Agent QA Result Triage

    vostride/agent-qa

    A skill your agent uses when investigating failed agent-qa runs, inspecting artifacts, classifying failures, or comparing recent runs.

    903 GitHub stars~394 tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Project Release

    swimmwatch/cloakbrowser-mcp

    Prepare, publish, verify, or recover a cloakbrowser-mcp release only when the user explicitly requests release work.

    164 GitHub stars~1.9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Lightpanda

    lightpanda-io/agent-skill

    Lightpanda browser, drop-in replacement for Chrome-based browsing in any AI agent - faster and lighter for tasks without graphical rendering like data retrieval.

    101 GitHub stars~6k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Verified Research

    sweetcornna/free-search-mcp

    Use with the free-search MCP tools whenever a web lookup must yield facts someone will rely on: dates, deadlines, prices, prizes, fees, rules, eligibility, schedules, versions, statistics, news, or…

    126 GitHub stars~1.8k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed

More from Arman-Kudaibergenov/1c-ai-development-kit

All 50 skills in this repo
  • 1c Web Session

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван для управления 1С:Предприятие в веб-клиенте через Playwright MCP: запуск/перезапуск/завершение сеанса, навигация, создание и редактирование справочников и документов.

    166 GitHub stars~2.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Inspect

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных…

    166 GitHub stars~3.4k tokensUpdated 4 mo ago
    Auto-check: notes
  • 1c Project Init

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда пользователь говорит "инициализируем проект", "init project", просит настроить 1С-проект.

    166 GitHub stars~4.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • Cf Edit

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда нужно изменить свойства конфигурации, добавить или удалить объект из состава ChildObjects, настроить роли по умолчанию.

    166 GitHub stars~582 tokensUpdated 4 mo ago
    Auto-check: notes
  • Cfe Diff

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда нужно проанализировать состав расширения (CFE): заимствованные объекты, перехватчики, проверить перенесены ли вставки.

    166 GitHub stars~531 tokensUpdated 4 mo ago
    Auto-check: notes
  • Cfe Init

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда пользователь просит создать новое расширение конфигурации (CFE) для исправления, доработки или дополнения.

    166 GitHub stars~569 tokensUpdated 4 mo ago
    Auto-check: notes

Categories

Questions about 1c Test Runner

What does 1c Test Runner do?

Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С. 1c Test Runner is an agent skill from Arman-Kudaibergenov/1c-ai-development-kit. Этот скилл MUST быть вызван когда пользователь говорит "напиши тест", "протестируй модуль", "запусти unit-тесты" для 1С.

When should I use 1c Test Runner?

1c Test Runner fits situations like: agent Workflows work in your project.

How do I install 1c Test Runner in Claude Code?

Run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner -a claude-code`. Or copy the skill folder (.claude/skills/1c-test-runner in Arman-Kudaibergenov/1c-ai-development-kit) into .claude/skills/1c-test-runner in your project. Claude Code loads it when a task matches its description.

How do I install 1c Test Runner in Codex?

Run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner -a codex`. Or copy the skill folder (.claude/skills/1c-test-runner in Arman-Kudaibergenov/1c-ai-development-kit) into .agents/skills/1c-test-runner in your project. Codex loads it when a task matches its description.

Can I use 1c Test Runner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/1c-test-runner, .gemini/skills/1c-test-runner, .github/skills/1c-test-runner and .opencode/skills/1c-test-runner in your project.

What does 1c Test Runner need to run?

Going by SKILL.md and its folder, 1c Test Runner needs the command-line tools its instructions call (claude). Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash, mcp__1c-ai-debug__run_unit_tests, mcp__1c-ai-debug__execute_1c_code.

Does 1c Test Runner access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 1c Test Runner safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does 1c Test Runner use?

1c Test Runner is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 1c Test Runner use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to 1c Test Runner?

Skills that share tags, products or a category with 1c Test Runner: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Agent QA Authoring (vostride/agent-qa, 903 stars), Agent QA Result Triage (vostride/agent-qa, 903 stars) and Project Release (swimmwatch/cloakbrowser-mcp, 164 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 1c Test Runner?

Arman-Kudaibergenov (a GitHub user) maintains it in Arman-Kudaibergenov/1c-ai-development-kit, which has 166 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on May 25, 2026.

Source: Arman-Kudaibergenov/1c-ai-development-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.