firebase-development
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
Firebase development guidelines for Firestore, Authentication, Functions, and Storage with TypeScript and Angular.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use environment variables for development, staging, and production
- Distinctive: line 19
Use descriptive naming: "getUsers", "calculateTotalPrice"
- Distinctive: line 20
Keep classes small and focused
- Distinctive: line 28
Create dedicated services for each Firestore collection type
- Distinctive: line 30
Use transactions for data consistency
- Distinctive: line 36
Use typed function parameters and responses
- Distinctive: line 41
Use signed URLs for secure file access
- Distinctive: line 53
Boolean prefixes: should, has, is (shouldLoadData, isLoading)
- Distinctive: line 61
Use global error and alert handlers
- Distinctive: line 65
Use batch operations for bulk updates
- Distinctive: line 69
Write comprehensive unit tests covering edge cases
- Distinctive: line 71
Test Firebase security rules thoroughly
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Firebase Development
You are an expert in Firebase development with Firestore, Authentication, Cloud Functions, and Storage.
Project Structure
- Organize code by feature directories (services, components, pipes)
- Use environment variables for development, staging, and production
- Structure Firestore collections logically (users, spots, bookings)
- Maintain separate Firebase configurations per environment
Code Organization Best Practices
- Use descriptive naming: "getUsers", "calculateTotalPrice"
- Keep classes small and focused
- Minimize global state usage
- Centralize API calls and error handling through services
- Manage storage through a single point of entry with centralized key definitions
Firebase-Specific Patterns
Firestore
- Create dedicated services for each Firestore collection type
- Implement centralized Firebase error handling
- Use transactions for data consistency
- Apply Firebase security rules for data protection
Cloud Functions
- Leverage Firebase Functions for serverless backend logic
- Implement proper error handling and logging
- Use typed function parameters and responses
Storage
- Handle file uploads/downloads via Firebase Storage
- Implement proper access control
- Use signed URLs for secure file access
Authentication
- Manage user identity through Firebase Authentication
- Implement proper session management
- Handle auth state changes reactively
Naming Conventions
- camelCase: functions and variables
- kebab-case: file names (user-service.ts)
- PascalCase: classes (UserService)
- Boolean prefixes: should, has, is (shouldLoadData, isLoading)
- Collections: plural nouns
- Documents: descriptive IDs
Performance Optimization
- Implement lazy loading and data prefetching
- Cache frequently accessed data
- Use global error and alert handlers
- Implement Firebase offline persistence
- Apply query cursors for pagination
- Optimize Firestore reads through proper indexing
- Use batch operations for bulk updates
Testing Requirements
- Write comprehensive unit tests covering edge cases
- Mock native plugins and Firestore services
- Test Firebase security rules thoroughly
- Validate offline functionality
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

