Skip to content
cccskills
FreePublished on GitHub

users

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

chat

Free

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

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

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

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

github

Free

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

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

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"

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

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"

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

See all skills by racecraft-lab

Report a problem with this skill