chiisen

os-detector

by @chiisen in Tools
0
0
# Install this skill:
npx skills add chiisen/skills --skill "os-detector"

Install specific skill from multi-skill repository

# Description

自動判斷當前作業系統環境 (Windows/macOS)

# SKILL.md


name: os-detector
description: 自動判斷當前作業系統環境 (Windows/macOS)


OS Detector

此 Skill 用於自動檢測當前的作業系統環境 (Windows 或 macOS)。

功能

  • 判斷執行環境是 Windows、macOS 還是 Linux。
  • 提供詳細的環境資訊 (Platform, Release)。

使用方法

執行以下指令:

node os-detector/scripts/detect_os.js

輸出範例

{
  "os": "Windows",
  "platform": "win32",
  "release": "10.0.22631"
}

Reporting

When reporting the operating system details to the user, you MUST use Traditional Chinese.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.