生成工具配置
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 文档
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
Generate AI tool configuration files from the existing `.context/` documentation.
## Target: $ARGUMENTS
### For "cursor"
Create `.cursor/rules/` directory with `.mdc` files:
- `general.mdc` - Always-apply rules from `@.context/ai-rules.md`
- One `.mdc` per domain with appropriate glob patterns
- Use `alwaysApply: true` only for `general.mdc`
- Reference `.context/` files with `@` syntax
### For "copilot"
Create `.github/copilot-instructions.md`:
- Extract key rules from `.context/ai-rules.md`
- Keep under 50 lines (Copilot works best with concise instructions)
- Reference `.context/` file paths for the agent to read
### For "windsurf"
Create `.windsurfrules`:
- Must stay under 6000 characters
- Prioritize rules from `.context/ai-rules.md` and `.context/architecture/patterns.md`
- Include file references for domain-specific context
### For "all"
Generate all three above.
## Rules
- Read `.context/ai-rules.md` and `.context/architecture/patterns.md` first
- Keep generated files minimal. Don't duplicate content, point to `.context/` files
- Follow each tool's format requirements exactly
- Test that file paths are correct relative to project root
---
> Source: [andrefigueira/.context](https://github.com/andrefigueira/.context) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->
章节与文件索引
按说明文件中的顺序排列。
对于“光标”
对于“副驾驶”
对于“风帆冲浪”
对于“所有”
规则
文件/命令 -> .context/ · .cursor/rules/ · .mdc · general.mdc · @.context/ai-rules.md · alwaysApply: true · .github/copilot-instructions.md · .context/ai-rules.md
内容校验值 -> c4caafcfa3d4
当前原文的自动摘译,尚未人工审校。
对于“光标”
使用
.mdc文件创建.cursor/rules/目录:general.mdc- 始终应用来自@.context/ai-rules.md的规则 每个域使用适当的 glob 模式一个.mdc仅将alwaysApply: true用于general.mdc参考具有@语法的.context/文件对于“副驾驶”
创建
.github/copilot-instructions.md:从.context/ai-rules.md中提取关键规则 保持在 50 行以内(Copilot 在简明指令下效果最佳) 供代理读取的参考.context/文件路径对于“风帆冲浪”
创建
.windsurfrules:必须保持在 6000 个字符以下 优先考虑.context/ai-rules.md和.context/architecture/patterns.md的规则 包含特定于域的上下文的文件引用对于“所有”
生成以上所有三个。
规则
首先阅读
.context/ai-rules.md和.context/architecture/patterns.md保持生成的文件最少。不要重复内容,指向.context/文件 严格遵循每个工具的格式要求 测试文件路径相对于项目根目录是否正确 来源:andrefigueira/.context — 由 TomeVault 分发。