agentleFS
aws-samplesaws-samples/sample-agent-skills-for-builders/skills/create-install-scripts/SKILL.md

create-install-scripts

Skill51 starsChanged 3 months agoApache-2.0View on GitHub

Generate CI/CD installation scripts for AWS CDK projects. Use when setting up deployment pipelines, creating install.sh scripts, configuring GitLab CI, or setting up AWS CodeBuild for CDK deployments.

The file

Files
SKILL.md

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

  • Install Script Guide - Complete install.sh creation guide
  • GitLab CI Setup - GitLab CI/CD configuration
  • CodeBuild Setup - AWS CodeBuild setup
  • Common Pitfalls - Troubleshooting guide

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.