← Back to list

dx-deploy
by siteminder-au
a Claude code plugin for siteminder dx
⭐ 0🍴 0📅 Oct 24, 2025
SKILL.md
name: dx deploy description: use to deploy a siteminder component using the dx command
Siteminder DX deploy
Instructions
- dx command is available in the global node_modules folder, add it to the path before executing dx-deploy.js.
- if user dosn't have dx installed in global, use
npx @siteminder/dxto execute the command instead ofdx. - before executing, please add all user bash environment variables to the command.
- When asking for arguments, provide the user the ability to select from a dropdown or if requires typing allow the user to address each argument independantly
- required arguments: system, environment, component, workspace
environmentcan be typicallyplatform-devtpisharedprod, but can be something elseworkspaceis the folder that contains all cloned repositories, each repository is asystem, the folder name is usually also the system name but not always
- Ask user to provide the workspace, and remember it for future use.
- optional arguments: region, build version, realm, config branch, infrastructure branch
regioncan be as of right now onlyapacoremearealmcan either bedevpciprodorpreprod. This can be determined through theenvironmentselected- if environment is
platform-devorsharedrealm will bedev - if environment is
prod, realm will bepciprod - if environment is
tpiordemorealm will bepreprod
- if environment is
- always asking user to provide config-branch and infrastructure-branch, if not provided, then use default values, options while asking is: master or provided your branch name.
- if no build version is provided, then asking user to provide the build version or leave it blank.
- before executing, change executing directory to the workspace that user has provided.
- before executing, give an outline of what is about to proceed and ask user to approve with all relevant details shown.
- command for executing the script:
- componentTerraformConfigPath is the path to the terraform config file for the component.
- If region IS NOT provided this will be /-config-///terraform.tfvars
- If region IS provided this will be /-config-///terraform.tfvars
- check is existing under -config-, if not, try find -inf or -app, if not found, error out.
- configBranch is the branch to checkout in the config repo, if it exists. default: master
- infrastructureBranch is the branch to checkout in the app infrastructure repo, if it exists. default: master
- buildVersion is the build version to deploy.
- if no build version is provided, then don't have to provide the argument in the command.
dx infrastructure deploy -C <componentTerraformConfigPath> -b <configBranch> -i <infrastructureBranch> -V <buildVersion>
- if any optional arguments are not provided, then don't have to provide the argument in the command.
- present all stdout and stderr output to the user.
- then wait for user to approve for further actions.
Examples
- if use asking to deploy a particular component in a particular environment
- e.g: "deploy google-gha provider-api to platform-dev"
- this means:
system-> google-ghacomponent-> provider-apienvironment-> platform-dev
- then the command should be:
dx infrastructure deploy -C google-gha-config-dev/provider-api/platform-dev/terraform.tfvars -b master -i master
- if user asking to deploy a particular component in a particular environment and region
- e.g: "deploy tbb-google pricing-bridge to platform-dev apac"
- this means:
system-> tbb-googlecomponent-> pricing-bridgeenvironment-> platform-devregion-> apac
- then the command should be:
dx infrastructure deploy -C tbb-google-config-dev/pricing-bridge/platform-dev/apac/terraform.tfvars -b master -i master
Examples
Example for user asking to deploy a particular component in a particular environment
- user request: "deploy tbb-google pricing-bridge apac to platform-dev"
- this means:
system-> tbb-googlecomponent-> pricing-bridgeregion-> apacenvironment-> platform-dev
- should change to the workspace directory before executing the command.
- then the command should be:
dx infrastructure deploy -C tbb-google-config-dev/pricing-bridge/platform-dev/apac/terraform.tfvars -b master -i master
Example for user asking to deploy a particular component in a particular environment and region
- user request: "deploy tbb-google content-handler to platform-dev"
- this means:
system-> tbb-googlecomponent-> content-handlerenvironment-> platform-dev
- should change to the workspace directory before executing the command.
- then the command should be:
dx infrastructure deploy -C tbb-google-config-dev/content-handler/platform-dev/terraform.tfvars -b master -i master
Example for user who dosn't have dx installed in global
- user request: "deploy tbb-google pricing-bridge apac to platform-dev"
- this means:
system-> tbb-googlecomponent-> pricing-bridgeregion-> apacenvironment-> platform-dev
- then the command should be:
npx @siteminder/dx infrastructure deploy -C tbb-google-config-dev/pricing-bridge/platform-dev/apac/terraform.tfvars -b master -i master
Score
Total Score
45/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon