🚀✨ Minimalistic, powerful and extremely customizable Zsh prompt
This report summarizes scanner evidence for spaceship-prompt/spaceship-prompt, a Shell project with 20,585 GitHub stars. SynthScan examined 20,022 lines of code across 317 source files, recording 642 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 110.5 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 84 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 555 finding(s).
Which changes need focused human review? 642 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 642 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | spaceship.zsh | 36 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 39 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 126 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 129 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 154 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 157 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 174 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 177 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 220 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | spaceship.zsh | 223 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/ansible.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/ansible.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/ansible.zsh | 18 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/ansible.zsh | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swiftenv.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swiftenv.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swiftenv.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swiftenv.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 11 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 22 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 27 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/swift.zsh | 29 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/hg.zsh | 5 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/hg.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/hg.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/hg.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/hg.zsh | 29 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/hg.zsh | 31 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/xcenv.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/xcenv.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/xcenv.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/xcenv.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/jobs.zsh | 5 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/jobs.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/jobs.zsh | 18 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | sections/jobs.zsh | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/golang.zsh | 8 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/golang.zsh | 10 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/golang.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/golang.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/vlang.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/vlang.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/vlang.zsh | 18 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/vlang.zsh | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/haxe.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/haxe.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/haxe.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/haxe.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/node.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/node.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/node.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/node.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/deno.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/deno.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/deno.zsh | 19 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/deno.zsh | 21 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/crystal.zsh | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sections/crystal.zsh | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| 495 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | async.zsh | 216 | # Check if a worker should perform unique jobs, unless | COMMENT |
| LOW | async.zsh | 219 | # Check if a previous job is still running, if yes, | COMMENT |
| LOW | async.zsh | 503 | # Check if the worker exists | COMMENT |
| LOW | async.zsh | 657 | # Check if zsh/zpty returns a file descriptor or not, | COMMENT |
| LOW⚡ | sections/ansible.zsh | 25 | # Check if ansible is installed | COMMENT |
| LOW⚡ | sections/haxe.zsh | 26 | # Check if haxe binary exists | COMMENT |
| LOW⚡ | sections/haxe.zsh | 36 | # Check if haxe_version is empty | COMMENT |
| LOW⚡ | sections/sudo.zsh | 27 | # Check if sudo command is available for execution | COMMENT |
| LOW⚡ | sections/sudo.zsh | 30 | # Check if the current shell has passwordless sudo available | COMMENT |
| LOW⚡ | sections/conda.zsh | 27 | # Check if running via conda virtualenv | COMMENT |
| LOW⚡ | sections/venv.zsh | 28 | # Check if the current directory running via Virtualenv | COMMENT |
| LOW⚡ | sections/zig.zsh | 26 | # Check if zig command is available for execution | COMMENT |
| LOW⚡ | sections/erlang.zsh | 26 | # Check if erl command is available for execution | COMMENT |
| LOW⚡ | sections/hg_status.zsh | 24 | # Check if current dir is a hg repo and show hg status as indicators | COMMENT |
| LOW⚡ | sections/purescript.zsh | 25 | # Check if PureScript binary is available | COMMENT |
| LOW⚡ | sections/rlang.zsh | 26 | # Check if R binary exists | COMMENT |
| LOW⚡ | sections/rlang.zsh | 36 | # Check if R_version is empty | COMMENT |
| LOW | sections/dir.zsh | 37 | # Check if the parent of the $git_root is "/" | COMMENT |
| LOW⚡ | sections/gcloud.zsh | 26 | # Check if the glcoud-cli is installed | COMMENT |
| LOW⚡ | sections/gcloud.zsh | 32 | # Check if there is an active config | COMMENT |
| LOW⚡ | sections/gcloud.zsh | 35 | # Check if there is an active config override | COMMENT |
| LOW⚡ | sections/java.zsh | 22 | # Check if java binary exists | COMMENT |
| LOW | sections/java.zsh | 33 | # Check if java version is not empty | COMMENT |
| LOW⚡ | lib/utils.zsh | 9 | # Check if command exists in $PATH | COMMENT |
| LOW⚡ | lib/utils.zsh | 16 | # Check if function is defined | COMMENT |
| LOW⚡ | lib/utils.zsh | 23 | # Check if array includes and item | COMMENT |
| LOW | lib/utils.zsh | 46 | # Check if the current directory is in a Git repository. | COMMENT |
| LOW | lib/utils.zsh | 54 | # Check if the current directory is in a Mercurial repository. | COMMENT |
| LOW | lib/utils.zsh | 93 | # Check if async is available and there is an async section | COMMENT |
| LOW | lib/utils.zsh | 100 | # Print message backward compatibility warning | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spaceship.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | spaceship.zsh | 221 | # ENTRY POINT | COMMENT |
| LOW | async.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | async.zsh | 181 | while :; do | COMMENT |
| LOW | async.zsh | 261 | } | COMMENT |
| LOW | async.zsh | 481 | # | COMMENT |
| LOW | async.zsh | 521 | unset "ASYNC_PROCESS_BUFFER[$worker]" | COMMENT |
| LOW | sections/ansible.zsh | 1 | # | COMMENT |
| LOW | sections/golang.zsh | 1 | # | COMMENT |
| LOW | sections/vlang.zsh | 1 | # | COMMENT |
| LOW | sections/haxe.zsh | 1 | # | COMMENT |
| LOW | sections/crystal.zsh | 1 | # | COMMENT |
| LOW | sections/julia.zsh | 1 | # | COMMENT |
| LOW | sections/dart.zsh | 1 | # | COMMENT |
| LOW | sections/ocaml.zsh | 1 | # | COMMENT |
| LOW | sections/sudo.zsh | 1 | # | COMMENT |
| LOW | sections/terraform.zsh | 1 | # | COMMENT |
| LOW | sections/red.zsh | 1 | # | COMMENT |
| LOW | sections/kotlin.zsh | 1 | # | COMMENT |
| LOW | sections/azure.zsh | 1 | # | COMMENT |
| LOW | sections/dotnet.zsh | 1 | # | COMMENT |
| LOW | sections/php.zsh | 1 | # | COMMENT |
| LOW | sections/ibmcloud.zsh | 1 | # | COMMENT |
| LOW | sections/python.zsh | 1 | # | COMMENT |
| LOW | sections/package.zsh | 1 | # | COMMENT |
| LOW | sections/nix_shell.zsh | 1 | # | COMMENT |
| LOW | sections/ruby.zsh | 1 | # | COMMENT |
| LOW | sections/zig.zsh | 1 | # | COMMENT |
| LOW | sections/scala.zsh | 1 | # | COMMENT |
| LOW | sections/perl.zsh | 1 | # | COMMENT |
| LOW | sections/pulumi.zsh | 1 | # | COMMENT |
| LOW | sections/bun.zsh | 1 | # | COMMENT |
| LOW | sections/erlang.zsh | 1 | # | COMMENT |
| LOW | sections/battery.zsh | 1 | # | COMMENT |
| LOW | sections/kubectl_version.zsh | 1 | # | COMMENT |
| LOW | sections/user.zsh | 1 | # | COMMENT |
| LOW | sections/purescript.zsh | 1 | # | COMMENT |
| LOW | sections/elm.zsh | 1 | # | COMMENT |
| LOW | sections/gleam.zsh | 1 | # | COMMENT |
| LOW | sections/gnu_screen.zsh | 1 | # | COMMENT |
| LOW | sections/gcloud.zsh | 1 | # | COMMENT |
| LOW | sections/haskell.zsh | 1 | # | COMMENT |
| LOW | tests/pulumi.test.zsh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | tests/deno.test.zsh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | tests/user.test.zsh | 121 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | tests/gleam.test.zsh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | tests/dart.test.zsh | 141 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | tests/perl.test.zsh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | lib/utils.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | lib/hooks.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | lib/section.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | lib/cache.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | sections/zig.zsh | 4 | # Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/uk/api/utils.md | 191 | # "John Doe" | COMMENT |
| LOW | docs/api/utils.md | 191 | # "John Doe" | COMMENT |
| LOW | lib/extract.zsh | 72 | # > "John Doe" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | lib/utils.zsh | 6 | # This file is used as a API for sections developers | COMMENT |