Skip to content
Skills Library
Programming · Testing

iapkit-e2e-petgu

/iapkit-e2e-petgu

Use for IAPKit product sync E2E testing in packages/kit with the Petgu React Native app, localhost dashboard, App Store Connect, and Google Play Console. Triggers when verifying kit product/entitlement create, update, delete, pull, push, or store sync behavior with Petgu.

Repository
openiap ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use for IAPKit product sync E2E testing in packages/kit with the Petgu React Native app, localhost dashboard, App Store Connect, and Google Play Console. Triggers when verifying kit product/entitlement create, update, delete, pull, push, or store sync behavior with Petgu.

Original author description

Use for IAPKit product sync E2E testing in packages/kit with the Petgu React Native app, localhost dashboard, App Store Connect, and Google Play Console. Triggers when verifying kit product/entitlement create, update, delete, pull, push, or store sync behavior with Petgu.

How it works

  1. Default Targets
  2. Safety Rules
  3. Standard Workflow
  4. Known Good Petgu Products
  5. Expected Store Behavior
  6. Reporting
Original SKILL.md headings · 98 lines, 552 words
SKILL.md preview
---
name: iapkit-e2e-petgu
description: Use for IAPKit product sync E2E testing in packages/kit with the Petgu React Native app, localhost dashboard, App Store Connect, and Google Play Console. Triggers when verifying kit product/entitlement create, update, delete, pull, push, or store sync behavior with Petgu.
---

# IAPKit Petgu E2E

Use this skill when the user asks to E2E test IAPKit product sync, especially
create/update/delete behavior between `packages/kit`, App Store Connect, and
Google Play Console.

## Default Targets

- OpenIAP repo: `$OPENIAP_REPO` (current checkout; this repo)
- Kit package: `$OPENIAP_REPO/packages/kit`
- Petgu app: `$PETGU_REPO`
- Local dashboard: `$IAPKIT_LOCAL_URL`, default
  `http://127.0.0.1:5174/hyo-dev/project/petgu/products`
- IAPKit project: organization `hyo-dev`, project `petgu`
- iOS app: App Store Connect app `6755113628`
- Android app: Play Console app `4975127121389308944`, package
  `dev.hyo.petgu.app`
- Google service account:
  `iap2-22@martie-c0b27.iam.gserviceaccount.com`

## Safety Rules

- Do not delete real Petgu store product IDs after a sync test unless the user
  explicitly confirms they accept permanent loss of those IDs.
- Apple product IDs cannot be reused in the same app after an IAP is created,
  even if the IAP is deleted. Treat deletion of real iOS products as
  irreversible.
- For cleanup, create temporary SKUs and delete only those temporary SKUs after
  verification. Prefer IDs under `dev.hyo.petgu.codex.*`.
- Keep the final store catalog clean: no temporary SKUs should remain in
  App Store Connect, Play Console, or IAPKit.
- Do not run real purchase flows unless the user explicitly asks. Product
  loading/sync verification is normally enough.

## Standard Workflow

1. Read repository rules before changing code:
   - `$OPENIAP_REPO/AGENTS.md`
   - `$OPENIAP_REPO/packages/kit/CONVENTION.md`
2. Start or use the local kit dashboard on `127.0.0.1:5174`.
3. Use Petgu as the React Native fixture app for product IDs and native billing
   capability checks.
4. Verify store credentials before sync:
   - iOS App Store Connect API key can list/push products.
   - Android Play service account has Petgu app permissions and the app bundle
     includes `com.android.vending.BILLING`.
5. Run kit product sync jobs through Convex for Petgu:
   - dry-run push
   - actual push
   - actual pull
   - create/update/delete using a temporary SKU
6. Check the stores directly:
   - Use Chrome for already-open logged-in Play Console/App Store Connect tabs.
   - Use Play Developer API/App Store Connect API for precise state checks.
7. Cleanup:
   - Delete all temporary test SKUs from IAPKit and upstream stores.
   - Re-run pull to confirm temporary SKUs are gone.
   - Leave real Petgu SKUs intact unless the user confirms irreversible deletion.
8. Run focused verification:
   - `cd $OPENIAP_REPO/packages/kit`
   - `bun run typecheck`
   - `bun run test -- convex/products`
   - `bun run lint:eslint`
   - `cd $PETGU_REPO`
   - `bun install --frozen-lockfile`
   - `bun run type-check`

## Known Good Petgu Products

Use these as the real Petgu catalog baseline:

- `dev.hyo.petgu.lifetime`: non-consumable lifetime unlock
- `dev.hyo.petgu.treats100`: consumable
- `dev.hyo.petgu.premium.monthly`: subscription, `P1M`
- `dev.hyo.petgu.premium.yearly`: subscription, `P1Y`

## Expected Store Behavior

- Android one-time products must have an active `buy` purchase option. Creating
  the product alone is not enough.
- Android pull should preserve a kit-authored `Consumable` type because Play
  does not round-trip the consumable/non-consumable distinction.
- iOS products may remain `Missing Metadata` / kit `Draft` until screenshots,
  review metadata, and version submission requirements are satisfied. This can
  still mean product sync itself succeeded.
- App Store Connect's first IAP/subscription submission must be attached to a
  new app version before it can move past missing metadata.

## Reporting

In the final report, include:

- Convex job IDs and counts for push/pull/delete.
- Whether Chrome/App Store/Play Console showed the expected SKUs.
- Whether temporary SKUs were deleted from both IAPKit and the stores.
- Any permanent store-policy limitation that prevented deletion or recreation.
Files in this package (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named iapkit-e2e-petgu.

Database snapshot: 13.11.2026 · package version b5d3fb668c53 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100iapkit-e2e-martie
    Run IAPKit local receipt-validation E2E with the dev.hyo.martie React Native or Expo examples, the compiled packages/kit server, real Convex, and Apple or Google sandbox purchases. Use when preparing an iOS Sandbox Apple Account for a development-signed or TestFlight build,…
  • 100iapkit-e2e-martie
    Run IAPKit local receipt-validation E2E with the dev.hyo.martie React Native or Expo examples, the compiled packages/kit server, real Convex, and Apple or Google sandbox purchases. Use when preparing an iOS Sandbox Apple Account for a development-signed or TestFlight build,…
  • 100revenuecat-store-state
    Use when the user wants to inspect or change the state of products in App Store Connect, Google Play Console, RC Billing, or Test Store (prices, availability, localizations, review screenshots) via RevenueCat product-store-state plans
  • 100rejection-fix
    Turns an App Store rejection or a Google Play policy rejection into a fix and a reply. Use when the user pastes a message from App Store Connect or a Play Console policy email, or says "App Store rejected my app", "Apple rejected my app", "my app was rejected", "Guideline 2.1",…
  • 100accounts-and-tax
    Use when opening or configuring Apple Developer Program and Google Play Console accounts for a paid or subscription app - choosing individual vs organization, D-U-N-S, Play personal-account testing requirement, App Store Small Business Program and Google Play reduced service…
  • 90ruby-native
    Turn an existing Rails app into iOS and Android apps with Ruby Native and take them to the App Store and Google Play. Use when someone asks for a mobile or native app from a Rails app, mentions Ruby Native, Hotwire Native, TestFlight, App Store review, or Google Play for a Rails…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.