design-paywall
Author the app's paywall offer — primary model, prices, trial framing, credit-pack sizes, and benefit-oriented copy — using the paywall_designer role prompt…
Skill by KotlinFoundation
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kotlinfoundation-design-paywall
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/design-paywall
What's inside
- Skill name
design-paywall- Description
- Author the app's paywall offer — primary model, prices, trial framing, credit-pack sizes, and benefit-oriented copy — using the paywall_designer role prompt and the paywall.md template, then map the decisions onto PaywallUiState / PaywallMode and the paywall_* strings. Use when the user wants to design a paywall, define the offer/pricing/trial, or write paywall copy. Part of the `monetization` phase; run it before `setup-subscriptions`.
- License
- MIT
- Instructions
- 80 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Design the paywall
This is a **designer-handoff** skill, not a code generator. It produces the *offer decisions* that
`setup-subscriptions` and `enable-credits` then create products for — so run it **first**. The custom
paywall UI already exists; you're authoring what it sells and how it reads.
## 1. Author the offer
Read the two source docs and use them to make real decisions (honest framing only — no fake scarcity,
no buried cancel, no misleading "free"):
- **`AiGuidelines/agents/paywall_designer.md`** — the monetization-strategist role prompt: offer
architecture (hook → anchor → discount → backup), trial-length tradeoffs, credit-pack anchoring, the
A/B variation toolkit, and the events to measure.
- **`AiGuidelines/project/paywall.md`** — the fill-in template. Search for **`TAILOR PER APP`** markers
and replace each with a real decision:
- **Primary model** — subscription-first, credit-pack, or remote? (Don't weight two equally if one
leads.)
- **Prices & packages** — monthly $ / annual $ (save %) / lifetime $.
- **Trial length + reasoning** — short (3-day, urgency) vs. longer (higher considered-purchase
conversion). State terms honestly: "X days free, then $Y/period. Cancel anytime."
- **Credit-pack sizes + the genuinely recommended pack.**
Also reuse the goal captured in onboarding (`AiGuidelines/project/onboarding.md`) so the paywall reads
"To help you *{goal}*, your plan includes…". Placement is the **post-onboarding motivation peak**, not
a cold launch wall.
## 2. Map decisions onto the code
The offer flows into the existing paywall layer at
`shared/src/commonMain/kotlin/com/kotlinfoundation/koko/presentation/screens/paywall/`:
- **`PaywallMode`** (`SUBSCRIPTION` / `CREDIT_PACK`) selects the child screen. Your primary model picks
which the paywall leads with; the credit-pack flow opens via
`Constants.PAYWALL_PLACEMENT_CREDITS_PACK`.
- **`PaywallUiStateMapper`** is the only place formatting lives — it turns raw provider packages +
selection + mode into a `MappedPaywall { packages, ctaText, aboveCtaText, belowCtaText }`. Screens
stay display-only. You usually don't change the mapper; you change the **copy** it references.
- **Strings** live in `composeResources/values/strings.xml` under three prefixes — edit these to land
your copy (benefit-oriented CTA, honest reassurance + disclosure):
- `paywall_*` — shared chrome (toolbar, footer, BEST VALUE / SAVE N% badges).
- `paywall_sub_*` — subscription flow (plan titles, subtitles, reassurance/disclosure templates, CTA).
- `paywall_cp_*` — credit-pack flow (title, subtitle, per-credit unit, CTA).
- `paywall_unit_*` — period units as **plurals** (`paywall_unit_day` bare vs. `paywall_unit_day_count`
for durations).
- `strings.xml` here is plain XML, not Android aapt — do **not** backslash-escape apostrophes; use the
typographic `'` (U+2019) to match existing copy. Format args stay `%1$s` / `%1$d`.
- To add a **brand-new placement** (beyond subscription / credit-pack), see `AGENTS.md` → *Paywall Layer*:
add a `Constants.PAYWALL_PLACEMENT_*`, a `PaywallMode` entry, mapper branches, a `PaywallScreen`
route, and a new `paywall_<prefix>_*` string group.
## Preview your copy
Fixtures in `PaywallPreviewData` (`subscriptionState(...)`, `paidIntroSubscriptionState()`,
`creditPackState()`) drive the `@Preview` composables so you can eyeball copy without billing wired up.
Run the design-system desktop preview or use the `capture-app-screens` skill for pixel captures.
## Hand-off
Once `paywall.md` has **no** remaining `TAILOR PER APP` markers, the offer is decided — proceed to
**`setup-subscriptions`** (subscriptions) and **`enable-credits`** (credit packs) to create the matching
products.
## When to run this — split across two phases
The kit ships a working paywall, so it shows boilerplate until you brand it:
- **Phase 1 (`build-features`)** — the **primary model + benefit copy** (`paywall_*` strings). Fully
testable now: the **mock provider** runs paywall → purchase → unlock with **no account, no keys**.
- **Phase 4 (`monetization`)** — the **numbers**: prices & packages, trial length, credit-pack sizes.
Set them when you create the real store products (they're marked `TODO(monetization)` in
`AiGuidelines/project/paywall.md` until then).
## Related skills
`verify-ui` (render the paywall to a PNG and look at it — also how to answer "show me the paywall") ·
`setup-subscriptions` · `enable-credits` · `capture-app-screens` (paywall PNGs for the storefront) ·
`monetization` (phase guide).From KotlinFoundation/kmp-contest-starter-kit, MIT.
More from KotlinFoundation/kmp-contest-starter-kit
- 0.609score
add-api-service
KotlinFoundation
Add a Ktor-backed network request end-to-end — request/response DTOs, an API service, a repository, and a ViewModel call.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
capture-app-screens
KotlinFoundation
Render the app's own screens to plain PNGs at storefront pixel sizes (1284×2778 etc.) from @Preview @StoreScreenshot composables — the real UI and nothing…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
add-permission
KotlinFoundation
Request a runtime permission (notifications, camera, gallery out of the box; location, microphone or any other after adding its Calf module) via the app-level…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
getting-started
KotlinFoundation
Phase-1 blueprint for the KMP starter kit — get the app running locally on your own device, rebrand it, and build your MVP features from the PRD (all…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
publish-release
KotlinFoundation
Build the signed release artifacts and ship them — Android AAB to a Play track and iOS archive to TestFlight/App Store, via Fastlane lanes or the tag-driven…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
refactor-package
KotlinFoundation
Rename the app's package / applicationId / iOS bundle ID and display name across the whole project.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
run-quality-gates
KotlinFoundation
Run the same lint, test, screenshot, and build checks as CI.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
configure-environment
KotlinFoundation
Reference catalog (a lookup, not a setup action) of every environment configuration value — local.properties API keys, the gradle.properties subscription…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-analytics
KotlinFoundation
Enable Firebase Analytics, Crashlytics, and Remote Config feature flags in the KMP app — log events, add a flag, toggle it at runtime via Remote Config, and…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-appstore-connect
KotlinFoundation
Manually create and configure the app in App Store Connect — bundle id, version, categories, age rating, privacy, review info, and localized metadata.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-subscriptions
KotlinFoundation
Wire up in-app subscriptions in KMPStarterKit — pick the provider (Adapty default or RevenueCat) via one gradle property, add the two SDK keys, create store…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
sync-data-firebase
KotlinFoundation
Sync app data to Firebase — Firestore documents, cross-device sync, server-authoritative state (credit balances, settings, user profiles, saved items).
SkillBFreshness: B★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 13
- Open issues
- 1
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from KotlinFoundation
- 0.609score
add-permission
KotlinFoundation
Request a runtime permission (notifications, camera, gallery out of the box; location, microphone or any other after adding its Calf module) via the app-level…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
capture-app-screens
KotlinFoundation
Render the app's own screens to plain PNGs at storefront pixel sizes (1284×2778 etc.) from @Preview @StoreScreenshot composables — the real UI and nothing…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
configure-environment
KotlinFoundation
Reference catalog (a lookup, not a setup action) of every environment configuration value — local.properties API keys, the gradle.properties subscription…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
getting-started
KotlinFoundation
Phase-1 blueprint for the KMP starter kit — get the app running locally on your own device, rebrand it, and build your MVP features from the PRD (all…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
publish-release
KotlinFoundation
Build the signed release artifacts and ship them — Android AAB to a Play track and iOS archive to TestFlight/App Store, via Fastlane lanes or the tag-driven…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
add-api-service
KotlinFoundation
Add a Ktor-backed network request end-to-end — request/response DTOs, an API service, a repository, and a ViewModel call.
SkillBFreshness: B★ 28Claude Code +9
Cite this page
design-paywall skill. Agent Mart. https://agentmart.dev/skills/kotlinfoundation-design-paywall (last updated 2026-10-24)