スキル一覧に戻る
sameera

nxs-gh-create-epic

by sameera

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

SKILL.md


GitHub Epic Issue Creator

Create a GitHub issue from an Epic document's content and link it back to the epic.

Prerequisites

  • GitHub CLI (gh) installed and authenticated
  • Running within a git repository connected to GitHub

Workflow

  1. Locate the Epic document from user reference, open file, or argument
  2. Run the script to create the issue and update frontmatter:
python ./scripts/nxs_gh_create_epic.py "<path-to-epic.md>"

Optional Flags

FlagDescription
--project "<name>"Specify the GitHub project to add the issue to (e.g., my-org/my-project). If omitted, auto-discovers from repository.
-y, --yesSkip confirmation if a link already exists
--no-projectSkip adding the issue to any project

Examples

# Basic usage (auto-discovers project from repo)
python ./scripts/nxs_gh_create_epic.py "<path-to-epic.md>"

# Specify target project explicitly
python ./scripts/nxs_gh_create_epic.py --project "acme-corp/backend-roadmap" "<path-to-epic.md>"

# Skip confirmation for existing links
python ./scripts/nxs_gh_create_epic.py -y "<path-to-epic.md>"

# Create issue without adding to any project
python ./scripts/nxs_gh_create_epic.py --no-project "<path-to-epic.md>"

Script Behavior

The script (./scripts/nxs_gh_create_epic.py):

  1. Parses YAML frontmatter for epic (title) and type (label, defaults to "epic")
  2. Creates temp file with markdown body (frontmatter stripped)
  3. Executes gh issue create --title "<epic>" --label "<type>" --body-file <temp>
  4. Extracts issue number from returned URL
  5. Adds the issue to the specified project (or auto-discovered project)
  6. Updates frontmatter with link: "#<issue-number>"
  7. Cleans up temp file

Expected Frontmatter

---
feature: "Feature Name"
epic: "Epic Title" # Required - becomes issue title
created: 2025-01-02
status: draft
type: enhancement # Optional - becomes GitHub label (default: "epic")
---

After execution, link: "#123" is added to frontmatter.

Error Handling

ErrorResolution
gh: command not foundInstall GitHub CLI: https://cli.github.com
gh: not logged inRun gh auth login
label does not existCreate label in GitHub or use existing label
not a git repositoryNavigate to project root
No 'epic' field foundAdd epic: "Title" to frontmatter
Project not foundVerify project name or use --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

レビュー

💬

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