vivreal-portal-knowledge
Use when working in the Vivreal Portal (Vivreal_Portal_Mobile), a Next.js 16 App Router web app despite the "Mobile" name. Covers the proxy-route layer (createProxyHandler factory vs hand-written), the three-tier API client rule (createAuthAxios / publicAxios / fetch), the four backend upstreams, auth cookies (token + active_ctx), the retired in-app agent (AI is MCP only), feature flags, PWA shell traps, offline honesty, the Socials and Channels screens, SSR-safe patterns, and e2e/unit test gates. Triggers on: portal, Vivreal_Portal_Mobile, proxy route, createAuthAxios, createProxyHandler, active_ctx, AuthContext, edge runtime, basePath /app, site analytics dashboard, social hub, AI FAB, agent drawer, EditPlan, feature flags, Instagram inbox, reach-out console (formerly cold-call), demo-account claim flow, site template picker, Studio editor, dashboard insights, account deletion, e2e testing, coverage map. Source of truth: Vivreal_Portal_Mobile CLAUDE.md at origin/stable (recount src/app/api/proxy/).
评分58
质量分如何计算?
- 由六个维度加权得出,满分 100。
- 来源可信度(25):是否收录于官方或精选 registry。
- 可安装性(25):可直接运行的命令 > 已声明传输方式 > 仅源码。
- 维护活跃度(20):最近推送时间;已归档条目此项为 0。
- 采用度(20):仓库 star 数,按对数曲线计分。
- 文档完整性(10)与描述质量(10):是否有已解析的 manifest 或 SKILL.md frontmatter,以及是否为真实描述而非占位文本。
- 某个来源结构上无法提供的维度(registry 不提供 star 和许可证)不计入该条目的平均分,而不是记为 0 分,因此不同来源的条目仍可横向比较。
- 安全信号最多扣 20 分。每日抓取时重新计算。