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
- 01Generate interactive install.sh scripts
- 02Create GitLab CI/CD configuration
- 03Set up AWS CodeBuild buildspecs
- 04Configure deployment variables and secrets
Use cases
- 01Prepare a CDK project for local deployment
- 02Configure GitLab deployment pipelines
- 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-scriptsAfter installing, type/create-install-scriptsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdreferences/codebuild-setup.mdcommon-pitfalls.mdgitlab-ci-setup.mdinstall-script-guide.mdscripts/setup-cicd.shDetails
From the project READMECreate 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
- Analyze the CDK project structure
- Generate
install.shfor interactive local deployments - Generate
.gitlab-ci.ymlfor GitLab CI/CD - Generate
buildspec.ymlfor AWS CodeBuild - 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
| File | Purpose |
|---|---|
install.sh | Interactive installation script |
.gitlab-ci.yml | GitLab CI/CD pipeline |
buildspec.yml | AWS CodeBuild specification |
References
- Install Script Guide - Complete install.sh creation guide
- GitLab CI Setup - GitLab CI/CD configuration
- CodeBuild Setup - AWS CodeBuild setup
- Common Pitfalls - Troubleshooting guide
Comments
Markdown supported