You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(skill): apply subagent review fixes to new-netbox-endpoint
Three valid findings from the Explore-agent dispatch that didn't make
it into the initial commit:
1. Add `Write-Verbose` to GET/NEW/SET/REMOVE templates (matches the
actual convention in Functions/Extras/EventRules/* and peer
functions; was missing from my first draft).
2. Add a query-filter placeholder block + explanation to the GET
template. New contributors need to see where to put `-Label`,
`-Status`, etc. and how they flow through BuildURIComponents.
3. Tighten the Brief/Fields/Omit mutex comment from "enforce mutual
exclusion" to "MANDATORY on every Get cmdlet since PR #397/#400"
so agents don't treat it as optional.
Also tightened the frontmatter description per writing-skills guidance
(should describe triggering conditions only, never summarise the
skill's workflow).
Copy file name to clipboardExpand all lines: .claude/skills/new-netbox-endpoint/SKILL.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: new-netbox-endpoint
3
-
description: Use when adding a new NetBox REST API endpoint to PowerNetbox as a set of PowerShell cmdlets (Get / New / Set / Remove). Covers function templates, parameter conventions, test patterns, ValidateSet parity checks, and the PS 5.1 / Nullable / Tags gotchas that recur on this codebase.
3
+
description: Use when adding or porting a PowerShell cmdlet that wraps a NetBox REST API endpoint in PowerNetbox — creating a Get-NB, New-NB, Set-NB, or Remove-NB function for a new or missing resource, touching a ValidateSet on an existing one, or writing the matching Pester tests.
4
4
---
5
5
6
6
# Adding a new NetBox endpoint to PowerNetbox
@@ -52,6 +52,15 @@ logging (never `Write-Host` in non-interactive paths).
0 commit comments