openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing,…
Search reusable 1C code templates with the task text and adapt a fitting result. Use when the selected 1C workflow needs a template; memory-only work enters through project-memory.md.
$ npx -y skills add comol/ai_rules_1c --skill 1c-templates-memory --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/1c-templates-memoryContext preview
The summary Claude sees to decide when to auto-load this skill.
Search reusable 1C code templates with the task text and adapt a fitting result. Use when the selected 1C workflow needs a template; memory-only work enters through project-memory.md.
name: 1c-templates-memory description: "Search reusable 1C code templates with the task text and adapt a fitting result. Use when the selected 1C workflow needs a template; memory-only work enters through project-memory.md." argument-hint: "<task description | memory query>" allowed-tools: mcp__1c-templates-mcp__templatesearch, mcp__1c-templates-mcp__get_template, mcp__1c-templates-mcp__list_templates, mcp__1c-templates-mcp__recall, mcp__1c-templates-mcp__remember
Template obligations and rejection criteria: `content/rules/mcp-policy.md → A. Priority and obligation`, items 8–9. Memory is a separate route below.
| Need | Call | Arguments | |---|---|---| | Find a ready pattern | `templatesearch` | `query` = the user's task **as Russian prose**, verbatim or a same-goal paraphrase — never keywords, never query-language tokens | | Read a hit in full | `get_template` | `template_id` | | Browse | `list_templates` | `limit=50`, `offset=0`, follow `next_offset` | | Persist a pattern (explicit request only) | `add_template` | `description`, `code` |
Pre-flight before every `templatesearch`: the query reads as complete sentences with subject and goal; no `ВЫБРАТЬ` / `ПОМЕСТИТЬ` / `СОЕДИНЕНИЕ` unless the user wrote them; on a miss rephrase as another task description, at most two attempts. Keyword salad is a defect equal to skipping the tool.
A goal-matching hit is the base: paste its body, adapt names, filters, placement and call site, keep the proven structure. Reject only for doc-confirmed incompatibility, an explicit requirement or a named rule violation. Report one line: `Template: <name> — used as base` / `— used as base, fixed: <anti-pattern>` / `— rejected: <reason>` / «no fitting template».
{"tool": "templatesearch", "args": {"query": "Есть справочник с неограниченной иерархией. Нужно запросом вывести все группы и уровень иерархии каждой группы"}}
{"tool": "get_template", "args": {"template_id": "<id from the hit>"}}For memory-only work, load `content/rules/project-memory.md` directly. It owns provider selection, exact ordinary calls, recall scope, durable writes, bounded recovery and the `Memory:` line; this template workflow adds no memory prerequisites.
Repo: comol/ai_rules_1c
Implement tasks from an OpenSpec change. Use when the user wants to start implementing,…
Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to…
Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems,…
Propose a new OpenSpec change with all artifacts generated in one step. Use when the user…
Sync delta specs from an OpenSpec change to main specs. Use when the user wants to update…
Update an OpenSpec change by revising its existing planning artifacts and keeping them…