·swain-config
</>

swain-config

在进行任何其他工作之前,始终在每次会话开始时调用此技能。此技能可确保宿主项目在其上下文文件中安装代理治理规则(技能路由、预实现协议、问题跟踪约定)。它是幂等的——如果规则已经存在,它就会默默地退出。如果不先运行此技能,其他 swain 技能(swain-design、swain-do、swain-release)将无法路由。

19安装·10热度·@cristoslc

安装

$npx skills add https://github.com/cristoslc/swain --skill swain-config

如何安装 swain-config

通过命令行快速安装 swain-config AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/cristoslc/swain --skill swain-config
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:cristoslc/swain。

SKILL.md

查看原文

Ensure the host project's agent context file contains the swain governance rules. This skill is idempotent — run it every session; it only writes on first use.

| Claude Code | CLAUDE.md (project root) | Default — use if no other platform detected | | Cursor | .cursor/rules/swain-governance.mdc | .cursor/ directory exists |

If any file matches, governance is already installed. Proceed to Legacy cleanup, then stop.

在进行任何其他工作之前,始终在每次会话开始时调用此技能。此技能可确保宿主项目在其上下文文件中安装代理治理规则(技能路由、预实现协议、问题跟踪约定)。它是幂等的——如果规则已经存在,它就会默默地退出。如果不先运行此技能,其他 swain 技能(swain-design、swain-do、swain-release)将无法路由。 来源:cristoslc/swain。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cristoslc/swain --skill swain-config
分类
</>开发工具
认证
收录时间
2026-03-10
更新时间
2026-03-10

Browse more skills from cristoslc/swain

快速解答

什么是 swain-config?

在进行任何其他工作之前,始终在每次会话开始时调用此技能。此技能可确保宿主项目在其上下文文件中安装代理治理规则(技能路由、预实现协议、问题跟踪约定)。它是幂等的——如果规则已经存在,它就会默默地退出。如果不先运行此技能,其他 swain 技能(swain-design、swain-do、swain-release)将无法路由。 来源:cristoslc/swain。

如何安装 swain-config?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cristoslc/swain --skill swain-config 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/cristoslc/swain

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-03-10