[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H3ZT7F4JFYBE716ZHS8JB2":3,"skill-same:01M6H3ZT7F4JFYBE716ZHS8JB2":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":68},"01M6H3ZT7F4JFYBE716ZHS8JB2","auto-alarms",null,"Create CloudWatch alarms and SNS subscription for AI automation monitoring. Creates 4 alarms (DLQ depth, WI-Router errors, PR-Router errors, throttles) and subscribes an email address to alerts. Reads config from .ai\u002Fautomation\u002Finfra.json.","easingthemes\u002Fdx-aem-flow","easingthemes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2750284?v=4","01M6H3XYGJY8QCX9ES36P2WF4H","Dragan Filipović","01M6H3XYMN1XVSGKN7N79SW3RH",7,"MIT","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-automation\u002Fskills\u002Fauto-alarms\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"auto alarms","auto","up","for","ai automation","true","errors","sns","you","dlq","infra","automation","example","use","configure","SET","pipeline","email","monitoring","pr","2026-11-10 10:12:30",false,"---\nname: auto-alarms\ndescription: Create CloudWatch alarms and SNS subscription for AI automation monitoring. Creates 4 alarms (DLQ depth, WI-Router errors, PR-Router errors, throttles) and subscribes an email address to alerts. Reads config from .ai\u002Fautomation\u002Finfra.json.\nwhen_to_use: \"Use when setting up CloudWatch monitoring for AI automation, when the user says 'create alarms', 'set up monitoring', 'configure alerts', or 'add SNS notifications' for the automation pipeline.\"\nargument-hint: \"[--email you@example.com]\"\ndisable-model-invocation: true\n---\n\nYou create CloudWatch alarms and subscribe an email address to alerts. Wraps `lambda\u002Fcloudwatch\u002Fsetup-alarms.sh` with audit logging.\n\n## 0. Prerequisites\n\nRead `.ai\u002Fautomation\u002Finfra.json`. Check `automationProfile`:\n- If `consumer` (or legacy `pr-only`\u002F`pr-delegation`): \"This repo uses the consumer profile — CloudWatch alarms are managed by the hub project. Do NOT configure alarms from this repo.\" **STOP.**\n\n```bash\nsource .ai\u002Flib\u002Faudit.sh\nexport AUDIT_LOG_PREFIX=infra\n```\n\nConfirm monitoring config from infra.json:\n- `monitoring.snsTopic.name` — SNS topic name (`\u003Cprefix>-alerts`)\n- `region`\n\n## 1. Collect Email\n\nIf user passed `--email \u003Caddress>`, use it. Otherwise ask:\n\n> **Alert email address?** CloudWatch alarms will notify this email for DLQ depth, Lambda errors, and throttles. You'll need to confirm the subscription in your email.\n\n## 2. Run Setup Script\n\n```bash\ncd .ai\u002Fautomation\nbash lambda\u002Fcloudwatch\u002Fsetup-alarms.sh --email \"\u003Cemail>\"\n```\n\nThe script:\n1. Creates the SNS topic `\u003Cprefix>-alerts` (idempotent)\n2. Subscribes the email to the topic\n3. Creates 4 CloudWatch alarms (reads definitions from `lambda\u002Fcloudwatch\u002Falarms.json`, prefixes with resource prefix from `infra.json`)\n4. Links each alarm to the SNS topic\n\nReport the script's output.\n\n## 3. Update infra.json\n\nAfter the script runs, the SNS topic ARN is returned. Update `infra.json`:\n- `monitoring.snsTopic.arn` → the created\u002Fretrieved ARN\n\n## 4. Summary Report\n\n```markdown\n## CloudWatch Monitoring Configured\n\n**SNS topic:** \u003Cprefix>-alerts\n**Alert email:** \u003Cemail> (confirm subscription in your inbox)\n\n| Alarm | Trigger | Severity |\n|-------|---------|----------|\n| \u003Cprefix>-dlq-depth | DLQ > 5 messages | Warning |\n| \u003Cprefix>-lambda-errors-wi-router | WI-Router Lambda errors > 3\u002Fhour | Critical |\n| \u003Cprefix>-lambda-errors-pr-router | PR-Router Lambda errors > 3\u002Fhour | Critical |\n| \u003Cprefix>-lambda-throttles | Any Lambda throttled | Warning |\n\n**infra.json** updated with SNS ARN.\n**Audit log:** `.ai\u002Flogs\u002Finfra.\u003Cweek>.jsonl`\n\n### Next step\n`\u002Fauto-test --dryRun` — Verify end-to-end (local dry run)\n\n### Operational commands\n- `\u002Fauto-status` — Current DLQ depth, token budget, rate limits\n- `\u002Fauto-doctor` — Full health check\n- See `docs\u002Frunbook.md` for alert response procedures\n```\n\n## Success Criteria\n\n- [ ] CloudWatch alarms created for all 4 metrics (DLQ depth, WI-Router errors, PR-Router errors, throttles)\n- [ ] SNS email subscription created — confirmation email sent to the provided address\n- [ ] `infra.json` updated with SNS topic ARN\n\n## Examples\n\n1. `\u002Fauto-alarms` — Reads `infra.json` for resource prefix and SNS topic ARN. Creates 4 CloudWatch alarms: DLQ depth > 0, WI-Router errors > 5\u002Fmin, PR-Router errors > 5\u002Fmin, Lambda throttles > 0. Subscribes the configured email to the SNS topic. Reminds user to confirm the SNS subscription via email.\n\n2. `\u002Fauto-alarms team@example.com` — Creates all 4 alarms and subscribes `team@example.com` to the SNS alert topic. Reports each alarm name and threshold. Prints reminder to check inbox for subscription confirmation.\n\n3. `\u002Fauto-alarms` (re-run, alarms exist) — `put-metric-alarm` is idempotent — overwrites existing alarms with current thresholds. SNS `create-topic` returns the existing topic ARN. `subscribe` is also idempotent if the email is already subscribed. Reports all alarms as configured.\n\n## Troubleshooting\n\n- **\"SNS subscription confirmation not received\"**\n  **Cause:** The confirmation email may have gone to spam, or the email address was incorrect.\n  **Fix:** Check the spam folder. If not found, re-run `\u002Fauto-alarms` with the correct email — SNS will resend the confirmation. The subscription won't be active until confirmed.\n\n- **Alarms not triggering despite errors**\n  **Cause:** The alarm metric namespace or dimensions don't match the Lambda function names.\n  **Fix:** Verify that the function names in `infra.json` match the actual Lambda function names in AWS. The alarms use `FunctionName` dimension to filter metrics.\n\n- **\"Access denied\" when creating alarms**\n  **Cause:** The AWS credentials lack CloudWatch or SNS permissions.\n  **Fix:** Ensure the IAM user has `cloudwatch:PutMetricAlarm`, `sns:CreateTopic`, and `sns:Subscribe` permissions.\n\n## Rules\n\n- **Always source audit.sh first** — setup-alarms.sh uses `aws_resource` wrapper\n- **Email confirmation required** — remind user to check inbox for SNS subscription confirmation\n- **Idempotent** — SNS create-topic is idempotent; alarms are overwritten if they exist (put-metric-alarm is idempotent)\n","You create CloudWatch alarms and subscribe an email address to alerts. Wraps `lambda\u002Fcloudwatch\u002Fsetup-alarms.sh` with audit logging.\n\n## 0. Prerequisites\n\nRead `.ai\u002Fautomation\u002Finfra.json`. Check `automationProfile`:\n- If `consumer` (or legacy `pr-only`\u002F`pr-delegation`): \"This repo uses the consumer profile — CloudWatch alarms are managed by the hub project. Do NOT configure alarms from this repo.\" **STOP.**\n\n```bash\nsource .ai\u002Flib\u002Faudit.sh\nexport AUDIT_LOG_PREFIX=infra\n```\n\nConfirm monitoring config from infra.json:\n- `monitoring.snsTopic.name` — SNS topic name (`\u003Cprefix>-alerts`)\n- `region`\n\n## 1. Collect Email\n\nIf user passed `--email \u003Caddress>`, use it. Otherwise ask:\n\n> **Alert email address?** CloudWatch alarms will notify this email for DLQ depth, Lambda errors, and throttles. You'll need to confirm the subscription in your email.\n\n## 2. Run Setup Script\n\n```bash\ncd .ai\u002Fautomation\nbash lambda\u002Fcloudwatch\u002Fsetup-alarms.sh --email \"\u003Cemail>\"\n```\n\nThe script:\n1. Creates the SNS topic `\u003Cprefix>-alerts` (idempotent)\n2. Subscribes the email to the topic\n3. Creates 4 CloudWatch alarms (reads definitions from `lambda\u002Fcloudwatch\u002Falarms.json`, prefixes with resource prefix from `infra.json`)\n4. Links each alarm to the SNS topic\n\nReport the script's output.\n\n## 3. Update infra.json\n\nAfter the script runs, the SNS topic ARN is returned. Update `infra.json`:\n- `monitoring.snsTopic.arn` → the created\u002Fretrieved ARN\n\n## 4. Summary Report\n\n```markdown\n## CloudWatch Monitoring Configured\n\n**SNS topic:** \u003Cprefix>-alerts\n**Alert email:** \u003Cemail> (confirm subscription in your inbox)\n\n| Alarm | Trigger | Severity |\n|-------|---------|----------|\n| \u003Cprefix>-dlq-depth | DLQ > 5 messages | Warning |\n| \u003Cprefix>-lambda-errors-wi-router | WI-Router Lambda errors > 3\u002Fhour | Critical |\n| \u003Cprefix>-lambda-errors-pr-router | PR-Router Lambda errors > 3\u002Fhour | Critical |\n| \u003Cprefix>-lambda-throttles | Any Lambda throttled | Warning |\n\n**infra.json** updated with SNS ARN.\n**Audit log:** `.ai\u002Flogs\u002Finfra.\u003Cweek>.jsonl`\n\n### Next step\n`\u002Fauto-test --dryRun` — Verify end-to-end (local dry run)\n\n### Operational commands\n- `\u002Fauto-status` — Current DLQ depth, token budget, rate limits\n- `\u002Fauto-doctor` — Full health check\n- See `docs\u002Frunbook.md` for alert response procedures\n```\n\n## Success Criteria\n\n- [ ] CloudWatch alarms created for all 4 metrics (DLQ depth, WI-Router errors, PR-Router errors, throttles)\n- [ ] SNS email subscription created — confirmation email sent to the provided address\n- [ ] `infra.json` updated with SNS topic ARN\n\n## Examples\n\n1. `\u002Fauto-alarms` — Reads `infra.json` for resource prefix and SNS topic ARN. Creates 4 CloudWatch alarms: DLQ depth > 0, WI-Router errors > 5\u002Fmin, PR-Router errors > 5\u002Fmin, Lambda throttles > 0. Subscribes the configured email to the SNS topic. Reminds user to confirm the SNS subscription via email.\n\n2. `\u002Fauto-alarms team@example.com` — Creates all 4 alarms and subscribes `team@example.com` to the SNS alert topic. Reports each alarm name and threshold. Prints reminder to check inbox for subscription confirmation.\n\n3. `\u002Fauto-alarms` (re-run, alarms exist) — `put-metric-alarm` is idempotent — overwrites existing alarms with current thresholds. SNS `create-topic` returns the existing topic ARN. `subscribe` is also idempotent if the email is already subscribed. Reports all alarms as configured.\n\n## Troubleshooting\n\n- **\"SNS subscription confirmation not received\"**\n  **Cause:** The confirmation email may have gone to spam, or the email address was incorrect.\n  **Fix:** Check the spam folder. If not found, re-run `\u002Fauto-alarms` with the correct email — SNS will resend the confirmation. The subscription won't be active until confirmed.\n\n- **Alarms not triggering despite errors**\n  **Cause:** The alarm metric namespace or dimensions don't match the Lambda function names.\n  **Fix:** Verify that the function names in `infra.json` match the actual Lambda function names in AWS. The alarms use `FunctionName` dimension to filter metrics.\n\n- **\"Access denied\" when creating alarms**\n  **Cause:** The AWS credentials lack CloudWatch or SNS permissions.\n  **Fix:** Ensure the IAM user has `cloudwatch:PutMetricAlarm`, `sns:CreateTopic`, and `sns:Subscribe` permissions.\n\n## Rules\n\n- **Always source audit.sh first** — setup-alarms.sh uses `aws_resource` wrapper\n- **Email confirmation required** — remind user to check inbox for SNS subscription confirmation\n- **Idempotent** — SNS create-topic is idempotent; alarms are overwritten if they exist (put-metric-alarm is idempotent)\n",{"name":5,"description":7,"when_to_use":44,"argument-hint":45,"disable-model-invocation":46},"Use when setting up CloudWatch monitoring for AI automation, when the user says 'create alarms', 'set up monitoring', 'configure alerts', or 'add SNS notifications' for the automation pipeline.","[--email you@example.com]",true,"main","a99cabc3f459fbeaa42b13a1604db1bccb6a364b","plugins\u002Fdx-automation\u002Fskills\u002Fauto-alarms",3,"https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow","https:\u002F\u002Fgithub.com\u002Feasingthemes","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fdraganfilipovic\u002F","Agentic SDLC platform in production. I build agent-ready codebases. AEM MCP Server author.","2026-11-11 09:59:48",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":46},[58,61,64],{"tool":59,"command":60},"npx","npx skills add easingthemes\u002Fdx-aem-flow --skill auto-alarms",{"tool":62,"command":63},"bunx","bunx skills add easingthemes\u002Fdx-aem-flow --skill auto-alarms",{"tool":65,"command":66},"pnpm","pnpm dlx skills add easingthemes\u002Fdx-aem-flow --skill auto-alarms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-automation\u002Fskills\u002Fauto-alarms\u002FSKILL.md",[],[70,94,113,132,147,162],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":39},"01M6H48W19F46A7B7TSSQAMYRW","dx-hub-status","Show hub dispatch status — which repos are running, done, blocked or failed. Use for 'hub status', 'what's running'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-status\u002FSKILL.md",[],[77,78,79,80,81,82,83,22,84,85,32,86,87,88,89,90,91,92,93],"dx","dx hub status","hub","status","hub status","which","show","ticket","clean","done","Bash","id","dispatch","read","write","repos","grep",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6H48R6ZH7YMVPMVWMMWT3RA","dx-hub-init","Initialize a hub directory for multi-repo orchestration. Discovers sibling repos, merges configs, validates CLI compatibility. Use when setting up hub mode for the first time. Trigger on \"init hub\", \"set up hub\", \"multi-repo setup\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-init\u002FSKILL.md",[],[101,102,77,103,79,34,104,105,106,21,107,108,33,109,87,110,111,90,91,112],"init","hub init","dx hub init","time","mode","default","repo setup","orchestration","multi-repo","cli","directory","edit",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6H48K267CWEF8YNN3Y49BVT","dx-hub-dispatch","Dispatch a ticket to several repos — open an independent Claude session per repo in VS Code terminals. Use for 'hub dispatch', 'work on ticket across repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-dispatch\u002FSKILL.md",[],[77,120,89,79,121,22,122,123,124,84,125,126,32,127,87,128,129,130,88,131],"dx hub dispatch","ado","repo","work on","session","open","MCP","URL","vscode","code","across","work",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M6H48FAWKTT6AAWT3H80ZKE0","dx-hub-config","View and edit hub configuration — add repos, adjust terminal delay. Use to manage hub settings. Trigger on \"hub config\", \"add repo to hub\", \"terminal delay\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-config\u002FSKILL.md",[],[77,139,79,140,83,141,122,142,143,24,144,32,33,87,145,90,146,91,112,92],"dx hub config","config","view","manage","trigger","adjust","terminal","settings",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M6H48BNMYEJY6CCWPYHNQDAT","dx-discover-repos","Resolve which repos a work item touches (explicit directive → simple block → cross-repo table → LLM). Used by the KAI-HUB router to fan an agent out across repos; 'which repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-discover-repos\u002FSKILL.md",[],[154,77,155,92,82,122,130,156,88,157,131,158,79,159,160,161],"discover","dx discover repos","router","directive","simple","block","sonnet","table",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":39},"01M6H487QA1FDSBT1HTZGW4HAQ","dx-upgrade","Upgrade a consumer project to the installed plugin versions — run dx-doctor, fix stale and missing files, list manual actions. Use after upgrading plugins.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-core\u002Fskills\u002Fdx-upgrade\u002FSKILL.md",[],[169,77,170,171,172,173,174,175,20,176,90,91,112,177,178,179,180,32,181,182],"upgrade","dx upgrade","project","actions","search","fix","files","run","list","doctor","manual","missing","plugin","plugins"]