moai-adk-main/.claude/skills/moai-baas-foundation/SKILL.md
Enterprise Backend-as-a-Service Foundation with AI-powered BaaS architecture patterns, strategic provider selection, and intelligent multi-service orchestration for scalable production applications
npx skillsauth add ajbcoding/claude-skill-eval moai-baas-foundationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Field | Value | | ----- | ----- | | Skill Name | moai-baas-foundation | | Version | 4.0.0 (2025-11-13) | | Tier | Foundation (Core Architecture) | | AI-Powered | ✅ Context7 Integration, Intelligent Architecture Analysis | | Auto-load | On demand when BaaS patterns detected |
Enterprise Backend-as-a-Service foundation expert with AI-powered BaaS architecture patterns, strategic provider selection intelligence, and intelligent multi-service orchestration for scalable production applications.
Revolutionary v4.0.0 capabilities:
Automatic triggers:
Manual invocation:
Auth0 (Enterprise Identity)
Clerk (Modern Developer-First)
Firebase (Google Cloud Integrated)
Supabase (Open-Source PostgreSQL)
Neon (Serverless PostgreSQL)
Vercel (Edge-First Deployment)
Railway (Full-Stack Platform)
Cloudflare (Edge Everywhere)
# AI-powered BaaS provider selection with Context7
class EnterpriseProviderSelector:
def __init__(self):
self.context7_client = Context7Client()
self.cost_calculator = CostCalculator()
async def select_optimal_providers(self,
requirements: ApplicationRequirements,
constraints: Constraints) -> ProviderRecommendation:
"""Select optimal BaaS providers using AI analysis."""
# Get latest provider documentation via Context7
providers = ['auth0', 'clerk', 'firebase', 'supabase', 'neon', 'vercel', 'railway']
provider_docs = {}
for provider in providers:
docs = await self.context7_client.get_library_docs(
context7_library_id=await self._resolve_provider_library(provider),
topic="enterprise features performance scalability pricing 2025",
tokens=3000
)
provider_docs[provider] = docs
# Analyze requirements compatibility
compatibility_analysis = self._analyze_compatibility(requirements, provider_docs)
# Calculate total cost of ownership
cost_analysis = self.cost_calculator.analyze_providers(
requirements, provider_docs, constraints
)
return ProviderRecommendation(
primary_provider=compatibility_analysis.best_match,
secondary_providers=compatibility_analysis.alternatives,
cost_projection=cost_analysis.projections,
risk_assessment=self._assess_vendor_risk(compatibility_analysis),
implementation_roadmap=self._generate_implementation_roadmap(
compatibility_analysis.best_match, requirements
)
)
enterprise_baas_architecture:
tier_1_authentication:
primary: "Auth0 or Clerk"
features: ["SSO", "MFA", "Multi-tenant", "Federation"]
integration: "OAuth 2.0 / OIDC"
tier_2_data_layer:
option_a: "Supabase (PostgreSQL-centric)"
option_b: "Firebase (Real-time)"
option_c: "Neon (Serverless PostgreSQL)"
shared: ["RLS/IAM", "Real-time", "Backups"]
tier_3_compute:
edge_functions: "Vercel Edge / Cloudflare Workers / Supabase Edge Functions"
backend: "Railway / Vercel / Cloudflare Workers"
features: ["Serverless", "Auto-scaling", "Global distribution"]
tier_4_infrastructure:
deployment: "Vercel / Railway / Cloudflare Pages"
database: "Neon / Supabase / Firebase"
cdn: "Vercel / Cloudflare / Firebase CDN"
cross_cutting_concerns:
monitoring: "DataDog / Sentry / Native provider monitoring"
security: "Encryption at rest/transit, IAM, audit logs"
disaster_recovery: "Backups, failover, multi-region"
cost_optimization: "Reserved capacity, auto-scaling, caching"
START: Choose BaaS Providers
│
├─ Authentication
│ ├─ Enterprise SSO? → Auth0
│ ├─ Developer-first? → Clerk
│ └─ Integrated ecosystem? → Firebase Auth
│
├─ Database
│ ├─ Real-time sync critical? → Firebase Realtime
│ ├─ Complex SQL queries? → Supabase or Neon
│ ├─ Serverless auto-scale? → Neon
│ └─ Mobile-first? → Firebase Realtime
│
├─ Deployment
│ ├─ Next.js focused? → Vercel
│ ├─ Full-stack containers? → Railway
│ ├─ Edge computing? → Cloudflare
│ └─ Cost-conscious? → Railway
│
└─ Storage
├─ Integrated with DB? → Supabase Storage
├─ Cost-optimal? → Cloudflare R2
└─ Firebase ecosystem? → Google Cloud Storage
| Pitfall | Impact | Mitigation | |---------|--------|-----------| | Single provider dependency | High switching cost | Use multi-cloud strategy | | No disaster recovery | Data loss risk | Regular backups + failover testing | | Unoptimized costs | Budget overruns | Monthly cost analysis + optimization | | Security gaps | Breach risk | Security audits + compliance checks | | Performance bottlenecks | User experience | Load testing + monitoring |
select_optimal_providers(requirements, constraints) - AI-powered provider selectiondesign_multi_service_architecture(requirements) - Architecture planninganalyze_total_cost_of_ownership(providers, usage) - Cost calculationassess_provider_risks(provider, requirements) - Risk analysisget_latest_provider_documentation(provider) - Official docs via Context7analyze_provider_updates(providers) - Real-time update analysisoptimize_provider_selection() - Latest best practicesmoai-baas-auth0-ext (Enterprise authentication)moai-baas-clerk-ext (Modern authentication)moai-baas-firebase-ext (Real-time database)moai-baas-supabase-ext (PostgreSQL alternative)moai-baas-neon-ext (Serverless PostgreSQL)moai-baas-vercel-ext (Edge deployment)moai-baas-railway-ext (Full-stack platform)moai-baas-cloudflare-ext (Edge computing)moai-domain-backend (Backend architecture patterns)moai-essentials-perf (Performance optimization)moai-foundation-trust (Security patterns)End of Skill | Updated 2025-11-13
End of Enterprise BaaS Foundation Expert v4.0.0
content-media
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
development
Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.
tools
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
tools
Replace with description of the skill and when Claude should use it.