Skip to content

chore: optimize AGENTS.md and bump Go to 1.27 - #30

Merged
takecy merged 3 commits into
masterfrom
docs/optimize-agents-md
Oct 3, 2026
Merged

takecy merged 3 commits into
masterfrom
docs/optimize-agents-md

Conversation

@takecy

@takecy takecy commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Issue

  • なし(関連 issue なし)

Overview

プロジェクトメモリ(AGENTS.md)の最適化と、Go 1.27 への更新をまとめた PR です。

docs(agents): AGENTS.md の最適化(28行 → 17行)

  • リポジトリから導出できる情報を削除しました。対象は、ファイル別の構成説明、make コマンド一覧(Makefile と重複)、Use Go 1.26(go.mod と重複)、Go の標準慣習(gofmt、ファイル名は小文字)、汎用の go test コマンドです
  • DEBUG=* go run ./gih status を削除しました。DEBUG を読み取るコードは存在せず、指定しても何も起きないためです
  • 次のルールは残しています: テーブルドリブン禁止、is の使用、命名規則、PR 本文を日本語で書くこと、worktree での作業
  • 規則を1つ追加しました: リポジトリは並列に処理されるので、printer.Printer の公開メソッドはすべて p.mu を保持して書き込むこと
  • CLAUDE.md と .github/copilot-instructions.md は AGENTS.md への symlink のままなので、Claude Code / Codex / Copilot に同じ内容が反映されます
  • .gitignore に .claude/improve-memory-md/(最適化の作業で使うバックアップ先)を追加しました

chore(deps): Go 1.27 と依存の更新

  • go 1.26 → go 1.27
  • golang.org/x/sync v0.20.0 → v0.23.0、indirect の依存(go-colorable / go-isatty / x/sys)を更新
  • README の Go バッジを 1.27+ に更新

docs(readme): 出力例の刷新

  • README の実行例を、汎用的なリポジトリ名で全件成功する例に差し替えました

確認事項

  • ローカル(Go 1.27.1)で make build / make test / make lint(0 issues)が通ることを確認済みです
  • CI ワークフローの go-version は 1.26 のままです。GOTOOLCHAIN=auto によって 1.27 のツールチェーンが自動取得される想定ですが、CI の結果で確認します
  • README の Prerequisites にある「Go 1.26 or later」(280行目付近)は未更新です

🤖 Generated with Claude Code

https://claude.ai/code/session_01FXUFCzQvvR8h6rqDy3HenX

@takecy
takecy marked this pull request as ready for review October 3, 2026 02:53
Copilot AI balanced review requested due to automatic review settings October 3, 2026 02:53
@takecy
takecy merged commit 49f015a into master Oct 3, 2026
2 checks passed
@takecy
takecy deleted the docs/optimize-agents-md branch October 3, 2026 02:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The README development prerequisite still contradicts the new Go 1.27 requirement.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Updates project guidance, adopts Go 1.27 with refreshed dependencies, and modernizes README examples.

Changes:

  • Simplifies contributor guidance and adds printer concurrency requirements.
  • Updates Go and module versions.
  • Refreshes README output examples and ignores Claude backup files.
File Description
README.md Updates Go badge and CLI output example.
go.mod Targets Go 1.27 and updates dependencies.
go.sum Refreshes dependency checksums.
AGENTS.md Condenses repository guidance.
.gitignore Ignores memory-optimization backups.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod
module github.com/takecy/git-here

go 1.26
go 1.27
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.

2 participants