← 返回 Skills 市场
athola

Nm Attune Precommit Setup

作者 athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
109
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nm-attune-precommit-setup
功能描述
Configure pre-commit hooks for linting, type checking, formatting, and testing to enforce quality gates on every commit
安全使用建议
This skill is coherent and appears safe in purpose, but be aware that pre-commit installs will download and run code from the listed hook repositories (GitHub). Before enabling hooks: review and pin hook revisions, inspect any custom hook scripts you add, test hooks locally (they run in your environment), and consider CI integration to avoid blocking commits with long-running hooks. If your environment disallows external downloads or you have strict security policies, audit the referenced hook repos (especially security scanners like bandit) before installing.
功能分析
Type: OpenClaw Skill Name: nm-attune-precommit-setup Version: 1.0.0 The skill bundle provides a comprehensive framework for setting up a three-layer pre-commit quality system (linting, type checking, and testing) for Python, Rust, and TypeScript projects. The provided shell scripts (e.g., scripts/run-component-lint.sh) and YAML configurations are standard development tools designed to improve code quality and do not contain any evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The name and description match the SKILL.md: instructions cover creating .pre-commit-config.yaml, per-component scripts, and hook configuration for Python/Rust/TypeScript. Nothing requested in the skill (no env vars, no binaries, no installs) is unrelated to setting up pre-commit hooks.
Instruction Scope
Instructions stay on-topic (creating configs, scripts, and running/validating hooks). The skill references external pre-commit hook repositories (GitHub URLs such as ruff, mypy, bandit) which implies that installing the hooks will download and execute code from those repos—this is normal for pre-commit workflows but worth auditing. No instructions ask the agent to read unrelated system files or secrets.
Install Mechanism
There is no install spec in the skill (instruction-only), so nothing is written to disk by the skill itself. However, following the instructions will cause pre-commit to fetch hook code from external sources (GitHub repos listed in the example config). That external fetch is expected but is the primary runtime action that results in code being placed and executed locally.
Credentials
The skill declares no required environment variables, credentials, or config paths. The documented hooks/tools (ruff, mypy, bandit, rustfmt, clippy, eslint, etc.) are appropriate for the stated quality tasks and do not require unrelated credentials.
Persistence & Privilege
The skill is not always-enabled, does not request elevated or persistent agent privileges, and does not modify other skills or system-wide agent settings. It simply instructs repository-local configuration changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nm-attune-precommit-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nm-attune-precommit-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the precommit-setup skill, providing comprehensive pre-commit hook configuration and guidance. - Adds a three-layer pre-commit quality system: fast global lint/type/security checks, component-scoped checks, and structural validation. - Documents best practices and setup for Python, Rust, and TypeScript projects, including detailed sample .pre-commit-config.yaml. - Provides ready-to-use scripts for component-specific linting and type checking in monorepos/plugin architectures. - Offers workflow, optimization, troubleshooting tips, and CI integration advice. - Designed for plug-and-play adoption or upgrade of project quality gates.
元数据
Slug nm-attune-precommit-setup
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Nm Attune Precommit Setup 是什么?

Configure pre-commit hooks for linting, type checking, formatting, and testing to enforce quality gates on every commit. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 Nm Attune Precommit Setup?

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

Nm Attune Precommit Setup 是免费的吗?

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

Nm Attune Precommit Setup 支持哪些平台?

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

谁开发了 Nm Attune Precommit Setup?

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

💬 留言讨论