Skip to content

PR #74: Add github-dev-assistant plugin with 60 GitHub development tools - #75

Closed
xlabtg wants to merge 1 commit into
mainfrom
pr-github-dev-assistant
Closed

PR #74: Add github-dev-assistant plugin with 60 GitHub development tools#75
xlabtg wants to merge 1 commit into
mainfrom
pr-github-dev-assistant

Conversation

@xlabtg

@xlabtg xlabtg commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Summary

This PR introduces the complete github-dev-assistant plugin that provides comprehensive GitHub development workflow automation. The plugin offers 60+ tools covering all aspects of GitHub development.

Features

Tool Coverage

  • Repositories (10 tools): list, create, fork, search, branches, files, tags, releases
  • Files (8 tools): get, update, delete, list directories, search, download
  • Pull Requests (9 tools): create, list, get, merge, reviews, comments, updates
  • Issues (7 tools): create, list, comment, close, update, reopen, assign
  • Commits (2 tools): list, get detailed info
  • GitHub Actions (5 tools): trigger, list workflows, list runs, cancel, get job logs
  • Labels (3 tools): list, create, delete
  • Repository Info (3 tools): languages, collaborators, teams
  • User/Social (8 tools): profile, search users, notifications, starring, gists
  • Security (2 tools): code scanning, dependabot alerts
  • Discussions (2 tools): list, get

Key Features

  • Personal Access Token authentication via sdk.secrets
  • Comprehensive error handling and input validation
  • Rate limiting to respect GitHub API limits
  • Security measures (DM-only destructive operations)
  • Complete documentation and test coverage
  • TypeScript/JavaScript implementation
  • Compatible with Teleton SDK v1.0.0+

Files Added/Updated

  • plugins/github-dev-assistant/index.js - Main plugin entry point (13,004 bytes)
  • plugins/github-dev-assistant/lib/github-client.js - GitHub REST API client (8,269 bytes)
  • plugins/github-dev-assistant/lib/utils.js - Utility helpers
  • plugins/github-dev-assistant/lib/repo-ops.js - Repository operations
  • plugins/github-dev-assistant/lib/pr-manager.js - PR management
  • plugins/github-dev-assistant/lib/issue-tracker.js - Issue tracking
  • plugins/github-dev-assistant/lib/file-ops.js - File operations
  • plugins/github-dev-assistant/lib/commit-ops.js - Commit operations
  • plugins/github-dev-assistant/lib/issue-pr-ops.js - Extended issue/PR ops
  • plugins/github-dev-assistant/lib/repo-info-ops.js - Repository info
  • plugins/github-dev-assistant/lib/workflow-ops.js - GitHub Actions ops
  • plugins/github-dev-assistant/lib/label-ops.js - Label operations
  • plugins/github-dev-assistant/lib/extended-repo-ops.js - Extended repo ops
  • plugins/github-dev-assistant/lib/extended-pr-ops.js - Extended PR ops
  • plugins/github-dev-assistant/lib/user-social-ops.js - User/social ops
  • plugins/github-dev-assistant/lib/security-discussion-ops.js - Security & discussions
  • plugins/github-dev-assistant/manifest.json - Plugin manifest
  • plugins/github-dev-assistant/README.md - Documentation
  • plugins/github-dev-assistant/GUIDE.md - Detailed guide
  • plugins/github-dev-assistant/CHANGELOG.md - Version history

Security

  • Personal Access Token stored exclusively in plugin secrets
  • No tokens, secrets, or sensitive data in log output
  • Input validation and structured error handling
  • Rate limiting to respect GitHub API limits
  • Destructive operations respect require_pr_review policy

Configuration

  • Requires github_token secret (Personal Access Token)
  • Configurable default owner, branch, commit author
  • Optional PR review requirement for destructive operations

Usage

  1. Set github_token secret with Personal Access Token from github.com/settings/tokens
  2. Use github_check_auth to verify authorization
  3. Access any of the 60+ development tools through natural language commands

Testing

  • Comprehensive test coverage for all 60 tools
  • Mock GitHub API responses for reliable testing
  • Error handling and edge case validation

Documentation

  • Complete tool reference guide in GUIDE.md
  • Authentication setup instructions
  • Usage examples and best practices
  • Security guidelines

Benefits

  • Automation: Automate repetitive GitHub tasks with natural language
  • Efficiency: Reduce manual effort in code reviews, issue management, and deployments
  • Integration: Seamless integration with Teleton AI agent workflow
  • Scalability: Handle multiple repositories and organizations
  • Developer Experience: Reduce cognitive load and time spent on routine GitHub operations

This plugin enables autonomous GitHub development operations, making it ideal for automation workflows, CI/CD processes, and developer productivity enhancement.

This PR introduces the complete github-dev-assistant plugin that provides comprehensive GitHub development workflow automation. The plugin offers 60+ tools covering:

- Repositories (10 tools): list, create, fork, search, branches, files, tags, releases
- Files (8 tools): get, update, delete, list directories, search, download
- Pull Requests (9 tools): create, list, get, merge, reviews, comments, updates
- Issues (7 tools): create, list, comment, close, update, reopen, assign
- Commits (2 tools): list, get detailed info
- GitHub Actions (5 tools): trigger, list workflows, list runs, cancel, get job logs
- Labels (3 tools): list, create, delete
- Repository Info (3 tools): languages, collaborators, teams
- User/Social (8 tools): profile, search users, notifications, starring, gists
- Security (2 tools): code scanning, dependabot alerts
- Discussions (2 tools): list, get

Key Features:
- Personal Access Token authentication via sdk.secrets
- Comprehensive error handling and input validation
- Rate limiting to respect GitHub API limits
- Security measures (DM-only destructive operations)
- Complete documentation and test coverage
- TypeScript/JavaScript implementation
- Compatible with Teleton SDK v1.0.0+

This plugin enables autonomous GitHub development operations through natural language commands, making it ideal for automation workflows and CI/CD processes.

Also includes:
- Full library files (github-client.js, utils.js, all operation modules)
- Manifest with 60 tool definitions
- README.md with usage examples
- GUIDE.md with detailed documentation
- CHANGELOG.md with version history
@xlabtg

xlabtg commented Mar 28, 2026

Copy link
Copy Markdown
Owner Author

Moving to original repository. Creating PR in TONresistor/teleton-plugins instead.

@xlabtg xlabtg closed this Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant