github

Create issues, pull requests, and manage GitHub repositories. Use when asked to create GitHub issues, open PRs, list repositories, or star repos.

9 stars

Best use case

github is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create issues, pull requests, and manage GitHub repositories. Use when asked to create GitHub issues, open PRs, list repositories, or star repos.

Teams using github should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/github/SKILL.md --create-dirs "https://raw.githubusercontent.com/orthogonal-sh/skills/main/skills/github/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/github/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How github Compares

Feature / AgentgithubStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create issues, pull requests, and manage GitHub repositories. Use when asked to create GitHub issues, open PRs, list repositories, or star repos.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# GitHub

Create issues, pull requests, and manage repositories on GitHub. Connect your GitHub account to interact with repos, create issues, open PRs, and manage your GitHub workflow.

## Requirements

- Install the `orth` CLI
- Connect your GitHub account at https://orthogonal.com/dashboard/integrations
- OAuth connection must be active (HTTP 428 response means not connected)

## Actions

### Create Issue

Create a new issue in a GitHub repository.

```bash
orth run github /create-issue --body '{
  "owner": "username",
  "repo": "repository-name",
  "title": "Bug: Login form validation error",
  "body": "When submitting invalid email, no error message appears."
}'
```

**Parameters:**
- `owner` (required) - Repository owner username or organization
- `repo` (required) - Repository name
- `title` (required) - Issue title
- `body` - Issue description and details
- `labels` - Array of label names to apply
- `assignees` - Array of usernames to assign
- `milestone` - Milestone number to associate with

### List Repositories

Get a list of repositories for the authenticated user or organization.

```bash
orth run github /list-repos --body '{
  "type": "owner",
  "sort": "updated",
  "per_page": 20
}'
```

**Parameters:**
- `sort` - Sort repositories by (created, updated, pushed, full_name)
- `type` - Repository type (all, owner, public, private, member)
- `direction` - Sort direction (asc, desc)
- `per_page` - Number of repositories per page
- `page` - Page number for pagination
- `since` - Only repos updated after this date
- `before` - Only repos updated before this date
- `raw_response` - Return raw GitHub API response (true/false)

### Create Pull Request

Open a new pull request between branches.

```bash
orth run github /create-pr --body '{
  "owner": "username",
  "repo": "repository-name",
  "head": "feature-branch",
  "base": "main",
  "title": "Add new feature",
  "body": "This PR adds the requested feature with tests."
}'
```

**Parameters:**
- `owner` (required) - Repository owner username or organization
- `repo` (required) - Repository name
- `head` (required) - Branch containing changes (source branch)
- `base` (required) - Branch to merge into (target branch)
- `title` - Pull request title
- `body` - Pull request description
- `draft` - Create as draft PR (true/false)
- `issue` - Issue number to convert to PR
- `head_repo` - Repository containing head branch (for forks)
- `maintainer_can_modify` - Allow maintainers to edit (true/false)

### Star Repository

Star a GitHub repository to bookmark it.

```bash
orth run github /star-repo --body '{
  "owner": "octocat",
  "repo": "Hello-World"
}'
```

**Parameters:**
- `owner` (required) - Repository owner username or organization
- `repo` (required) - Repository name to star

## Usage Examples

**Create bug report:**
```bash
orth run github /create-issue -b '{"owner":"myorg","repo":"webapp","title":"Login button not working","body":"Steps to reproduce:\n1. Go to login page\n2. Click login button\n3. Nothing happens","labels":["bug","frontend"]}'
```

**Create feature request:**
```bash
orth run github /create-issue -b '{"owner":"team","repo":"api","title":"Add user authentication","body":"We need JWT-based authentication for the API","labels":["enhancement"],"assignees":["developer1"]}'
```

**List your repositories:**
```bash
orth run github /list-repos -b '{"type":"owner","sort":"updated","per_page":10}'
```

**Create pull request:**
```bash
orth run github /create-pr -b '{"owner":"myorg","repo":"project","head":"fix/login-bug","base":"main","title":"Fix login validation bug","body":"Resolves #123\n\nFixed validation logic for email input field."}'
```

**Create draft PR:**
```bash
orth run github /create-pr -b '{"owner":"team","repo":"app","head":"feature/new-ui","base":"develop","title":"New UI components","draft":true}'
```

**Star useful repository:**
```bash
orth run github /star-repo -b '{"owner":"microsoft","repo":"vscode"}'
```

## Error Handling

- **HTTP 428** - GitHub integration not connected. Visit https://orthogonal.com/dashboard/integrations to connect your account
- **400 Bad Request** - Invalid parameters or malformed request
- **401 Unauthorized** - Invalid or expired GitHub token
- **403 Forbidden** - Insufficient permissions for repository or action
- **404 Not Found** - Repository, branch, or resource does not exist
- **409 Conflict** - Pull request already exists for this branch combination
- **422 Unprocessable Entity** - Validation failed (invalid labels, assignees, etc.)
- **429 Rate Limited** - GitHub API rate limit exceeded

## Tips

- Repository names are case-sensitive
- Use organization name as owner for organization repos
- Labels must already exist in the repository or be valid GitHub default labels
- Assignees must have repository access to be assigned to issues
- Pull request head/base branches must exist in the repository
- Draft PRs can be marked ready for review later
- Star repositories to bookmark them for later reference
- Use descriptive titles and detailed bodies for better collaboration
- Check repository permissions before creating issues or PRs

Related Skills

yt-dlp-downloader

9
from orthogonal-sh/skills

Download videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Use when the user provides a video URL and wants to download it, extract audio (MP3), download subtitles, or select video quality. Triggers on phrases like "下载视频", "download video", "yt-dlp", "YouTube", "B站", "抖音", "提取音频", "extract audio".

slack

9
from orthogonal-sh/skills

Send messages and manage Slack channels. Use when asked to send Slack messages, post to channels, list channels, or fetch message history.

yc-batch-evaluator

9
from orthogonal-sh/skills

Evaluate YC batch companies for investment — scrapes the YC directory, researches each company and its founders (work history, LinkedIn, website), assesses founder-company fit, and exports to Google Sheets with priority rankings. Use when asked to evaluate YC companies, research a YC batch, screen startups, or do due diligence on YC companies.

website-screenshot

9
from orthogonal-sh/skills

Take screenshots of websites and web pages

weather

9
from orthogonal-sh/skills

Get current weather and forecasts using free APIs (no API key required). Use when asked about weather, temperature, forecasts, or climate conditions for any location.

weather-forecast

9
from orthogonal-sh/skills

Get weather forecasts - temperature, precipitation, wind, and conditions

vhs-terminal-recordings

9
from orthogonal-sh/skills

Create polished terminal GIF recordings using VHS (Video Hardware Software) by Charmbracelet. Use when asked to create terminal demos, CLI gifs, command-line recordings, or animated terminal screenshots for documentation, READMEs, or marketing.

verify-email

9
from orthogonal-sh/skills

Verify if an email address is valid and deliverable

valyu

9
from orthogonal-sh/skills

Web search, AI answers, content extraction, and async deep research

uptime-monitor

9
from orthogonal-sh/skills

Monitor website uptime - check availability, response times, and status

twitter-profile-lookup

9
from orthogonal-sh/skills

Look up Twitter/X profiles - get bio, followers, tweets, and engagement

tomba

9
from orthogonal-sh/skills

Email finder and verifier - find emails from domains, LinkedIn, or company search