界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

bkend-cookbook

bkend-cookbook

【效率与协作】bkend.ai project tutorials (todo to SaaS) and common error troubleshooting. Triggers: bkend tutorial, bkend cookbook, bkend troubleshooting

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: bkend-cookbook classification: capability classification-reason: Pattern guidance may overlap with model's built-in knowledge as it improves deprecation-risk: medium effort: medium description: | bkend.ai project tutorials (todo to SaaS) and common error troubleshooting. Triggers: bkend tutorial, bkend cookbook, bkend troubleshooting user-invocable: false agent: bkit:bkend-expert allowed-tools:

  • Read
  • Write
  • Edit
  • Glob
  • Grep
  • Bash
  • mcp__bkend__* imports:
  • ${PLUGIN_ROOT}/templates/shared/bkend-patterns.md

bkend.ai Cookbook & Troubleshooting

Single Project Guides

ProjectLevelKey Features
Todo AppBeginnerBasic CRUD, state management
Note AppBeginnerRich text, categories
BlogIntermediatePosts, tags, file upload
Chat AppIntermediateReal-time messaging
E-commerceIntermediateProducts, orders, payments
Booking SystemIntermediateReservations, calendar
Social FeedAdvancedPosts, follows, feeds
DashboardAdvancedCharts, analytics, roles
Multi-tenantAdvancedOrganization-scoped data
SaaS StarterAdvancedSubscriptions, billing, onboarding

Full Guide Projects (4, each with quick-start + 7 chapters)

ProjectAuthCore CRUDFilesAdvancedAI
BlogEmail/SocialArticles, TagsImagesBookmarksAI summary
Recipe AppEmail/SocialRecipes, IngredientsPhotosMeal Plan, Shopping ListAI recommendations
Shopping MallEmail/SocialStores, Products, OrdersProduct imagesReviewsAI search
Social NetworkEmail/SocialProfiles, PostsMediaFollows, FeedsAI recommendations

Common Implementation Pattern

1. Auth setup (email + social login)
2. Core CRUD (main data tables)
3. File upload (images/media)
4. Advanced features (search, filters, relationships)
5. AI integration (recommendations, summaries)
6. Troubleshooting & optimization

Troubleshooting Quick Reference

ErrorCauseSolution
401 UnauthorizedToken expiredPOST /v1/auth/refresh
403 ForbiddenInsufficient permissionsCheck RBAC settings
404 Not FoundWrong path/IDVerify endpoint and environment
409 ConflictUnique field duplicateCheck duplicate data
429 Rate LimitRequest limit exceeded (100/h)Check Retry-After header
CORS ErrorDomain not registeredRegister in bkend console
MCP Connection FailedOAuth incompleteComplete browser auth
Schema ValidationBSON type mismatchCheck schema with backend_table_get

FAQ

QuestionAnswer
Table not visibleCheck environment (dev/staging/prod)
MCP tools not showingRun claude mcp list to verify connection
Social login not workingCheck Provider settings in console
File upload failsVerify size limits (image 10MB, video 100MB)
Slow queriesAdd indexes via backend_index_manage
Data not syncingCheck x-environment header matches

Official Documentation (Live Reference)

For the latest cookbook and troubleshooting, use WebFetch:

我的收藏