Agent skill

Template Add

by Nikolay-Shirokov in Nikolay-Shirokov/cc-1c-skills

Добавить пустой макет к объекту 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

MITAuto-check: notes

Install Template Add

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill template-add -a claude-code

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

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills template-add --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/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/template-add .claude/skills/template-add && 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
template-add
GitHub stars
680
Token cost
~1.2k tokens
SKILL.md length
255 words
Files
3 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Добавить пустой макет к объекту 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md covers Usage, Команда, Пример and Маппинг типов, plus 4 more sections
  • Runs PowerShell and Python scripts from its folder

What it does

Template Add is an agent skill from Nikolay-Shirokov/cc-1c-skills. Добавить пустой макет к объекту 1С. Используй когда нужно создать у объекта новый макет

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/add-template.py`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/template-add”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Glob, Grep

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. 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:

    • Bash
    • Read
    • Write
    • Edit
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    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

Template Add loads about 1.2k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 255 words of instructions outside code blocks.

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

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: Bash, Read, Write, Edit, Glob, Grep

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); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 255 words, ~1,164 tokens.

Download SKILL.mdSave it as .claude/skills/template-add/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
template-add
description
Добавить пустой макет к объекту 1С. Используй когда нужно создать у объекта новый макет
allowed-tools
Bash, Read, Write, Edit, Glob, Grep
argument-hint
<ObjectName> <TemplateName> <TemplateType>

/template-add — Добавление макета

Создаёт макет указанного типа и регистрирует его в корневом XML объекта.

Usage

/template-add <ObjectName> <TemplateName> <TemplateType>
ПараметрОбязательныйПо умолчаниюОписание
ObjectNameда—Имя объекта
TemplateNameда—Имя макета
TemplateTypeда—Тип: HTML, Text, SpreadsheetDocument, BinaryData, DataCompositionSchema
Synonymнет= TemplateNameСиноним макета
LangнетruКод языка страницы — только для типа HTML. Повторный вызов с другим языком добавляет страницу в существующий макет
SrcDirнетsrcПуть к папке типа объектов (Reports, DataProcessors, Catalogs, Documents...), внутри которой лежит <ObjectName>.xml. Дефолт src подходит для каталогов с внешними обработками/отчётами, лежащими рядом
-SetMainSKDнет—Принудительно установить MainDataCompositionSchema

Команда

powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/add-template.ps1" -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" -TemplateType "<TemplateType>" [-Synonym "<Synonym>"] [-Lang "<Lang>"] [-SrcDir "<SrcDir>"] [-SetMainSKD]

Пример

Добавить основную СКД к отчёту в расширении:

powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/add-template.ps1" -ObjectName "ОтчётПродажи" -TemplateName "ОсновнаяСхемаКомпоновкиДанных" -TemplateType "DataCompositionSchema" -SrcDir "src/cfe/МоёРасширение/Reports"

Маппинг типов

Пользователь может указать тип в свободной форме. Определи нужный по контексту:

Пользователь пишетTemplateTypeРасширениеСодержимое
HTMLHTMLDocumentTemplate/<lang>.htmlПустой HTML-документ
Text, текстовый документ, текстTextDocument.txtПустой файл
SpreadsheetDocument, табличный документ, MXLSpreadsheetDocument.xmlМинимальный spreadsheet
BinaryData, двоичные данныеBinaryData.binПустой файл
DataCompositionSchema, СКД, схема компоновкиDataCompositionSchema.xmlМинимальная DCS-схема

Конвенция именования

Для макетов печатных форм (тип SpreadsheetDocument) применяй префикс ПФ_MXL_:

КонтекстФормат имениПример
Печатная форма (дополнительная обработка вида ПечатнаяФорма, или пользователь явно говорит «печатная форма»)ПФ_MXL_<КраткоеИмя>ПФ_MXL_М11, ПФ_MXL_СчётФактура, ПФ_MXL_КонвертDL
Прочие макеты (загрузка данных, служебные, настройки)Без префиксаМакетЗагрузки, НастройкиПечати

Если пользователь указал имя макета без префикса, но контекст — печатная форма, добавь префикс ПФ_MXL_ автоматически и сообщи об этом.

MainDataCompositionSchema (авто)

При добавлении макета типа DataCompositionSchema к ExternalReport или Report:

  • Если MainDataCompositionSchema пуст — автоматически заполняется ссылкой на макет
  • Используй --SetMainSKD чтобы перезаписать существующее значение

Что создаётся

<SrcDir>/<ObjectName>/Templates/
├── <TemplateName>.xml              # Метаданные макета (1 UUID)
└── <TemplateName>/
    └── Ext/
        ├── Template.<ext>          # Содержимое макета
        └── Template/<lang>.html    # HTML: содержимое (Template.xml — дескриптор)

Что модифицируется

  • <SrcDir>/<ObjectName>.xml — добавляется <Template> в конец ChildObjects
  • Для ExternalReport/Report: может обновляться MainDataCompositionSchema

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .claude/skills/template-add of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/add-template.ps1
  • scripts/add-template.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Template Add 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.

Template Add compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Template Add this skillNikolay-Shirokov/cc-1c-skills680—~1.2kAutomated safety check: NotesMIT
Form AddArman-Kudaibergenov/1c-ai-development-kit166—~992Automated safety check: NotesAGPL-3.0
Help AddArman-Kudaibergenov/1c-ai-development-kit166—~872Automated safety check: NotesAGPL-3.0
Jupyter Notebookmicrosoft/ai-agents-for-beginners77k—~1.3kAutomated safety check: PassMIT
Skd EditArman-Kudaibergenov/1c-ai-development-kit166—~1.6kAutomated safety check: NotesAGPL-3.0
Form EditArman-Kudaibergenov/1c-ai-development-kit166—~1kAutomated safety check: NotesAGPL-3.0

Similar skills

  • Form Add

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

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

    166 GitHub stars~992 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Help Add

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

    Этот скилл MUST быть вызван когда нужно добавить встроенную справку к объекту 1С: обработка, отчёт, справочник, документ.

    166 GitHub stars~872 tokensUpdated 4 mo ago
    DevelopmentAuto-check: notes
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Используйте, когда пользователь просит создать, сгенерировать каркас или отредактировать Jupyter ноутбуки (.ipynb) для экспериментов, исследований или учебных материалов; предпочитайте встроенные…

    77k GitHub stars~1.3k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Skd Edit

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

    Этот скилл MUST быть вызван когда нужно модифицировать существующую СКД: добавить поля, итоги, фильтры, параметры, изменить текст запроса.

    166 GitHub stars~1.6k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Form Edit

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

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

    166 GitHub stars~1k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Cfe Borrow

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

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

    166 GitHub stars~467 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub stars~2.4k tokensUpdated 5 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    680 GitHub stars~4.5k tokensUpdated 5 days ago
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    680 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    680 GitHub starsUsed in 1 repo~717 tokens
    Auto-check: notes

Questions about Template Add

What does Template Add do?

Добавить пустой макет к объекту 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills. Template Add is an agent skill from Nikolay-Shirokov/cc-1c-skills. Добавить пустой макет к объекту 1С.

How do I install Template Add in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill template-add -a claude-code`. Or copy the skill folder (.claude/skills/template-add in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/template-add in your project. Claude Code loads it when a task matches its description.

How do I install Template Add in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill template-add -a codex`. Or copy the skill folder (.claude/skills/template-add in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/template-add in your project. Codex loads it when a task matches its description.

Can I use Template Add 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 Nikolay-Shirokov/cc-1c-skills --skill template-add -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/template-add, .gemini/skills/template-add, .github/skills/template-add and .opencode/skills/template-add in your project.

What does Template Add need to run?

Going by SKILL.md and its folder, Template Add needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep.

Does Template Add 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 Template Add 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Template Add use?

Template Add is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Template Add use?

About 1.2k tokens (SKILL.md is roughly 4.7k 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 Template Add?

Skills that share tags, products or a category with Template Add: Form Add (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars), Help Add (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars), Jupyter Notebook (microsoft/ai-agents-for-beginners, 77k stars) and Skd Edit (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Template Add?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 680 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.