mcpField
C
create-install-scripts

create-install-scripts

github.com/aws-samplesCloud & DevOps5339 installsUpdated 9w ago
Repository

About create-install-scripts

A skill for generating deployment setup files for AWS CDK projects. It guides local interactive installation and GitLab CI/CD or AWS CodeBuild configuration.

Key features

  1. 01Generate interactive install.sh scripts
  2. 02Create GitLab CI/CD configuration
  3. 03Set up AWS CodeBuild buildspecs
  4. 04Configure deployment variables and secrets

Use cases

  1. 01Prepare a CDK project for local deployment
  2. 02Configure GitLab deployment pipelines
  3. 03Set up Docker image builds with CodeBuild

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aws-samples/sample-agent-skills-for-builders --skill create-install-scripts

After installing, type/create-install-scriptsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
references/
codebuild-setup.md
common-pitfalls.md
gitlab-ci-setup.md
install-script-guide.md
scripts/
setup-cicd.sh

Details

From the project README

Create Install Scripts

Generate installation scripts, GitLab CI configuration, and CodeBuild deployment setup for AWS CDK projects.

When to Apply

Reference this skill when:

  • Setting up deployment pipelines for CDK projects
  • Creating interactive install.sh scripts
  • Configuring GitLab CI/CD for AWS deployments
  • Setting up AWS CodeBuild for Docker image builds
  • Automating CDK deployment workflows

How It Works

  1. Analyze the CDK project structure
  2. Generate install.sh for interactive local deployments
  3. Generate .gitlab-ci.yml for GitLab CI/CD
  4. Generate buildspec.yml for AWS CodeBuild
  5. Configure deployment variables and secrets

Prerequisites

  • AWS CDK project initialized
  • GitLab repository (for CI/CD)
  • AWS credentials configured
  • Docker (if using CodeBuild for images)

Usage

# Run the setup script
./scripts/setup-cicd.sh

# Or trigger via agent
"Set up CI/CD for my CDK project"
"Create install scripts for deployment"

Generated Files

FilePurpose
install.shInteractive installation script
.gitlab-ci.ymlGitLab CI/CD pipeline
buildspec.ymlAWS CodeBuild specification

References

Comments

Markdown supported