Compétences os-scripting
🖥️

os-scripting

Sûr

Troubleshoot OS and Shell Scripts

This workflow bundle helps developers and system administrators debug shell scripts, create production-ready bash code, and automate system administration tasks across Linux, macOS, and Windows.

Prend en charge: Claude Codex Code(CC)
🥉 73 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez Ă  utiliser

Tester

Utilisation de "os-scripting". Help me debug a bash script that exits with error code 1

Résultat attendu:

I'll help you debug this systematically. First, let me check the script for common issues using ShellCheck, then we'll enable debug mode and trace the execution...

Utilisation de "os-scripting". Create a monitoring script for disk space

Résultat attendu:

I'll create a production-ready monitoring script with proper error handling, logging, and notifications. This will check disk space and alert when usage exceeds thresholds...

Utilisation de "os-scripting". My server has high CPU usage, help troubleshoot

Résultat attendu:

Let's diagnose this systematically. We'll check running processes, identify resource-heavy tasks, and analyze system logs to find the cause...

Audit de sécurité

Sûr
v1 • 2/24/2026

This is a documentation/workflow bundle skill (SKILL.md) that provides educational guidance on OS and shell scripting. All 93 static findings are false positives. The detected 'external_commands', 'network', and 'filesystem' patterns are example commands in documentation, not executable code. The skill's own metadata correctly identifies it as 'risk: safe'.

1
Fichiers analysés
430
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
85
Contenu
50
Communauté
100
Sécurité
83
Conformité aux spécifications

Ce que vous pouvez construire

Debug a failing bash script

Use systematic debugging techniques to trace and fix shell script errors with proper logging and error handling.

Create production-ready automation

Build robust shell scripts with proper error handling, input validation, and testing using Bats framework.

Troubleshoot system performance

Diagnose high CPU, memory issues, disk space problems, and network connectivity using standard system commands.

Essayez ces prompts

Basic system diagnostics
Use @os-scripting to help me check system performance and identify any issues
Shell script review
Use @os-scripting to analyze my shell script for issues and run ShellCheck on it
Debug script errors
Use @os-scripting to systematically debug this shell script that is failing with error: [describe error]
Create automation script
Use @os-scripting to help me create a production-ready backup script with error handling and tests

Bonnes pratiques

  • Always use 'set -euo pipefail' at the script start for strict error handling
  • Quote all variables to prevent word splitting and globbing issues
  • Add comprehensive logging with timestamps for troubleshooting
  • Write Bats tests for all critical script functionality

Éviter

  • Using unquoted variables that may contain spaces or special characters
  • Ignoring exit codes from commands with '|| true' without explicit handling
  • Not validating user input before using it in commands
  • Writing scripts without any error handling or logging

Foire aux questions

What skills does this workflow bundle invoke?
This bundle orchestrates skills like bash-linux, bash-pro, shellcheck-configuration, systematic-debugging, bats-testing-patterns, and devops-troubleshooter.
Can this skill execute commands on my system?
No, this is a documentation and workflow guide. It provides guidance and templates but does not directly execute shell commands.
Do I need other skills installed for this to work?
Yes, this workflow bundle is designed to work with other skills like bash-linux, shellcheck-configuration, and bats-testing-patterns.
What platforms does this support?
This workflow covers Linux, macOS, and Windows (via WSL or PowerShell equivalents).
How do I get started with shell scripting?
Start with Phase 1 (Environment Assessment) to understand your system, then move to Phase 4 (Script Development) to create your first script.
Can I use this for production automation?
Yes, the bundle includes quality gates and best practices for creating production-ready scripts with proper testing and error handling.

Détails du développeur

Structure de fichiers

đź“„ SKILL.md