decontextualize-text
技能 (Skill):去语境化文本 (Decontextualize Text)
目的 (Purpose)
将依赖于私人上下文、隐含假设或特定环境细节的内容转变为通用、可重用的措辞。主要场景:项目去语境化 — 准备一个用于转交、开源或跨组织使用的项目。通过删除或替换特定标识符(包括文本中出现的路径字符串和文件/文件夹名称),可以在不同的上下文中正确理解内容,同时保护组织隐私。
核心目标(Core Objective)
首要目标:生成去上下文的文本,保留核心逻辑和结构,同时删除所有组织标识符和私人上下文。
成功标准(必须满足所有要求):
- ✅ 替换所有敏感术语:公司名称、项目代号、内部 URL、人员姓名、路径字符串以及具有内部上下文的文件/文件夹名称均被识别并替换为通用等效项
- ✅ 保留核心逻辑:所做的事情和原因的本质保持不变;没有功能信息丢失
- ✅ 内容是独立的:文本无需原始上下文即可完全理解;隐含的假设被明确化或删除
- ✅ 保留结构:Markdown 格式、段落结构、逻辑层次和功能指令保持不变
- ✅ 无重新识别残留物:输出不包含任何可以重新识别组织或个人的内容(没有唯一 ID、内部流程编号、非公开术语)
More from nesnilnehc/ai-cortex
review-codebase
Review given file/dir/repo for current-state code organization: module boundaries, design patterns, cross-module dependencies, tech debt, and interface stability. Scope-only atomic skill; output is a findings list.
106review-vue
Review Vue 3 code for Composition API, reactivity, components, state (Pinia), routing, and performance. Framework-only atomic skill; output is a findings list.
94review-diff
Review only git diff for impact, regression, correctness, compatibility, and side effects. Scope-only atomic skill; output is a findings list for aggregation.
91review-java
Review Java code for language and runtime conventions: concurrency, exceptions, try-with-resources, API versioning, collections and Streams, NIO, and testability. Language-only atomic skill; output is a findings list.
84review-architecture
Review code for architecture: module and layer boundaries, dependency direction, single responsibility, cyclic dependencies, interface stability, and coupling. Cognitive-only atomic skill; output is a findings list.
83review-security
Review code for security: injection, sensitive data, auth, dependencies, config, and crypto. Atomic skill; output is a findings list.
74