coding-best-practices

Enforce coding standards and conventions for PowerShell automation systems.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Kaim-Ru/KaisStepsExecutor --skill coding-best-practices-kaim-ru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-best-practices
Source: https://github.com/Kaim-Ru/KaisStepsExecutor/tree/main/.github/skills/coding-best-practices
Command: npx skills add https://github.com/Kaim-Ru/KaisStepsExecutor --skill coding-best-practices-kaim-ru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures your PowerShell automation scripts are maintainable, readable, and follow consistent standards, reducing bugs and improving collaboration.

Core Features & Use Cases

  • Naming Conventions: Enforces clear naming for files, functions, and variables.
  • Code Structure: Provides templates and guidelines for writing effective PowerShell hook files.
  • Use Case: When developing new automation scripts, consult this Skill to ensure your function names, variable declarations, and file structures align with the project's established best practices.

Quick Start

Follow the coding standards, conventions, and best practices for developing and maintaining this PowerShell-based automation system.

Frequently Asked Questions about coding-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for PowerShell naming conventions in automation scripts?

PowerShell naming conventions for automation scripts require clear, consistent naming for files, functions, and variables. This ensures your codebase remains readable, maintainable, and reduces bugs during collaboration.

How do I structure a PowerShell automation script for better maintainability?

To structure a PowerShell script for maintainability, follow established templates and guidelines for hook files, path handling, and file operations. Proper code structure ensures scripts remain robust and easy to update over time.

How does error handling work in PowerShell automation systems?

Error handling in PowerShell automation systems involves specific conventions for catching and reporting errors. Implementing standardized error handling improves script quality and prevents silent failures during automated execution.

Does this coding standards Skill apply to general PowerShell scripting or only specific automation frameworks?

This coding standards Skill applies specifically to developing and maintaining PowerShell-based automation systems. It covers file operations, output messaging, and placeholder processing tailored for robust automation rather than general ad-hoc scripting.

What's the best way to standardize output messaging and comments in PowerShell scripts?

The best way to standardize output messaging and comments in PowerShell scripts is to follow established documentation and messaging conventions. This ensures consistent communication of script status and improves overall code readability.

Why do my PowerShell automation scripts fail during team collaboration?

PowerShell automation scripts often fail during collaboration due to inconsistent coding standards, poor error handling, and unclear naming conventions. Enforcing project-wide standards for variables and file structures directly reduces these integration bugs.