1c Metadata Manage 标志

1c Metadata Manage

社区
comol
1c-metadata-manage

Create, edit, validate and remove 1C metadata — catalogs, documents, registers, enums, managed forms, SKD, MXL, roles, EPF/ERF, CFE, CF, databases, subsystems, command interfaces, templates. Use for any change to 1C metadata structure.

概览

发布者comol
代码仓库ai_rules_1c
技能名称1c-metadata-manage
星标数
496
复刻数
112
附带文件
122
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 122 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 comol 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 1c Metadata Manage AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-metadata-manage
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-metadata-manage .claude/skills/1c-metadata-manage
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 1c Metadata Manage,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 1c Metadata Manage。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 1c Metadata Manage 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

1C Metadata Manage — Skill Dispatch

Use this skill when the task involves 1C metadata structure (creating, editing, validating, or removing configuration objects, forms, reports, layouts, roles, extensions, or databases).

Hard rule

The gate itself — every metadata-XML mutation and every infobase operation goes through this skill (dispatch below → domain doc → PowerShell tools) or the 1c-metadata-manager subagent, hand-editing is a defect, repository-bound projects add the 1c-repository-manage lock / commit discipline, EDT-format trees (.mdo / .form, never fed to these tools) route per content/rules/edt-workflow.md — is owned by AGENTS.md → Skills and Subagents; this skill's own canon is only the exceptions:

  • Unambiguous one-line fix of an existing value that cannot break structure — a synonym / comment typo, a boolean flag flip on an existing element. Anything that adds / removes / reorders elements, touches UUIDs, or spans more than one line of XML is not "one-line".
  • Rights-only change to an existing role — adding or changing <object> / <right> entries of its Ext/Rights.xml. No tool edits a role in place (role-compile writes a new role with a new UUID), so edit Rights.xml by the templates of role-manage.md, leave the role's own .xml, its UUID and the other entries as they are, then run role-validate. A locked role of a configuration on vendor support is not hand-edited either — support-manage.md.
  • Skill not available in the session (files not installed / not exposed) — state it once in one line, then hand-edit with metadata-xml-workarounds.md loaded and validate per verification-gates.md → Gate 5.
  • Read-only analysis of metadata XML is not a mutation — reading files directly is fine (subject to mcp-first-search.md for locating them).

Vendor support gate

Every mutating tool refuses to edit a locked ("на замке") object of a typical configuration on vendor support and refuses to delete one still on support — the run exits 1, the refusal is the correct outcome (extension first, support-edit only as a stated decision): support-manage.md.

Path conventions

PowerShell examples in this skill (SKILL.md and every docs/*.md) use the prefix skills/1c-metadata-manage/tools/.... That prefix is relative to the active tool's skills directory, not to the repository root:

  • After installation: the script lives under <tool>/skills/1c-metadata-manage/tools/... (e.g. .cursor/skills/1c-metadata-manage/tools/..., .claude/skills/1c-metadata-manage/tools/..., .kilo/skills/1c-metadata-manage/tools/..., .ai-agent/skills/1c-metadata-manage/tools/...). Active tools that load this skill resolve the prefix automatically.
  • In the 1c-rules source repository (when editing the skill itself): the same script lives under content/skills/1c-metadata-manage/tools/.... Prepend content/ when running the example outside of an installed project.

The same convention applies to docs/*.md references like skills/1c-metadata-manage/tools/1c-skd-info/modes-reference.md.

Runtime selection — Windows / Linux / macOS

XML saving in form-edit, form-add, remove-form, form-compile registration, meta-edit, cf-edit, cfe-borrow registration/merge, skd-edit, subsystem-edit, subsystem-compile registration, interface-edit, add-template and add-help retains the input CRLF/LF style and uses Configurator's compact empty tags (<Tag/>). Formatting-only changes should not be repaired by a global replacement that can alter literal XML in comments or CDATA.

On Windows use the shipped .ps1 entry points. Before selecting a Linux/macOS runtime, using a Python port, or resolving a missing runtime, read runtime-selection.md for the exact supported commands and limitations. A missing runtime never permits hand-editing metadata XML.

Logical addressing and optional preview

tools/_common/Invoke-1CEdit.ps1 accepts logical addresses, emits a unified diff and can preview its own script writes. Before using the wrapper, read edit-preview.md for arguments, rollback boundaries and METADATA_PREVIEW modes.

Default auto: preview DSL generation or a tool/operation new to this project; ordinary edits apply immediately. Native deletion gates (-DryRun, then -Force) and validation always remain. Direct tool invocation is valid; name a preview on Metadata tooling: only when it ran. Do not stash or commit another person's changes to force a preview.

Dispatch Strategy

Determine task complexity, then choose the execution mode:

Direct execution — simple / read-only tasks

Use when the task is a single lightweight query: checking metadata info, a quick lookup, one validation call. In this case identify the task domain from the table below, read the corresponding file, and follow its instructions directly.

Subagent delegation — complex / mutation tasks

Delegate to the 1c-metadata-manager subagent (defined in content/agents/metadata-manager.md, or in the installed agents directory for the active tool) when any of the following is true:

  • The task creates, scaffolds, or compiles metadata (objects, forms, SKD, MXL, roles, EPF, CF, CFE, databases)
  • The task edits multiple files or spans multiple domains
  • The task involves a multi-step workflow (create → edit → validate → fix → re-validate)
  • The task requires reading large domain docs (forms, meta-manage, SKD, MXL, roles, EPF, DB — each 200–800 lines)

The subagent already knows how to read the skill docs, execute PowerShell scripts, and validate results. Provide it with the full task description including object names, attributes, types, and any business context from the conversation.

Task Domain Table

Task domainRead before the operation
Metadata objects — create, edit, analyze, remove, validatemeta-manage.md
UUID integrity — duplicate identities in an XML dumpuuid-check.md
Managed forms — design, create, edit, analyze, validateform-manage.md
Managed-form layout patterns — archetypes, naming conventions, advanced patternsfetch standards(name="form-patterns") on 1C-docs-mcp (server not exposed → content/rules/help-corpus-retrieval.md)
Form-compile DSL reference — full JSON DSL spec for 1c-form-compile, --from-object mode, presetsform-compile-dsl.md
Data Composition Schema (DCS/SKD) — create, edit, analyze, decompile, validateskd-manage.md
Spreadsheet documents (MXL) — create, decompile, analyze, validatemxl-manage.md
Roles and access rights — create, analyze, validaterole-manage.md
External processors/reports (EPF/ERF) — scaffold, build, dump, validateepf-manage.md
BSP/SSL registration and commandsbsp-manage.md
Configuration (CF) and complete dump integrity (CF/CFE) — create, edit, analyze, validatecf-manage.md
Extensions (CFE) — create, borrow, diff, patch, validatecfe-manage.md
Vendor support state — "на замке", editability, off-supportsupport-manage.md
XDTO packages — analyze, create from XSD, export, edit, validatexdto-manage.md
Databases — create, run, load, dump, DT backupdb-manage.md
Subsystems — create, edit, analyze, validatesubsystem-manage.md
Command interface — edit, validateinterface-manage.md
Templates/layouts management — add, removetemplate-manage.md
Help pages — add, managehelp-manage.md
SSL/BSP subsystems patternsstandards(name="dev-standards-architecture") §4 + content/skills/mcp-1c-tools/docs/1c-ssl-mcp.md
Query writing — compose new queries from scratchquery-writing.md
Query optimizationquery-optimization.md
Web publishing — publish, unpublish, status, smoke testweb-manage.md
Unpack / rebuild CF, CFE, EPF binaries without 1C platformv8unpack-cf.md → standalone skill v8unpack-cf

If the task spans multiple domains, the subagent will read all relevant docs automatically (or read each one directly for simple tasks).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 62 个文件。

常见问题

1c Metadata Manage AI 技能有什么作用?

Create, edit, validate and remove 1C metadata — catalogs, documents, registers, enums, managed forms, SKD, MXL, roles, EPF/ERF, CFE, CF, databases, subsystems, command interfaces, templates. Use for any change to 1C metadata structure.

为什么在 TypingMind 中使用 1c Metadata Manage?

因为您只需安装一次,就能搭配任何模型使用。1c Metadata Manage 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 1c Metadata Manage?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-metadata-manage。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 1c Metadata Manage?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

1c Metadata Manage 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 1c Metadata Manage 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

1c Metadata Manage AI 技能免费吗?

comol 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇