Skip to content
Development
Skill

/1c-validate

Validate changed 1C artifacts — BSL by path (BSL Language Server), logic and performance (1С:Напарник check), style and ITS review, metadata XML against XSD — within the verification-policy budget. Use after every BSL or metadata edit.

From plugin
ai-rules-1c
55032 skills13 agents45 commands

Claude Code

$ npx -y skills add comol/ai_rules_1c --skill 1c-validate --agent claude-code

SKILL.md

1c-validate.SKILL.md
name: 1c-validate
description: "Validate changed 1C artifacts — BSL by path (BSL Language Server), logic and performance (1С:Напарник check), style and ITS review, metadata XML against XSD — within the verification-policy budget. Use after every BSL or metadata edit."
argument-hint: "<module path | xml> [lines]"
allowed-tools: mcp__1c-syntax-checker-mcp__syntaxcheck_file, mcp__1c-syntax-checker-mcp__syntaxcheck, mcp__1c-code-check-mcp__check_1c_code, mcp__1c-code-check-mcp__review_1c_code, mcp__1c-code-metadata-mcp__verify_xml

1c-validate — the validator chain

Order for touched BSL: `syntaxcheck_file` → `check_1c_code` → `review_1c_code`, at the depth of `VERIFICATION_DEPTH` and within the budget of `content/rules/verification-policy.md → Validator budget` (one clean pass on the latest state; after a blocking fix one confirmation at `standard`, up to two at `full`; never a run on unchanged content). Pure metadata XML without BSL: `verify_xml` once. Which gates a change needs — `content/rules/verification-gates.md`.

Tools and exact arguments

| Gate | Call | Arguments | |---|---|---| | 1 Syntax — saved file (default) | `syntaxcheck_file` | `file_path` relative to the mounted sources root, optional `lines="5, 10-20"` — save first; a failed path is retried once, then fall back to text | | 1 Syntax — text (fallback) | `syntaxcheck` | `code` — only when the file tool is not exposed or the fragment has no file yet; confirm by path once written | | 2 Logic & performance | `check_1c_code` | exactly one of `code` or `files` (list of saved paths under the declared workspace roots) | | 3 Style & ITS | `review_1c_code` | same shape as `check_1c_code` | | 5 Metadata XML | `verify_xml` | `xml_content`, `object_type` (`Справочник`, `Документ`, `Форма`, `Роль`, `СКД`, `Макет`) |

`syntaxcheck` and `syntaxcheck_file` are one validator for budgeting. Never feed syntax-broken code to the AI validators.

Calls

{"tool": "syntaxcheck_file", "args": {"file_path": "Documents/РеализацияТоваровУслуг/Ext/ObjectModule.bsl", "lines": "120-185"}}
{"tool": "check_1c_code", "args": {"files": ["Documents/РеализацияТоваровУслуг/Ext/ObjectModule.bsl"]}}
{"tool": "review_1c_code", "args": {"files": ["Documents/РеализацияТоваровУслуг/Ext/ObjectModule.bsl"]}}
{"tool": "verify_xml", "args": {"object_type": "Справочник", "xml_content": "<MetaDataObject …>"}}

Reading the answers

  • Blocking: any `error` from syntax; `critical` / `error` from check; `error` from review; a logic, data-integrity, security, transaction or performance defect named by the validator. Style noise never starts another AI pass.
  • `provenance.index` on a syntax answer says what a clean report proves: `absent` / `building` / `failed` = syntax and local rules only; `ready` = cross-module resolution included. Read it, never wait for it.
  • A check of a large module may run for minutes; the server retries transport failures itself — do not resend.
  • Rewrites from `rewrite_1c_code` / `modify_1c_code` are drafts and re-enter this chain.
  • A missing validator is graceful degradation with a `Risk:` line, never a silent skip. Typed answers map to actions by code — `content/rules/mcp-policy.md → C. Server answers → actions`.

Details: `content/skills/mcp-1c-tools/docs/1c-syntax-checker-mcp.md`, `content/skills/mcp-1c-tools/docs/1c-code-check-mcp.md`, `content/skills/mcp-1c-tools/docs/1c-code-metadata-mcp.md → XSD schemas & validation`.

Read more
@comol
Ships withai-rules-1c

Rules\skills\subagens for vibecoding in 1C(bsl)

55032 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
550
Star history of comol/ai_rules_1c on GitHub, a chart by star-history.com

Other skills on ai-rules-1c.

openspec-apply-change

openspec-apply-change

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through…

@comol@comolInstall Skill
openspec-archive-change

openspec-archive-chang…

Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after…

@comol@comolInstall Skill
openspec-explore

openspec-explore

Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements in a…

@comol@comolInstall Skill
openspec-propose

openspec-propose

Propose a new OpenSpec change with all artifacts generated in one step. Use when the user wants to quickly describe what they…

@comol@comolInstall Skill
openspec-sync-specs

openspec-sync-specs

Sync delta specs from an OpenSpec change to main specs. Use when the user wants to update main specs with changes from a delta…

@comol@comolInstall Skill
openspec-update-change

openspec-update-change

Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the…

@comol@comolInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react9d252k
@facebook@facebookInstall Skill

Questions about 1c-validate.

Which coding agents can use 1c-validate?
1c-validate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.