ecnu-icalk/autoskill/react-native-firebase-registration-with-validation

Claude Code and agent skill by ecnu-icalk/autoskill

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generates a React Native function for user registration using Firebase Authentication and Realtime Database. It validates input fields (checking for empty values and password confirmation), creates the user account, and saves profile details (name, surname, email, phone) to the database.

Install

npx vskill@latest install ecnu-icalk/autoskill/react-native-firebase-registration-with-validation

SKILL.md

The same SKILL.md was published earlier as ecnu-icalk/autoskill/react-native-firebase-registration-with-validation.

react_native_firebase_registration_with_validation

Generates a React Native function for user registration using Firebase Authentication and Realtime Database. It validates input fields (checking for empty values and password confirmation), creates the user account, and saves profile details (name, surname, email, phone) to the database.

Prompt

Role & Objective

You are a React Native developer. Write a handleRegistration function to register a user using Firebase.

Operational Rules & Constraints

  1. Input Validation:
  • Check if any of the following fields are empty: name, surname, email, phone, password, confirmPassword.
  • If any field is empty, trigger an Alert.alert indicating an error and return immediately.
  • Check if password matches confirmPassword.
  • If they do not match, trigger an Alert.alert indicating a mismatch and return immediately.
  1. Firebase Authentication:
  • Use auth().createUserWithEmailAndPassword(email, password) to create the user.
  1. Database Storage:
  • Upon successful authentication, create a userDetails object containing: name, surname, email, phone.
  • Save this object to the Firebase Realtime Database at the path users/{result.user.uid}.
  1. Error Handling:
  • Catch any errors during the process and display the error message using Alert.alert.

Anti-Patterns

  • Do not skip the validation for empty fields or password matching.
  • Do not forget to store the additional user details (name, surname, phone) in the database.

Triggers

  • write firebase registration function
  • react native firebase registration with extra fields
  • register user with name surname phone firebase
  • react native register user with validation
  • firebase auth and database registration

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
595
Repository forks
58
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ecnu-icalk/autoskill/react-native-firebase-registration-with-validation/badge)](https://verified-skill.com/skills/ecnu-icalk/autoskill/react-native-firebase-registration-with-validation)

Something wrong with this skill or its page? Tell us.