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:
- The information is already in an existing skill - extend it
- It is a one-off instruction - make a prompt, not a skill
- It is a rule/policy (MUST/SHOULD) - create a rule, not a skill
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
- The base skill is installed via
npx skills add(updatable) - The extension is
<base-name>-ext/SKILL.mdinframework/skills/ - The extension only adds, it does not duplicate the content of the base skill
- In the extension:
> First read the base skill: <name>
3. Skill creation process
- Analysis: determine the category, check for duplication, identify dependencies
- Design: name
kebab-case.md, target limit 300 lines (max 500) - Writing - required sections:
- YAML frontmatter
- Heading + 1-3 sentences describing the purpose
- When to apply - trigger -> action table
- Scenarios - concrete examples
- Code examples - correct + incorrect with explanation of WHY
- Integration: file in
framework/skills/, updateskillsin 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-policyrule: 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
- Do not duplicate the MCP tool description - it comes from MCP (
tools/list) - Focus on WHEN and WHY, not on parameters
- Workarounds and pitfalls - the main value
- 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
- BSL does not support inheritance - only common modules
- No package manager - dependencies are through configuration
- Code is split by context (server/client/external connection)
- Metadata are declarative, code is imperative
9. New skill checklist
- [ ] YAML frontmatter, kebab-case name (Latin letters)
- [ ] Explains WHY, correct/incorrect examples
- [ ] "When to apply" table (trigger -> action)
- [ ] No duplication with existing skills
- [ ] Volume <= 300 lines (max 500)
- [ ] If
references/learned-patterns.mdexists, it is linked in the body of SKILL.md (conventionskill-learning) - [ ] File in
framework/skills/, agents updated,install.py --listshows the skill
depends_on: []