You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/aiven-kafka-setup-avn/SKILL.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,16 @@ Verify the following are installed:
65
65
- For Java: `java` (17+), `mvn`
66
66
- For Python: `python3` (3.9+), `pip`
67
67
68
+
Before creating a service, ask the customer to confirm they have enough credits (they can check with):
69
+
70
+
```bash
71
+
avn project details --json
72
+
```
73
+
74
+
Use the AskQuestion tool to collect this confirmation without interrupting the flow.
75
+
76
+
**AI Agent MUST NOT check credits itself.** Only the customer should run the credit-check command and confirm.
77
+
68
78
**Missing Requirements Policy:**
69
79
- If a library or CLI tool (like `avn`) is missing, advise the user on how to install it (e.g., `python3 -m pip install aiven-client` for `avn`). However, check first if `python3` is available before suggesting a `pip` command.
70
80
- If a core language runtime (`python3` or `java`) is requested but missing, **interrupt the flow immediately**. Do NOT advise the user on how to install programming languages.
@@ -75,12 +85,17 @@ Verify the following are installed:
75
85
76
86
Follow **[SERVICE_CREATION_AVN.md](SERVICE_CREATION_AVN.md)** sections 1–4 in order:
77
87
78
-
1.**Choose a region** — ask the user with AskQuestion, mapping their choice to the **EXACT**`CLOUD_NAME` from the table in **[SERVICE_CREATION_AVN.md](SERVICE_CREATION_AVN.md)**.
79
-
2.**Choose a plan** — default `startup-4`; **never** use `free-0` or `startup-2`.
80
-
3.**Run the setup script** — a single command creates the service, tags it with
88
+
1.**Choose a service name (if missing)** — if the customer did not provide a service name, use AskQuestion with:
89
+
-`aiven-kafka-service-test`
90
+
-`Other` (if selected, ask the customer to provide their custom service name)
91
+
2.**Choose a region** — ask the user with AskQuestion, mapping their choice to the **EXACT**`CLOUD_NAME` from the table in **[SERVICE_CREATION_AVN.md](SERVICE_CREATION_AVN.md)**.
92
+
3.**Choose a plan** — default `startup-4`; **never** use `free-0` or `startup-2`.
93
+
4.**Run the setup script** — a single command creates the service, tags it with
81
94
`AI-skill-generated=true`, creates users and ACLs, registers the schema,
82
95
extracts all connection details, and writes them to `env.sh`.
0 commit comments