当需要为 AI 系统设计多层安全防线、内容过滤策略和伦理边界时调用此 skill。典型场景包括:设计拒绝策略与升级机制、防御 prompt 注入攻击、实现领域特定安全规则(教育、医疗、金融等)、定义 AI 的价值观锚点。 不适用于:定义工具操作权限(应使用 tool-specification)、定义 AI 身份(persona-design)、调整输出风格(personality-system)。 关键 trigger 信号:AI 涉及敏感话题、需要设计"拒绝回答"策略、存在 prompt 注入风险、特定行业合规要求、需要多层防御而非单一规则。
$npx -y skills add kangarooking/system-prompt-skills --skill safety-guardrailsInstalls into the current project.
Run `npx skills use "https://github.com/kangarooking/system-prompt-skills" --skill "kangarooking/system-prompt-skills/safety-guardrails"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/kangarooking/system-prompt-skills" that are relevant to the current task. Run `npx skills add "https://github.com/kangarooking/system-prompt-skills"` and select the relevant skills, then follow their instructions.