Skill creator ext

From SteelMorgan/1c-agent-based-dev-framework · View interactive version

Skill creator ext is an AI agent skill from the GitHub repository SteelMorgan/1c-agent-based-dev-framework. MUST load together with `skill-creator` in GBIG context. Adds framework skill categories (bsl-practices, tool-usage, spec-writing), BSL content patterns, and integration with 1c-ai-agent-cli.

How to use this skill

Skill file

Skill Creator — 1C BSL Framework Extension

Base skill: skill-creator (Anthropic).

First read the base skill - it contains the general principles for creating skills.

This file adds only the 1C-specific framework details.


1. When to create a new skill

| Trigger | Action |

|---------|----------|

| A new MCP tool appears, and the agent does not know WHEN to use it | Create a tool-usage/ skill |

| A recurring antipattern is found in BSL code | Create a bsl-practices/ skill |

| The agent needs to be trained on the specifics of a particular configuration | Create a project skill (in the project's IDE directory) |

| A standard methodology (SDD, TDD, review) is needed | Create spec-writing/ or a new subdirectory |

| An external skill needs to be adapted for the framework | Create a *-ext/ extension |

Do NOT create a skill if:


2. Framework skill categories

| Category | Directory | Purpose | Examples |

|-----------|---------|------------|---------|

| BSL practices | skills/bsl-practices/ | Coding standards and patterns | coding-standards, query-patterns |

| Tool-usage | skills/tool-usage/ | When and how to use MCP tools | syntax-checking, platform-data-core, test-execution |

| Spec-writing | skills/spec-writing/ | Documentation and specification standards | spec-standard |

| Extensions | skills/*-ext/ | Extensions of external skills (Anthropic, etc.) | agent-development-ext, skill-creator-ext |

Extensions (-ext) - convention

  1. The base skill is installed via npx skills add (updatable)
  2. The extension is <base-name>-ext/SKILL.md in framework/skills/
  3. The extension only adds, it does not duplicate the content of the base skill
  4. In the extension: > First read the base skill: <name>

3. Skill creation process

  1. Analysis: determine the category, check for duplication, identify dependencies
  2. Design: name kebab-case.md, target limit 300 lines (max 500)
  3. Writing - required sections:
  1. Integration: file in framework/skills/, update skills in agents, python tools/install.py --list

Lesson pointer (convention). If a skill has (or will have) references/learned-patterns.md, then the body of SKILL.md MUST include a pointer line, otherwise the agent will not see accumulated lessons while working with the skill:

**Accumulated lessons:** see references/learned-patterns.md (confirmed - as rules, candidate - as hints).

This is the paired side of the skill-learning-policy rule: the rule defines the trigger for reading, and here is the convention for formatting the link in the owning skill.


4. Tool-usage skills - replacement for tool-registry

Tool-usage skills are the only place where MCP tools are described in the framework.

Tool-usage skill structure

# [Название] — как использовать MCP-инструменты для [задачи]

## Когда применять

| Триггер | Действие |
|---------|----------|
| Пользователь просит проверить синтаксис | Вызвать `bsl.checkSyntax(uri)` |
| Агент написал/изменил .bsl код | Автоматически проверить синтаксис |

## MCP-инструменты

| Инструмент | Назначение | Workarounds |
|------------|------------|-------------|
| `bsl.checkSyntax` | Проверка синтаксиса | Если URI не найден — проверить encoding |

## Сценарии
[Конкретные цепочки вызовов]

Principles

  1. Do not duplicate the MCP tool description - it comes from MCP (tools/list)
  2. Focus on WHEN and WHY, not on parameters
  3. Workarounds and pitfalls - the main value
  4. Concrete scenarios - call chains for typical tasks

5. Skill formats

| Type | Location | Frontmatter | Installation |

|-----|-----------|-------------|-----------|

| Framework skill | framework/skills/ | name, description, depends_on | CLI through symlinks |

| IDE skill | .cursor/skills/ or .agents/skills/ | name, description | npx skills add |

| Extension (-ext) | framework/skills/<name>-ext/ | name: base-name-ext, description | CLI, part of the framework |


6. Content patterns

Trigger -> Action (tool-usage): table | Trigger | Action |

Correct / Incorrect (bsl-practices): two code blocks + explanation of WHY (the consequence of the violation)

Checklist workflow (methodologies): - [ ] Step N: ...

Conditional workflow (branching): Determine type -> branch A / branch B


7. Project-specific skills

Location: .cursor/skills/ or .claude/skills/ in the project root. Anthropic SKILL.md format.

Include: configuration architecture, local conventions, business rules, critical modules, integrations.

DO NOT include: general BSL standards (in framework skills), secrets, rapidly outdated information.


8. BSL specifics

Platform limitations


9. New skill checklist


depends_on: []


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.