生成代码库协作指令
原名:generate-custom-instructions-from-codebase
根据代码结构、构建命令和测试方式生成供开发者与 AI 使用的项目协作说明。
中文 Skills 技能说明
适合为现有仓库补充简洁可执行的工作指引。只写已经核验的命令和目录,秘密配置用占位符;发现多个技术栈时按范围拆分,不制造互相冲突的规则。
上游能力依据
上游原始适用说明:Migration and code evolution instructions generator for GitHub Copilot. Analyzes differences between two project versions (branches, commits, or releases) to create precise instructions allowing Copilot to maintain consistency during technology migrations, major refactoring, or framework version upgrades.
上游 SKILL.md 主要章节(保留原文标题):
- Configuration Variables
- Generated Prompt
- Phase 1: Comparative State Analysis
- Phase 2: Migration Instructions Generation
- Migration Context
- Automatic Transformation Rules
- 1. Mandatory Transformations
- 2. Transformations with Validation
- 3. API Correspondences
- 4. New Patterns to Adopt
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/3f0bba475ec40b9680e1d0311b9caffeec5ad4c3/skills/generate-custom-instructions-from-codebase
适用范围
平台:linux、macos、windows;标签:软件开发、生成代码库协作指令
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。