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: src/interchainjs/prompts/migrate-to-interchainjs.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,17 @@ Migrate the provided CosmJS TypeScript code snippet (available in the IDE contex
22
22
23
23
⚠️ IMPORTANT: This step MUST be completed before proceeding with the migration.
24
24
25
-
1.Analyze the code for required InterchainJS packages
25
+
1.Carefully analyze the code to identify ONLY the InterchainJS packages that are directly needed for the migration
26
26
2. Note the specified package manager for this project: `{{PACKAGE_MANAGER}}`.
27
-
3.**CRITICAL:** You **MUST** use the specified package manager (`{{PACKAGE_MANAGER}}`) to generate the installation commands. The command format MUST be exactly: `{{PACKAGE_MANAGER}} install/add <package_name>`. ❗ **DO NOT DEVIATE FROM THIS.**
28
-
4. Run the installation command(s).
29
-
30
-
Only after completing the package installation, proceed with the code migration.
27
+
3.**CRITICAL:**
28
+
- You **MUST** use the specified package manager (`{{PACKAGE_MANAGER}}`) to generate the installation commands
29
+
- The command format MUST be exactly: `{{PACKAGE_MANAGER}} install/add <package_name>`
30
+
- Install ONLY the packages that are actually used in the code being migrated
31
+
- DO NOT install packages that aren't directly referenced in the code
32
+
- ❗ **DO NOT DEVIATE FROM THIS.**
33
+
4. Run the installation command(s) for only the necessary packages.
34
+
35
+
Only after completing the targeted package installation, proceed with the code migration.
"Generates a prompt for an LLM to migrate CosmJS code to InterchainJS.",
145
+
"Migrate CosmJS code to InterchainJS. REQUIRES the project's package manager (npm, yarn, or pnpm) to be correctly specified for proper dependency installation commands.",
0 commit comments