跳到正文
cccskills
免费在 GitHub 公开

users

Skill for the Users area of paddock. 45 symbols across 12 files.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Users

45 symbols | 12 files | Cohesion: 78%

When to Use

  • Working with code in src/
  • Understanding how getMcSessionCookieName, isRequestSecure, parseMcSessionCookieHeader work
  • Modifying users-related functionality

Key Files

FileSymbols
src/lib/auth.tswarnProxyAuthMisconfigOnce, safeCompare, getDefaultWorkspaceContext, getWorkspaceIdFromRequest, getTenantIdFromRequest (+15)
src/lib/session-cookie.tsgetMcSessionCookieName, isRequestSecure, parseMcSessionCookieHeader, envFlag, getMcSessionCookieOptions
src/lib/security-events.tsnormalizeSecurityEventType, calculateAgentTrustScore, logSecurityEvent, updateAgentTrustScore
src/lib/password.tshashPassword, verifyPasswordWithRehashCheck, verifyPassword
src/app/api/auth/users/route.tsPOST, PUT, DELETE
src/app/api/setup/route.tsGET, POST
src/app/api/auth/me/route.tsGET, PATCH
src/app/api/auth/google/route.tsupsertAccessRequest, POST
src/lib/google-auth.tsverifyGoogleIdToken
src/lib/db.tsneedsFirstTimeSetup

Entry Points

Start here when exploring this area:

  • getMcSessionCookieName (Function) — src/lib/session-cookie.ts:6
  • isRequestSecure (Function) — src/lib/session-cookie.ts:10
  • parseMcSessionCookieHeader (Function) — src/lib/session-cookie.ts:15
  • getMcSessionCookieOptions (Function) — src/lib/session-cookie.ts:35
  • calculateAgentTrustScore (Function) — src/lib/security-events.ts:62

Key Symbols

SymbolTypeFileLine
getMcSessionCookieNameFunctionsrc/lib/session-cookie.ts6
isRequestSecureFunctionsrc/lib/session-cookie.ts10
parseMcSessionCookieHeaderFunctionsrc/lib/session-cookie.ts15
getMcSessionCookieOptionsFunctionsrc/lib/session-cookie.ts35
calculateAgentTrustScoreFunctionsrc/lib/security-events.ts62
logSecurityEventFunctionsrc/lib/security-events.ts78
updateAgentTrustScoreFunctionsrc/lib/security-events.ts121
hashPasswordFunctionsrc/lib/password.ts11
verifyPasswordWithRehashCheckFunctionsrc/lib/password.ts22
verifyPasswordFunctionsrc/lib/password.ts42
verifyGoogleIdTokenFunctionsrc/lib/google-auth.ts10
needsFirstTimeSetupFunctionsrc/lib/db.ts353
safeCompareFunctionsrc/lib/auth.ts42
getWorkspaceIdFromRequestFunctionsrc/lib/auth.ts172
getTenantIdFromRequestFunctionsrc/lib/auth.ts177
createSessionFunctionsrc/lib/auth.ts188
destroyAllUserSessionsFunctionsrc/lib/auth.ts274
authenticateUserFunctionsrc/lib/auth.ts285
getUserByIdFunctionsrc/lib/auth.ts333
createUserFunctionsrc/lib/auth.ts356

Execution Flows

FlowTypeSteps
PATCH → EnsureDirExistscross_community7
PATCH → CalculateAgentTrustScorecross_community7
PATCH → Generatecross_community7
POST → EnsureDirExistscross_community7
POST → CalculateAgentTrustScorecross_community7
POST → Generatecross_community7
GET → EnsureDirExistscross_community7
GET → CalculateAgentTrustScorecross_community7
GET → Generatecross_community7
POST → EnsureDirExistscross_community7

Connected Areas

AreaConnections
[id]27 calls
Cluster_2894 calls
Cluster_1911 calls

How to Explore

  1. gitnexus_context({name: "getMcSessionCookieName"}) — see callers and callees
  2. gitnexus_query({query: "users"}) — find related execution flows
  3. Read key files listed above for implementation details

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

adapters

免费

Skill for the Adapters area of paddock. 108 symbols across 22 files.

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

chat

免费

Skill for the Chat area of paddock. 62 symbols across 10 files.

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

dashboard

免费

Skill for the Dashboard area of paddock. 80 symbols across 16 files.

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

github

免费

Skill for the Github area of paddock. 23 symbols across 5 files.

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: "Index this repo", "Reanalyze the codebase", "Generate a wiki"

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?", "Where does this error come from?", "Trace this bug"

中文简介正在准备中。当前显示原文说明。

racecraft-lab/paddock-prototype122026年6月26日 更新

查看 racecraft-lab 的全部技能

报告此技能的问题