← 返回 Skills 市场
athola

Nm Pensive Code Refinement

作者 athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nm-pensive-code-refinement
功能描述
Improve code quality: duplication, efficiency, clean code, architectural fit, and error handling
安全使用建议
This skill appears to do what it says (repo-wide static heuristics and suggested refactors), but there are small mismatches you should be aware of before installing: - The SKILL.md expects standard shell tools (find/grep/sed/awk), python3, and may call the GitHub CLI (gh) when run against a PR — yet the registry lists no required binaries or credentials. If you plan to use PR integration, ensure any GitHub token supplied to the agent has the minimum scopes you accept and be aware the skill will read repo files. - The skill declares required config paths from other Night Market plugins (including imbue:proof-of-work). Confirm what data those config entries contain and whether you are comfortable allowing this skill access to them. - Because the skill searches the repository broadly, it will read source and script files. That is expected for a code-refinement tool, but review what scripts (e.g., plugins/conserve/scripts/detect_duplicates.py) it may attempt to execute or import in your environment. What would increase my confidence: explicit declared required binaries (e.g., python3, gh) and an explanation of exactly what is stored/used in the required config paths (especially imbue:proof-of-work). If the author documents which external commands are optional and what credential scopes are needed for PR analysis, the remaining concerns would be resolved.
功能分析
Type: OpenClaw Skill Name: nm-pensive-code-refinement Version: 1.0.0 The skill bundle provides a framework for automated code refactoring and quality analysis using shell-based workflows. Several modules, including clean-code-checks.md and architectural-fit.md, execute shell commands (grep, sed, awk) on file paths and content derived from the local environment; some of these commands use unquoted variables, creating a potential risk for shell injection if the codebase contains maliciously crafted filenames. Additionally, duplication-analysis.md attempts to execute an external script (detect_duplicates.py) from a separate plugin. While these capabilities are plausibly required for the stated purpose, the use of brittle shell patterns and external dependencies warrants a suspicious classification.
能力评估
Purpose & Capability
Name/description (improving duplication, efficiency, clean code, architectural fit, error handling) align with the modules and the commands shown; the requested config paths (shared patterns, safety-critical patterns, proof-of-work) are plausibly related to evidence capture and safety checks used by a code-review/refinement skill.
Instruction Scope
SKILL.md instructs the agent to scan the repository (find/grep/sed/awk/xargs/wc), run Python helpers, and optionally call 'gh pr diff' for PR-scoped analysis. Reading repository files is expected for a code-refinement skill, but the instructions are broad (search whole tree excluding common dirs) and reference utilities and scripts that are not listed as required binaries. The doc also references invoking other plugins/skills (archetypes, conserve, imbue) which may cause the agent to read cross-plugin files or try to use those plugins if available.
Install Mechanism
Instruction-only skill with no install spec or archive downloads. Nothing will be written to disk by an installer — lower install risk.
Credentials
Registry metadata lists no required environment variables or credentials, but SKILL.md expects runtime tools and integrations (python3, grep/sed/awk, and optionally the GitHub CLI 'gh' for PR operations). The skill declares required config paths across other Night Market plugins (night-market.pensive:shared, night-market.pensive:safety-critical-patterns, night-market.imbue:proof-of-work). Those config requirements are plausible for evidence capture but broaden the skill's access to cross-plugin configuration/data; the GH CLI/PR use also implies access to GitHub credentials that are not declared.
Persistence & Privilege
No install, no always:true. The skill can be invoked autonomously by default (platform default) but it does not request permanent presence or attempt to modify other skills' configs in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nm-pensive-code-refinement
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nm-pensive-code-refinement 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the code-refinement skill, focused on improving code quality across six dimensions: duplication, efficiency, clean code, architectural fit, anti-slop, and error handling. - Provides a tiered analysis workflow (Quick, Targeted, Deep) to match different code review needs. - Supports progressive loading of analysis modules for focused or comprehensive reviews. - Integrates with related plugins for enhanced proof-of-work, code quality, and architectural analysis, with graceful fallback when unavailable. - Includes step-by-step workflow and required TodoWrite items for effective code refinement and documentation.
元数据
Slug nm-pensive-code-refinement
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Nm Pensive Code Refinement 是什么?

Improve code quality: duplication, efficiency, clean code, architectural fit, and error handling. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 Nm Pensive Code Refinement?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nm-pensive-code-refinement」即可一键安装,无需额外配置。

Nm Pensive Code Refinement 是免费的吗?

是的,Nm Pensive Code Refinement 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Nm Pensive Code Refinement 支持哪些平台?

Nm Pensive Code Refinement 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Nm Pensive Code Refinement?

由 athola(@athola)开发并维护,当前版本 v1.0.0。

💬 留言讨论