Skip to content
Agentmart
Submit a tool

github-issues-draft

Use when asked to create or draft GitHub issues.

Skill by szokeasaurusrex

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/szokeasaurusrex-github-issues-draft

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when asked to create or draft GitHub issues. Do not use when asked only to "plan" issues.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github-issues-draft

What's inside

Skill name
github-issues-draft
Description
Use when asked to create or draft GitHub issues. Do not use when asked only to "plan" issues.
License
MIT
Instructions
70 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • issues.example.toml · examples/
  • publish_issues.py · scripts/

SKILL.md (first lines)

# GitHub issues draft

Use this skill when the user wants issue drafts prepared for review before publishing.

## Workflow

1. Gather issue intent and target repository context from the user.
2. Generate the timestamp with `date -u +"%Y-%m-%dT%H-%M-%SZ"` and write draft TOML to `docs/issues/<timestamp>.toml` using `[[issues]]` entries.
3. Maintain `docs/issues/.gitignore`:
   - if `docs/issues` is newly created in this task: create `docs/issues/.gitignore` containing `*`
   - else if `docs/issues/.gitignore` is missing: create it and add an entry to ignore the generated draft filename
   - else update it so the generated draft filename is ignored
4. Validate draft TOML before finishing (path resolved relative to this `SKILL.md`):
   - `python3 scripts/publish_issues.py --validate <draft-path>`
5. Return the draft path, a compact summary for user review, and a copy-pasteable publish command that uses the absolute script path (for example: `python3 /absolute/path/to/skills/github-issues-draft/scripts/publish_issues.py <draft-path>`).

## Writing guidance

- `title` is required and should be concise.
- `body` is Markdown, should be concise while still including enough detail to act on, and should be written as a TOML multiline string (`"""..."""`).
- Prefer one paragraph, at most two in most cases.
- When relevant, include Markdown links to supporting resources/docs and source code; for source code links, use permalinks.
- For longer issues, separate concepts with `###` headings.
- Prefer paragraph form; use lists only when they improve clarity.

## TOML schema

Top-level keys:
- `[defaults]` (optional; use only when creating multiple issues)
- `[[issues]]` (required, non-empty)

`[defaults]` allowed keys:
- `repo` (string)
- `assignees` (array of strings)
- `labels` (array of strings)
- `milestone` (string)
- `project` (string or array of strings)
- `template` (string)

`[[issues]]` allowed keys:
- all default keys above, plus
- `title` (required, non-empty string)
- `body` (string)
- `body_file` (string)

Rules:
- Unknown keys are rejected.
- `body` and `body_file` are mutually exclusive after defaults+issue merge.
- Issue values override defaults.
- Use `[defaults]` only when drafting multiple issues; when used, prefer it for shared/common fields.
- For publish/apply mode, each merged issue must resolve `repo`.

## Host script

Script path (relative to this `SKILL.md`):
- `scripts/publish_issues.py`

Modes:
- Validate only: `python3 scripts/publish_issues.py --validate <file>` (alias: `--dry-run`)
- Publish: `python3 scripts/publish_issues.py <file>`

Publish behavior:
- one confirmation per invocation (shows issue count + titles)
- create in exact TOML order
- continue after failures
- per-success output: created issue URL only
- on failure: print clear failure block with command context and captured `gh` output
- final summary: `created X, failed Y`

From szokeasaurusrex/pi-agent, MIT.

More from szokeasaurusrex/pi-agent

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Feb 27, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from szokeasaurusrex

Cite this page

github-issues-draft skill. Agent Mart. https://agentmart.dev/skills/szokeasaurusrex-github-issues-draft (last updated 2026-10-24)