search-before-write

Search existing code, patterns, and APIs before generating new 1C BSL code.

87|15|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill search-before-write
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-before-write
Source: https://github.com/SteelMorgan/1c-agent-based-dev-framework/tree/main/framework/skills/tool-usage/search-before-write
Command: npx skills add https://github.com/SteelMorgan/1c-agent-based-dev-framework --skill search-before-write

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that agents always perform a thorough search for existing solutions, patterns, or relevant information before generating new code, preventing duplication and leveraging existing project assets.

Core Features & Use Cases

  • Code Duplication Prevention: Avoids writing redundant code by first checking for existing implementations.
  • Leverages Existing Assets: Maximizes the use of existing project configurations, BSP (Built-in Software Platform), metadata, and platform APIs.
  • Use Case: When asked to create a new function, the agent will first use navigate_symbol to search the project, then search_ssl_functions for BSP functions, and search_syntax_reference for platform capabilities before writing any new code.

Quick Start

When asked to create a new function, first search for existing implementations using navigate_symbol.

Frequently Asked Questions about search-before-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent code duplication when generating new functions in 1C BSL?

The search-before-write approach checks existing project configurations, BSP functions, and platform APIs before generating code. This prevents duplication by ensuring the agent maximizes the use of existing assets rather than immediately creating new implementations.

What is the best way to search for existing BSP functions before writing code?

The best way to find existing BSP functions is using the search_ssl_functions tool during pre-coding investigation. This queries the Built-in Software Platform for available capabilities before you generate new code, ensuring comprehensive discovery of existing implementations.

How do I search 1C project metadata and syntax references before code generation?

You search 1C project metadata and syntax references using the navigate_symbol and search_syntax_reference tools. These enable comprehensive investigation of existing project configurations and platform capabilities before generating any new code.

Does this search-first code generation approach work with LSP and 1C BSL frameworks?

Yes, the search-first code generation approach integrates directly with LSP, metadata object listing, and 1C BSL development frameworks. It uses these tools to ensure comprehensive pre-coding investigation before writing new code.

Why should I search existing code patterns before creating new functions in 1C?

You should search existing code patterns before creating new functions in 1C to prevent duplication and leverage existing project assets. This search-first strategy maximizes the use of existing configurations, BSP, metadata, and platform APIs.