openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through…
Answer what only the running infobase knows — does a query parse, what it returns on real data, does a BSL fragment run, what the event log recorded — via the 1c-data-mcp service on the infobase. Read-only by default; any mutation needs explicit user consent.
Claude Code
$ npx -y skills add comol/ai_rules_1c --skill 1c-live-ib --agent claude-code
Codex
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a codex -y
Cursor
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a cursor -y
Gemini CLI
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a gemini-cli -y
GitHub Copilot
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a github-copilot -y
OpenCode
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a opencode -y
Windsurf
$ npx skills add comol/ai_rules_1c --skill 1c-live-ib -a windsurf -y
name: 1c-live-ib description: "Answer what only the running infobase knows — does a query parse, what it returns on real data, does a BSL fragment run, what the event log recorded — via the 1c-data-mcp service on the infobase. Read-only by default; any mutation needs explicit user consent." argument-hint: "<query text | bsl fragment | lasterror>" allowed-tools: mcp__1c-data-mcp__validatequery, mcp__1c-data-mcp__vcexecutequery, mcp__1c-data-mcp__vcexecutecode, mcp__1c-data-mcp__vcloggetlasterror
Escalate here only when the configuration dump, the static validators and the docs cannot answer: "does it run *now* in *this* IB". Never a replacement for `1c-validate`. Available only when the tools are exposed in the session; a configured URL proves nothing, and fake "execution output" is a defect.
| Need | Call | Arguments | Pass criterion | |---|---|---|---| | Does the query parse | `vcvalidatequery` | `querytext` | `"нет ошибок"` — parse only, no metadata or RLS check | | What does it return on real data | `vcexecutequery` | `querytext` with parameters embedded in the text | text table | | Does the fragment run on this platform | `vcexecutecode` | `bslcode`; assign `Результат = …` to get a value back | `"ошибок нет"` or the error text | | Last error in the event log | `vcloggetlasterror` | — (24 h window, level `Ошибка`, one record) | formatted record or `"ошибок не найдено"` |
{"tool": "vcvalidatequery", "args": {"querytext": "ВЫБРАТЬ Т.Ссылка ИЗ Справочник.Контрагенты КАК Т ГДЕ Т.ИНН = \"7701234567\""}}
{"tool": "vcexecutequery", "args": {"querytext": "ВЫБРАТЬ ПЕРВЫЕ 5 Т.Ссылка, Т.ИНН ИЗ Справочник.Контрагенты КАК Т"}}
{"tool": "vcexecutecode", "args": {"bslcode": "Результат = Строка(Метаданные.Справочники.Контрагенты.Реквизиты.ИНН.Тип.КвалификаторыСтроки.Длина);"}}
{"tool": "vcloggetlasterror", "args": {}}Where it sits in the playbooks: error fixing step 2 and 6, performance step 5, new-code step 5 — `content/rules/tooling-playbooks.md`. Setup and 401/403 troubleshooting — `content/commands/checkmcp.md`. Details: `content/skills/mcp-1c-tools/docs/1c-data-mcp.md`.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through…
Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after…
Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements in a…
Propose a new OpenSpec change with all artifacts generated in one step. Use when the user wants to quickly describe what they…
Sync delta specs from an OpenSpec change to main specs. Use when the user wants to update main specs with changes from a delta…
Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.