Aws docusaurus
Skill yaccp/claude-plugin-aws-docusaurus/skills/aws-docusaurus
Deploy static sites to AWS with S3, CloudFront, and Lambda@Edge. Claude Code plugin.From the repository description
npx -y skills add yaccp/claude-plugin-aws-docusaurus --skill aws-docusaurusAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, as published. Nobody here has run it
Aws Docusaurus
Deploy and manage static sites on AWS infrastructure (S3, CloudFront, ACM, Route53).
IMPORTANT: Environment Discovery
ALWAYS start by reading the configuration:
cat .claude/yaccp/aws-docusaurus/config.json 2>/dev/null || echo '{}'
This determines the current state and available options.
Naming Conventions
S3 Bucket Naming (OBLIGATOIRE)
Les buckets S3 doivent suivre cette convention :
${SITE_NAME}-${AWS_ACCOUNT_ID}-${AWS_REGION}
Exemple : my-docs-123456789012-eu-west-3
AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
S3_BUCKET="${SITE_NAME}-${AWS_ACCOUNT_ID}-${AWS_REGION}"
ACM Certificate Reuse (RECOMMANDÉ)
Avant de créer un nouveau certificat, vérifier les certificats existants :
# Lister les certificats dans us-east-1 (requis pour CloudFront)
aws acm list-certificates --region us-east-1 --output table
# Chercher un wildcard pour le domaine parent
PARENT_DOMAIN=$(echo $DOMAIN | sed 's/^[^.]*\.//')
aws acm list-certificates --region us-east-1 \
--query "CertificateSummaryList[?DomainName=='*.${PARENT_DOMAIN}'].CertificateArn" \
--output text
Règles :
*.example.comcouvre tous les sous-domaines- Réutiliser évite les limites ACM (2500 certs/compte)
- Proposer à l'utilisateur le choix : réutiliser ou créer
State Machine
Based on config.json content:
| State | Condition | Action |
|---|---|---|
NO_CONFIG | File missing or empty | → First time setup |
CONFIGURED | Valid config exists | → Show main menu |
State: NO_CONFIG
Use AskUserQuestion:
- "Commencer la configuration" → Collect required parameters
- "Voir la documentation" → Show plugin help
Configuration Steps
- Collecter
SITE_NAME,DOMAIN,AWS_REGION - Récupérer
AWS_ACCOUNT_IDautomatiquement - Construire
S3_BUCKETavec la convention - Vérifier les certificats ACM existants
- Proposer réutilisation ou création
After configuration, save to:
mkdir -p .claude/yaccp/aws-docusaurus
# Write config.json with collected parameters
State: CONFIGURED
Use AskUserQuestion:
- "▶️ Exécuter" → Run main action
- "⚙️ Configuration" → Modify settings
- "📊 Statut" → Show current state
- "❓ Aide" → Documentation
After Each Action
Always offer:
- "Retour au menu" → Back to main menu
- "Quitter" → End session