·swain-config
</>

swain-config

在進行任何其他工作之前,請務必在每次會話開始時呼叫此技能。此技能可確保宿主專案在其上下文檔案中安裝代理治理規則(技能路由、預先實現協定、問題追蹤約定)。它是冪等的——如果規則已經存在,它就會默默地退出。如果不先運行此技能,其他 swain 技能(swain-design、swain-do、swain-release)將無法路由。

19安裝·7熱度·@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-11

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