Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

new-cmdlet

Skill by pnp

Guides developers writing, modifying or reviewing PnP PowerShell cmdlets. It sets out the conventions a cmdlet must follow, from base class and permission attributes to docs and changelog.

  • Score 74
  • 921 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install new-cmdlet

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pnp/powershell /tmp/powershell && mkdir -p ~/.claude/skills && cp -r /tmp/powershell/.claude/skills/new-cmdlet ~/.claude/skills/new-cmdlet

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install new-cmdlet in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill tells an AI assistant to follow the new-cmdlet playbook for PnP PowerShell cmdlets. The file itself is a pointer. It links to the playbook at .agents/skills/new-cmdlet/SKILL.md and to supporting references on C# and .NET design, a cmdlet scaffolding procedure, and permission attribute interpretation. The playbook is shared with Codex and Copilot.

The conventions cover base class selection, permission attributes, PipeBinds, parameter validation, Graph and CSOM call patterns, and the documentation and changelog artefacts that make a cmdlet complete. The skill is aimed at developers who work on PnP PowerShell cmdlet code. It tells the assistant never to commit, push or open a pull request, and to leave the work in the tree for a person to review.

Written from the project's SKILL.md and checked against it.

What it can do

  • Base class selectionHelps decide which base class a PnP PowerShell cmdlet should use.
  • Permission attributesCovers which permission attribute applies to a cmdlet.
  • PipeBindsSets out conventions for PipeBind parameters.
  • Parameter validationSets out parameter validation conventions for cmdlets.
  • Graph and CSOM call patternsDescribes the expected Graph and CSOM call patterns.
  • Docs and changelogLists the documentation and changelog artefacts a cmdlet needs.

Try asking

  • Which base class should my new PnP PowerShell cmdlet use?
  • Review this cmdlet for permission attribute and PipeBinds conventions.
  • What documentation and changelog entries does a new cmdlet need?

Good to know

  • The assistant cannot run the cmdlets, so unverified API calls are drafts.
  • The assistant must not commit, push or open a pull request.
  • The full playbook is in a separate file that this entry points to.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/new-cmdlet/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to new-cmdlet

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

new-cmdlet: common questions

What does the PnP PowerShell new-cmdlet skill cover?

It covers base class selection, permission attributes, PipeBinds, parameter validation, Graph and CSOM call patterns, and documentation and changelog artefacts.

Can the assistant run the cmdlets it writes with this skill?

No. The source says the assistant cannot run these cmdlets, so anything calling an API it has not invoked is treated as a draft.

Does this skill commit or open pull requests?

No. The skill tells the assistant never to commit, push or open a PR, and to leave the work in the tree.

How do I install new-cmdlet?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is new-cmdlet free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is new-cmdlet safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to new-cmdlet?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

new-cmdlet Install

Add to stack

Loading.