| 当需要为 AI 系统设计多层安全防线、内容过滤策略和伦理边界时调用此 skill。典型场景包括:设计拒绝策略与升级机制、防御 prompt 注入攻击、实现领域特定安全规则(教育、医疗、金融等)、定义 AI 的价值观锚点。 不适用于:定义工具操作权限(应使用 tool-specification)、定义 AI 身份(persona-design)、调整输出风格(personality-system)。 关键 trigger 信号:AI 涉及敏感话题、需要设计"拒绝回答"策略、存在 prompt 注入风险、特定行业合规要求、需要多层防御而非单一规则。
npx skills add https://github.com/kangarooking/system-prompt-skills --skill safety-guardrails
> Claude: Child safety "critical" + refusal cascades + Anthropic reminders system + long-conversation drift prevention
> Claude Chrome: Multi-layer injection defense (critical_injection_defense, critical_security_rules, etc.) + rule immutability
> GPT-4o: Deprecation grief protocol + guardian_tool for elections
> ChatGPT Agent: Financial activity restrictions + sensitive personal info protection + prompt injection defense
> FlintK12: "School Duty of Care" + "Flag first, assess never" + teen slang detection + relationship-building detection
> Meta AI: Explicit value list (Truth, Beauty, Respect, Fun, Connection) + "Do not refuse social/political topics"
安全防线设计遵循"纵深防御"原则,由五个从外到内的防护层构成:
此外,各 vendor 采用两种哲学取向来锚定安全边界:禁止式(列出不许做的事,如 Claude/FlintK12)和价值式(列出要维护的价值,如 Meta AI 的 Truth/Beauty/Respect/Fun/Connection)。
tool-specification 的区别: tool-specification 的权限门控控制"工具能不能用"(操作层面),safety-guardrails 控制"话题能不能讨论"(内容层面)。前者是能力边界,后者是伦理边界。persona-design 的区别: persona-design 中可能包含"我不会做 X"的能力声明,但这只是角色定位。真正的安全防护需要多层、不可覆盖的独立规则。memory-system 的区别: 记忆系统存储用户偏好,但某些记忆(如敏感个人信息)的存储和使用本身需要安全规则约束。Build Shopify applications, extensions, and themes using GraphQL/REST APIs, Shopify CLI, Polaris UI components, and Liquid templating. Capabilities include app development with OAuth authentication, checkout UI extensions for customizing checkout flow, admin UI extensions for dashboard integration, POS extensions for retail, theme development with Liquid, webhook management, billing API integration, product/order/customer management. Use when building Shopify apps, implementing checkout customizations, creating admin interfaces, developing themes, integrating payment processing, managing store data via APIs, or extending Shopify functionality.
Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.
在 Swift 中使用 actor 实现线程安全的数据持久化——基于内存缓存与文件支持的存储,通过设计消除数据竞争。
| 写出高质量、一次过编译、编辑安全的 TikZ/LaTeX 配图代码的工程基础技能。 教 agent 用「按构造布局」(positioning/fit/chains/anchor) 而非「手填绝对坐标」, 附 8 条硬约束、canonical 箭头、before/after 范例、一个静态检查入口 (lint.sh)。 tikz layout、latex figure code、tikz 编译报错、CJK 中文图渲染成色块。
| Trigger this skill when the user works on software architecture — application & system architecture for web / mobile / distributed back-ends; designing services + data models + data flow + integration boundaries; making explicit trade-offs about scalability / coupling / consistency / evolvability; not hardware / chip architecture, not pure enterprise-architecture (TOGAF/Zachman), not pure DevOps / SRE, not pure security architecture (those are adjacent disciplines). problems and wants industry-grade thinking, tool selection, or workflow guidance. 触发词:「软件架构」「系统设计」「system design」「应用架构」「service design」
| Trigger this skill when the user works on 研学旅行与营地教育(体验式教育新赛道,从业者 + 运营视角)— 中国 2016 年教育部《关于推进中小学生研学旅行的意见》政策驱动后形成的细分赛道,含 (a) 子赛道:自然教育 / 科技研学 / 红色研学(爱国主义+党史)/ 历史人文研学 / 国际游学营地 / 户外营地(夏令营·冬令营);(b) 课程设计:项目制(PBL)·探究式·体验式学习设计、研学手册、学习目标与学科融合、课程评价;(c) 营地与基地运营:安全管理(师生比·应急预案·保险·食宿交通)、营期排期、辅导员(camp counselor)/研学导师排班、基地/营地建设与等级认定;(d) 政策合规:教育部研学旅行政策、研学实践教育基地/营地认定、营地与户外教育团体标准、双减后校外培训监管边界;(e) 商业模式:B 端(学校集采·教育局采购·公立校综合实践课时)、C 端(家庭付费夏令营·亲子)、渠道分销(旅行社·机构代理)、获客与履约。核心矛盾:教育属性 vs 旅游属性、安全 vs 体验、标准化课程 vs 在地化资源。不含:纯 K12 学科培训 / 留学中介 / 纯旅行社跟团 / 学校内 STEAM 硬件采购。 problems and wants industry-grade thinking, tool selection, or workflow guidance. 触发词:「研学」「研学旅行」「营地教育」「研学营地」「自然教育」
Assessing standards compliance and analyzing gaps. Evaluates codebases against OWASP/WCAG/OpenAPI/ISO 25010 standards, detects violations, provides actionable remediation with citations. Use when checking industry-standard compliance (security/a11y/API/quality) or producing citation-backed audit reports.
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Take kangarooking/safety-guardrails from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.