shellcheck-configuration – skill DevOps & Hạ tầng cho agent AI
Nắm vững cấu hình và cách dùng ShellCheck để phân tích tĩnh chất lượng shell script. Dùng khi thiết lập hạ tầng lint, sửa lỗi code, hoặc đảm bảo tính di động của script.
Cài skill shellcheck-configuration bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/shellcheck-configuration-dd2f6.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /shellcheck-configuration – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/shellcheck-configuration-dd2f6.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $shellcheck-configuration – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/shellcheck-configuration-dd2f6.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /shellcheck-configuration – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/shellcheck-configuration-dd2f6.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /shellcheck-configuration – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
ShellCheck Configuration and Static Analysis
Comprehensive guidance for configuring and using ShellCheck to improve shell script quality, catch common pitfalls, and enforce best practices through static code analysis.
When to Use This Skill
- Setting up linting for shell scripts in CI/CD pipelines
- Analyzing existing shell scripts for issues
- Understanding ShellCheck error codes and warnings
- Configuring ShellCheck for specific project requirements
- Integrating ShellCheck into development workflows
- Suppressing false positives and configuring rule sets
- Enforcing consistent code quality standards
- Migrating scripts to meet quality gates
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Best Practices
1. Run ShellCheck in CI/CD - Catch issues before merging
2. Configure for your target shell - Don't analyze bash as sh
3. Document exclusions - Explain why violations are suppressed
4. Address violations - Don't just disable warnings
5. Enable strict mode - Use --enable=all with careful exclusions
6. Update regularly - Keep ShellCheck current for new checks
7. Use pre-commit hooks - Catch issues locally before pushing
8. Integrate with editors - Get real-time feedback during development
Skill liên quan
- slo-implementation – Định nghĩa và triển khai Service Level Indicators (SLIs) và Service Level Objectives…
- database-cloud-optimization-cost-optimize – Bạn là chuyên gia tối ưu chi phí cloud, chuyên giảm chi phí hạ tầng mà vẫn giữ hiệu năng…
- datadog – Triển khai giám sát Datadog và APM cho hạ tầng và ứng dụng.
- migration-architect – Lập kế hoạch di chuyển không gián đoạn, kiểm tra tương thích và tạo chiến lược rollback…
- setup-wizard-generator – Tạo wizard bash hướng dẫn người dùng thực hiện thiết lập thủ công.
- dep – Xử lý containerization, pipeline CI/CD và thiết lập triển khai.
- deploy-to-vercel – Triển khai ứng dụng và website lên Vercel. Dùng khi người dùng yêu cầu các hành động…
- deployment-engineer – Kỹ sư triển khai chuyên nghiệp, chuyên về pipeline CI/CD hiện đại, quy trình GitOps và…