← Back to Skills Marketplace
moonball

cg-test-skill

by Gang Chen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
213
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cg-test-skill
Description
cg write Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cg-test-skill
  3. After installation, invoke the skill by name or use /cg-test-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug cg-test-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is cg-test-skill?

cg write Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies... It is an AI Agent Skill for Claude Code / OpenClaw, with 213 downloads so far.

How do I install cg-test-skill?

Run "/install cg-test-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cg-test-skill free?

Yes, cg-test-skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cg-test-skill support?

cg-test-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cg-test-skill?

It is built and maintained by Gang Chen (@moonball); the current version is v1.0.0.

💬 Comments