生成工具配置

文档 社区

技能解读

当前原文的自动摘译,尚未人工审校。

对于“光标”

使用 .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 分发。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
文档
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@tomevault-io · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

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 -->

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。