<< All versions
Skill v1.0.0
currentLLM-judged scan90/100avored/avored-rust-cms/download-issue
──Details
PublishedOctober 22, 2026 at 04:29 PM
Content Hashsha256:012a93dd3eda8865...
Git SHA71088fdc7215
──Files
Files (1 file, 3.2 KB)
SKILL.md3.2 KBactive
SKILL.md · 65 lines · 3.2 KB
version: "1.0.0" name: download-issue description: >- Downloads a GitHub issue by issue number or URL and generates a structured Markdown file in docs/{issuetype}/{short-issue-title}/ticket.md. Activate this skill whenever the user asks to download, fetch, import, or sync a GitHub issue or ticket into the repository docs.
Skill: Download GitHub Issue to Markdown
Description
Downloads a GitHub issue (using gh CLI or GitHub REST API) and creates a formatted Markdown file located at docs/{issuetype}/{short-issue-title}/ticket.md.
Triggers & Intent
Activate this skill when:
- The user asks to download, fetch, or import a GitHub issue (e.g.,
"download issue","download github issue","download issue #356","fetch ticket"). - The user wants an issue converted into documentation under
docs/{issuetype}/for planning, implementation, or record-keeping.
Instructions
Step 1: Prompt for Issue Number If Not Provided
- Check whether the user provided an issue number, hash reference (e.g.
#356), or full issue URL in their request. - If the issue number or URL is missing:
- Stop immediately and ask the user directly for the issue number or URL.
- Example prompt:
> "Which GitHub issue number or URL would you like to download?"
- Do not proceed to run scripts or guess an issue number until the user provides one.
Step 2: Extract Issue Identifier & Options
- Parse the issue reference provided by the user (e.g.,
356,#356, orhttps://github.com/owner/repo/issues/356). - Check if the user specified an explicit issue type override (e.g.,
features,bugs,improvements,epics,tech-debt,documentation). If unspecified, the script automatically categorizes the issue type using labels and title conventions. - Check if a specific repository was requested. If not provided, it defaults to the local git repository's origin (
avored/avored-rust-cms).
Step 3: Run the Downloader Script
Execute the bundled Node.js script:
bash
node .agents/skills/download-issue/scripts/download_issue.js <ISSUE_REF>
Supported Options:
--repo <owner/repo>: Specify a different GitHub repository.--type <type>: Override the issue type directory (e.g.,features,bugs,improvements,epics,tech-debt).--out-dir <dir>: Base documentation output folder (defaults todocs).
Examples:
bash
# Download issue #356 in current reponode .agents/skills/download-issue/scripts/download_issue.js 356# Download issue with explicit categorynode .agents/skills/download-issue/scripts/download_issue.js 356 --type features# Download from full URLnode .agents/skills/download-issue/scripts/download_issue.js https://github.com/avored/avored-rust-cms/issues/356
Step 4: Verify and Present Output
- Verify that the file was created in
docs/{issuetype}/{short-issue-title}/ticket.md. - Inspect the generated file using
view_fileto ensure markdown integrity and completeness. - Provide the user with a clickable markdown link to the generated document (e.g.,
[ticket.md](file:///Users/purveshp/rust/avored-rust-cms/docs/features/add-admin-profile-page-edit-profile-change-password/ticket.md)).