shell-scripting

Guide shell scripting with Luigi-specific patterns for logging, paths, and validation.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/pkathmann88/luigi --skill shell-scripting-pkathmann88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shell-scripting
Source: https://github.com/pkathmann88/luigi/tree/main/.github/skills/shell-scripting
Command: npx skills add https://github.com/pkathmann88/luigi --skill shell-scripting-pkathmann88

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to writing robust, secure, and idiomatic shell scripts tailored for the Luigi platform, ensuring consistency and maintainability across all modules.

Core Features & Use Cases

  • Standardized Patterns: Learn Luigi's conventions for logging, file paths, argument parsing, and service management.
  • Best Practices: Implement error handling, security measures (like preventing shell injection), and validation (shellcheck).
  • Use Case: When developing a new Luigi module, use this Skill to create its setup.sh script, ensuring it follows all project guidelines for installation, configuration, and service management.

Quick Start

Follow the Luigi shell scripting standards when creating a new setup script.

Frequently Asked Questions about shell-scripting

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

FAQPage Schema
What are the best practices for shell scripting within the Luigi repository?

Luigi shell scripting best practices emphasize standardized patterns for logging, file paths, argument parsing, and service management. They mandate robust error handling, security measures against shell injection, and validation using shellcheck to ensure maintainability across modules.

How do I create a setup script for a new Luigi module?

To create a setup script for a new Luigi module, you follow Luigi's specific conventions for installation, configuration, and service management. This ensures the script integrates seamlessly with existing platform guidelines and project standards.

Does Luigi shell scripting require shellcheck for validation?

Yes, shellcheck is integrated into Luigi's shell scripting standards for validation. Using shellcheck ensures your scripts adhere to robust security measures and idiomatic patterns, preventing shell injection and maintaining consistency across the repository.

Can I use standard bash patterns for logging and file paths in Luigi?

You must use Luigi-specific patterns rather than standard bash defaults for logging and file paths. Adhering to these established conventions ensures your utility scripts and command-line tools maintain consistency with the broader Luigi platform.

Why do I need to follow specific conventions for command-line tools in Luigi?

Following specific conventions for command-line tools in Luigi guarantees robust and secure script execution. These standards prevent shell injection vulnerabilities and ensure proper argument parsing, error handling, and service management across all modules.