Fetching GitHub issues
Use the repo-to-md CLI tool to fetch GitHub issues and formats them as
LLM-friendly markdown.
Primary usage
bash
repo-to-md issue ISSUE_NUMBER
For example, to get issue #42 from the current repository, run
bash
repo-to-md issue 42
Prerequisites
- •
ghCLI must be installed and authenticated - •
repo-to-mdmust be run from within a git repository with a configured remote
Alternative usage
- •
--repo <REPOSITORY>to specify the repository asowner/repo
Examples:
bash
# Fetch issue from a specific repository repo-to-md issue 123 --repo anthropics/claude-code
Output format
Generates markdown with issue metadata and description:
markdown
# Issue #42: Title Here - **State:** OPEN - **Author:** @username - **Created:** 2024-01-15T10:30:00Z - **Labels:** bug, enhancement ## Description Issue body content here...