Skip to content
FunCoding

1c-form-inspect

Read 1C managed and ordinary forms — similar forms, element trees, bindings, commands, handlers, form / role / report artifacts, form XSD or format spec — via the code-metadata, graph and docs MCP. Use before generating or changing a form; mutations go through 1c-metadata-manage.

Star
565
Last commit
Dec 2, 2026

content/skills/1c-form-inspect/SKILL.md

View on GitHub

1c-form-inspect — read forms before touching them

Read-only. Creating or editing Form.xml is the 1c-metadata-manage skill (docs/form-manage.md, form-compile DSL); design rules — content/rules/forms.md. Hand-writing a form while the skill is available is a defect.

Tools and exact arguments

NeedCallArguments
Similar existing forms as examplessearch_forms (code)query, limit=10
Element tree, bindings, commands, handlersinspect_form_layout (code)object_name, form_name="" (empty = default form)
Form artifact with provenanceget_form_artifact (code)object_name, form_name or artifact_id, include_ranges=true
Graph view of a formget_form_structure / find_form_links (graph)Required form_name, optional object_name, form_kind="any" (managed / ordinary / any); explicit resolved project_id
Why an item is hidden, disabled or read-onlyget_form_structure (graph)form_name, object_name, element="<item>" — one item per reason: property, functional_option, conditional_appearance, code
XML rules of the targetget_xsd_schema (code)object_type = the file's kind: Форма for Form.xml, the object's type for its descriptor, СКД / Макет for a template (English aliases accepted)
On-disk format specificationformatspec (docs)name="1c-form-spec" or query="реквизиты формы"

Graph form tools use names, not form_ref. Keep the returned base project_id bound to the current roots and verify the relevant layer (content/rules/multi-contour-search.md). find_form_links resolves event/command handlers in that form's own module; an identically named routine elsewhere is not the handler.

Calls

{"tool": "search_forms", "args": {"query": "ФормаДокумента Реализация", "limit": 10}}
{"tool": "inspect_form_layout", "args": {"object_name": "Документ.РеализацияТоваровУслуг", "form_name": "ФормаДокумента"}}
{"tool": "get_form_structure", "args": {"project_id": "<resolved-project-id>", "object_name": "Документ.РеализацияТоваровУслуг", "form_name": "ФормаДокумента", "form_kind": "managed"}}
{"tool": "get_xsd_schema", "args": {"object_type": "Форма"}}
{"tool": "formatspec", "args": {"name": "1c-form-spec"}}

Ordinary forms

Forms/<Имя>/Ext/Form.bin is a binary container: none of the XML routes see it. Read it with the form-ordinary skill — decode (layout by its format map), brief (what the user sees and what the module changes), render — and change it there too, not through 1c-metadata-manage (content/skills/form-ordinary/SKILL.md). Never edit Form.bin directly.

After the change

verify_xml(xml_content, object_type="Форма") plus the skill's form-validate; syntaxcheck_file on the regenerated form module — 1c-validate. Typed answers map to actions by code — content/rules/mcp-policy.md → C. Server answers → actions.

Details: content/skills/mcp-1c-tools/docs/1c-code-metadata-mcp.md → Forms, content/skills/mcp-1c-tools/docs/1c-graph-metadata-mcp.md → Forms.

Similar Skills

wayfinder

MAmattpocock/skills337k4,978 new stars in the last 7 days

grill-with-docs

MAmattpocock/skills337k4,978 new stars in the last 7 days

to-tickets

MAmattpocock/skills337k4,978 new stars in the last 7 days

loop-me

MAmattpocock/skills337k4,978 new stars in the last 7 days

to-spec

MAmattpocock/skills337k4,978 new stars in the last 7 days

implement-spec

MAmattpocock/skills337k4,978 new stars in the last 7 days