Skip to content

Instantly share code, notes, and snippets.

View matsubo's full-sized avatar

Yuki Matsukura matsubo

View GitHub Profile

AIコーディングエージェント 要件定義書 (v5.0)

1. プロジェクトの目的

GitHub Projectで管理されるバックログを、自律的に実装し、人間がレビュー・マージ可能な状態でPull Requestを自動作成するAIエージェントを開発する。開発サイクルを高速化し、開発者の負担を軽減することを目的とする。

2. メインワークフロー

エージェントは、以下の状態とトリガーに基づいて動作する。処理は常に**一度に1タスクずつ(直列で)**実行される。

@matsubo
matsubo / patch.diff
Created June 25, 2025 05:31
Installing pull request review feature by claude code.
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
new file mode 100644
index 0000000000..1bd47c441b
--- /dev/null
+++ b/.github/workflows/claude-code-review.yml
@@ -0,0 +1,76 @@
+name: Claude Code Review
+
+on:
+ pull_request:
.PHONY: setup up down restart logs shell fix-permissions clean status info help
# デフォルトターゲット
help:
@echo "WordPress開発環境 - 利用可能なコマンド:"
@echo ""
@echo "基本操作:"
@echo " make up - セットアップ + 起動"
@echo " make down - 停止"
@echo " make restart - 再起動"
@matsubo
matsubo / openapi.json
Created May 26, 2025 02:27
digital address API
{
"openapi": "3.0.3",
"info": {
"description": "郵便番号・デジタルアドレスAPIは、デジタルアドレスコアシステムへのアクセスを提供します。<br>\nトークン発行やデジタルアドレス、郵便番号、事業所個別郵便番号の検索などの機能を提供します。",
"title": "API Reference for 郵便番号・デジタルアドレス",
"version": "1.0.0.250319",
"x-title-en": "API Reference for ZIP Code and Digital Address",
"x-description-en": "The Digital Address API provides features such as token issuance, ZIP Code* search, company-specific ZIP Code search, and Digital Address lookup. <br>\n*ZIP Code refers to Postal Code<br>\n"
},
"servers": [
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 20 columns, instead of 11 in line 8.
# No. 氏名 年齢 性別 居住地 スタート スイムLAP スイムF バイクS バイク30 バイク68 バイクF ランS R折り返し R25 FINISH 総合記録 ステータス 備考
1 609 古谷 純平 33 男 東京都 7:00:00 7:17:06 7:35:11 7:37:27 8:18:03 9:11:40 10:30:48 10:33:34 11:35:46 12:19:59 13:03:57 6:03:57
2 1 寺澤 光介 31 男 東京都 7:00:00 7:17:57 7:37:28 7:39:22 8:23:08 9:20:54 10:49:48 10:51:59 11:55:35 12:39:44 13:23:14 6:23:14
3 4 大倉 拓也 31 男 大阪府 7:00:00 7:20:25 7:42:14 7:44:25 8:28:56 9:27:14 10:54:38 10:56:43 12:00:26 12:42:54 13:24:09 6:24:09
4 971 前田 能宜 26 男 愛知県 7:00:00 7:18:30 7:39:17 7:41:55 8:26:50 9:27:03 10:55:48 10:58:33 12:03:46 12:49:23 13:34:24 6:34:24
5 306 星 大樹 36 男 千葉県 7:00:00 7:20:49 7:43:39 7:46:38 8:31:00 9:29:20 10:55:47 10:58:01 12:04:06 12:50:50 13:37:20 6:37:20
6 429 菊池 朋明 36 男 東京都 7:00:00 7:20:22 7:42:15 7:45:38 8:29:58 9:29:41 10:55:21 10:58:08 12:08:39 12:56:10 13:42:29 6:42:29
7 5 土田 洋平 45 男 岐阜県 7:00:00 7:23:25 7:48:12 7:50:55 8:33:35 9:30:52 10:58:48 11:00:49 12:09:38 12:57:29 13:43:21 6:43:21
8 74 OH SANGWHAN 51 男 SOUTH KOREA 7:00:00 7:26:33 7:53:53 7:57:30 8:41
{
"店舗名": "zaim マート",
"キャッチフレーズ": "マイントが貯まる!",
"ポイント情報": "150ポイント貯まる",
"店舗": "銀座 店",
"支店情報": {
"支店名": "OOO 支店",
"電話番号": "01-1234-5678"
},
"購入日時": {
@matsubo
matsubo / index.html
Created December 24, 2024 10:10
Realtime translation using OpenAI realtime API via WebRTC
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/cerulean/bootstrap.min.css">
<title>Realtime Translation Test</title>
</head>
<body>
<div class="container mt-5">
"use client"
import { useState, useEffect } from "react"
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
import { Input } from "@/components/ui/input"
import { Button } from "@/components/ui/button"
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
import { ArrowUpDown } from "lucide-react"
// 選手データの型定義
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 41 columns, instead of 1 in line 3.
time,point,label,placeChange,place,pid,bib,bib_display,tag,name,timeOfDay,epochTime,milePace,milePaceAvg,mph,kmPace,kmPaceAvg,kmh,startTime,sex,profile_pic,profile_color,_ver,alias,pace,paceAvg,legTime,splitTime,netTime,waveTime,isFinish,course,country,country_iso,city,team,division,timestamp,i,u,leaderDiff
09:54:06.779,FINISH,Finish,0,1,R76ME5PW,686,686,GC09820,Lea Riccoboni,5:31:09 pm,1727019068.611,07:53,07:19,7.61,04:54,04:33,12.25,7:37:02 am,F,/user/UMBSF2JR/img?v=14,14,14,FINISH.ARCH,04:54 min/km,04:33 min/km,03:11:26.87,00:06:20.57,09:54:06.779,09:54:06.779,1,ironman,FRA,fr,Santiago de Chile,MULTISPORTCOACH,F30-34,1727026268.611,1727019070_000092,1727019070_000275,
09:56:32.185,FINISH,Finish,0,2,R52JTACF,252,252,CX82516,Joanna Soltysiak-Vrebac,5:21:33 pm,1727018492.82,07:09,07:20,8.41,04:27,04:33,13.53,7:25:01 am,F,,11,55,FINISH.ARCH,04:27 min/km,04:33 min/km,03:11:57.363,00:05:44.653,09:56:32.185,09:56:32.185,1,ironman,POL,pl,Kolo,,F35-39,1727025692.82,1727018494_000125,1727019070_000273,+02:25.41
09: