一键导入
research-write-api-of-source
Research and document write/create APIs of a source system to enable write-back testing functionality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Research and document write/create APIs of a source system to enable write-back testing functionality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate public-facing documentation for a connector targeted at end users.
Set up authentication for a source connector — generate connector spec, collect credentials interactively, and validate auth.
Run the authenticate script to collect credentials from the user via a browser form.
Guide the user through creating or updating a pipeline for a source connector — read the docs, build a pipeline spec interactively, and run create_pipeline or update_pipeline.
Generate the connector spec YAML file defining connection parameters and external options allowlist.
Single step only: audit a completed connector — implementation, testing & simulator validation, artifacts, security smells, cross-doc consistency — and produce a scored markdown review report. Read-mostly; does not modify connector code.
| name | research-write-api-of-source |
| description | Research and document write/create APIs of a source system to enable write-back testing functionality. |
| disable-model-invocation | true |
Research and document write/create API endpoints for each table supported by the connector. These write APIs are used only for generating test data — they are not part of the connector's read functionality.
{source_name}_api_doc.md (for auth details, base URLs, and the list of supported tables)src/databricks/labs/community_connector/sources/{source_name}/ (for table names and field mappings)Append a ## Write-Back APIs (For Testing Only) section to the existing src/databricks/labs/community_connector/sources/{source_name}/{source_name}_api_doc.md.
## Write-Back APIs (For Testing Only)
**These APIs are documented solely for test data generation. They are NOT part of the connector's read functionality.**
### Write Endpoints
#### Create [Object Type]
- **Method**: POST/PUT
- **Endpoint**: `https://api.example.com/v1/objects`
- **Authentication**: Same as read operations / Additional scopes needed
- **Required Fields**: List all required fields for creating a minimal valid record
- **Example Payload**:
```json
{
"field1": "value1",
"field2": "value2"
}
```
- **Response**: What the API returns (ID, created timestamp, etc.)
### Field Name Transformations
Document any differences between write and read field names:
| Write Field Name | Read Field Name | Notes |
|------------------|-----------------|-------|
| `email` | `properties_email` | API adds `properties_` prefix on read |
| `createdAt` | `created_at` | Different casing convention |
If no transformations exist, state: "Field names are consistent between write and read operations."
### Write-Specific Constraints
- **Rate Limits**: Write-specific rate limits (if different from read)
- **Eventual Consistency**: Delays between write and read visibility
- **Unique Constraints**: Fields that must be unique (to guide test data generation)
### Research Log for Write APIs
| Source Type | URL | Accessed (UTC) | Confidence | What it confirmed |
|-------------|-----|----------------|------------|-------------------|
| Official Docs | ... | YYYY-MM-DD | High | Write endpoints and payload structure |
| Reference Impl | ... | YYYY-MM-DD | Med | Field transformations |