用于初始化项目时检查并创建社区治理所需的标准仓库文件。
复制安装指令,让 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帮助你规范创建 GitHub Issues 或 Azure DevOps 的任务、需求与史诗条目。
在开发任务完成后,智能推荐最合适的下一步实施工作。
在开始处理 GitHub 或 Azure 工作项前,核对负责人、依赖、优先级与产能。
提取并维护领域术语表,统一规范术语、识别歧义并校验文档一致性。
用标签驱动的问题分诊流程,规范状态流转并生成可追溯分诊记录。
用于架构设计与代码实现阶段的安全审查,识别威胁、漏洞与合规风险。
帮助初始化并校验项目的 SDD 配置文件,确保开发规范与指令保持最新。
用于初始化项目或校验并生成 SDD 文档模板,确保规范齐全且为最新版本。
为项目规则或协作约定生成规范的 .instructions.md 说明文件
引导用户协作撰写文档、方案与技术规格,并通过迭代完善内容质量。
为 AI 编码助手生成或更新聊天定制配置文件,统一协作与开发体验
帮助开发者按校验流程创建项目并自动注册,快速完成脚手架初始化