ASCII登录横幅生成技能Skill ascii-motd-profile-banner

这是一个用于生成ASCII-only的MOTD(Message of the Day)、SSH登录横幅和shell配置文件欢迎消息的技能,支持短版和长版变体,提供安静模式指导和安全通知。适用于终端环境,关键词包括ASCII、MOTD、SSH、横幅、欢迎消息、安全提示、终端、DevOps。

DevOps 0 次安装 0 次浏览 更新于 3/22/2026

名称: ascii-motd-profile-banner 描述: 生成ASCII-only MOTD / SSH登录横幅 / shell配置文件欢迎消息(短版/长版变体,安静模式指导,安全通知)。 许可证: 完整条款在LICENSE.txt中

何时使用此技能

关键触发规则

  • 仅当用户明确提及确切的技能名称时使用此技能: ascii-motd-profile-banner

触发短语包括:

  • “ascii-motd-profile-banner”
  • “use ascii-motd-profile-banner”
  • “用 ascii-motd-profile-banner 生成 SSH 登录欢迎”
  • “使用 ascii-motd-profile-banner 输出 MOTD(短版/长版)”

边界

  • 仅生成模板和放置指导;不修改系统文件。
  • 从不包含敏感信息(令牌、内部URL、账户详情、个人数据)。
  • 默认输出为ASCII-only;ANSI颜色是可选的,必须有无色回退。

如何使用此技能

输入

  • 标题 (必需)
  • 消息要点 (1–5个要点,必需)
  • 模式 (短 | 长,默认短)
  • 宽度 (默认80)
  • 包含链接 (可选: 文档 / 工单 / 仓库)
  • 颜色模式 (无 | ansi256,默认无)
  • 安静提示 (默认true: 为非交互式shell推荐安静输出)

输出 (必需)

  • 横幅短版 (<= 12行)
  • 横幅长版 (<= 30行)
  • 安全笔记 (>= 3个可操作的安全笔记)
  • 切换建议 (交互式与非交互式显示指导)

示例

  • examples/ssh-short.md
  • examples/ssh-long.md

质量检查清单

  1. 短版不垃圾邮件 (<= 12行)
  2. 复制/粘贴安全 (无尾随空格)
  3. 安全笔记清晰、简短且可操作

关键词

英语: ascii-motd-profile-banner, motd, ssh banner, profile, welcome message, security notice, terminal 中文: ascii-motd-profile-banner, MOTD, SSH Banner, 登录欢迎, Profile, 安全提示, 终端