[PR #154] [MERGED] feat: major ComfyPR Bot improvements with unified CLI and enhanced integrations #158

Closed
opened 2026-10-27 21:10:07 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/154
Author: @comfy-pr-bot
Created: 2/5/2026
Status: ✅ Merged
Merged: 2/5/2026
Merged by: @comfy-pr-bot

Base: main ← Head: sno-bot


📝 Commits (1)

  • e3fe1ae feat: major ComfyPR Bot improvements with unified CLI and enhanced integrations

📊 Changes

33 files changed (+439 additions, -481 deletions)

View changed files

➖ .TODO.md (+0 -85)
📝 .gitignore (+2 -0)
➕ .oxlintrc.json (+7 -0)
📝 bot/cli.ts (+8 -3)
➖ bot/code/coding/README.md (+0 -65)
➖ bot/code/coding/pr-agent.spec.ts (+0 -50)
➖ bot/code/coding/pr-agent.ts (+0 -78)
➖ bot/code/pr-bot.ts (+0 -48)
📝 bot/comfy-codesearch/README.md (+2 -0)
📝 bot/notion/search.ts (+0 -1)
📝 bot/registry/search.ts (+3 -1)
📝 bot/slack/file.ts (+9 -3)
📝 bot/slack/msg-read-thread.ts (+40 -29)
📝 bot/slack/parseSlackMessageToMarkdown.ts (+4 -1)
📝 bot/slack/parseSlackUrl.ts (+4 -2)
📝 bot/slack/stream.ts (+3 -6)
📝 bot/utils/filterDebugMessages.spec.ts (+2 -2)
📝 bot/utils/filterDebugMessages.ts (+21 -12)
📝 bun.lock (+219 -21)
📝 bunfig.toml (+1 -1)

...and 13 more files

📄 Description

Summary

Major improvements to ComfyPR Bot with comprehensive Slack API integration, enhanced CLI, and better code organization.

Key Changes

Bot Infrastructure

  • ✨ Add .bot directory with comprehensive bot instructions and skill definitions
  • 🔧 Reorganize bot/code structure (move from bot/code/coding/ to bot/code/)
  • 📚 Update documentation (CLAUDE.md, .bot/AGENT.md, skills/*.md)

Slack API Enhancements

  • ✨ Add comprehensive Slack API research commands:
    • reactions - Get message reactions and engagement
    • search - Search messages and files workspace-wide
    • pins - List pinned messages in channels
    • bookmarks - List channel bookmarks
    • channel-info - Get comprehensive channel metadata
    • members - List channel members with details
    • presence - Check user online/away status
    • context - Get complete message context (composite command)
  • 🎯 Add smart Slack URL reading with auto-detection (message/file/channel)
  • 🔧 Enhance Slack and Notion library utilities with better parsing and error handling

CLI Improvements

  • 🚀 Improve prbot CLI with better command organization and documentation
  • 📝 Add comprehensive command reference and usage patterns
  • 🔗 Better integration between research and PR creation workflows

Code Quality

  • ✅ Add oxlint rule to ban 'as any' type assertions
  • 🔒 Improve type safety in gh-bugcop by reducing 'as any' usage
  • 🧹 Apply linter fixes across the codebase
  • 🧪 Various cleanups and minor improvements

Testing

  • All existing tests pass
  • New Slack API commands tested manually
  • CLI command structure verified

Breaking Changes

None - all changes are additive or internal refactoring.


🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/Comfy-PR/pull/154 **Author:** [@comfy-pr-bot](https://github.com/comfy-pr-bot) **Created:** 2/5/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@comfy-pr-bot](https://github.com/comfy-pr-bot) **Base:** `main` ← **Head:** `sno-bot` --- ### 📝 Commits (1) - [`e3fe1ae`](https://github.com/Comfy-Org/Comfy-PR/commit/e3fe1aeb06d8207fed92e86d1a89dc2394fe9fc7) feat: major ComfyPR Bot improvements with unified CLI and enhanced integrations ### 📊 Changes **33 files changed** (+439 additions, -481 deletions) <details> <summary>View changed files</summary> ➖ `.TODO.md` (+0 -85) 📝 `.gitignore` (+2 -0) ➕ `.oxlintrc.json` (+7 -0) 📝 `bot/cli.ts` (+8 -3) ➖ `bot/code/coding/README.md` (+0 -65) ➖ `bot/code/coding/pr-agent.spec.ts` (+0 -50) ➖ `bot/code/coding/pr-agent.ts` (+0 -78) ➖ `bot/code/pr-bot.ts` (+0 -48) 📝 `bot/comfy-codesearch/README.md` (+2 -0) 📝 `bot/notion/search.ts` (+0 -1) 📝 `bot/registry/search.ts` (+3 -1) 📝 `bot/slack/file.ts` (+9 -3) 📝 `bot/slack/msg-read-thread.ts` (+40 -29) 📝 `bot/slack/parseSlackMessageToMarkdown.ts` (+4 -1) 📝 `bot/slack/parseSlackUrl.ts` (+4 -2) 📝 `bot/slack/stream.ts` (+3 -6) 📝 `bot/utils/filterDebugMessages.spec.ts` (+2 -2) 📝 `bot/utils/filterDebugMessages.ts` (+21 -12) 📝 `bun.lock` (+219 -21) 📝 `bunfig.toml` (+1 -1) _...and 13 more files_ </details> ### 📄 Description ## Summary Major improvements to ComfyPR Bot with comprehensive Slack API integration, enhanced CLI, and better code organization. ## Key Changes ### Bot Infrastructure - ✨ Add `.bot` directory with comprehensive bot instructions and skill definitions - 🔧 Reorganize `bot/code` structure (move from `bot/code/coding/` to `bot/code/`) - 📚 Update documentation (CLAUDE.md, .bot/AGENT.md, skills/*.md) ### Slack API Enhancements - ✨ Add comprehensive Slack API research commands: - `reactions` - Get message reactions and engagement - `search` - Search messages and files workspace-wide - `pins` - List pinned messages in channels - `bookmarks` - List channel bookmarks - `channel-info` - Get comprehensive channel metadata - `members` - List channel members with details - `presence` - Check user online/away status - `context` - Get complete message context (composite command) - 🎯 Add smart Slack URL reading with auto-detection (message/file/channel) - 🔧 Enhance Slack and Notion library utilities with better parsing and error handling ### CLI Improvements - 🚀 Improve prbot CLI with better command organization and documentation - 📝 Add comprehensive command reference and usage patterns - 🔗 Better integration between research and PR creation workflows ### Code Quality - ✅ Add oxlint rule to ban 'as any' type assertions - 🔒 Improve type safety in gh-bugcop by reducing 'as any' usage - 🧹 Apply linter fixes across the codebase - 🧪 Various cleanups and minor improvements ## Testing - All existing tests pass - New Slack API commands tested manually - CLI command structure verified ## Breaking Changes None - all changes are additive or internal refactoring. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:10:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/Comfy-PR#158
No description provided.