Skip to main content

terminal-theme

配置和管理终端多彩主题轮换系统 — 添加/修改/删除主题、调整颜色和背景混合比例、排查显示问题。当用户提到终端主题、终端颜色、终端配色、prompt颜色、tab颜色时触发。

Install this skill

or
0/100

Security score

The terminal-theme skill was audited on May 31, 2026 and we found 18 security issues across 4 threat categories, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

medium line 94

Template literal with variable interpolation in command context

SourceSKILL.md
94```bash
critical line 199

Piping content to sh shell

SourceSKILL.md
199| 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` |
high line 199

Curl to non-GitHub URL

SourceSKILL.md
199| 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` |
medium line 74

Access to hidden dotfiles in home directory

SourceSKILL.md
74#### Step 3: 编辑 ~/.zshrc
low line 95

Access to hidden dotfiles in home directory

SourceSKILL.md
95zsh -c 'source ~/.zshrc 2>/dev/null; echo "FG=${#_PROMPT_FG[@]} BG=${#_PROMPT_BG[@]} TEXT=${#_PROMPT_TEXT[@]} ICON=${#_PROMPT_ICON[@]} NAME=${#_PROMPT_NAME[@]}"'
medium line 115

Access to hidden dotfiles in home directory

SourceSKILL.md
115#### Step 2: 编辑 ~/.zshrc
medium line 137

Access to hidden dotfiles in home directory

SourceSKILL.md
137#### Step 2: 编辑 ~/.zshrc
medium line 171

Access to hidden dotfiles in home directory

SourceSKILL.md
171#### Step 2: 编辑 ~/.zshrc
medium line 202

Access to hidden dotfiles in home directory

SourceSKILL.md
202| `source ~/.zshrc` 报错 | 检查数组语法(引号、空格) | 用 `zsh -n ~/.zshrc` 语法检查 |
low line 242

Access to hidden dotfiles in home directory

SourceSKILL.md
242~/.zshrc 底部配置
medium line 256

Access to hidden dotfiles in home directory

SourceSKILL.md
256在读取或编辑用户的 `~/.zshrc` 前,必须扫描是否存在明文密钥/凭证:
low line 259

Access to hidden dotfiles in home directory

SourceSKILL.md
259grep -niE '(KEY|SECRET|TOKEN|PASSWORD|CREDENTIAL|API_KEY)=' ~/.zshrc | grep -v '^#'
medium line 264

Access to hidden dotfiles in home directory

SourceSKILL.md
2642. **建议迁移**:将密钥移到独立文件(如 `~/.env.secrets`),zshrc 中改为 `source ~/.env.secrets`
medium line 265

Access to hidden dotfiles in home directory

SourceSKILL.md
2653. **设置权限**:`chmod 600 ~/.env.secrets`
medium line 276

Access to hidden dotfiles in home directory

SourceSKILL.md
276| zsh-syntax-highlighting | 命令语法高亮(可选) | 自动搜索 `~/.zsh-plugins/`、`~/zsh-plugins/`、oh-my-zsh、homebrew |
medium line 264

Access to .env file

SourceSKILL.md
2642. **建议迁移**:将密钥移到独立文件(如 `~/.env.secrets`),zshrc 中改为 `source ~/.env.secrets`
medium line 265

Access to .env file

SourceSKILL.md
2653. **设置权限**:`chmod 600 ~/.env.secrets`
low line 199

External URL reference

SourceSKILL.md
199| 主题标签不显示 | `which starship` 确认是否安装 | 运行 `curl -sS https://starship.rs/install.sh \| sh` 或 `brew install starship` |
Scanned on May 31, 2026
View Security Dashboard
Installation guide →
GitHub Stars 6
Rate this skill
Categoryother
UpdatedMay 31, 2026
wangyitong0730-cyber/Terminal-Theme