用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/imbue-ai/default-workspace-template --skill identify-outdated-docstrings命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | identify-outdated-docstrings |
| argument-hint | ["target_path"] |
| description | Identify outdated docstrings under the $1 path |
The argument $1 is the path to scan. It may be an entire library (e.g. libs/mngr, or just the bare name mngr) or any subdirectory within one (e.g. libs/mngr/imbue/mngr/cli), so you can scope this skill narrowly to part of a library when that is all you care about.
Before doing anything else, resolve these two things from $1 and state them explicitly:
$1 itself, resolved to a real path. (If $1 is a bare library name like mngr, resolve it to libs/mngr or apps/mngr -- whichever exists.) You must only report findings for code under this path.libs/<name> or apps/<name>, so the containing library is exactly that two-component prefix of the scan-scope path (e.g. for a scan scope of libs/mngr/imbue/mngr/cli, the containing library is libs/mngr; for a scan scope of libs/mngr, it is libs/mngr itself). You need this both to gather context and to know where to write the output file -- so make sure you have identified it unambiguously before continuing.Go gather all the context for the containing library (per instructions in CLAUDE.md). Even when the scan scope is a small subdirectory, you still need the whole containing library's context (style guide, primitives, data_types, interfaces, utils) to evaluate the code in context. Be sure to read the containing library's non_issues.md as well.
Once you've gathered that context, please do the below.
Your task is to identify outdated docstrings within the scan scope.
Do NOT worry about any other type of outdated documentation, or any other types of issues beyond outdated docstrings (all those will also be covered by another task).
Do NOT report issues that are already covered by an existing FIXME
Do NOT report issues that are highlighted as non-issues in non_issues.md
After reviewing all the code in the scan scope, think carefully about the most important outdated docstrings.
Then put them, in order from most important to least important, into a markdown file in the containing library's "_tasks/docstrings/" folder (make one if you have to, and always use the containing library's folder even when the scan scope was a subdirectory, so the findings live where create-fixmes and the other identify-* outputs expect them). Name the file ".md` (where you should get "date" by calling this precise command: "date +%Y-%m-%d-%T | tr : -")
For the format of the file, use the following:
# Outdated docstrings under <scan scope> (identified on <date>)
## 1. <fully specified function/class/module name with the outdated docstring>
### Current:
<the current value of the docstring>
### Problem(s):
<short description of what is wrong with the docstring>
### Recommendation:
<your improved docstring>
### Decision:
Accept
## 2. <fully specified function/class/module name with the outdated docstring>
### Current:
Accept
...
There's no need to commit when you're done (these files are gitignored). Just be sure to create the file in the right location with the right content.