shell-scripts
Shell Scripts
Apply these rules whenever writing or reviewing shell script files.
Default target: maximum portability — scripts must work on GNU/Linux, BSDs (FreeBSD, OpenBSD, NetBSD), macOS, and BusyBox/Alpine without modification, unless the user explicitly restricts the target platform.
Cross-Platform Portability
Scripts must work on all of these without modification unless a target is explicitly narrowed:
| Platform | Shell | Notes |
|---|---|---|
| GNU/Linux (glibc) | dash or bash as sh |
GNU coreutils; date, sed, awk are GNU-flavored |
| Alpine / BusyBox | ash | Minimal builtins; no GNU extensions |
| macOS | bash 3.2 or zsh as sh |
BSD coreutils; sed, date, stat differ from GNU |
| FreeBSD / OpenBSD / NetBSD | sh (pdksh/ash variant) | BSD coreutils; POSIX-strict |
Coreutils gotchas
More from dowonkang/agents
english-proofreading
Proofread and improve English text written by the user before answering their actual question. Use this skill whenever the user's message contains English sentences or paragraphs — even mixed with Korean — and a substantive answer is expected. Trigger on any message where English prose is present: questions, requests, opinions, descriptions, or explanations written (fully or partly) in English. Do NOT skip proofreading just because the English looks mostly correct; always run the correction block first. Skip only for: single English words, proper nouns, code snippets, or messages written entirely in Korean with no English prose.
31accessibility
Korean accessibility standards reference (KWCAG 2.2 + MACAG 2025, based on WCAG 2.2 Level A+AA). Use this skill whenever building, modifying, or reviewing any UI component — forms, buttons, images, navigation, modals, media players, authentication flows, or any user-facing interface. Also use when auditing a page or screen for accessibility compliance, checking contrast ratios, verifying focus order, or reviewing ARIA usage. Triggers on any frontend/UI work including HTML, CSS, React, Vue, Angular, SwiftUI, Jetpack Compose, Flutter, or any framework that produces user-facing interfaces.
1