ecnu-icalk/autoskill/react-native-firebase-registration-with-validation
Claude Code and agent skill by ecnu-icalk/autoskill
- community
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-validationSKILL.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
- 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.alertindicating an error and return immediately. - Check if
passwordmatchesconfirmPassword. - If they do not match, trigger an
Alert.alertindicating a mismatch and return immediately.
- Firebase Authentication:
- Use
auth().createUserWithEmailAndPassword(email, password)to create the user.
- Database Storage:
- Upon successful authentication, create a
userDetailsobject containing: name, surname, email, phone. - Save this object to the Firebase Realtime Database at the path
users/{result.user.uid}.
- 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
- SKILL.md in the repositoryCheckingSkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/react_native_firebase_registration_with_validation/SKILL.md
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
[](https://verified-skill.com/skills/ecnu-icalk/autoskill/react-native-firebase-registration-with-validation)