Communitygithub.com

xixu-me/skills

由我維護、用於實際工程工作的 Agent 技能。

skills 是什麼?

這個技能專為 `tzst` 命令列介面 (CLI) 設計。它能協助使用者建立、解壓縮、扁平化、列出或測試 `.tzst` / `.tar.zst` 格式的歸檔檔。當使用者明確表達歸檔操作意圖,且所需路徑或歸檔名稱已知時,Skill 會預設直接執行對應的 `tzst` 指令。對於 Python API 問題(如 `from tzst import ...`),則會將其視為一般 Python 函式庫任務處理,而非常用此 CLI 技能。本技能支援透過 `uv tool install`、`pip install` 或官方發行版二進位檔安裝 `tzst`,並提供安全的預設值(如優先保留目錄結構、預設 `--filter data` 解壓縮模式),同時針對腳本化與自動化場景提醒使用 `--json` 及顯式的衝突解決策略。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add xixu-me/skills

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

使用此技能處理 tzst 命令列介面。當使用者明確想要執行歸檔動作,且所需的路徑或歸檔名稱已知時,預設執行指令。

此技能僅適用於 CLI。如果使用者詢問 Python 程式碼,例如 from tzst import ...,請將其視為一般的 Python 函式庫或 API 文件查詢,不要以此技能作為主要指南。

使用時機

當使用者:

  • 提及 .tzst 或 .tar.zst 歸檔
  • 想要建立、解壓縮、扁平化、列出或測試 tzst 歸檔
  • 需要安裝 tzst 或選擇 CLI 旗標的協助
  • 想要機器可讀的 tzst 輸出,以便編寫腳本或自動化
  • 需要安全的衝突處理或解壓縮過濾器指引

除非請求中確實包含 tzst,否則不要將此技能用於一般的 tar、zip 或 Python API 問題。

前置檢查

  1. 使用 tzst --version 或 tzst --help 檢查 tzst 是否可用。
  2. 如果找不到,建議使用以下任一安裝方式:
  3. 在執行實際工作之前,再次執行 tzst --version 或 tzst --help。

工作流程

  1. 判斷請求是執行還是指引。 諸如「歸檔這些檔案」、「解壓縮這個備份」、「列出裡面的內容」、「測試這個歸檔」或「安裝 tzst」等請求屬於執行意圖。
  2. 選擇與請求匹配的指令:
    • a、add、create 用於建立歸檔
    • x、extract 用於一般解壓縮(保留目錄結構)
    • e、extract-flat 僅在使用者明確要求扁平化輸出時使用
    • l、list 用於檢視歸檔內容
    • t、test 用於完整性檢查
  3. 如果使用者只想解壓縮少數成員,且成員名稱不確定,請先列出內容。
  4. 當需要指令矩陣、精確旗標名稱或可直接複製貼上的範例時,請載入 references/cli-reference.md。

安全預設值

  • 除非明確要求扁平化,否則優先使用 x 而非 e。
  • 保留 --filter data 作為預設解壓縮模式。
  • 僅在使用者需要標準 tar 風格相容性時才使用 --filter tar。
  • 僅在使用者明確表示歸檔來源完全可信時,才使用 --filter fully_trusted。
  • 保留原子歸檔建立功能啟用。僅在使用者明確要求時才使用 --no-atomic。
  • 對於大型歸檔或記憶體受限環境,優先使用 --streaming。
  • 對於自動化或管線處理,優先使用 tzst --json --no-banner ...。
  • 對於自動化解壓縮,需要明確的非互動式 --conflict-resolution 選擇,例如 replace_all、skip_all 或 auto_rename_all。
  • 不要將 --json 與互動式衝突提示結合使用。

腳本化注意事項

  • 在範例中,將全域旗標放在子指令之前,例如 tzst --json --no-banner l archive.tzst。
  • 在腳本中使用退出碼:0 表示成功,1 表示操作錯誤,2 表示參數解析錯誤,130 表示中斷。
  • 當歸檔命名很重要時,請告知使用者 tzst 可能會將建立目標標準化為 .tzst 或 .tar.zst。

常見錯誤

  • 在使用者期望保留原始目錄結構時使用了 e
  • 對來源不明或不可信的歸檔建議 fully_trusted
  • 忘記為非互動式解壓縮指定明確的衝突策略
  • 將 Python API 問題當作 CLI 問題處理
  • 根據使用 tar 的習慣猜測旗標,而非查閱捆綁的參考文件或已安裝的 CLI 說明

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

xixu-me/develop-userscripts

Use when building, debugging, packaging, or publishing browser userscripts for Tampermonkey or ScriptCat, including GM APIs, metadata blocks, permission issues, @match/@grant/@connect setup, ScriptCat background or scheduled scripts, UserConfig blocks, or subscription workflows.

xixu-me/github-actions-docs

Use when users ask how to write, explain, customize, migrate, secure, or troubleshoot GitHub Actions workflows, workflow syntax, triggers, matrices, runners, reusable workflows, artifacts, caching, secrets, OIDC, deployments, custom actions, or Actions Runner Controller, especially when they need official GitHub documentation, exact links, or docs-grounded YAML guidance.

xixu-me/openclaw-secure-linux-cloud

Use when self-hosting OpenClaw on a cloud server, hardening a remote OpenClaw gateway, choosing between SSH tunneling, Tailscale, or reverse-proxy exposure, or reviewing Podman, pairing, sandboxing, token auth, and tool-permission defaults for a secure personal deployment.

xixu-me/opensource-guide-coach

Use when a user wants guidance on starting, contributing to, growing, governing, funding, securing, or sustaining an open source project, or asks about contributor onboarding, community health, maintainer burnout, code of conduct, metrics, legal basics, or open source project adoption.

xixu-me/readme-i18n

Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.

xixu-me/running-claude-code-via-litellm-copilot

Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.

xixu-me/secure-linux-web-hosting

Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.

xixu-me/skills-cli

Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.

xixu-me/tzst

Use when the user needs to create, extract, flatten, list, test, install, script, or troubleshoot `tzst` CLI workflows for `.tzst` or `.tar.zst` archives, including compression levels, streaming mode, extraction filters, conflict resolution, JSON output, or standalone binary setup, even if they describe the archive task without naming `tzst`.

xixu-me/use-my-browser

Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.

xixu-me/xdrop

Use this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, provides an Xdrop `/t/:transferId#k=...` link to download and decrypt locally, or needs Xdrop CLI flags such as `--quiet`, `--json`, `--expires-in`, `--output`, or `--api-url`, even if they do not explicitly mention the skill name.

xixu-me/xget

Use when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container builds, AI SDKs, CI/CD, deployment, self-hosting, or adapting commands and config from the live README `Use Cases` section into files, environments, shells, or base URLs.

相關技能