本文へ移動
cccskills
無料GitHub で公開

gh-issue

Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdepスター 19(GitHub 19 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

GitHub Issue Workflow

Fetch a GitHub issue, create a branch, implement following TDD, and open a PR.

Arguments

  • $ARGUMENTS - Issue number (e.g., 42 or #42)

Instructions

Phase 1: Setup

  1. Parse the issue number from $ARGUMENTS (strip # if present).

  2. Fetch issue details:

    gh issue view <number> --json title,body,labels,assignees,milestone,state
    
  3. Assign yourself if unassigned:

    gh issue edit <number> --add-assignee @me
    
  4. Create a branch from main:

    Determine prefix from labels:

    • bug → fix/
    • enhancement → feat/
    • documentation → docs/
    • Default → feat/

    Branch name: <prefix><issue-number>-<slug> (slug: lowercase title, spaces → -, max 50 chars).

    git checkout main && git pull
    git checkout -b <branch-name>
    

Phase 2: Plan

  1. Analyze the issue: requirements, labels, referenced issues, affected areas (which bashdep:: function or doc).

  2. Explore the codebase for context:

    • Find the relevant section in bashdep (single file)
    • Find the closest related tests in tests/unit/bashdep_test.sh
    • Read the corresponding entry in docs/api.md or docs/behavior.md
  3. Create implementation plan:

    • Acceptance Criteria
    • Test Strategy (which tests to write first - pure-logic vs filesystem vs snapshot)
    • Files to Change (bashdep, tests/unit/bashdep_test.sh, docs/*.md, CHANGELOG.md)
    • Implementation Order (smallest first step)
  4. Use EnterPlanMode if implementation is non-trivial.

Phase 3: Implement

  1. Follow strict TDD workflow (see .claude/rules/tdd-workflow.md):

    For each test:

    • RED - Write failing test, verify it fails for the RIGHT reason
    • GREEN - Minimal code in bashdep to pass
    • REFACTOR - Improve while keeping tests green
  2. Run the suite frequently:

    make test
    
  3. Quality checks after each refactor:

    make sa && make lint
    
  4. Mode coverage - if the change is mutating, add tests for BASHDEP_DRY_RUN, BASHDEP_SILENT, BASHDEP_VERBOSE, BASHDEP_FORCE as relevant.

Phase 4: Ship

  1. Final verification:

    make pre_commit/run
    
  2. Commit using the /commit skill, with a body referencing the issue (e.g., Closes #<issue-number>).

  3. Create PR using the /pr skill:

    /pr #<issue-number>
    

Output Format

After fetching, present:

## Issue #<number>: <title>

**Labels:** <labels>
**State:** <state>
**Branch:** <branch-name>

### Description
<body content>

### Next Steps
1. Explore `bashdep` for the relevant function
2. Create implementation plan
3. Begin TDD cycle

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Add a new bashdep:: lifecycle command with TDD

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

commit

無料

Stage and commit changes using conventional commits format

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

fix-test

無料

Debug and fix failing bashdep tests systematically

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

pr

無料

Push branch and create a GitHub PR following the bashdep PR template

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

Run a comprehensive pre-release validation checklist for bashdep

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

Chemaclass のスキルをすべて見る

このスキルの問題を報告する