Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-discipline:ask-ttyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bash tool 不支援互動式 stdin。當指令需要使用者輸入(密碼、確認、passphrase 等),使用 `ask-tty` 取得。
Bash tool 不支援互動式 stdin。當指令需要使用者輸入(密碼、確認、passphrase 等),使用 ask-tty 取得。
# 依序嘗試:PATH > ~/bin > 專案 scripts/
command -v ask-tty || test -x ~/bin/ask-tty || echo "ask-tty not found"
如果找不到就告知使用者 ask-tty 未安裝。
echo $(ask-tty "sudo password" --sensitive) | sudo -S <command>
sshpass -p "$(ask-tty "SSH password for user@host" --sensitive)" ssh user@host <command>
ANSWER=$(ask-tty "Proceed with apt upgrade? (y/N)")
echo "$ANSWER" | sudo apt upgrade
VALUE=$(ask-tty "Enter the new hostname")
--sensitive / -s: 輸入內容自動從聊天記錄中刪除(用於密碼類)--timeout N / -t N: 超時秒數(預設 120 秒)--sensitiveGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub miyago9267/dev-discipline --plugin dev-discipline