跳到正文
FunCoding

1c-meta-info

Facts about 1C metadata objects — passport, typed attributes, tabular-part columns, forms, predefined items, objects by category or Russian description — from the graph and code-metadata MCP. Use before code or metadata that depends on an object's structure, and to find objects by synonym.

Star
565
最近提交
2026年12月1日

content/skills/1c-meta-info/SKILL.md

在 GitHub 上查看

1c-meta-info — facts about a metadata object

Facts only; a verdict about an object needs the validators of 1c-validate. Search discipline and freshness — content/rules/mcp-first-search.md.

For each graph call, explicitly pass the returned project_id verified against the current source roots; substitute <resolved-project-id> below. Discover through list_graph_projects using the mcp-1c-tools router first when needed. Keep project scope outside JSON query operations and template arguments. An extension requires verified layer coverage/provenance; neither the first project nor the base-only response is an extension lookup. Code-server selectors use their own live schema and mappings (content/rules/multi-contour-search.md).

Address

Graph object lookups accept qualified names such as Справочник.Контрагенты, Документ.РеализацияТоваровУслуг, РегистрНакопления.ТоварыНаСкладах, ОбщийМодуль.РаботаСКонтрагентами. For Code get_metadata_details, reuse the canonical full_path from metadatasearch, for example Документы.НачислениеЗарплаты; a Graph-style singular prefix may cause a slower live-XML fallback. Both calls name the argument object_name, never full_name or object_full_name. Identity tools have their own arguments (resolve_qualified_name takes qualified_name). Invoke-1CEdit.ps1 -Object uses the singular qualified form.

Tools and exact arguments

NeedCallArguments
Passport of a known objectget_object_dossier (graph)object_name, optional sections as a list of structure, forms, subscriptions, roles, dependencies, code, business_info, virtual_tables (field names of .Остатки, .СрезПоследних… before a register query), reading_order; event="write" | "posting" or module alone returns only that part
Do these objects / attributes / tabular parts / columns existcheck_metadata_paths (graph)paths=["Справочник.Контрагенты.Реквизит.ИНН", …] (up to 100); unknown is not absent; with extension layers pass project_name, otherwise nothing is reported absent
Predefined items, chart-of-accounts codefind_predefined_values (graph)object_name, name, code (exact account code incl. subaccounts), is_folder, depth
Header attributes, properties, predefinedget_metadata_details (code)object_name, sections="attributes,tabular_parts,properties,predefined", detail_level="outline" | "full", max_items, cursor, include_provenance=false
Tabular-part columnsget_metadata_details (code)sections="tabular_parts" or tabular_part="<name>" — current graph generations can include columns; tabular_part_columns_not_indexed on an older/incomplete generation routes here in one step
Objects by category / structuresearch_metadata (graph)query = JSON operation, e.g. {"operation":"list_objects_by_category","category_name":"Документы"}
Object by synonym / descriptionsearch_metadata_by_description (graph)query, top_k=10, filter_type = Russian plural category (Документы, Справочники), use_fuzzy, alpha
Business-meaning searchbusiness_search (graph)query, top_k, filter_type, include_structure — only when list_graph_capabilities shows the lane
Identification fallbackmetadatasearch (code)query, names_only=true, limit=5, object_type
Identityresolve_qualified_name(qualified_name), find_by_guid(guid)—
Cypher templaterun_graph_cypher_templatetemplate_id, arguments.object_name = bare name (Контрагенты), optional arguments.category_name

Calls

{"tool": "get_object_dossier", "args": {"project_id": "<resolved-project-id>", "object_name": "Документ.НачислениеЗарплаты", "sections": ["structure", "forms"]}}
{"tool": "get_metadata_details", "args": {"object_name": "Документы.НачислениеЗарплаты", "sections": "tabular_parts", "detail_level": "outline", "max_items": 200}}
{"tool": "search_metadata_by_description", "args": {"project_id": "<resolved-project-id>", "query": "начисление премии сотрудникам", "filter_type": "Документы", "top_k": 5}}
{"tool": "search_metadata", "args": {"project_id": "<resolved-project-id>", "query": "{\"operation\": \"list_attributes_with_type\", \"type_name\": \"СправочникСсылка.Контрагенты\"}"}}
{"tool": "metadatasearch", "args": {"query": "Контрагенты", "names_only": true, "limit": 5}}

Rules

  • Retrieve the smallest projection that answers: names for identification, one section for a field list; never expand a hit into a full dossier without need.
  • Page with cursor until complete before claiming an exhaustive list; an empty page section does not prove absence.
  • Configurations with extensions: when the graph covers the relevant layers, use one discovered base project_id; effective source version via resolve_effective_entity, layer diff via compare_base_and_extension(object_name, extension_name) — 1c-impact. Uncovered contours use their mapped index or own files; scope and evidence boundaries — content/rules/multi-contour-search.md.
  • Typed answers map to actions by code — content/rules/mcp-policy.md → C. Server answers → actions.

Paging contract, JSON operation catalogue, template list: content/skills/mcp-1c-tools/docs/1c-graph-metadata-mcp.md, content/skills/mcp-1c-tools/docs/1c-code-metadata-mcp.md → Reading large metadata objects.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,333 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,663 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 895 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 636 个 star