Skip to content

Commit c9a3a31

Browse files
committed
opt
1 parent 59a6052 commit c9a3a31

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • .cursor/skills/update-ticloud-cli-command

.cursor/skills/update-ticloud-cli-command/SKILL.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ Must follow the workflow below:
3333

3434
### Generate SDK phase
3535

36-
Detect whether there are new or modified Swagger files under `/pkg/tidbcloud`. Skip this phase if none are found.
36+
Always prompt the user: "Do you need to add or update swagger? Please provide the swagger path if you need."
3737

38-
If detection fails, prompt the user: "Do you need to update swagger and generate SDK?" Skip this phase if the user does not need it.
38+
Skip this phase if user does not need.
3939

4040
Once in this phase, follow the guide in `references/sdk.md` to generate the SDK.
4141

42+
After SDK is generated, ask user to use go>=1.24 to run `make generate-mocks` manually!
43+
4244
### Plan phase
4345

4446
The agent needs to switch to plan mode if supported. This phase can be skipped if user already provide enough informations.

0 commit comments

Comments
 (0)