Component patterns
Skill RadKod/claude-agents-kit/react-native-app/.claude/skills/component-patterns
React Native component pattern'leri. Screen, form, list, modal olusturma. UI implement ederken kullan.From its SKILL.md
npx -y skills add RadKod/claude-agents-kit --skill component-patternsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, 311 tokens by cl100k_base, as published. Nobody here has run it
Screen Template
export default function ProfileScreen() {
const { data, isLoading, error } = useProfile();
if (isLoading) return <ScreenSkeleton />;
if (error) return <ErrorView retry={refetch} />;
return <ScrollView className="flex-1 bg-white p-4">...</ScrollView>;
}
Form Pattern (react-hook-form + zod)
const schema = z.object({ email: z.string().email(), password: z.string().min(8) });
type FormData = z.infer<typeof schema>;
export function LoginForm() {
const { control, handleSubmit } = useForm<FormData>({ resolver: zodResolver(schema) });
const onSubmit = (data: FormData) => loginMutation.mutate(data);
return <View>
<Controller control={control} name="email" render={({field, fieldState}) => (
<TextInput className={fieldState.error ? 'border-red-500' : 'border-gray-300'} {...field} />
)} />
</View>;
}
List Pattern
// Buyuk listeler icin DAIMA FlatList, ScrollView degil
<FlatList
data={items}
keyExtractor={(item) => item.id}
renderItem={({ item }) => <ItemCard item={item} />}
onEndReached={fetchNextPage}
onEndReachedThreshold={0.5}
ListEmptyComponent={<EmptyState />}
/>
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.