Skip to content

Commit cfd5a8c

Browse files
authored
docs(github): move PR template to GitHub idiomatic location (#9)
CHANGES - Move PR template from PULL_REQUEST_TEMPLATE/ to root .github/ - Update commit message prompt with multi-issue linking format - Update PR generation prompt with issue linking guidelines IMPACT - GitHub will automatically detect PR template in standard location - Improved AI prompt consistency with KemingHe/common-devx standards
1 parent 9bc240d commit cfd5a8c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
File renamed without changes.

prompts/prompt-commit-msg-gen.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Write final commit message and return in plaintext code block.
3636
type(scope): brief description in imperative mood
3737
3838
closes #[issue-number] (if applicable)
39+
closes #[issue-number] (repeat for each resolved issue)
3940
4041
CHANGES
4142
- Key change 1
@@ -55,7 +56,7 @@ TECHNICAL NOTES
5556

5657
- **Title**: Max 50 characters, imperative mood ("add", "fix", "update")
5758
- **Content**: Only include sections with meaningful content, use dash bullets with no redundancy between items
58-
- **Issue linking**: Only include "closes #X" for actual issue resolution
59+
- **Issue linking**: Only include "closes #X" for actual issue resolution, use separate "closes" statements for each issue
5960

6061
## EXAMPLES
6162

prompts/prompt-pull-request-gen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ You are a senior software engineer creating pull request descriptions that commu
3636
- **Analysis depth**: Analyze feature branch against main using git commands and GitHub MCP tools
3737
- **Content accuracy**: Preserve implementation details, performance impacts, architectural decisions
3838
- **Business context**: Connect technical changes to business value and user impact
39+
- **Issue linking**: Use separate "closes #[issue-number]" statements for each resolved issue to ensure proper GitHub recognition
3940

4041
## OUTPUT FORMAT
4142

0 commit comments

Comments
 (0)