mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-07-27 16:57:44 +00:00
fix(gmgn-config): fix fixed guidance and verification messages in all languages
Add exact fixed messages for link guidance and verification results in zh-CN, zh-TW, and English. Instruct Agent to output them verbatim in the user's conversation language without paraphrasing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,8 +6,6 @@ metadata:
|
||||
cliHelp: "gmgn-cli config --help"
|
||||
---
|
||||
|
||||
**All output to the user must be in the same language as the current conversation.**
|
||||
|
||||
## When to use this skill
|
||||
|
||||
- Triggered automatically by other GMGN skills when `GMGN_API_KEY` is not found in `<cwd>/.env` or `~/.config/gmgn/.env`
|
||||
@@ -23,7 +21,13 @@ Run:
|
||||
gmgn-cli config
|
||||
```
|
||||
|
||||
The command outputs a pre-filled link. Show the link to the user and ask them to click it to create their GMGN API Key. Tell the user to send back the API Key once it is created.
|
||||
The command outputs a pre-filled link. Show the link to the user using **exactly** the following message in the user's conversation language — do not paraphrase:
|
||||
|
||||
- 中文:请点击下方链接创建你的 GMGN API Key,完成后将 Key 发给我,我来帮你完成配置:
|
||||
- 繁體:請點擊下方連結建立你的 GMGN API Key,完成後將 Key 發給我,我來幫你完成配置:
|
||||
- English: Please click the link below to create your GMGN API Key. Once created, send me the API Key and I will finish the configuration:
|
||||
|
||||
Then output the link on the next line.
|
||||
|
||||
### Step 2 — Write credentials to .env
|
||||
|
||||
@@ -41,15 +45,17 @@ Run the following command to verify that the API Key and local key pair match:
|
||||
gmgn-cli track follow-wallet --chain sol
|
||||
```
|
||||
|
||||
- **Success** — Tell the user (in the conversation language):
|
||||
Output the result to the user using **exactly** the following message in the user's conversation language — do not paraphrase:
|
||||
|
||||
- **Success**:
|
||||
- 中文:配置验证成功,可以开始使用了。
|
||||
- 繁體:配置驗證成功,可以開始使用了。
|
||||
- English: Configuration verified successfully. You are ready to use GMGN.
|
||||
|
||||
- **Failure** — Tell the user (in the conversation language):
|
||||
- 中文:配置验证失败:API Key 与本地密钥不匹配。\n请确认:1. API Key 是否填写正确;2. 创建 API Key 时,是否使用的是页面自动填入的公钥。
|
||||
- 繁體:配置驗證失敗:API Key 與本地密鑰不匹配。\n請確認:1. API Key 是否填寫正確;2. 創建 API Key 時,是否使用的是頁面自動填入的公鑰。
|
||||
- English: Configuration verification failed: API Key does not match the local key.\nPlease confirm: 1. Whether the API Key was entered correctly; 2. Whether the public key auto-filled on the page was used when creating the API Key.
|
||||
- **Failure**:
|
||||
- 中文:配置验证失败:API Key 与本地密钥不匹配。\n请确认:\n1. API Key 是否填写正确;\n2. 创建 API Key 时,是否使用的是页面自动填入的公钥。
|
||||
- 繁體:配置驗證失敗:API Key 與本地密鑰不匹配。\n請確認:\n1. API Key 是否填寫正確;\n2. 創建 API Key 時,是否使用的是頁面自動填入的公鑰。
|
||||
- English: Configuration verification failed: API Key does not match your local key pair.\nPlease confirm:\n1. Whether the API Key was entered correctly.\n2. Whether you used the public key that was pre-filled on the page when creating the API Key.
|
||||
|
||||
### Step 4 — Continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user