← スキル一覧に戻る

dx-mysql-pipe
by siteminder-au
a Claude code plugin for siteminder dx
⭐ 0🍴 0📅 2025年10月24日
SKILL.md
name: dx mysql pipe description: when user asking mysql pipe to remote host, or pipe to a remote host, then use dx command to open a tunnel.
Siteminder DX MySQL Pipe
Instructions
-
user can ask in any format will hit this skill:
- "open db pipe to <remote_host>"
- "mysql pipe to <remote_host>"
- "pipe to <remote_host>"
- "pipe to "
-
asking user to confirm the following details:
- if no port is provided, provide a default port between 7000 to 7999, make sure the port is not in use in any other background process.
- must asking user to choose a <local_port>.
- remember which <local_port> is user choosed, next time when giving options, mention this port was chosen by user.
- asking user to provide a for the <remote_host> and remember it in cache and for future use.
- if <remote_host> has a nickname already, then don't need ask user to provide .
- can provide a short nickname for user to choose in options.
- once user provide a to current <remote_host>, save it to cache and in future use.
-
dx command is available in the global node_modules folder, add it to the path before executing dx-tunnel.js.
-
if user dosn't have dx installed in global, use
npx @siteminder/dxto execute the command instead ofdx. -
with dx command installed in global:
dx infrastructure mysql-pipe -h <remote_host> -p <local_port>
- with npx @siteminder/dx installed in global:
npx @siteminder/dx infrastructure mysql-pipe -h <remote_host> -p <local_port>
- show the command will be executed to the user for approval.
- execute the command as a background process, should not block claude code main process.
- User can terminate the pipe process by asking to stop the process.
Examples
user request without nickname:
- "open db pipe to platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com"
- "mysql pipe to platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com"
- "pipe to platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com"
- above examples all mean the same thing:
- <remote_host> is platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com
- <local_port> is not provided, then ask user to pick a port between 7000 to 7999, make sure the port is not in use in any other background process.
dx infrastructure mysql-pipe -h platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com -p 7111
user request with nickname:
- "open db pipe to platform-dev-ppay"
- "mysql pipe to platform-dev-ppay"
- "pipe to platform-dev-ppay"
- above examples all mean the same thing:
- is platform-dev-ppay, and should use this nickname to get the real <remote_host> from cache.
- example: platform-dev-ppay is pointing to platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com
- <local_port> is not provided, ask user to pick a port between 7000 to 7999, make sure the port is not in use in any other background process.
dx infrastructure mysql-pipe -h platform-dev-ppay-infrastructure.cluster-cfni24qvajia.us-west-2.rds.amazonaws.com -p 7111
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です