Loading...
Loading...
Compare original and translation side by side
Skill by ara.so — Daily 2026 Skills collection.
本技能由ara.so开发 — 属于2026年度技能合集。
/app-onboarding-questionnaire/app-onboarding-questionnairecd ~/.claude/skills
git clone https://github.com/adamlyttleapps/claude-skill-app-onboarding-questionnaire.git app-onboarding-questionnairecd ~/.claude/skills
git clone https://github.com/adamlyttleapps/claude-skill-app-onboarding-questionnaire.git app-onboarding-questionnaire.claude/settings.json{
"skills": [
"github:adamlyttleapps/claude-skill-app-onboarding-questionnaire"
]
}.claude/settings.json{
"skills": [
"github:adamlyttleapps/claude-skill-app-onboarding-questionnaire"
]
}/app-onboarding-questionnaire/app-onboarding-questionnaire| # | Screen | Conversion Purpose |
|---|---|---|
| 1 | Welcome | Hook — show the end state, create desire |
| 2 | Goal Question | "What are you trying to achieve?" — psychological investment |
| 3 | Pain Points | "What prevents you?" — builds empathy |
| 4 | Social Proof | Persona-matched testimonials |
| 5 | Tinder Cards | Swipe agree/disagree on pain statements |
| 6 | Personalised Solution | Mirror pains back with app solution stats |
| 7 | Comparison Table | Life with vs without the app (optional) |
| 8 | Preferences | Functional personalisation for the demo |
| 9 | Permission Priming | Benefit-framed pre-sell before system dialogs |
| 10 | Processing Moment | "Building X just for you..." anticipation builder |
| 11 | App Demo | User actually uses the core app mechanic |
| 12 | Value Delivery | Tangible output + share/viral moment |
| 13 | Account Gate | Optional sign-in to save what they created |
| 14 | Paywall | Hard paywall with trial, social proof, pricing |
| # | 页面名称 | 转化目标 |
|---|---|---|
| 1 | 欢迎页 | 吸引用户 — 展示最终价值,激发使用意愿 |
| 2 | 目标问卷 | 「你想要实现什么目标?」 — 提升用户心理投入度 |
| 3 | 痛点调研 | 「什么问题阻碍了你?」 — 建立情感共鸣 |
| 4 | 社交证明 | 匹配用户画像的真实评价 |
| 5 | Tinder滑动卡片 | 让用户滑动选择同意/不同意痛点描述 |
| 6 | 个性化解决方案 | 结合应用解决方案的数据回应用户痛点 |
| 7 | 对比表格 | 使用应用vs不使用应用的生活对比(可选) |
| 8 | 偏好设置 | 为演示环节做功能个性化配置 |
| 9 | 权限预申请 | 在系统弹窗出现前,基于价值说明提前铺垫权限申请 |
| 10 | 处理等待页 | 「正在为你专属定制X...」 提升用户期待感 |
| 11 | 应用演示 | 让用户实际体验应用的核心功能 |
| 12 | 价值传递 | 产出可感知的结果 + 分享/传播节点 |
| 13 | 账号门槛 | 可选的登录环节,用于保存用户生成的内容 |
| 14 | 付费墙 | 硬付费墙,包含试用、社交证明、定价信息 |
Info.plistNSCameraUsageDescriptionNSLocationWhenInUseUsageDescriptionAndroidManifest.xmluses-permissionInfo.plistNSCameraUsageDescriptionNSLocationWhenInUseUsageDescriptionAndroidManifest.xmluses-permission// Generated by /app-onboarding-questionnaire
import SwiftUI
struct GoalQuestionView: View {
@EnvironmentObject var onboardingState: OnboardingState
let goals = [
OnboardingOption(id: "lose_weight", emoji: "⚖️", title: "Lose weight", subtitle: "Reach a healthier body"),
OnboardingOption(id: "build_muscle", emoji: "💪", title: "Build muscle", subtitle: "Get stronger and leaner"),
OnboardingOption(id: "eat_healthier", emoji: "🥗", title: "Eat healthier", subtitle: "Improve my nutrition"),
OnboardingOption(id: "save_time", emoji: "⏱️", title: "Save time cooking", subtitle: "Quick, easy meals")
]
var body: some View {
VStack(spacing: 24) {
OnboardingHeader(
title: "What's your main goal?",
subtitle: "We'll personalise everything around this"
)
VStack(spacing: 12) {
ForEach(goals) { goal in
OnboardingOptionRow(
option: goal,
isSelected: onboardingState.selectedGoal == goal.id
) {
onboardingState.selectedGoal = goal.id
}
}
}
Spacer()
PrimaryButton(title: "Continue", isEnabled: onboardingState.selectedGoal != nil) {
onboardingState.advance()
}
}
.padding()
}
}// Generated by /app-onboarding-questionnaire
import SwiftUI
struct GoalQuestionView: View {
@EnvironmentObject var onboardingState: OnboardingState
let goals = [
OnboardingOption(id: "lose_weight", emoji: "⚖️", title: "Lose weight", subtitle: "Reach a healthier body"),
OnboardingOption(id: "build_muscle", emoji: "💪", title: "Build muscle", subtitle: "Get stronger and leaner"),
OnboardingOption(id: "eat_healthier", emoji: "🥗", title: "Eat healthier", subtitle: "Improve my nutrition"),
OnboardingOption(id: "save_time", emoji: "⏱️", title: "Save time cooking", subtitle: "Quick, easy meals")
]
var body: some View {
VStack(spacing: 24) {
OnboardingHeader(
title: "What's your main goal?",
subtitle: "We'll personalise everything around this"
)
VStack(spacing: 12) {
ForEach(goals) { goal in
OnboardingOptionRow(
option: goal,
isSelected: onboardingState.selectedGoal == goal.id
) {
onboardingState.selectedGoal = goal.id
}
}
}
Spacer()
PrimaryButton(title: "Continue", isEnabled: onboardingState.selectedGoal != nil) {
onboardingState.advance()
}
}
.padding()
}
}// Generated by /app-onboarding-questionnaire
import React, { useState } from 'react';
import { View, Text, StyleSheet, Animated, PanResponder } from 'react-native';
import { useOnboarding } from '../context/OnboardingContext';
const PAIN_STATEMENTS = [
"I don't know what to cook each week",
"I end up wasting food I've bought",
"Healthy eating feels too complicated",
"I spend too long deciding what to make",
];
export function TinderCardsScreen() {
const { addAgreedPain, advance } = useOnboarding();
const [currentIndex, setCurrentIndex] = useState(0);
const position = new Animated.ValueXY();
const panResponder = PanResponder.create({
onStartShouldSetPanResponder: () => true,
onPanResponderMove: (_, gesture) => {
position.setValue({ x: gesture.dx, y: gesture.dy });
},
onPanResponderRelease: (_, gesture) => {
if (gesture.dx > 120) {
swipe('agree');
} else if (gesture.dx < -120) {
swipe('disagree');
} else {
Animated.spring(position, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
}
},
});
const swipe = (direction: 'agree' | 'disagree') => {
if (direction === 'agree') {
addAgreedPain(PAIN_STATEMENTS[currentIndex]);
}
Animated.timing(position, {
toValue: { x: direction === 'agree' ? 500 : -500, y: 0 },
duration: 250,
useNativeDriver: true,
}).start(() => {
position.setValue({ x: 0, y: 0 });
if (currentIndex + 1 >= PAIN_STATEMENTS.length) {
advance();
} else {
setCurrentIndex(i => i + 1);
}
});
};
return (
<View style={styles.container}>
<Text style={styles.title}>Do these sound familiar?</Text>
<Text style={styles.subtitle}>Swipe right if yes, left if no</Text>
<Animated.View
style={[styles.card, { transform: position.getTranslateTransform() }]}
{...panResponder.panHandlers}
>
<Text style={styles.cardText}>{PAIN_STATEMENTS[currentIndex]}</Text>
</Animated.View>
</View>
);
}// Generated by /app-onboarding-questionnaire
import React, { useState } from 'react';
import { View, Text, StyleSheet, Animated, PanResponder } from 'react-native';
import { useOnboarding } from '../context/OnboardingContext';
const PAIN_STATEMENTS = [
"I don't know what to cook each week",
"I end up wasting food I've bought",
"Healthy eating feels too complicated",
"I spend too long deciding what to make",
];
export function TinderCardsScreen() {
const { addAgreedPain, advance } = useOnboarding();
const [currentIndex, setCurrentIndex] = useState(0);
const position = new Animated.ValueXY();
const panResponder = PanResponder.create({
onStartShouldSetPanResponder: () => true,
onPanResponderMove: (_, gesture) => {
position.setValue({ x: gesture.dx, y: gesture.dy });
},
onPanResponderRelease: (_, gesture) => {
if (gesture.dx > 120) {
swipe('agree');
} else if (gesture.dx < -120) {
swipe('disagree');
} else {
Animated.spring(position, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
}
},
});
const swipe = (direction: 'agree' | 'disagree') => {
if (direction === 'agree') {
addAgreedPain(PAIN_STATEMENTS[currentIndex]);
}
Animated.timing(position, {
toValue: { x: direction === 'agree' ? 500 : -500, y: 0 },
duration: 250,
useNativeDriver: true,
}).start(() => {
position.setValue({ x: 0, y: 0 });
if (currentIndex + 1 >= PAIN_STATEMENTS.length) {
advance();
} else {
setCurrentIndex(i => i + 1);
}
});
};
return (
<View style={styles.container}>
<Text style={styles.title}>Do these sound familiar?</Text>
<Text style={styles.subtitle}>Swipe right if yes, left if no</Text>
<Animated.View
style={[styles.card, { transform: position.getTranslateTransform() }]}
{...panResponder.panHandlers}
>
<Text style={styles.cardText}>{PAIN_STATEMENTS[currentIndex]}</Text>
</Animated.View>
</View>
);
}// Generated by /app-onboarding-questionnaire
import 'package:flutter/material.dart';
class ProcessingScreen extends StatefulWidget {
final VoidCallback onComplete;
const ProcessingScreen({required this.onComplete, super.key});
State<ProcessingScreen> createState() => _ProcessingScreenState();
}
class _ProcessingScreenState extends State<ProcessingScreen>
with SingleTickerProviderStateMixin {
late AnimationController _controller;
int _stepIndex = 0;
final List<String> _steps = [
'Analysing your goals...',
'Matching your preferences...',
'Crafting your personal plan...',
'Almost ready!',
];
void initState() {
super.initState();
_controller = AnimationController(vsync: this, duration: const Duration(seconds: 4))
..addListener(() {
final newIndex = (_controller.value * _steps.length).floor().clamp(0, _steps.length - 1);
if (newIndex != _stepIndex) {
setState(() => _stepIndex = newIndex);
}
})
..forward().whenComplete(widget.onComplete);
}
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircularProgressIndicator(value: _controller.value),
const SizedBox(height: 32),
AnimatedSwitcher(
duration: const Duration(milliseconds: 400),
child: Text(
_steps[_stepIndex],
key: ValueKey(_stepIndex),
style: Theme.of(context).textTheme.titleMedium,
),
),
],
),
),
);
}
}// Generated by /app-onboarding-questionnaire
import 'package:flutter/material.dart';
class ProcessingScreen extends StatefulWidget {
final VoidCallback onComplete;
const ProcessingScreen({required this.onComplete, super.key});
State<ProcessingScreen> createState() => _ProcessingScreenState;
}
class _ProcessingScreenState extends State<ProcessingScreen>
with SingleTickerProviderStateMixin {
late AnimationController _controller;
int _stepIndex = 0;
final List<String> _steps = [
'Analysing your goals...',
'Matching your preferences...',
'Crafting your personal plan...',
'Almost ready!',
];
void initState() {
super.initState();
_controller = AnimationController(vsync: this, duration: const Duration(seconds: 4))
..addListener(() {
final newIndex = (_controller.value * _steps.length).floor().clamp(0, _steps.length - 1);
if (newIndex != _stepIndex) {
setState(() => _stepIndex = newIndex);
}
})
..forward().whenComplete(widget.onComplete);
}
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircularProgressIndicator(value: _controller.value),
const SizedBox(height: 32),
AnimatedSwitcher(
duration: const Duration(milliseconds: 400),
child: Text(
_steps[_stepIndex],
key: ValueKey(_stepIndex),
style: Theme.of(context).textTheme.titleMedium,
),
),
],
),
),
);
}
}// Generated from detected NSCameraUsageDescription in Info.plist
struct CameraPermissionPrimingView: View {
@EnvironmentObject var onboardingState: OnboardingState
var body: some View {
VStack(spacing: 32) {
Image(systemName: "camera.fill")
.font(.system(size: 64))
.foregroundColor(.accentColor)
VStack(spacing: 12) {
Text("Scan ingredients instantly")
.font(.title2.bold())
Text("Point your camera at any ingredient or barcode and we'll find matching recipes in seconds — no typing needed.")
.multilineTextAlignment(.center)
.foregroundColor(.secondary)
}
VStack(spacing: 8) {
Label("Identify 10,000+ ingredients", systemImage: "checkmark.circle.fill")
Label("Scan barcodes for nutrition info", systemImage: "checkmark.circle.fill")
Label("Works offline for pantry items", systemImage: "checkmark.circle.fill")
}
.foregroundColor(.primary)
Spacer()
PrimaryButton(title: "Enable Camera Access") {
// System prompt shown AFTER this priming screen
onboardingState.requestCameraPermission()
}
Button("Not now") {
onboardingState.skipPermission(.camera)
}
.foregroundColor(.secondary)
}
.padding(32)
}
}// Generated from detected NSCameraUsageDescription in Info.plist
struct CameraPermissionPrimingView: View {
@EnvironmentObject var onboardingState: OnboardingState
var body: some View {
VStack(spacing: 32) {
Image(systemName: "camera.fill")
.font(.system(size: 64))
.foregroundColor(.accentColor)
VStack(spacing: 12) {
Text("Scan ingredients instantly")
.font(.title2.bold())
Text("Point your camera at any ingredient or barcode and we'll find matching recipes in seconds — no typing needed.")
.multilineTextAlignment(.center)
.foregroundColor(.secondary)
}
VStack(spacing: 8) {
Label("Identify 10,000+ ingredients", systemImage: "checkmark.circle.fill")
Label("Scan barcodes for nutrition info", systemImage: "checkmark.circle.fill")
Label("Works offline for pantry items", systemImage: "checkmark.circle.fill")
}
.foregroundColor(.primary)
Spacer()
PrimaryButton(title: "Enable Camera Access") {
// System prompt shown AFTER this priming screen
onboardingState.requestCameraPermission()
}
Button("Not now") {
onboardingState.skipPermission(.camera)
}
.foregroundColor(.secondary)
}
.padding(32)
}
}// SwiftUI example
class OnboardingState: ObservableObject {
@Published var currentScreen: OnboardingScreen = .welcome
@Published var selectedGoal: String?
@Published var agreedPains: [String] = []
@Published var preferences: UserPreferences = .default
@Published var demoResult: DemoOutput?
// Persisted to UserDefaults so onboarding survives app restarts
func advance() {
let next = currentScreen.next(given: self)
withAnimation { currentScreen = next }
save()
}
func save() {
// Skill generates serialisation code appropriate to your stack
}
}// SwiftUI example
class OnboardingState: ObservableObject {
@Published var currentScreen: OnboardingScreen = .welcome
@Published var selectedGoal: String?
@Published var agreedPains: [String] = []
@Published var preferences: UserPreferences = .default
@Published var demoResult: DemoOutput?
// Persisted to UserDefaults so onboarding survives app restarts
func advance() {
let next = currentScreen.next(given: self)
withAnimation { currentScreen = next }
save()
}
func save() {
// Skill generates serialisation code appropriate to your stack
}
}/app-onboarding-questionnaire| Option | Description |
|---|---|
| App type | Subscription, freemium, one-time purchase |
| Core loop | The single thing users do in your app |
| Target audience | Who the app is for (used for copy tone) |
| Paywall timing | Whether to show paywall before or after account creation |
| Screens to skip | Comparison table, account gate, etc. |
| Brand colours | Used in generated SwiftUI/CSS/Flutter theme code |
/app-onboarding-questionnaire| 配置项 | 说明 |
|---|---|
| 应用类型 | 订阅制、免费增值、一次性付费 |
| 核心使用流程 | 用户在应用中的核心操作 |
| 目标受众 | 应用的目标用户群体(用于调整文案风格) |
| 付费墙时机 | 在账号创建之前还是之后展示付费墙 |
| 要跳过的页面 | 对比表格、账号门槛等 |
| 品牌配色 | 用于生成SwiftUI/CSS/Flutter主题代码 |
/app-onboarding-questionnaire resume/app-onboarding-questionnaire --from=paywall/app-onboarding-questionnaire resume/app-onboarding-questionnaire --from=paywallInfo.plist<AppName>/Info.plistAndroidManifest.xmlapp/src/main/AndroidManifest.xml.swift.tsx.dart.kt/app-onboarding-questionnaire --framework=swiftui/app-onboarding-questionnaire --screens=welcome,goal,processing,paywallInfo.plist<AppName>/Info.plistAndroidManifest.xmlapp/src/main/AndroidManifest.xml.swift.tsx.dart.kt/app-onboarding-questionnaire --framework=swiftui/app-onboarding-questionnaire --screens=welcome,goal,processing,paywall