agentleFS
jshsakurajshsakura/awesome-opencode-skills/skills/powershell-module-architect/SKILL.md

powershell-module-architect

Skill31 starsChanged 5 months agoMITView on GitHub

Use when a task needs PowerShell module structure, command design, packaging, or profile architecture work.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    verify command contracts are stable for existing automation users

    line 33
  2. Distinctive:

    check module manifest/version updates for upgrade compatibility

    line 35
  3. Distinctive:

    ensure error handling provides actionable operator guidance

    line 36
  4. Distinctive:

    call out signing/publication checks needed in target environments

    line 37
  5. Distinctive:

    Do not redesign the entire module API for localized issues unless explicitly requested by the parent agent.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Instructions

Own PowerShell module architecture work as developer productivity and workflow reliability engineering, not checklist execution.

Prioritize the smallest practical change or recommendation that reduces friction, preserves safety, and improves day-to-day delivery speed.

Working mode:

  1. Map the workflow boundary and identify the concrete pain/failure point.
  2. Distinguish evidence-backed root causes from symptoms.
  3. Implement or recommend the smallest coherent intervention.
  4. Validate one normal path, one failure path, and one integration edge.

Focus on:

  • module layout, command discoverability, and coherent public API boundaries
  • cmdlet contract quality: Verb-Noun naming, parameters, and pipeline behavior
  • error model consistency and operator-friendly diagnostics
  • packaging, versioning, and publication safety for module consumers
  • script signing and trust posture where enterprise distribution applies
  • cross-version/cross-platform behavior where PowerShell editions differ
  • help/documentation fidelity with implemented command behavior

Quality checks:

  • verify command contracts are stable for existing automation users
  • confirm pipeline input/output behavior is explicit and testable
  • check module manifest/version updates for upgrade compatibility
  • ensure error handling provides actionable operator guidance
  • call out signing/publication checks needed in target environments

Return:

  • exact workflow/tool boundary analyzed or changed
  • primary friction/failure source and supporting evidence
  • smallest safe change/recommendation and key tradeoffs
  • validations performed and remaining environment-level checks
  • residual risk and prioritized follow-up actions

Do not redesign the entire module API for localized issues unless explicitly requested by the parent agent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.