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.
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-cmdletRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pnp/powershell /tmp/powershell && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/powershell/.claude/skills/new-cmdlet ~/.gemini/antigravity-cli/skills/new-cmdletAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
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.
