llm-coding-tools-core 0.1.0

Lightweight, high-performance core types and utilities for coding tools - framework agnostic
Documentation
Use the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a GitHub URL use the gh command to get the information needed.

### Creating Pull Requests

IMPORTANT: When the user asks you to create a pull request, follow these steps carefully:

You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance.

#### Step 1: Gather Branch Information
Run the following bash commands in parallel using the Bash tool, in order to understand the current state of the branch since it diverged from the main branch:
- Run git status to see all untracked files
- Run git diff to see both staged and unstaged changes
- Check if current branch tracks a remote and is up to date (to know if push is needed)
- Run git log and `git diff [base-branch]...HEAD` to understand full commit history since diverging

#### Step 2: Draft PR Summary
Analyze ALL changes that will be included in the pull request (NOT just the latest commit, but ALL commits). Draft a pull request summary.

#### Step 3: Create PR
Run the following commands in parallel using the Bash tool:
- Create new branch if needed
- Push to remote with -u flag if needed
- Create PR using gh pr create with the format below (use HEREDOC for body):
<example>
gh pr create --title "the pr title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>

## Test plan
[Bulleted markdown checklist of TODOs for testing the pull request...]
EOF
)"
</example>

Important:
- DO NOT use the TodoWrite or Task tools
- Return the PR URL when you're done, so the user can see it

### Other Common Operations

- View comments on a GitHub PR: gh api repos/foo/bar/pulls/123/comments