skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
caomeiyouren/momei48 installs

context-analyzer

分析项目上下文、Nuxt 结构和依赖项,用于规划和调试。

How do I install this agent skill?

npx skills add https://github.com/caomeiyouren/momei --skill context-analyzer
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a development tool designed to analyze Nuxt.js project structures and authentication flows. It functions by reading project source files to map logic and dependencies. While it accesses sensitive authentication configuration files, this is part of its stated purpose, though the ingestion of untrusted project data presents a minor risk of indirect prompt injection.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

What does this agent skill do?

Context Analyzer Skill (上下文分析技能)

能力 (Capabilities)

  • 项目结构分析: 理解 Nuxt 目录约定 (server/api, components, pages) 以及 Nuxt 4 特性。
  • 符号解析: 定位组件、自动导入的可组合函数 (composables) 和 TypeORM 实体的定义。
  • 认证流程分析: 深入理解 Better-Auth 的集成,包括 lib/auth.ts (服务端), lib/auth-client.ts (客户端), middleware/auth.global.ts (全局中间件)。
  • 依赖检查: 读取 package.json 以验证已安装的包和版本。

指令 (Instructions)

  1. 读取结构: 使用目录列表工具了解布局,忽略 node_modules 和 .output。
  2. 识别 Nuxt 类型: 将 server/api 识别为后端定义,将 pages/components 识别为前端。
  3. 追踪逻辑: 广泛搜索符号定义,以理解数据如何在后端实体 (Entities) 和前端组件 (Components) 之间流动。
  4. 身份验证感知: 在处理受保护路由或用户数据时,务必检查 server/api/auth/* 和 middleware/auth.global.ts。
  5. 依赖项: 在建议导入之前检查 package.json 以了解可用的库。

使用示例 (Usage Example)

输入: "分析当前的用户认证流程。" 动作: 读取 server/api/auth/*, lib/auth-client.ts, middleware/auth.global.ts 和 pages/login.vue 来映射流程。

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/caomeiyouren/momei/context-analyzer">View context-analyzer on skillZs</a>