shellcheckshell
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shellcheckshell" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e633a75865e314f456be14be6ba0b8ff4ae4b33e2627f7bf04b9c7b87fc7c884. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/shellcheck-shell-script-static-analyzer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Performs static analysis of bash and shell scripts with ShellCheck to detect syntax errors, semantic pitfalls, and portability issues, and produces machine-readable diagnostic output with suggested fixes.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "ShellCheck Shell脚本静态分析器"
slug: "shellcheck-shell-script-static-analyzer"
version: "1.0.0"
displayName: "ShellCheck Shell脚本静态分析器"
summary: "使用ShellCheck对bash和shell脚本进行静态分析,以检测语法错误、语义陷阱和可移植性问题。生成带有修复建议的机器可读诊断信息。"
license: "MIT"
description: "使用ShellCheck对bash和shell脚本进行静态分析,以检测语法错误、语义陷阱和可移植性问题。生成带有修复建议的机器可读诊断信息。"
github_stars: 39204
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 39204ShellCheck Shell脚本静态分析器
Run static analysis on bash and shell scripts using ShellCheck to detect syntax errors, semantic pitfalls, and portability issues. Produces machine-readable diagnostics with fix suggestions.
Installation
Use the upstream install or setup path that matches your environment:
- brew install shellcheck
- conda install -c conda-forge shellcheck
- docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable myscript
- $ brew install cabal-install
Requirements and caveats from upstream:
- From Docker Hub:
- This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.
Basic usage or getting-started notes:
-
Run shellcheck yourscript in your terminal for instant output, as seen above.
-
For example, in a Makefile:
-
To run ShellCheck via pre-commit, add the hook to your .pre-commit-config.yaml:
-
Extracted from upstream docs: https://raw.githubusercontent.com/koalaman/shellcheck/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 ShellCheck 静态分析功能,对开发者具有明确实用价值
- 属于代码质量与审查领域的通用工具,受众广泛
Highlights
- description 明确描述了核心功能,触发词精准完整
Areas to improve
-
缺少 Phase/步骤划分和详细示例 Reported severity: Minor
文档结构基本完整,但缺少明确的 Phase/步骤划分和出口条件,示例不够详细。
Recommendation: 建议添加 Phase/步骤划分,明确分析流程,并提供更详细的端到端示例。
Highlights
- frontmatter 完整,包含必要元数据
Areas to improve
-
未覆盖主要异常情况 Reported severity: Minor
提供了多种安装方式,但未覆盖主要异常情况(如安装失败、网络问题、权限问题等)。
Recommendation: 建议添加异常处理说明,如安装失败时的排查步骤、网络问题处理等。
Highlights
- 提供了多种安装方式(brew, conda, docker, cabal),工具来源明确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 26, 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- pre-commit.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.