Dataphin project creation skill
You can use natural language prompts to direct code agents, such as Qoder and CodeX, to compile a requirements checklist for creating a Dataphin project and perform preliminary checks. These checks include checking for duplicate projects, running dependency checks, and verifying whitelists. This document describes the feature, its prerequisites, usage examples, and expected results. An appendix provides a reference list of the required input information.
Feature overview
A Dataphin project is the container and starting point for your data development work, containing subsequent configurations for compute sources, data sources, members, tasks, scheduling, releases, and permissions. This feature helps you prepare for project creation by performing pre-checks. You can use natural language prompts for two main tasks: generating a checklist of required parameters, such as project name, English name, mode, data domain, compute source, resource group, members, and whitelist, and running preliminary checks using public query commands, such as checking for duplicates by name, querying the project list with pagination, retrieving project details by ID, performing a dependency check before deletion or migration, and querying or replacing a project's whitelist.
Use cases:
-
Before creating a project, check if a project with the same English name already exists to avoid duplicates.
-
Compile a parameter checklist for creating a Basic or Dev-Prod Separation project.
-
Before deleting or migrating a project, check for dependencies on objects such as tasks, models, or assets.
-
Query or replace a project's IP whitelist or access whitelist.
Limitation: The current public Dataphin CLI does not provide commands to create, update, or delete project entities. Therefore, this feature does not actually create projects. Instead, it compiles a requirements checklist for project creation and executes publicly available commands for queries, dependency checks, and whitelist management. To formally create a project, you must either wait for the public API to become available or use a separate, authorized process.
Prerequisites
-
Your account has the necessary permissions for project queries, dependency checks, and whitelist management.
-
Have the relevant project information ready, such as the English name, display name, project mode, data domain, compute source, and scheduling resource group. This information is used to check for duplicates and to compile the creation checklist.
Usage examples
You can describe your requirements to the agent using natural language. The following are example prompts you can copy and use directly:
-
Help me confirm if this project English name already exists in the tenant.
-
I want to create a Dataphin project. Help me compile a checklist of the required parameters.
-
Help me check if this project has any dependencies before I delete it.
-
Look up the whitelist for this project and add a specific IP range to it.
Interaction steps:
-
After you submit a prompt, the agent confirms the target tenant and the project's English name or project ID.
-
The agent typically first checks for duplicate names to determine if the project already exists, or queries the project list with pagination to help you select the target project.
-
If the request involves project creation, the agent explains that the current public CLI does not support direct project creation. It then compiles the project creation requirements checklist (including project name, mode, data domain, compute source, resource group, members, and whitelist) instead of attempting to create the project.
-
Before deletion or migration, the agent typically runs a dependency check. A whitelist query is a read-only operation. To replace a whitelist, which is a write operation, the agent first reads the existing whitelist and then confirms the old and new values, the affected project, and the rollback plan with you before executing the change.
Execution results
When the operation is complete, it provides the following results:
-
Returned content: The results of a duplicate project check, list query, or details query; the results of a dependency check; whitelist query results; or a project creation requirements checklist.
-
Completion status: Query and dependency check commands are complete when a success status is returned. This feature does not create projects. A whitelist replacement is complete when the whitelist update succeeds.
-
Viewing and verification: You can verify the query results in the Dataphin project list. To formally create the project, you must use the compiled requirements checklist and follow a separate, authorized process.
A successful command-line response only indicates that the request has been accepted. Always use the Dataphin UI as the source of truth for the final result.
Input parameters
The following table lists information that may be required for project pre-checks. In practice, the agent automatically identifies the necessary information from your prompts and will ask for any missing details. You do not need to provide items marked as "No" in the "Required" column, as the system generates them.
|
Parameter |
Required |
Description |
Example |
|
tenant ID |
Yes |
The 19-digit ID of the target Dataphin tenant. |
1234567890123456789 |
|
project English name |
Conditionally required |
Used to check for duplicate names and locate the project. |
dummy_practice_dev |
|
project ID |
Conditionally required |
Required when querying project details, performing a dependency check, or managing the whitelist. |
— |
|
project display name |
Conditionally required |
The project name displayed in the UI. Used for the creation requirements checklist. |
Retail_Practice_Dev |
|
project mode |
Conditionally required |
|
DEV_PROD |
|
data domain |
Conditionally required |
The ID of the data domain to which the project belongs. Used for the creation requirements checklist. |
— |
|
compute source |
Conditionally required |
The ID of the compute source bound to the project's execution engine. Used for the creation requirements checklist. |
— |
|
scheduling resource group |
Conditionally required |
The ID of the scheduling resource group used by the project. Used for the creation requirements checklist. |
— |
|
Members and roles |
No |
Project members and their roles. We recommend that you manage members by using dedicated member management features. |
project administrator, developer, guest |
|
whitelist |
No |
The project's IP or access whitelist. Updating a whitelist requires reading and merging the existing values. |
List of IP addresses or CIDR blocks |