@solaqua/ghosts 0.4.19 → 0.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ For installation selectors, use the source path, such as `--include skills/code-
|
|
|
55
55
|
| [coding](engineering/skills/coding/SKILL.md) | Keep implementation simple and tests focused on meaningful behavior. |
|
|
56
56
|
| [code-review](engineering/skills/code-review/SKILL.md) | Review correctness, downstream contracts, design, and complexity; verify material safety assumptions without editing the change. |
|
|
57
57
|
| [test-review](engineering/skills/test-review/SKILL.md) | Find missing test protection and tests that cost more than they protect. |
|
|
58
|
+
| [docstring-review](engineering/skills/docstring-review/SKILL.md) | Find function summaries that obscure their domain purpose with implementation details. |
|
|
58
59
|
| [deep-module](engineering/skills/deep-module/SKILL.md) | Check whether a module hides complexity behind a simple interface. |
|
|
59
60
|
| [verify-journeys](engineering/skills/verify-journeys/SKILL.md) | Verify real user journeys and report observable outcomes, evidence, and coverage gaps. |
|
|
60
61
|
| [benchmark-checklist](engineering/skills/benchmark-checklist/SKILL.md) | Check performance claims for equivalent work, experimental control, and repeatability. |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ghosts:docstring-review
|
|
3
|
+
description: Read-only review of function and method docstring or TSDoc summaries for domain purpose rather than implementation narration.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Review function and method documentation summaries read-only. Use the user's target or the change being discussed; otherwise review the current branch's diff against its base, including uncommitted changes. Inspect the implementation and relevant callers to establish the function's purpose.
|
|
8
|
+
|
|
9
|
+
- Any function or method docstring or TSDoc summaries that narrate internal steps or enumerate permissions, side effects, and error handling instead of stating the function's purpose in domain terms?
|
|
10
|
+
- Recommend a concise purpose statement, usually one sentence. Use domain terms supported by the code; do not invent intent or guarantees.
|
|
11
|
+
- Preserve contract details callers need in separate documentation sections or paragraphs. Permissions, side effects, or failures may belong in the summary when they define the function's domain purpose; do not flag them merely for appearing there.
|
|
12
|
+
|
|
13
|
+
Report only summaries that obscure the function's purpose. Do not request missing docstrings, expand the review to unrelated documentation, or flag harmless wording preferences.
|
|
14
|
+
|
|
15
|
+
Write findings in the user's language. For each finding, include the file and line, the existing summary, why it obscures the purpose, and a proposed replacement summary. Use commit-pinned permalinks for GitHub targets. State when no actionable findings were found and disclose any material review limitations.
|
package/package.json
CHANGED
package/registry/skul.refs.json
CHANGED