什麼是 creating-claude-rules?
建立或修復 .claude/rules/ 檔案時使用 - 提供正確的路徑 frontmatter (不是 glob)、glob 模式,並避免 Cursor 特定的欄位(如 alwaysApply) 來源:agentworkforce/relay。
建立或修復 .claude/rules/ 檔案時使用 - 提供正確的路徑 frontmatter (不是 glob)、glob 模式,並避免 Cursor 特定的欄位(如 alwaysApply)
透過命令列快速安裝 creating-claude-rules AI 技能到你的開發環境
來源:agentworkforce/relay。
Rules in .claude/rules/ are modular instructions scoped to specific files via glob patterns. They load automatically with same priority as CLAUDE.md.
| Path patterns | paths | globs | | Always apply | Omit paths | alwaysApply: true | | Description | Not documented | description |
| /.ts | All .ts files anywhere | | src// | Everything under src/ | | .md | Markdown in root only | | /.{ts,tsx} | .ts and .tsx files | | {src,lib}//.ts | .ts in src/ or lib/ |
建立或修復 .claude/rules/ 檔案時使用 - 提供正確的路徑 frontmatter (不是 glob)、glob 模式,並避免 Cursor 特定的欄位(如 alwaysApply) 來源:agentworkforce/relay。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/agentworkforce/relay --skill creating-claude-rules建立或修復 .claude/rules/ 檔案時使用 - 提供正確的路徑 frontmatter (不是 glob)、glob 模式,並避免 Cursor 特定的欄位(如 alwaysApply) 來源:agentworkforce/relay。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/agentworkforce/relay --skill creating-claude-rules 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/agentworkforce/relay