vybekiit 0.7.19 → 0.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +11 -5
- package/dist/global-skills/aws-cloudformation/SKILL.md +173 -7
- package/dist/global-skills/aws-cloudformation/references/cloudformation-pre-deploy-validation.script.md +107 -45
- package/dist/global-skills/aws-cloudformation/references/lookup-resource-properties.script.md +1 -1
- package/dist/global-skills/aws-cloudformation/references/persist-template-context.script.md +310 -0
- package/dist/global-skills/aws-cloudformation/references/retrieve-template-context.script.md +357 -0
- package/dist/global-skills/aws-cloudformation/references/template-safety-guidance.md +174 -0
- package/dist/global-skills/aws-cloudformation/references/validate-cloudformation-template.script.md +20 -2
- package/dist/global-skills/aws-serverless/SKILL.md +16 -1
- package/dist/global-skills/eas-simulator/references/controllers.md +21 -1
- package/dist/global-skills/eas-simulator/references/run-your-app.md +103 -69
- package/dist/global-skills/eas-simulator/references/troubleshooting.md +7 -4
- package/dist/global-skills/expo-skill-eval/scripts/check-static.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/clean-fixture.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/latest-sdk.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/make-fixture.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/make-workspace.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-android.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-ios.sh +0 -0
- package/dist/global-skills/expo-skill-eval/scripts/snapshot-web.sh +0 -0
- package/dist/global-skills/neon/SKILL.md +40 -17
- package/dist/global-skills/neon/references/claimable-neon.md +91 -0
- package/dist/global-skills/neon-object-storage/SKILL.md +11 -4
- package/dist/global-skills/onboarding/SKILL.md +5 -1
- package/dist/global-skills/resend/references/api-keys.md +1 -1
- package/dist/global-skills/resend/references/segments.md +19 -3
- package/dist/global-skills/use-railway/scripts/analyze-mongo.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-mysql.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-postgres.py +0 -0
- package/dist/global-skills/use-railway/scripts/analyze-redis.py +0 -0
- package/dist/global-skills/use-railway/scripts/enable-pg-stats.py +0 -0
- package/dist/global-skills/use-railway/scripts/pg-extensions.py +0 -0
- package/dist/global-skills/use-railway/scripts/railway-api.sh +0 -0
- package/package.json +22 -23
- package/dist/global-skills/email-best-practices/.github/workflows/sync-skills.yml +0 -30
- package/dist/global-skills/email-best-practices/README.md +0 -63
- package/dist/global-skills/email-best-practices/tests/README.md +0 -35
- package/dist/global-skills/email-best-practices/tests/scenarios/01-spam-deliverability.md +0 -46
- package/dist/global-skills/email-best-practices/tests/scenarios/02-multi-region-compliance.md +0 -48
- package/dist/global-skills/email-best-practices/tests/scenarios/03-retry-idempotency.md +0 -36
- package/dist/global-skills/email-best-practices/tests/scenarios/04-webhook-bounce-handling.md +0 -52
- package/dist/global-skills/email-best-practices/tests/scenarios/05-new-saas-email-plan.md +0 -51
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Scenario 3: Retry Logic + Idempotency
|
|
2
|
-
|
|
3
|
-
## Prompt
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
You are an AI coding assistant. A developer asks you:
|
|
7
|
-
|
|
8
|
-
"I'm using the Resend API to send transactional emails. I need to implement retry logic with idempotency to prevent duplicate sends. Show me a TypeScript implementation with idempotency keys, exponential backoff, and proper error code handling."
|
|
9
|
-
|
|
10
|
-
Include specific HTTP error codes and which ones to retry vs not retry, idempotency key generation strategies, and backoff timing.
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Expected Correctness Criteria
|
|
14
|
-
|
|
15
|
-
### Idempotency keys (sending-reliability.md)
|
|
16
|
-
- [ ] Event-based key example: `order-confirm-${orderId}` (recommended)
|
|
17
|
-
- [ ] Request-scoped example: `reset-${userId}-${resetRequestId}`
|
|
18
|
-
- [ ] UUID fallback: `crypto.randomUUID()` — generate once, reuse on retry
|
|
19
|
-
- [ ] Warns against `Date.now()` or random values generated fresh on each attempt
|
|
20
|
-
- [ ] Key expiration: 24 hours — complete retry logic within this window
|
|
21
|
-
|
|
22
|
-
### Error codes (sending-reliability.md)
|
|
23
|
-
- [ ] Retry: 5xx (server error), 429 (rate limit), network timeout, DNS failure
|
|
24
|
-
- [ ] Do NOT retry: 400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (not found), 422 (validation)
|
|
25
|
-
|
|
26
|
-
### Backoff (sending-reliability.md)
|
|
27
|
-
- [ ] Exponential: 1s -> 2s -> 4s -> 8s
|
|
28
|
-
- [ ] Cap at 30 seconds
|
|
29
|
-
- [ ] Jitter to prevent thundering herd
|
|
30
|
-
- [ ] Max retries: 3
|
|
31
|
-
|
|
32
|
-
### Timeout (sending-reliability.md)
|
|
33
|
-
- [ ] AbortController pattern with 10-30 second timeout
|
|
34
|
-
|
|
35
|
-
### Queuing (sending-reliability.md)
|
|
36
|
-
- [ ] Queue pattern for critical emails: write pending -> attempt send -> mark sent/schedule retry -> mark failed + alert
|
package/dist/global-skills/email-best-practices/tests/scenarios/04-webhook-bounce-handling.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Scenario 4: Webhook Bounce/Complaint Handling
|
|
2
|
-
|
|
3
|
-
## Prompt
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
You are an AI coding assistant. A developer asks you:
|
|
7
|
-
|
|
8
|
-
"I need to set up Resend webhooks to handle bounces and complaints. Show me how to implement this with signature verification using svix, idempotent event processing, and proper bounce/complaint handling (when to suppress, when to retry). Include TypeScript code."
|
|
9
|
-
|
|
10
|
-
Be specific about: svix verification headers, hard vs soft bounce handling thresholds, and complaint handling requirements.
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Expected Correctness Criteria
|
|
14
|
-
|
|
15
|
-
### Webhook setup (webhooks-events.md)
|
|
16
|
-
- [ ] Endpoint must return 2xx within 5 seconds
|
|
17
|
-
- [ ] Return 200 immediately, process asynchronously
|
|
18
|
-
|
|
19
|
-
### Svix verification (webhooks-events.md)
|
|
20
|
-
- [ ] Import from 'svix'
|
|
21
|
-
- [ ] Headers: `svix-id`, `svix-timestamp`, `svix-signature`
|
|
22
|
-
- [ ] Verify before processing, return 400 on invalid signature
|
|
23
|
-
|
|
24
|
-
### Idempotent processing (webhooks-events.md)
|
|
25
|
-
- [ ] Use event ID to deduplicate
|
|
26
|
-
- [ ] Check if already processed before handling
|
|
27
|
-
- [ ] Mark as processed after handling
|
|
28
|
-
|
|
29
|
-
### Event types (webhooks-events.md)
|
|
30
|
-
- [ ] `email.sent`, `email.delivered`, `email.bounced`, `email.complained`, `email.opened`, `email.clicked`
|
|
31
|
-
|
|
32
|
-
### Bounce handling (webhooks-events.md + list-management.md)
|
|
33
|
-
- [ ] Hard bounce: suppress immediately, remove from all lists
|
|
34
|
-
- [ ] Soft bounce: track count, suppress after 3 failures
|
|
35
|
-
- [ ] Suppression entry schema includes: email, reason, created_at, source_email_id
|
|
36
|
-
|
|
37
|
-
### Complaint handling (webhooks-events.md + list-management.md)
|
|
38
|
-
- [ ] Immediate suppression — no exceptions
|
|
39
|
-
- [ ] Remove from all lists
|
|
40
|
-
- [ ] Log for analysis
|
|
41
|
-
|
|
42
|
-
### Suppression unsuppress rules (list-management.md)
|
|
43
|
-
- [ ] Hard bounce: cannot unsuppress (address invalid)
|
|
44
|
-
- [ ] Complaint: cannot unsuppress (legal requirement)
|
|
45
|
-
- [ ] Soft bounce (3x): can unsuppress after 30-90 days
|
|
46
|
-
- [ ] Manual removal: only if user requests
|
|
47
|
-
|
|
48
|
-
### Pre-send check (list-management.md)
|
|
49
|
-
- [ ] Always check suppression before sending
|
|
50
|
-
|
|
51
|
-
### Retry behavior (webhooks-events.md)
|
|
52
|
-
- [ ] Non-2xx triggers retries: ~30s -> ~1min -> ~5min (continues ~24 hours)
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Scenario 5: New SaaS Email Infrastructure Plan
|
|
2
|
-
|
|
3
|
-
## Prompt
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
You are an AI coding assistant. A developer asks you:
|
|
7
|
-
|
|
8
|
-
"I'm building a new SaaS app and need to plan my entire email infrastructure. I need to know: (1) what types of transactional emails I should plan for, (2) how to set up DNS authentication, (3) how to warm up my sending domain, (4) how to handle bounces/complaints in production, and (5) what compliance requirements I need for international users. Give me a comprehensive implementation roadmap."
|
|
9
|
-
|
|
10
|
-
Be specific about: IP warming schedules (daily volumes by week), bounce rate thresholds, complaint rate thresholds, DNS record formats, and legal requirements by region.
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Expected Correctness Criteria
|
|
14
|
-
|
|
15
|
-
### Email planning (transactional-email-catalog.md)
|
|
16
|
-
- [ ] References the transactional email catalog for SaaS planning
|
|
17
|
-
- [ ] Covers at minimum: verification, password reset, OTP/2FA, security alerts, billing
|
|
18
|
-
|
|
19
|
-
### DNS authentication (deliverability.md)
|
|
20
|
-
- [ ] SPF, DKIM, DMARC records with examples
|
|
21
|
-
- [ ] DMARC rollout strategy (none -> quarantine; pct=25 -> reject)
|
|
22
|
-
- [ ] Dedicated subdomains for transactional vs marketing
|
|
23
|
-
|
|
24
|
-
### Warming (deliverability.md)
|
|
25
|
-
- [ ] Correct weekly schedule: 50-100 / 200-500 / 1k-2k / 5k-10k
|
|
26
|
-
- [ ] Start with engaged users, send consistently
|
|
27
|
-
|
|
28
|
-
### Bounce/complaint handling (deliverability.md + list-management.md + webhooks-events.md)
|
|
29
|
-
- [ ] Bounce thresholds: <1% good, >4% critical
|
|
30
|
-
- [ ] Complaint thresholds: <0.01% excellent, >0.05% critical
|
|
31
|
-
- [ ] Hard bounce: immediate suppression
|
|
32
|
-
- [ ] Soft bounce: suppress after 3 failures
|
|
33
|
-
- [ ] Complaint: immediate suppression
|
|
34
|
-
- [ ] Pre-send suppression check
|
|
35
|
-
|
|
36
|
-
### Compliance (compliance.md)
|
|
37
|
-
- [ ] Covers CAN-SPAM, GDPR, CASL
|
|
38
|
-
- [ ] Correct penalty amounts
|
|
39
|
-
- [ ] Correct unsubscribe timing by region
|
|
40
|
-
- [ ] Recommends GDPR as global standard
|
|
41
|
-
|
|
42
|
-
### Data retention (list-management.md)
|
|
43
|
-
- [ ] Send attempts: 90 days
|
|
44
|
-
- [ ] Bounce/complaint events: 3 years
|
|
45
|
-
- [ ] Suppression list: indefinite
|
|
46
|
-
- [ ] Email content: 30 days
|
|
47
|
-
- [ ] Consent records: 3 years after expiry
|
|
48
|
-
|
|
49
|
-
### Cross-resource synthesis
|
|
50
|
-
- [ ] Agent references multiple resource files (not just one)
|
|
51
|
-
- [ ] "Start Here" routing from SKILL.md is followed
|