<< All versions
Skill v1.0.2
currentAutomated scan100/100ingvarconsulting/unica/integration-implement
1 files
──Details
PublishedAugust 11, 2026 at 07:23 AM
Content Hashsha256:233c23b2a33d376d...
Git SHA9d2cfeb3a576
Bump Typepatch
──Files
Files (1 file, 3.1 KB)
SKILL.md3.1 KBactive
SKILL.md · 57 lines · 3.1 KB
version: "1.0.2" name: integration-implement description: "Реализация интеграций 1С. Используй когда нужно создать HTTP-сервис, REST-клиент, webhook, web service, file exchange, очереди, контракты, обработку ошибок и безопасное хранение секретов."
Integration Implement
MCP routing
- Preferred path: use MCP
unicatoolsunica.project.map,unica.meta.info,unica.meta.add,unica.meta.edit,unica.code.search,unica.standards.search,unica.standards.explain, andunica.runtime.execute. - Use
unica.form.*,unica.role.*, orunica.cfe.*tools when the integration requires UI, rights, or extension changes. - Do not call internal metadata, analyzer, standards, runtime, or package adapters directly. They are hidden behind MCP
unica.
Workflow
- Define the contract first: endpoint, method, auth, payload schema, idempotency key, retries, timeout, and error response shape.
- Inspect existing integration modules and HTTP/web service metadata with
unica.code.searchandunica.meta.info. - Create or edit metadata through
unica.meta.add/unica.meta.edit; keep source-set and format selected byunica.project.map. - Put reusable logic in common modules; keep HTTP service handlers thin and explicit about request parsing, validation, and response codes.
- Handle secrets outside versioned modules and configs. Do not log tokens, passwords, full request bodies with personal data, or raw auth headers.
- Verify syntax/tests with
unica.runtime.execute; for live HTTP behavior use theautonomous-serverskill or a user-provided debug URL.
Contract detail
- Read
../../references/platform/integration-contracts.mdbefore changing HTTP/SOAP/OData/JSON/XML/file-exchange behavior. - Decide state model explicitly: stateless call, authenticated session, queue, exchange message, cursor, or file batch.
- For OData, JSON, and XML, preserve field names, types, date/number semantics, encoding, null handling, and backward compatibility.
- Define auth and secret handling before code: token refresh, certificate or OpenID context, storage location, masking, and retry behavior.
- Make retries idempotent through external ids, message ids, or duplicate checks. Do not rely on remote retries being harmless.
- Stabilize error semantics: validation, auth, duplicate, temporary remote failure, permanent remote failure, and internal failure must be distinguishable.
Review checklist
- Contract and versioning are explicit.
- Input validation rejects malformed data before business writes.
- Retries are idempotent or guarded by external ids.
- Error responses are stable and do not leak internals.
- Logs use structured logging fields and contain correlation ids but not secrets.
- Tests cover success, validation failure, duplicate/retry, and remote failure.
MCP example
json
{"jsonrpc": "2.0","method": "tools/call","params": {"name": "unica.meta.info","arguments": {"sourceSet": "main","metadataPath": "HTTPService.ExternalAPI"}}}