Skip to content

Instantly share code, notes, and snippets.

@Kcrong
Last active January 30, 2026 05:37
Show Gist options
  • Select an option

  • Save Kcrong/3dd66eaeda6838e4e9e8650059b75908 to your computer and use it in GitHub Desktop.

Select an option

Save Kcrong/3dd66eaeda6838e4e9e8650059b75908 to your computer and use it in GitHub Desktop.
#!/bin/zsh
set -e
[[ -d .kiro/steering/aws-aidlc-rules ]] && echo "AI-DLC rules already installed." && exit 0
ORIG_DIR="$PWD"
git clone --filter=blob:none --sparse https://github.com/awslabs/aidlc-workflows.git /tmp/aidlc-$$
cd /tmp/aidlc-$$ && git sparse-checkout set aidlc-rules
mkdir -p "$ORIG_DIR/.kiro/steering"
cp -R aidlc-rules/aws-aidlc-rules "$ORIG_DIR/.kiro/steering/"
cp -R aidlc-rules/aws-aidlc-rule-details "$ORIG_DIR/.kiro/"
rm -rf /tmp/aidlc-$$
echo "AI-DLC rules installed successfully."
@Kcrong
Copy link
Author

Kcrong commented Jan 30, 2026

curl -sL https://gist.githubusercontent.com/Kcrong/3dd66eaeda6838e4e9e8650059b75908/raw | zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment