用于初始化项目时检查并创建社区治理所需的标准仓库文件。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "init-scaffold" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/devsquad-copilot/main/.github/plugins/devsquad/skills/init-scaffold/SKILL.md 2. 保存为 ~/.claude/skills/init-scaffold/SKILL.md 3. 装好后重载技能,告诉我可以用了
请检查这个新项目是否缺少社区治理文件,并创建完整的 SECURITY.md、CONTRIBUTING.md、LICENSE 和 CODE_OF_CONDUCT.md,内容要适合一个公开的 GitHub 开源仓库。
生成或补齐四个标准治理文件,并确保内容适合公开开源项目使用。
为这个内部项目补齐社区与治理文件。请先验证仓库现有文件,再创建缺失的 SECURITY.md、CONTRIBUTING.md、LICENSE 和 CODE_OF_CONDUCT.md,并使用更适合企业内部协作的措辞。
输出面向内部协作场景的治理文件,并避免使用不合适的开源社区表述。
请审查当前仓库中的社区治理文件状态,列出已存在和缺失的文件,并自动创建缺失的 SECURITY.md、CONTRIBUTING.md、LICENSE、CODE_OF_CONDUCT.md。
先给出检查结果,再补齐缺失文件,形成可直接提交的初始化成果。
Manage 4 optional community and governance files at the repository root:
| File | Purpose |
|---|---|
SECURITY.md | Security vulnerability reporting policy |
CONTRIBUTING.md | Contribution guidelines for collaborators |
LICENSE | Project license declaration |
CODE_OF_CONDUCT.md | Expected behavior standards |
These files are optional.
When verifying status, for each file:
When creating files, use the Socratic approach for each file:
Ask:
Generate content based on the template at docs/templates/SECURITY.md, replacing [TODO] markers with the answers.
Ask:
feature/description, fix/description)"Generate content based on the template at docs/templates/CONTRIBUTING.md, replacing [TODO] markers with the answers.
Ask:
Based on the chosen license:
docs/templates/LICENSE.Ask:
If Contributor Covenant: Generate the standard Contributor Covenant v2.1 text with the enforcement contact.
If custom: Generate content based on the template at docs/templates/CODE_OF_CONDUCT.md, replacing [TODO] markers with the answers.
When asked to create with --placeholder flag, skip all questions and create files directly from the templates in docs/templates/, preserving the [TODO] markers.
All files are created at the repository root:
SECURITY.mdCONTRIBUTING.mdLICENSECODE_OF_CONDUCT.md为软件架构图提供设计与审查建议,提升文档中的图示清晰度与规范性
用于统一项目 Markdown 文档的格式、结构与写作风格规范。
帮助你创建、切换并检查代码分支,确保实现前遵循正确分支策略。
基于代码差异生成规范化 Git 提交信息,并支持按逻辑分组提交
用于初始化项目或校验并生成 SDD 文档模板,确保规范齐全且为最新版本。
系统化排查测试失败、构建中断与异常运行问题,帮助快速恢复开发进度
帮助初始化并校验项目的 SDD 配置文件,确保开发规范与指令保持最新。
帮助用户在 VS Code 中从零搭建完整项目结构与初始化开发环境。
为项目规则或协作约定生成规范的 .instructions.md 说明文件
引导用户协作撰写文档、方案与技术规格,并通过迭代完善内容质量。
帮助用户在 VS Code 中一键搭建完整项目脚手架与初始化开发环境。
为 AI 编码助手生成或更新聊天定制配置文件,统一协作与开发体验