feat: Add GitHub Issues integration to VibeKit SDK #226
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds comprehensive GitHub Issues integration to the VibeKit SDK, enabling automated issue creation, updates, and management workflows. This follows the established pattern of existing GitHub operations (
createPullRequest,mergePullRequest,pushToBranch) with a minimal 2-command API surface.What's Added
Core SDK Methods
createIssue(options)- Create new GitHub issues with full configurationupdateIssue(issueNumber, options)- Update/close existing issues with flexible optionsType Definitions
CreateIssueOptions- Options for creating issues (title, body, labels, assignees, milestone)UpdateIssueOptions- Options for updating issues (all fields optional, supports state changes)IssueResult- Complete issue response type with GitHub API dataKey Features
mergePullRequestUsage Examples
Create Issue
Update/Close Issue
Workflow Integration
Documentation
New API Reference Pages
/docs/api-reference/create-issue.mdx- CompletecreateIssuedocumentation/docs/api-reference/update-issue.mdx- CompleteupdateIssuedocumentationUpdated Integration Guide
/docs/sdk/github-integration.mdx- Added comprehensive Issues section with:Navigation Updates
/docs/docs.jsonnavigation menuBreaking Changes
None - this is a purely additive feature that doesn't modify existing APIs.
Testing
Files Changed
packages/sdk/src/types.ts- Added issue-related type definitionspackages/sdk/src/core/vibekit.ts- ImplementedcreateIssueandupdateIssuemethodspackages/sdk/src/index.ts- Added exports for new typesdocs/api-reference/create-issue.mdx- New API documentationdocs/api-reference/update-issue.mdx- New API documentationdocs/sdk/github-integration.mdx- Updated integration guidedocs/docs.json- Added navigation entriesUse Cases Enabled