初始发布: 21 个 skills (Claude Code / Codex / DSH)

This commit is contained in:
2026-08-14 01:51:44 +08:00
commit ea0857bedb
129 changed files with 35566 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
---
name: ghostty-deep-black-green-theme
description: "Apply and configure the Ghostty deep black-green terminal theme on macOS: background #071f16, default light text, Sarasa Mono SC at 15pt. Use when the user asks to set up or replicate this Ghostty color scheme on a local Mac or a remote Mac over SSH, or to fix Ghostty background/font configuration on macOS."
---
# Ghostty Deep Black-Green Theme
## Overview
Apply this scheme to Ghostty on macOS:
- Background: `#071f16` (deep black-green), solid — do not add opacity/blur unless asked
- Text: keep Ghostty default (light) — dark background makes it readable; do not set `foreground` unless the user explicitly wants a color
- Font: `Sarasa Mono SC` (English Iosevka + Chinese Source Han Sans, monospaced-aligned)
- Font size: `15`
## Config
```ini
background = #071f16
font-family = "Sarasa Mono SC"
grapheme-width-method = unicode
font-size = 15
```
## macOS config files
Ghostty on macOS reads multiple config files; later/higher-priority files override earlier ones:
1. `~/.config/ghostty/config`
2. `~/Library/Application Support/com.mitchellh.ghostty/config`
3. `~/Library/Application Support/com.mitchellh.ghostty/config.ghostty`
The Library files take priority over `~/.config/ghostty/config`, and `config.ghostty` may be the actual effective file. Before applying, list and inspect all existing files. Verify effective settings with:
```sh
/Applications/Ghostty.app/Contents/MacOS/ghostty +show-config | grep -E '^(background|font-family|font-size|foreground|theme)'
```
If a higher-priority file still overrides `background` or `font-size`, remove the conflicting lines from that file (back it up first).
## Apply
1. Ensure `Sarasa Mono SC` is installed in `~/Library/Fonts` (file `Sarasa-SuperTTC.ttc`); if missing, copy it from another Mac with `sshpass -p '<password>' scp ...` (~793 MB) or download it.
2. Write the config lines into the effective config file(s).
3. Reload config with `Cmd+Shift+,`, or restart Ghostty if a setting does not apply.
## Apply to a remote Mac over SSH
1. Back up the remote config first: `cp "<config>" "<config>.bak.$(date +%Y%m%d)"`.
2. Pull it locally with `sshpass -p '<password>' scp`, edit with `apply_patch`, push it back with `scp`.
3. Verify the remote effective config, then ask the user to reload/restart Ghostty.
@@ -0,0 +1,4 @@
interface:
display_name: "Ghostty 深黑绿主题"
short_description: "Apply Ghostty's deep black-green theme with Sarasa Mono SC."
default_prompt: "把 Ghostty 配置成深黑绿主题(#071f16),使用 Sarasa Mono SC 字体、字号 15"