GitHub Built-in Workflows¶
The GitHub plugin ships reusable workflows for PR creation, issue creation, and PR comment response.
create-pr-ai¶
Creates a pull request after preparing branch state, pushing changes, and generating PR content with AI.
Source workflow: plugins/titan-plugin-github/titan_plugin_github/workflows/create-pr-ai.yaml
Default flow¶
- nested workflow
commit-ai git.pushgit.get_current_branchgit.show_branch_diff_summarybefore_pr_generationhookgithub.ai_suggest_pr_descriptionbefore_pushhookgithub.create_prafter_prhook
Hooks¶
before_pr_generation: inject project-specific context before AI generates PR contentbefore_push: run validations before PR creationafter_pr: notify or trigger post-creation automation
create-issue-ai¶
Prompts for issue context, generates issue title and body with AI, then creates the GitHub issue.
Source workflow: plugins/titan-plugin-github/titan_plugin_github/workflows/create-issue-ai.yaml
Default flow¶
github.prompt_for_issue_body_stepgithub.ai_suggest_issue_title_and_bodygithub.prompt_for_self_assigngithub.create_issue
respond-pr-comments¶
Helps a contributor review pending PR comments, switch to the PR branch, apply changes, reply, and request another review.
Source workflow: plugins/titan-plugin-github/titan_plugin_github/workflows/respond-pr-comments.yaml
Default flow¶
github.select_pr_for_reviewgithub.fetch_pending_commentsgithub.check_clean_stategithub.checkout_pr_branchgithub.review_commentsafter_reviewhookgithub.push_commitsgithub.send_comment_repliesgithub.request_reviewgithub.checkout_original_branch
Hooks¶
after_review: run lints, tests, or other checks before pushing replies