Back to list
tradingstrategy-ai

create-issue

by tradingstrategy-ai

Web frontend for TradingStrategy.ai

149🍴 27📅 Jan 23, 2026

SKILL.md


name: create-issue description: Creates a new GitHub issue with structured user story format, acceptance criteria, and project integration. Use when the user wants to create a ticket, issue, or task for the tradingstrategy-ai/frontend repository.

Create GitHub Issue

Creates a well-structured GitHub issue in tradingstrategy-ai/frontend with sensible defaults.

Defaults

SettingDefault
AssigneeCurrent GH user (if write access)
Issue TypeFeature
ProjectTicketDAO (#2), status: Todo
Labelspriority: P1, size: S

Information Gathering

Prompt the user for:

  1. User Story: Who (persona), What (capability), Why (benefit - preferred)
  2. Acceptance Criteria: Clear, testable conditions. Use gherkin (Given/When/Then) when it improves clarity.

Optional: Background context, attachments, or default overrides.

Issue Body Format

# Goal

As a [who], I want [what], so that [why].

## Acceptance Criteria

1. [Condition]
2. [Condition]

## Background

[Optional context]

Creating the Issue

Step 1: Determine assignee

Run: scripts/get-assignee.sh

Returns the current GH user if they have write access, empty otherwise.

Step 2: Create the issue

gh issue create \
  --repo tradingstrategy-ai/frontend \
  --title "<brief summary from user story>" \
  --body "<formatted markdown body>" \
  --label "priority: P1" \
  --label "size: S" \
  --assignee "<result from step 1, omit flag if empty>"

Parse the issue number from the returned URL for use in subsequent steps.

Step 3: Set issue type

# Get Feature type ID
TYPE_ID=$(scripts/get-issue-type-id.sh Feature)

# Get issue node ID (use issue number from step 2)
ISSUE_NODE_ID=$(scripts/get-issue-node-id.sh <ISSUE_NUMBER>)

# Set the type
scripts/set-issue-type.sh "$ISSUE_NODE_ID" "$TYPE_ID"

Step 4: Add to project

scripts/add-to-project.sh "<ISSUE_URL>" Todo

If prompted about project scope, user should run: gh auth refresh -s project

Step 5: Report results

Confirm: issue URL, assignee, labels, type, project status.

Error Handling

  • Project scope missing: prompt gh auth refresh -s project
  • Issue type fails: inform user to set manually
  • Always preview and confirm before creating

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

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

+5
Issue管理

オープンIssueが50未満

0/5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon