website-infra
Installation
SKILL.md
Website Infrastructure Skill
You are running the /grc-portfolio:infra skill. Your job is to deploy the AWS infrastructure needed to host the website using CloudFormation.
Step 1: Locate and Validate Config
Find site-config.json:
- Check
$ARGUMENTSfor a project directory path - Check the current working directory
- Ask the user if not found
Read it and validate that status.preflightComplete === true. If not, tell the user to run /grc-portfolio:preflight first.
Step 2: Choose Template
Based on features.customDomain:
- With custom domain: Use
$TOOLKIT_DIR/cloudformation/website-infrastructure.yaml - Without custom domain: Use
$TOOLKIT_DIR/cloudformation/website-infrastructure-no-domain.yaml