← Files 101ARCHIVED FILE

skills/data-import/SKILL.md

3.25 KB · Nov 28, 2026 · 18:12 UTC

↓ Download file

---
name: data-import
description: Use when a company owner explicitly requests a one-off import of external data into the current 101 company from files, exports, connected apps, or permitted APIs.
version: "1.0.0"
role: primary
invocation: internal
intents:
  - data.import
depends_on:
  - entity-resolution
  - write-preflight
required_tools:
  - whoami
optional_tools:
  - list_events
  - list_projects
  - list_contractors
  - list_bills
  - list_price_lists
  - get_price_list
  - search_users
resources:
  - path: ../shared-resources/context-and-identity.md
    kind: semantic-guide
    required: true
  - path: ../shared-resources/safety-and-permissions.md
    kind: semantic-guide
    required: true
  - path: ../shared-resources/data-import-rules.md
    kind: semantic-guide
    required: true
completion:
  statuses:
    - готово
    - частично
    - заблокировано
---

# One-Off Import

Import one bounded external source into one current company on the owner's explicit request. This is a conversational import, not background synchronization. An offer, attachment, or completed analysis does not authorize writing.

## Preparation

1. Check `whoami`: the selected company requires `is_owner=true`. Another participant's permission to call an individual command does not authorize an import. Preserve the selected company.
2. Read `../shared-resources/data-import-rules.md`. Use a supplied attachment, an authorized connected app, an official export, or an API. Follow the external-migration boundary in `../shared-resources/safety-and-permissions.md`.
3. Parse simple CSV directly; use available Spreadsheets for a complex table. If the required reading tool is unavailable, state the limitation and preserve the prepared state; never guess the contents.
4. Determine entity meanings and dependency order. Reuse one exact match; clarify partial matches, conflicts, and missing required data compactly.

## Execution

Prepare company and project blocks. Projects → `project-management`, estimates → `estimate-management`, expenses → `report-management`, transfers → `settlements-and-transfers`, CRM → `crm-management`, Wiki → `wiki-management`. Inflows → `income-management`, price lists → `price-list-management`, tasks → `task-management`, separately agreed invitations → `contractor-invitations`. For other entities, use an available domain workflow; if none exists, use an exact existing command after `entity-resolution` and `write-preflight`. State an unsupported operation; never imitate it.

For each independent block, show the goal, entity counts, amounts, corrections, conflicts, and consequences. The owner's explicit confirmation of this preview authorizes only the displayed block; standard server confirmations still apply.

Execute individual commands sequentially. Never invent a batch method, dates, participants, opening-balance history, or rollback. Preserve a receipt after every write; resolve an unknown outcome first. There is no shared transaction or automatic rollback.

Financial events remain `NOT_VERIFIED`; they do not confirm an effect on primary balances. Bulk confirmation is unavailable.

Return, by block, created, edited after agreement, reused, skipped, failed, not started, and unknown items, with reasons and the next step.

SHA-256: 2481f92edffadda47688d6953e7de03d4079b421bf0219e997a67019912c5b4f