tzst

โดย xixu-me

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`.

npx skills add https://github.com/xixu-me/skills --skill tzst

Use this skill for the tzst command-line interface. Default to execution when the user clearly wants a real archive action and the required paths or archive names are already known.

This skill is CLI-only. If the user is asking about Python code such as from tzst import ..., treat that as a general Python library or API documentation task instead of using this skill as the main guide.

When to Use

Use this skill when the user:

  • mentions .tzst or .tar.zst archives
  • wants to create, extract, flatten, list, or test a tzst archive
  • needs help installing tzst or choosing CLI flags
  • wants machine-readable tzst output for scripting or automation
  • needs safe conflict handling or extraction filter guidance

Do not use this skill for generic tar, zip, or Python API questions unless tzst is actually part of the request.

Preflight

  1. Check whether tzst is available with tzst --version or tzst --help.
  2. If it is missing, prefer one of these installation paths:
  3. Re-run tzst --version or tzst --help before doing real work.

Workflow

  1. Decide whether the request is execution or guidance. Requests like "archive these files", "extract this backup", "list what is inside", "test this archive", or "install tzst" are execution intent.
  2. Choose the command that matches the request:
    • a, add, create for archive creation
    • x, extract for normal extraction with directory structure preserved
    • e, extract-flat only when the user explicitly wants flattened output
    • l, list for archive inspection
    • t, test for integrity checks
  3. If the user wants to extract only a few members and the member names are uncertain, list first.
  4. Load references/cli-reference.md when you need the command matrix, exact flag names, or copy-paste examples.

Safe Defaults

  • Prefer x over e unless flattening is explicitly requested.
  • Keep --filter data as the default extraction mode.
  • Use --filter tar only when the user needs standard tar-style compatibility.
  • Use --filter fully_trusted only when the user explicitly says the archive source is completely trusted.
  • Keep atomic archive creation enabled. Only reach for --no-atomic when the user explicitly wants it.
  • Prefer --streaming for large archives or memory-constrained environments.
  • For automation or pipelines, prefer tzst --json --no-banner ....
  • For automated extraction, require an explicit non-interactive --conflict-resolution choice such as replace_all, skip_all, or auto_rename_all.
  • Do not combine --json with interactive conflict prompting.

Scripting Notes

  • Put global flags before the subcommand in examples, such as tzst --json --no-banner l archive.tzst.
  • Use exit codes in scripts: 0 for success, 1 for operation errors, 2 for argument parsing errors, and 130 for interruption.
  • When archive naming matters, tell the user that tzst may normalize a creation target to .tzst or .tar.zst.

Common Mistakes

  • Using e when the user expected the original directory structure to be preserved
  • Recommending fully_trusted for archives from an unknown or untrusted source
  • Forgetting an explicit conflict strategy for non-interactive extraction
  • Treating a Python API question as a CLI question
  • Guessing flags from tar habits instead of checking the bundled reference or the installed CLI help

Skills เพิ่มเติมจาก xixu-me

github-actions-docs
xixu-me
ใช้เมื่อผู้ใช้ถามถึงวิธีการเขียน อธิบาย ปรับแต่ง ย้ายระบบ รักษาความปลอดภัย หรือแก้ไขปัญหาเวิร์กโฟลว์ GitHub Actions, ไวยากรณ์เวิร์กโฟลว์, ทริกเกอร์, เมทริกซ์, รันเนอร์, เวิร์กโฟลว์ที่ใช้ซ้ำได้, อาร์ติแฟกต์, การแคช, ซีเคร็ต, OIDC, การปรับใช้, แอคชันแบบกำหนดเอง หรือ Actions Runner Controller โดยเฉพาะเมื่อต้องการเอกสารอย่างเป็นทางการของ GitHub, ลิงก์ที่แน่นอน หรือคำแนะนำ YAML ที่อ้างอิงจากเอกสาร
developmentdevopsdocument
use-my-browser
xixu-me
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.
browser-automationweb-scrapingtesting
readme-i18n
xixu-me
ใช้เมื่อผู้ใช้ต้องการแปล README ของ repository, ทำให้ repo รองรับหลายภาษา, แปลเอกสาร, เพิ่มตัวสลับภาษา, ทำให้ README เป็นสากล, หรืออัปเดต README เวอร์ชันภาษาต่างๆ ใน repository แบบ GitHub
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
ใช้เมื่อโฮสต์ OpenClaw ด้วยตนเองบนเซิร์ฟเวอร์คลาวด์, ปรับปรุงความปลอดภัยของเกตเวย์ OpenClaw ระยะไกล, เลือกระหว่าง SSH tunneling, Tailscale, หรือการเปิดเผยผ่าน reverse-proxy, หรือตรวจสอบ Podman, การจับคู่, การแซนด์บ็อกซ์, การยืนยันตัวตนด้วยโทเค็น, และค่าเริ่มต้นการอนุญาตเครื่องมือสำหรับการปรับใช้ส่วนบุคคลที่ปลอดภัย
devopssecurity
develop-userscripts
xixu-me
ใช้เมื่อสร้าง, ดีบัก, แพ็กเกจ หรือเผยแพร่ userscripts สำหรับเบราว์เซอร์สำหรับ Tampermonkey หรือ ScriptCat รวมถึง GM APIs, metadata blocks, ปัญหาการอนุญาต, การตั้งค่า @match/@grant/@connect, สคริปต์พื้นหลังหรือตามกำหนดเวลาของ ScriptCat, UserConfig blocks หรือขั้นตอนการทำงานแบบสมัครสมาชิก
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
ใช้เมื่อตั้งค่า ปรับปรุงความปลอดภัย หรือตรวจสอบเซิร์ฟเวอร์คลาวด์สำหรับการโฮสต์ด้วยตนเอง รวมถึง DNS, SSH, ไฟร์วอลล์, Nginx, การโฮสต์เว็บไซต์แบบคงที่, การทำ reverse proxy สำหรับแอปพลิเคชัน, HTTPS ด้วย Let's Encrypt หรือไคลเอนต์ ACME, การเปลี่ยนเส้นทาง HTTP ไปยัง HTTPS อย่างปลอดภัย หรือการปรับแต่งเครือข่ายหลังการเปิดตัว เช่น BBR
devopssecurityaws
opensource-guide-coach
xixu-me
ใช้เมื่อผู้ใช้ต้องการคำแนะนำเกี่ยวกับการเริ่มต้น การมีส่วนร่วม การเติบโต การกำกับดูแล การระดมทุน การรักษาความปลอดภัย หรือการดำรงอยู่ของโครงการโอเพนซอร์ส หรือถามเกี่ยวกับการปฐมนิเทศผู้มีส่วนร่วม สุขภาพของชุมชน ความเหนื่อยล้าของผู้ดูแล จรรยาบรรณ ตัวชี้วัด พื้นฐานทางกฎหมาย หรือการนำโครงการโอเพนซอร์สไปใช้
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
ใช้เมื่อต้องการกำหนดเส้นทาง Claude Code ผ่านพร็อกซี LiteLLM ในเครื่องไปยัง GitHub Copilot เพื่อลดค่าใช้จ่ายโดยตรงจาก Anthropic กำหนดค่า ANTHROPIC_BASE_URL หรือ ANTHROPIC_MODEL ที่ต้องการแทนที่ หรือแก้ไขปัญหาการตั้งค่าพร็อกซี Copilot ที่ล้มเหลว เช่น model-not-found, ไม่มีการรับส่งข้อมูล localhost, หรือข้อผิดพลาดการตรวจสอบสิทธิ์ GitHub 401/403
developmentapidevops