1c Repository Manage logo

1c Repository Manage

Community
comol
1c-repository-manage

1C configuration repository (хранилище) — status, history, diff, lock, update, commit, unlock, dump; lock before edit, commit after verify. Use when .dev.env REPOSITORY_PATH is set or the task mentions the configuration repository / хранилище.

Overview

Publishercomol
Repositoryai_rules_1c
Skill name1c-repository-manage
Stars
496
Forks
112
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by comol on GitHub. Read the source before you install it.

Installation

Install the 1c Repository Manage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-repository-manage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/comol/ai_rules_1c.git /tmp/ai_rules_1c
mkdir -p .claude/skills
cp -r /tmp/ai_rules_1c/content/skills/1c-repository-manage .claude/skills/1c-repository-manage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 1c Repository Manage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 1c Repository Manage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 1c Repository Manage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

1C Repository Manage — Configuration Repository Skill

Use this skill when the project's configuration is bound to a 1C configuration repository (хранилище конфигурации) or the task explicitly concerns one.

Activation — the master switch

.dev.env REPOSITORY_PATH is the explicit project statement "we work with a configuration repository":

  • REPOSITORY_PATH is set → repository mode is ON for the whole SDLC. Load docs/repo-sdlc.md before the first mutation of configuration objects in the session: metadata edits, config loads and DB updates are constrained by repository locks, and finished work must be committed. Ignoring the binding is a defect — the local edit will either fail to save or diverge from the team's repository. Disconnecting the configuration from the repository is forbidden for as long as this mode is on (Safety invariant 5).
  • REPOSITORY_PATH is empty and the user asks for a repository operation → ask once for the repository address, write it to REPOSITORY_PATH, proceed.
  • REPOSITORY_PATH is empty and nothing in the task mentions a repository → this skill does not apply; never ask about it up front.

Parameter canon (classes, empty-value behavior): content/rules/dev-standards-env.md → Infobase / deployment parameters.

Hard rule

Every repository operation — report, history, compare, lock, update, commit, unlock, dump — is executed through this skill's script (skills/1c-repository-manage/tools/1c-repo-ops/scripts/repo-ops.ps1). Composing an ad-hoc 1cv8.exe /ConfigurationRepository* command line from memory while the skill is available is a defect, same standing as ad-hoc infobase command lines (AGENTS.md → Skills and Subagents). The script encodes what an ad-hoc line loses: the exact object-list XML (http://v8.1c.ru/8.3/config/objects), /Out encoding detection, failures hidden behind exit code 0, secret masking, and the safety gates below.

The only exceptions mirror the metadata skill: the skill is not exposed in the session (state it once, then follow docs/repo-ops.md manually with every safety rule intact), or a read-only question answerable without running the platform.

Safety invariants (do not route around)

Invariants 1–4 are enforced by the script. Invariants 5–6 are agent refusals: the script has no bind/unbind operations, and composing them ad-hoc is the defect.

  1. Explicit object lists only. lock / update / commit / unlock require -Objects with exact metadata full names. An empty list, *, or the configuration root is refused: the official CLI without -Objects applies the operation to the whole configuration.
  2. Force is double-gated. -Force needs REPOSITORY_ALLOW_FORCE=true in .dev.env and a per-call confirmation switch (-ConfirmForce; for unlock — -ConfirmDiscardChanges, because a forced unlock discards uncommitted changes). Never set REPOSITORY_ALLOW_FORCE yourself — that value is the user's decision.
  3. A lock conflict is a report, not an obstacle. "Объект уже захвачен пользователем …" means another developer holds the object: report to the user and stop. Never resolve it with a forced unlock on your own initiative.
  4. Commit comments are mandatory — task reference plus what changed; the script refuses an empty comment.
  5. Never unbind while repository mode is on. With REPOSITORY_PATH set, disconnecting the configuration from the repository is forbidden: /ConfigurationRepositoryUnbindCfg, the Designer action «Отключиться от хранилища», and any equivalent. A lock conflict, a read-only object, a failed /update1cbase load, or a user request to "just unbind so we can edit" is not a reason — a refusal is the correct outcome (same standing as routing around vendor support). Never empty REPOSITORY_PATH to drop this prohibition as a step of the current task.
  6. Never bind an unbound infobase to a repository (/ConfigurationRepositoryBindCfg), create repositories, or manage repository users — these are one-shot administrative acts outside this skill's scope; report the need to the user.

Dispatch

TaskOperationDoc
Check binding / latest version / connectivity-Operation statusrepo-ops.md
Version history, who committed what-Operation historyrepo-ops.md
What differs between local config and repository-Operation diffrepo-ops.md
Take objects for editing-Operation lockrepo-ops.md
Refresh local copies of objects from the repository-Operation updaterepo-ops.md
Put finished changes into the repository-Operation commitrepo-ops.md
Release locks (no changes / after commit with -KeepLocked)-Operation unlockrepo-ops.md
Export a repository version to CF/CFE-Operation dumprepo-ops.md
How repository binding changes the dev cycle, /update1cbase, metadata mutations, conflict handling—repo-sdlc.md
Refresh source files after lock -Revised / update; freshness check before loading them into the IB—repo-sdlc.md → Source files follow the infobase

Reports (status / history / diff) are written to a file and only an excerpt is printed — read the report file for targeted analysis instead of pulling megabytes into context.

Path conventions

The prefix skills/1c-repository-manage/... is relative to the active tool's skills directory (.claude/skills/..., .cursor/skills/..., etc.), exactly as described in content/skills/1c-metadata-manage/SKILL.md → Path conventions. In the 1c-rules source repository prepend content/.

Run the script per the powershell-windows skill conventions:

powershell
powershell -NoProfile -File "skills/1c-repository-manage/tools/1c-repo-ops/scripts/repo-ops.ps1" -Operation status

Reporting

Any task that ran repository operations names them in the final answer in one line: Repository tooling: repo-ops <operations> (e.g. Repository tooling: repo-ops lock, commit). A task that mutated repository-bound objects without a matching lock → commit trail must explain why (e.g. commit deferred at the user's request — with the lock still held and reported).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 1c Repository Manage AI skill do?

1C configuration repository (хранилище) — status, history, diff, lock, update, commit, unlock, dump; lock before edit, commit after verify. Use when .dev.env REPOSITORY_PATH is set or the task mentions the configuration repository / хранилище.

Why use 1c Repository Manage on TypingMind?

Because you install it once and use it with any model. 1c Repository Manage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 1c Repository Manage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-repository-manage. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 1c Repository Manage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 1c Repository Manage?

As many as you like. As long as a model supports skills, you can use 1c Repository Manage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 1c Repository Manage AI skill free?

It is published on GitHub by comol. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇