← 返回 Skills 市场
moonball

cg-test-skill

作者 Gang Chen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cg-test-skill
功能描述
cg write Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies...
使用说明 (SKILL.md)

pnpm is a fast, disk space efficient package manager. It uses a content-addressable store to deduplicate packages across all projects on a machine, saving significant disk space. pnpm enforces strict dependency resolution by default, preventing phantom dependencies. Configuration should preferably be placed in pnpm-workspace.yaml for pnpm-specific settings.

Important: When working with pnpm projects, agents should check for pnpm-workspace.yaml and .npmrc files to understand workspace structure and configuration. Always use --frozen-lockfile in CI environments.

The skill is based on pnpm 10.x, generated at 2026-01-28.

Core

Topic Description Reference
CLI Commands Install, add, remove, update, run, exec, dlx, and workspace commands core-cli
Configuration pnpm-workspace.yaml, .npmrc settings, and package.json fields core-config
Workspaces Monorepo support with filtering, workspace protocol, and shared lockfile core-workspaces
Store Content-addressable storage, hard links, and disk efficiency core-store

Features

Topic Description Reference
Catalogs Centralized dependency version management for workspaces features-catalogs
Overrides Force specific versions of dependencies including transitive features-overrides
Patches Modify third-party packages with custom fixes features-patches
Aliases Install packages under custom names using npm: protocol features-aliases
Hooks Customize resolution with .pnpmfile.cjs hooks features-hooks
Peer Dependencies Auto-install, strict mode, and dependency rules features-peer-deps

Best Practices

Topic Description Reference
CI/CD Setup GitHub Actions, GitLab CI, Docker, and caching strategies best-practices-ci
Migration Migrating from npm/Yarn, handling phantom deps, monorepo migration best-practices-migration
Performance Install optimizations, store caching, workspace parallelization best-practices-performance
安全使用建议
This skill is an instruction-only pnpm reference and appears to do what it says. Before installing/using it: ensure the agent environment actually has the pnpm binary available (the skill assumes you can run pnpm but doesn't declare that requirement); be aware the skill advises agents to read pnpm-workspace.yaml and .npmrc — .npmrc files can contain registry authentication tokens or other secrets, so avoid exposing projects with sensitive .npmrc contents to an agent unless you trust it and/or have scrubbed credentials. Because the skill is instruction-only, it will not install pnpm for you; if you need automated installation, prefer a skill that explicitly documents an install step and the sources it will download from.
功能分析
Type: OpenClaw Skill Name: cg-test-skill Version: 1.0.0 The skill bundle contains documentation for the pnpm package manager, including CLI commands, configuration, and best practices. The files (SKILL.md and its duplicate) consist entirely of informational markdown and metadata with no executable code, malicious instructions, or evidence of data exfiltration or prompt injection.
能力评估
Purpose & Capability
The name/description clearly target pnpm usage, workspaces, and dependency management and the SKILL.md content stays on that topic. Minor inconsistency: the skill expects the agent to run pnpm commands (advice about --frozen-lockfile, workspace files, CLI commands), yet the registry metadata lists no required binary. A declared requirement for the pnpm binary would be expected.
Instruction Scope
Runtime instructions are scoped to pnpm usage: checking pnpm-workspace.yaml, .npmrc, using CLI flags, and best practices. This is appropriate for the skill. However, the guidance explicitly tells agents to check .npmrc files — those files can contain registry auth tokens or credentials. While checking them is relevant to pnpm behavior, it carries a privacy risk if an agent transmits their contents externally; the skill does not instruct any external transmission, but the instruction to read .npmrc is notable.
Install Mechanism
No install spec (instruction-only). This is low-risk: nothing is downloaded or written to disk by the skill package itself.
Credentials
The skill declares no required environment variables or credentials, which is proportionate to an instruction-only pnpm helper. There are no unrelated secrets requested.
Persistence & Privilege
The skill is not forced always-on and has no install-time persistence. Autonomous invocation is allowed by platform default (not a concern by itself).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cg-test-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cg-test-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of pnpm2 skill. - Introduces comprehensive documentation for pnpm 10.x features and best practices. - Covers CLI commands, configuration, monorepo/workspace support, and the pnpm store. - Details advanced features: catalogs, overrides, patches, aliases, hooks, and peer dependencies. - Provides guidance on CI/CD setup, migrations, and performance optimization. - References included for deeper dives into each topic.
元数据
Slug cg-test-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

cg-test-skill 是什么?

cg write Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 cg-test-skill?

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

cg-test-skill 是免费的吗?

是的,cg-test-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

cg-test-skill 支持哪些平台?

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

谁开发了 cg-test-skill?

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

💬 留言讨论