👾 Description of the Task
Many bot comments currently combine reusable automation logic with C++ SDK-specific wording, documentation links, support team mentions, and contributor guidance.
This makes the bot harder to reuse across SDK repositories because another repository would need to copy and edit JavaScript files just to change text, links, or support contacts.
Relevant Files
.github/scripts/helpers/comments.js
.github/scripts/commands/assign-comments.js
.github/scripts/commands/finalize-comments.js
.github/scripts/bot/bot-recommend-issues.js
.github/scripts/tests/test-comments.js
.github/scripts/tests/test-assign-bot.js
.github/scripts/tests/test-finalize-bot.js
.github/scripts/tests/test-recommend-issues-bot.js
💡 Proposed Approach
Introduce a template/config layer for bot messages and repository-specific links.
The initial goal should be to extract C++ SDK-specific content, not to build a complex templating system. Simple functions backed by config values are sufficient.
Examples of Content to Extract
- Signing guide URL
- Workflow guide URL
- README setup URL
- Merge conflict guide URL
- Discord/community URL
- Support team mention
- Maintainer team mention
- Welcome message repository name
- PR helper bot wording
- Skill-level boilerplate text
👩💻 Implementation Steps
✔️ Acceptance Criteria
🤔 Additional Information
This directly supports reusable automation across SDK repositories while keeping contributor-facing messages clear and repository-specific.
👾 Description of the Task
Many bot comments currently combine reusable automation logic with C++ SDK-specific wording, documentation links, support team mentions, and contributor guidance.
This makes the bot harder to reuse across SDK repositories because another repository would need to copy and edit JavaScript files just to change text, links, or support contacts.
Relevant Files
.github/scripts/helpers/comments.js.github/scripts/commands/assign-comments.js.github/scripts/commands/finalize-comments.js.github/scripts/bot/bot-recommend-issues.js.github/scripts/tests/test-comments.js.github/scripts/tests/test-assign-bot.js.github/scripts/tests/test-finalize-bot.js.github/scripts/tests/test-recommend-issues-bot.js💡 Proposed Approach
Introduce a template/config layer for bot messages and repository-specific links.
The initial goal should be to extract C++ SDK-specific content, not to build a complex templating system. Simple functions backed by config values are sufficient.
Examples of Content to Extract
👩💻 Implementation Steps
✔️ Acceptance Criteria
🤔 Additional Information
This directly supports reusable automation across SDK repositories while keeping contributor-facing messages clear and repository-specific.