用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kryptobaseddev/llmtxt --skill middleware命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Primitives and SDK for LLM agent content workflows: compression, patching, progressive disclosure, signed URLs, collaborative document lifecycle, and retrieval planning Use when: (1) running llmtxt CLI commands, (2) calling its 173 API functions, (3) configuring llmtxt, (4) understanding its 282 type definitions, (5) working with its 39 classes, (6) user mentions "llm", "agent", "compression", "content", "patch", (7) user mentions "llmtxt" or asks about its API.
Users table - supports both anonymous (24hr TTL) and registered accounts. Anonymous users get a generated ID and no credentials. They are auto-purged after `expiresAt`. Registered users provide email/password and persist indefinitely until explicitly deleted. Use when: (1) calling its 122 API functions, (2) understanding its 212 type definitions, (3) working with its 3 classes, (4) user mentions "@llmtxt/backend" or asks about its API.
Skill for the Cluster_14 area of llmtxt. 7 symbols across 1 files.
基于 SOC 职业分类
正在显示 SKILL.md
| name | middleware |
| description | Skill for the Middleware area of llmtxt. 10 symbols across 4 files. |
10 symbols | 4 files | Cohesion: 70%
apps/| File | Symbols |
|---|---|
apps/backend/src/middleware/cache.ts | getDocumentCacheKey, shouldSkipCache, cacheDocumentContent, cacheDocumentMetadata, setCachedContent |
apps/backend/src/middleware/auth.ts | requireAuth, requireRegistered, requireOwner |
apps/backend/src/routes/web.ts | getDocumentWithContent |
apps/backend/src/routes/disclosure.ts | resolveDocument |
Start here when exploring this area:
getDocumentWithContent (Function) — apps/backend/src/routes/web.ts:37getDocumentCacheKey (Function) — apps/backend/src/middleware/cache.ts:9shouldSkipCache (Function) — apps/backend/src/middleware/cache.ts:16cacheDocumentContent (Function) — apps/backend/src/middleware/cache.ts:25cacheDocumentMetadata (Function) — apps/backend/src/middleware/cache.ts:52| Symbol | Type | File | Line |
|---|---|---|---|
getDocumentWithContent | Function | apps/backend/src/routes/web.ts | 37 |
getDocumentCacheKey | Function | apps/backend/src/middleware/cache.ts | 9 |
shouldSkipCache | Function | apps/backend/src/middleware/cache.ts | 16 |
cacheDocumentContent | Function | apps/backend/src/middleware/cache.ts | 25 |
cacheDocumentMetadata | Function | apps/backend/src/middleware/cache.ts | 52 |
setCachedContent | Function | apps/backend/src/middleware/cache.ts | 79 |
requireAuth | Function | apps/backend/src/middleware/auth.ts | 20 |
requireRegistered | Function | apps/backend/src/middleware/auth.ts | 43 |
requireOwner | Function | apps/backend/src/middleware/auth.ts | 57 |
resolveDocument | Function | apps/backend/src/routes/disclosure.ts | 31 |
| Flow | Type | Steps |
|---|---|---|
DisclosureRoutes → GetUint8ArrayMemory0 | cross_community | 6 |
DisclosureRoutes → Delete | cross_community | 5 |
HandleContentNegotiation → Delete | cross_community | 5 |
DisclosureRoutes → GetDocumentCacheKey | cross_community | 4 |
CacheDocumentContent → Delete | cross_community | 4 |
CacheDocumentMetadata → Delete | cross_community | 4 |
Main → GetDocumentCacheKey | cross_community | 4 |
HandleContentNegotiation → GetDocumentCacheKey | cross_community | 4 |
LifecycleRoutes → GetDocumentCacheKey | cross_community | 3 |
Main → ShouldSkipCache | cross_community | 3 |
| Area | Connections |
|---|---|
| Wasm | 6 calls |
gitnexus_context({name: "getDocumentWithContent"}) — see callers and calleesgitnexus_query({query: "middleware"}) — find related execution flows