Skip to content

Commit 2d28702

Browse files
chore(templates): align issue templates with conventional commit format (#427)
## Description Converted all 6 issue template title prefixes from bracket-style (e.g., `[Bug]:`) to Conventional Commit format (e.g., `fix:`). Cleaned up scope definitions in commit-message.instructions.md from 26 inherited scopes to 12 project-relevant ones. Updated documentation examples in agent and prompt files to match the new format and added contributing guidance for issue title conventions. - chore(templates): convert 6 issue template title prefixes to conventional commit style - `bug-report.yml`: `[Bug]:` → `fix:` - `custom-agent-request.yml`: `[Custom Agent]:` → `feat(agents):` - `general-issue.yml`: `[Issue]:` → `feat:` - `instruction-file-request.yml`: `[Instruction File]:` → `feat(instructions):` - `prompt-request.yml`: `[Prompt]:` → `feat(prompts):` - `skill-request.yml`: `[Skill]:` → `feat(skills):` - refactor(instructions): reduce commit-message.instructions.md scopes from 26 to 12 project-relevant definitions - Added descriptions for each scope - Removed irrelevant scopes inherited from microsoft/edge-ai (cloud, iot-ops, terraform, bicep, etc.) - Updated attribution from microsoft/edge-ai to microsoft/hve-core - docs(agents): update github-issue-manager.agent.md examples to use conventional commit format - docs(prompts): update github-add-issue.prompt.md examples to use conventional commit format - docs: add "GitHub Issue Title Conventions" section to ai-artifacts-common.md with issue type mapping table ## Related Issue(s) Closes #426 ## Type of Change Select all that apply: **Code & Documentation:** - [ ] Bug fix (non-breaking change fixing an issue) - [ ] New feature (non-breaking change adding functionality) - [ ] Breaking change (fix or feature causing existing functionality to change) - [x] Documentation update **Infrastructure & Configuration:** - [ ] GitHub Actions workflow - [ ] Linting configuration (markdown, PowerShell, etc.) - [ ] Security configuration - [ ] DevContainer configuration - [ ] Dependency update **AI Artifacts:** - [ ] Reviewed contribution with `prompt-builder` agent and addressed all feedback - [x] Copilot instructions (`.github/instructions/*.instructions.md`) - [x] Copilot prompt (`.github/prompts/*.prompt.md`) - [x] Copilot agent (`.github/agents/*.agent.md`) - [ ] Copilot skill (`.github/skills/*/SKILL.md`) **Other:** - [ ] Script/automation (`.ps1`, `.sh`, `.py`) - [ ] Other (please describe): ## Sample Prompts (for AI Artifact Contributions) Not applicable - this PR updates existing artifacts to align with new conventions rather than adding new functionality. ## Testing - Verified all 6 issue templates have correct Conventional Commit title prefixes - Validated YAML syntax with `npm run lint:yaml` - Validated markdown files with `npm run lint:md` - Validated frontmatter with `npm run lint:frontmatter` ## Checklist ### Required Checks - [x] Documentation is updated (if applicable) - [x] Files follow existing naming conventions - [x] Changes are backwards compatible (if applicable) - [ ] Tests added for new functionality (if applicable) ### AI Artifact Contributions - [ ] Used `/prompt-analyze` to review contribution - [ ] Addressed all feedback from `prompt-builder` review - [x] Verified contribution follows common standards and type-specific requirements ### Required Automated Checks The following validation commands must pass before merging: - [x] Markdown linting: `npm run lint:md` - [ ] Spell checking: `npm run spell-check` - [x] Frontmatter validation: `npm run lint:frontmatter` - [ ] Link validation: `npm run lint:md-links` - [ ] PowerShell analysis: `npm run lint:ps` ## Security Considerations - [x] This PR does not contain any sensitive or NDA information - [ ] Any new dependencies have been reviewed for security issues - [x] Security-related scripts follow the principle of least privilege ## Additional Notes The scope cleanup removed 17 irrelevant scopes inherited from microsoft/edge-ai that do not apply to hve-core (cloud, data, edge, application, tools, resource-group, security-identity, observability, fabric, messaging, vm-host, cncf-cluster, iot-ops, blueprints, terraform, bicep, azureml). Five new scopes were added to cover hve-core artifact categories (agents, skills, templates, workflows, extension). 📝 - Generated by Copilot
1 parent adf6a5f commit 2d28702

10 files changed

Lines changed: 52 additions & 37 deletions

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug Report
22
description: Report a bug or unexpected behavior
3-
title: "[Bug]: "
3+
title: "fix: "
44
labels: ["bug", "needs-triage"]
55
body:
66
- type: markdown

.github/ISSUE_TEMPLATE/custom-agent-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Custom Agent Request
22
description: Request a new custom agent or slash command
3-
title: "[Custom Agent]: "
3+
title: "feat(agents): "
44
labels: ["custom-agent", "needs-triage"]
55
body:
66
- type: markdown

.github/ISSUE_TEMPLATE/general-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: General Issue
22
description: Report a general issue or request a feature
3-
title: "[Issue]: "
3+
title: "feat: "
44
labels: ["needs-triage"]
55
body:
66
- type: markdown

.github/ISSUE_TEMPLATE/instruction-file-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Copilot Instruction File Request
22
description: Request a new GitHub Copilot instruction file
3-
title: "[Instruction File]: "
3+
title: "feat(instructions): "
44
labels: ["instruction-file", "needs-triage"]
55
body:
66
- type: markdown

.github/ISSUE_TEMPLATE/prompt-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Prompt Template Request
22
description: Request a new prompt template
3-
title: "[Prompt]: "
3+
title: "feat(prompts): "
44
labels: ["prompt", "needs-triage"]
55
body:
66
- type: markdown

.github/ISSUE_TEMPLATE/skill-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Skill Request
22
description: Request a new skill package
3-
title: "[Skill]: "
3+
title: "feat(skills): "
44
labels: ["skill", "needs-triage"]
55
body:
66
- type: markdown

.github/agents/github-issue-manager.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ Navigation session example:
9595

9696
## Results ({count} issues)
9797

98-
* #42: [Bug]: Login button broken
99-
* #41: [Bug]: Search not working
98+
* #42: fix: login button broken
99+
* #41: fix: search not working
100100

101101
## Actions Taken
102102

.github/instructions/commit-message.instructions.md

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: 'Required instructions for creating all commit messages - Brought to you by microsoft/edge-ai'
2+
description: 'Required instructions for creating all commit messages - Brought to you by microsoft/hve-core'
33
maturity: stable
44
---
55

@@ -31,30 +31,18 @@ Types MUST be one of the following:
3131

3232
Scopes MUST be one of the following:
3333

34-
- `(prompts)`
35-
- `(instructions)`
36-
- `(settings)`
37-
- `(cloud)`
38-
- `(data)`
39-
- `(docs)`
40-
- `(edge)`
41-
- `(application)`
42-
- `(tools)`
43-
- `(resource-group)`
44-
- `(security-identity)`
45-
- `(observability)`
46-
- `(fabric)`
47-
- `(messaging)`
48-
- `(vm-host)`
49-
- `(cncf-cluster)`
50-
- `(iot-ops)`
51-
- `(blueprints)`
52-
- `(terraform)`
53-
- `(bicep)`
54-
- `(scripts)`
55-
- `(adrs)`
56-
- `(build)`
57-
- `(azureml)`
34+
- `(agents)` - Custom agent definitions in `.github/agents/`
35+
- `(prompts)` - Prompt templates in `.github/prompts/`
36+
- `(instructions)` - Coding guidelines in `.github/instructions/`
37+
- `(skills)` - Skill packages in `.github/skills/`
38+
- `(templates)` - Issue and PR templates in `.github/ISSUE_TEMPLATE/`
39+
- `(workflows)` - GitHub Actions in `.github/workflows/`
40+
- `(extension)` - VS Code extension in `extension/`
41+
- `(scripts)` - Automation scripts in `scripts/`
42+
- `(docs)` - Documentation in `docs/`
43+
- `(adrs)` - Architecture Decision Records
44+
- `(settings)` - Configuration files (`.vscode/`, linter configs)
45+
- `(build)` - Build system and dependencies
5846

5947
## Description
6048

.github/prompts/github-add-issue.prompt.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You WILL discover and parse available issue templates from `.github/ISSUE_TEMPLA
6666
```yaml
6767
name: Bug Report
6868
description: File a bug report
69-
title: "[Bug]: "
69+
title: "fix: "
7070
labels: ["bug", "triage"]
7171
assignees:
7272
- octocat
@@ -199,7 +199,7 @@ You WILL create the GitHub issue using MCP tools.
199199
{
200200
"tool": "mcp_github_create_issue",
201201
"parameters": {
202-
"title": "[Bug]: Login button doesn't work on mobile devices",
202+
"title": "fix: login button doesn't work on mobile devices",
203203
"body": "**What happened?**\nThe login button doesn't work on mobile devices\n\n**Contact Details**\n[email protected]",
204204
"labels": ["bug", "triage"],
205205
"assignees": ["octocat"]
@@ -214,7 +214,7 @@ You WILL create the GitHub issue using MCP tools.
214214
"number": 42,
215215
"html_url": "https://github.com/owner/repo/issues/42",
216216
"state": "open",
217-
"title": "[Bug]: Login button doesn't work on mobile devices"
217+
"title": "fix: login button doesn't work on mobile devices"
218218
}
219219
```
220220

@@ -253,7 +253,7 @@ You WILL log issue creation to artifact file for tracking and reference.
253253

254254
### Title
255255

256-
[Bug]: Login button doesn't work on mobile devices
256+
fix: login button doesn't work on mobile devices
257257

258258
### Body
259259

docs/contributing/ai-artifacts-common.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,33 @@ Brought to you by microsoft/hve-core
483483
* Exact text: "Brought to you by microsoft/hve-core"
484484
* Or team-specific: "Brought to you by microsoft/edge-ai"
485485

486+
## GitHub Issue Title Conventions
487+
488+
When filing issues against hve-core, use Conventional Commit-style title prefixes that match the repository's commit message format.
489+
490+
### Issue Title Format
491+
492+
| Issue Type | Title Prefix | Example |
493+
|----------------------|-----------------------|-------------------------------------------------|
494+
| Bug reports | `fix:` | `fix: validation script fails on Windows paths` |
495+
| Agent requests | `feat(agents):` | `feat(agents): add Azure cost analysis agent` |
496+
| Prompt requests | `feat(prompts):` | `feat(prompts): add PR description generator` |
497+
| Instruction requests | `feat(instructions):` | `feat(instructions): add Go language standards` |
498+
| Skill requests | `feat(skills):` | `feat(skills): add diagram generation skill` |
499+
| General features | `feat:` | `feat: support multi-root workspaces` |
500+
| Documentation | `docs:` | `docs: clarify installation steps` |
501+
502+
### Benefits
503+
504+
* Issue titles align with commit and PR title conventions
505+
* Automated changelog generation works correctly
506+
* Scopes clearly identify affected artifact categories
507+
* Consistent formatting across all project tracking
508+
509+
### Reference
510+
511+
See [commit-message.instructions.md](../../.github/instructions/commit-message.instructions.md) for the complete list of types and scopes.
512+
486513
## Getting Help
487514

488515
When contributing AI artifacts:

0 commit comments

Comments
 (0)