Skip to content

Add rule to fetch all comments when reading GitHub issues#103

Merged
ikuwow merged 2 commits intomainfrom
add-issue-comment-fetch-rule
Mar 18, 2026
Merged

Add rule to fetch all comments when reading GitHub issues#103
ikuwow merged 2 commits intomainfrom
add-issue-comment-fetch-rule

Conversation

@ikuwow
Copy link
Owner

@ikuwow ikuwow commented Mar 18, 2026

Purpose

Add a rule to AIRULES.md item 20 requiring AI to fetch all comments when reading a GitHub issue.

Motivation

In a past session, the AI read only the issue body and missed existing investigation results left in comments. This caused unnecessary duplicate work until the user manually pointed out the oversight.

Change

Extended item 20 with: "Also fetch all comments (gh issue view <number> --comments or gh api repos/{owner}/{repo}/issues/{n}/comments)"

Scope

Single-line change to AIRULES.md. No other files affected.

Verification

  • pre-commit run --all-files passed

Closes #102

ikuwow and others added 2 commits March 18, 2026 22:50
Closes #102

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@ikuwow ikuwow marked this pull request as ready for review March 18, 2026 13:55
@ikuwow ikuwow merged commit 031091c into main Mar 18, 2026
4 checks passed
@ikuwow ikuwow deleted the add-issue-comment-fetch-rule branch March 18, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIRULES.md: GitHub issueのコメント全件取得ルールを追加

1 participant