Skip to content
Skills Library
Programming · Building & coding

onec-extension-lifecycle

/onec-extension-lifecycle

Create, dump, edit, load, back up, roll back, and delete one named 1C:Enterprise configuration extension while preserving the main configuration. Use for `.cfe` files, extension source trees, new customization extensions, or changes to an existing extension.

Licence
MIT
Last repository change
12.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Create, dump, edit, load, back up, roll back, and delete one named 1C:Enterprise configuration extension while preserving the main configuration. Use for `.cfe` files, extension source trees, new customization extensions, or changes to an existing extension.

Original author description

Create, dump, edit, load, back up, roll back, and delete one named 1C:Enterprise configuration extension while preserving the main configuration. Use for `.cfe` files, extension source trees, new customization extensions, or changes to an existing extension.

How it works

  1. Choose the path
  2. Implement a change
  3. Recover
Original SKILL.md headings · 31 lines, 306 words
SKILL.md preview
---
name: onec-extension-lifecycle
description: Create, dump, edit, load, back up, roll back, and delete one named 1C:Enterprise configuration extension while preserving the main configuration. Use for `.cfe` files, extension source trees, new customization extensions, or changes to an existing extension.
---

# 1C Extension Lifecycle

Keep all customization in one explicitly named extension and use an isolated session by default.

## Choose the path

- For a new extension, run `extension-scaffold`. It selectively reads `Configuration` and its exact default `Language.*`, creates a mapped adopted language with a distinct extension UUID, and creates a hierarchical source tree with one native server common module and a smoke-test function.
- For an existing extension in the infobase, run `extension-dump` to get editable hierarchical sources before changing code.
- For an existing `.cfe`, run `extension-load-cfe` only after identifying the exact target extension name.

Read [references/transaction-model.md](references/transaction-model.md) before loading or deleting anything.

## Implement a change

1. Run `extension-list` and record whether the exact extension name already exists.
2. Create or dump the source tree inside the session. Let the scaffold command derive the controlled `DefaultLanguage`; never hardcode it from a different configuration.
3. Inspect only the required main-configuration objects with `$onec-selective-export`.
4. Edit extension XML and BSL. Keep the extension name and prefix stable. Do not edit the main configuration dump.
5. Run `extension-load-files --name <name> --source <directory>`. The CLI automatically backs up both editable and database forms before replacing a pre-existing extension.
6. Delegate checks and database update to `$onec-extension-validate`.

## Recover

- Before database update, run `extension-rollback` to restore the extension configuration from its database configuration.
- For a new session-created extension, run `extension-delete --name <name> --confirm-name <name>` when abandoning the change.
- For a pre-existing extension, restore the automatic backup rather than deleting it. Never use `--allow-existing` without a separate explicit request to delete that exact extension.
- Finish with the router's `session-cleanup`; this removes sources, dumps, backups, logs, and the sandbox infobase owned by the session.

Require `ok: true` after every command. Stop at the first failed operation and preserve its log path until the failure is reported.
Files in this package (3)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB
  • references/transaction-model.md 2 KB

Versions

The database has no other skills named onec-extension-lifecycle.

Database snapshot: 13.11.2026 · package version 5684a177f791 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90onec-dev
    Route safe 1C:Enterprise development work involving an infobase, configuration metadata, selective object export, configuration extensions, Designer batch mode, BSL changes, or extension testing. Use this as the entry point when a request spans several 1C workflows or does not…
  • 100onec-selective-export
    Export and inspect only the 1C:Enterprise configuration metadata objects required for a task using Designer `/DumpConfigToFiles -listFile`. Use when asked to study a configuration, locate BSL logic, inspect a catalog, document, register, form, command, or module, or gather…
  • 100create-canvas-extension
    Create or register a canvas extension in the awesome-copilot repository. Use when asked to scaffold a new canvas extension, create its plugin.json, add a reusable extension to one or more plugins, or migrate extension metadata. Extensions are reusable source under extensions/;…
  • 95extension-creator
    Create AiderDesk extensions by setting up extension files, defining metadata, implementing Extension interface methods, and updating documentation. Use when building a new extension, creating extension commands, tools, or event handlers.
  • 100scaffold-extension
    Create a new extension package inside an existing framework's extensions/ directory. Use when authoring an expansion (extension) for AIWG.
  • 100create-extension
    Generate and implement extensions for Accounted: scaffold files, configure manifests, write event handlers, API routes, services, workspace UIs, settings panels, and testing. Use when creating new extensions, adding surfaces to existing extensions, or understanding the extension…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.