{"meta":{"title":"使用模板鼓励有用的议题和拉取请求","intro":"仓库维护员可在仓库中添加模板，以帮助贡献者创建高质量的议题和拉取请求。","product":"建设社区","breadcrumbs":[{"href":"/zh/communities","title":"建设社区"},{"href":"/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests","title":"问题和 PR 模板"}],"documentType":"category"},"body":"# 使用模板鼓励有用的议题和拉取请求\n\n仓库维护员可在仓库中添加模板，以帮助贡献者创建高质量的议题和拉取请求。\n\n## Links\n\n* [关于议题和拉取请求模板](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates)\n\n  利用议题和拉取请求模板，可以自定义和标准化您希望贡献者在您的仓库中打开议题和拉取请求时加入的信息。\n\n* [为存储库配置议题模板](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository)\n\n  你可以自定义贡献者在存储库中打开新议题时可使用的模板。\n\n* [议题表单的语法](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms)\n\n  您可以为您的议题表单定义不同的输入类型、验证、默认受理人和默认标签。\n\n* [GitHub表单架构的语法](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema)\n\n  您可以使用 GitHub 的表单架构来配置支持的功能。\n\n* [为仓库创建拉取请求模板](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)\n\n  将拉取请求模板添加到仓库后，项目贡献者会自动在拉取请求正文中看到模板的内容。\n\n* [创建议题表单时的常见验证错误](/zh/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms)\n\n  创建、保存或查看问题表单时，可能会看到其中一些常见验证错误。"}