スキル一覧に戻る
sameera

nxs-gh-create-task

by sameera

2🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


NXS GitHub Create Task

Create GitHub issues from TASK-???.md files in a target folder.

Usage

python ./scripts/create_gh_issues.py <target_folder> [--dry-run] [--no-project]

Arguments:

  • target_folder - Directory containing TASK-???.md files
  • --dry-run - Preview what would be created without making API calls
  • --no-project - Skip adding issues to any project

Task File Format

Each TASK-???.md file should have YAML frontmatter:

---
title: Implement user authentication
labels: [enhancement, backend]
parent: #42
project: "acme-corp/backend-roadmap"
---

## Description

Task body content goes here. This becomes the issue body.

Frontmatter fields:

FieldRequiredDescription
titleYesIssue title
labelsNoArray of GitHub labels: [label1, label2, ...]
parentNoParent issue reference (#42 or full URL)
projectNoGitHub project to add the issue to. Supports: owner/number (e.g., my-org/1), number (uses current repo's owner), or project title. If omitted, auto-discovers from repository.

Workflow

  1. Script finds all TASK-???.md files matching the pattern
  2. For each file:
    • Parses YAML frontmatter to extract title, labels, parent, project
    • Creates temp file with body content (frontmatter stripped)
    • Runs gh issue create --title <title> --label <label1> --label <label2> ... --body-file <temp>
    • Adds issue to the specified project (or auto-discovered project from repo)
    • If parent specified, creates sub-issue relationship via gh api
    • Deletes temp file

Project Resolution

The script determines which project to use in this order:

  1. Frontmatter project attribute - If specified in the task file, use this project
  2. Repository project - If no project attribute, auto-discover from the repository's linked projects
  3. No project - If neither is found (or --no-project flag is set), skip project assignment

Prerequisites

  • gh CLI installed and authenticated
  • For project integration: gh auth login --scopes 'project'
  • Repository context (run from within a git repo or use gh repo set-default)

Examples

# Preview what will be created
python ./scripts/create_gh_issues.py ./tasks --dry-run

# Create the issues (uses project from frontmatter or auto-discovers)
python ./scripts/create_gh_issues.py ./tasks

# Create issues without adding to any project
python ./scripts/create_gh_issues.py ./tasks --no-project

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です