Service / Game Name
GitHub integration
Website URL
Https://github.com
Description
Implement a native Git command layer inside Kai AI iPhone so users can perform common Git workflows directly through voice or text commands.
Supported use‑cases
- Clone a repo – “Clone the
awesome‑project repo from GitHub”: prompt for URL (or infer from repo name), clone into a temporary workspace, confirm success.
- Create a new repo – “Create a new repository called my‑notes on GitHub”: ask for host (GitHub, GitLab, Bitbucket), collect/store auth token securely, create repo via API, initialise with a README.
- Commit changes – “Commit all changes with message updated readme”: run
git add -A, git commit -m "updated readme" and report the commit hash.
- Push / Pull – “Push the current branch to origin”: execute
git push and show result, handle authentication errors.
- Branch & PR – “Create a new branch feature‑ui and open a PR”:
git checkout -b feature‑ui, push branch, call the GitHub API to open a PR, return the PR URL.
- Status / Log – “Show the git status” or “Show the last three commits”: return concise status or log snippet.
- Undo – “Undo the last commit”: run
git reset --soft HEAD~1 with confirmation.
Technical considerations
- Store personal access tokens (or OAuth credentials) securely in the iOS Keychain; never log or transmit them elsewhere.
- Provide each session with a sandboxed workspace inside the app’s container to avoid interfering with user files.
- Use iOS background tasks for long‑running operations (clone, large pushes/pulls) and surface progress to the user.
- Parse Git command output to deliver user‑friendly error messages and suggest remediation (e.g., re‑enter token on auth failure).
- Design the module as a plug‑in so future VCS integrations (Mercurial, self‑hosted GitLab, etc.) can be added later.
Acceptance criteria
- All commands work on a fresh iOS install without external dependencies.
- Errors (network, auth, merge conflicts, etc.) are caught and presented clearly.
- Credentials are stored only in the Keychain and used solely for the selected Git host.
- Feature is documented in the app’s help section with example commands and usage notes.
API / Data Source
No response
Policy
Service / Game Name
GitHub integration
Website URL
Https://github.com
Description
Implement a native Git command layer inside Kai AI iPhone so users can perform common Git workflows directly through voice or text commands.
Supported use‑cases
awesome‑projectrepo from GitHub”: prompt for URL (or infer from repo name), clone into a temporary workspace, confirm success.git add -A,git commit -m "updated readme"and report the commit hash.git pushand show result, handle authentication errors.git checkout -b feature‑ui, push branch, call the GitHub API to open a PR, return the PR URL.git reset --soft HEAD~1with confirmation.Technical considerations
Acceptance criteria
API / Data Source
No response
Policy