スキル一覧に戻る
neilpeterson

pull-request

by neilpeterson

A terminal-based game that simulates Azure security scenarios for training security professionals. Features narrative-driven missions with a hybrid interface (CLI commands + TUI status panels) and a scoring/achievement system.

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

SKILL.md


name: pull-request description: Steps to complete prior to creating a pull request.

Pre-PR Workflow

Step 1: Run Project Scrub

Before creating any pull request, run the /scrub command to:

  • Remove unnecessary code
  • Update documentation
  • Clean up dependencies
  • Ensure all tests pass
/scrub

Wait for scrub to complete before proceeding.

Step 2: Create Pull Request

After scrub completes successfully:

  1. Stage and commit any scrub changes
  2. Push branch to remote
  3. Create PR using gh pr create

Step 3: Monitor CI Status

After PR is created, monitor the CI checks:

# Watch PR checks status
gh pr checks <PR_NUMBER> --watch

Or poll periodically:

# Get current check status
gh pr checks <PR_NUMBER>

Step 4: Handle Results

If all checks pass:

  • Prompt user: "All CI checks passed. Would you like to merge the PR?"
  • If yes, merge using: gh pr merge <PR_NUMBER> --squash --delete-branch

If any checks fail:

  1. Get the failed check details:

    gh pr checks <PR_NUMBER>
    
  2. View the workflow run logs:

    gh run view <RUN_ID> --log-failed
    
  3. Automatically fix the identified issues:

    • For lint errors: Fix the code issues reported
    • For test failures: Fix the failing tests or underlying code
    • For build errors: Resolve compilation issues
  4. Commit fixes and push:

    git add -A
    git commit -m "Fix CI failures"
    git push
    
  5. Return to Step 3 to monitor the new CI run

Commands Reference

CommandPurpose
gh pr createCreate pull request
gh pr checks <PR>View CI check status
gh pr checks <PR> --watchWatch checks until complete
gh run view <ID> --log-failedView failed workflow logs
gh pr merge <PR> --squashSquash merge the PR
gh pr merge <PR> --delete-branchDelete branch after merge

Example Flow

User: /pull-request

1. Run /scrub
2. Commit scrub changes if any
3. gh pr create --title "..." --body "..."
4. gh pr checks 123 --watch
5. [If pass] "All checks passed. Merge PR?" → gh pr merge 123 --squash --delete-branch
   [If fail] Fix issues → git commit → git push → repeat step 4

スコア

総合スコア

60/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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