skills/decontextualize-text/SKILL.md
Convert text with private context or internal dependencies into generic, unbiased expressions that are standalone and reusable. Core goal - produce decontextualized text that preserves logic while removing organizational identifiers. Use for project handoff, open-source prep, methodology abstraction, cross-team sharing.
npx skillsauth add nesnilnehc/ai-cortex decontextualize-textInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将依赖于私人上下文、隐含假设或特定环境细节的内容转变为通用、可重用的措辞。主要场景:项目去语境化 — 准备一个用于转交、开源或跨组织使用的项目。通过删除或替换特定标识符(包括文本中出现的路径字符串和文件/文件夹名称),可以在不同的上下文中正确理解内容,同时保护组织隐私。
首要目标:生成去上下文的文本,保留核心逻辑和结构,同时删除所有组织标识符和私人上下文。
成功标准(必须满足所有要求):
验收测试:来自不同组织的人可以在不询问有关原始上下文的澄清问题的情况下理解和使用此内容吗?
acme-internal/config.yaml → project-root/config.yaml)。何时使用:当您需要消除“由于环境差异而造成的理解障碍”或“信息安全边界”时。
acme-internal/、team-alpha-output/)。acme-internal/config.yaml、team-alpha/output/)。不要做这些(其他技能可以处理它们):
generate-standard-readme何时停止并交接:
来自不同组织的人可以在不询问有关原始上下文的澄清问题的情况下理解和使用此内容吗?
如果否:去情境化不完整。检查剩余的上下文依赖性或不清楚的通用术语。
如果是:去情境化已完成。
|原创|脱离语境 | | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- | |在Acme的JIRA工作流程中,当需求进入“Tech Review”时,运行X团队的Checklist,然后通知PM李四。 |当需求进入“技术审核”阶段时,运行定义的检查表并通知相关产品负责人。 |
|原创|脱离语境 | | ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | |通过我们公司LLM网关(api.acme.internal)调用gpt-4,超时30s。 |通过LLM API调用模型;设置合理的超时时间(例如 30 秒)。 |
|原创|脱离语境 | | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | |根据 Kiro 团队政策,Python 必须通过分数 ≥ 9.0 的“pylint”才能合并到“master”。 |根据代码质量策略,代码应通过静态检查(例如“pylint”)并在合并到主分支之前满足所需的阈值。 |
|原创|脱离语境 | | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | |配置位于“acme-internal/settings.yaml”中。输出进入“team-alpha/output/”。 |配置位于“project-root/settings.yaml”(或“config/settings.yaml”)中。输出转到“输出/”。 |
development
Generate an LLM agent test suite (golden cases, mock-LLM unit tests, evaluator harness) from an agent implementation and its agent-test contract. Use when an agent has no tests, or a contract exists but the test code is missing.
development
After code changes, auto-detect the project's build system and local deployment method for a given directory, then build the project and restart its locally-deployed environment (Docker Compose / systemd / process manager). Never assumes — asks only when detection is ambiguous. Caches detected commands per project in .cortex/redeploy-local.yaml; re-invocations on the same project skip re-scanning until signal files change, the cache expires (30 days), or the skill version bumps.
tools
Publish a NATS message conforming to a cross-team contract, using NATS MCP tools. Authors the contract on first use if missing. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting basics across sessions.
tools
Drain pending NATS messages from a producer contract via NATS MCP tools (default batch / drain-style). Applies Tolerant Reader semantics and per-message ack/nak/term, returning aggregated stats. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting.