Skip to content

Instantly share code, notes, and snippets.

View yokawasa's full-sized avatar

Yoichi Kawasaki yokawasa

View GitHub Profile
@yokawasa
yokawasa / dom-to-pptx.md
Last active October 18, 2026 22:51
How to use dom-to-pptx
@yokawasa
yokawasa / skip-ssh-pass-using-mac-keychain.md
Created October 16, 2026 08:49
SSH秘密鍵のパスフレーズをMacキーチェーンに保存する方法

SSH秘密鍵のパスフレーズをMacキーチェーンに保存

macOSなら、SSH秘密鍵のパスフレーズをMacのキーチェーン(Keychain)に保存することで、GitHubにアクセスするたびに入力する手間をなくせます。

一度設定すれば、git pull、git push、git clone などで毎回パスフレーズを入力する必要がなくなります。

1. SSHの設定ファイルを編集する

まず、以下を実行します。

@yokawasa
yokawasa / co-authored-by.md
Last active May 12, 2026 02:28
AI Attribution as Contributors - Co-authored-by

AI Attribution as Contributors using Co-authored-by

Claude

Co-authored-by: Claude <noreply@anthropic.com>

Codex

@yokawasa
yokawasa / co-authored-with-claude-code.md
Last active April 4, 2026 05:31
Co-authored with Claude Code の設定方法

Gitのコミットメッセージに Co-authored-by トレーラーを追加するだけ。

Co-authored-by: Claude <noreply@anthropic.com>

1. コミット時に手動で追加

git commit -m "feat: add feature
@yokawasa
yokawasa / agentmode-prompt.md
Last active January 20, 2026 04:15
Postman Agent Mode Prompt - Launchpad EP8 20260120

Postman Agent Mode Prompt

Postman Launchpad EP8のAgent Mode デモで利用する予定のプロンプト集

Create API Spec

プロダクト要件書 (PRD)からAPI仕様を作成する

このPRDファイルを元にAPI仕様ファイルをSpec Hubに作成してください 
@yokawasa
yokawasa / incident-management-api-openapi.yaml
Last active December 20, 2025 18:40
JIRA integration using Atlassian MCP Server
openapi: 3.0.0
info:
title: Incident Management API
version: 1.0.0
description: |
API for managing organizational incidents including failures, critical events, and security events.
## Rate Limiting
- 200 requests per minute per client
- Rate limit headers included in responses
@yokawasa
yokawasa / book-api-client-generation.md
Last active December 4, 2025 09:15
Book API client code generation using Postman MCP (Code)

Book API client code generation using Postman MCP (Code)

1. Configure MCP Server in your IDE

VS Code (.vscode/mcp.json)

{
  "servers": {
 "postman-mcp-server-code": {
@yokawasa
yokawasa / setup-iam-role-bedrock-agentcore-runtime.sh
Last active September 7, 2025 06:37
IAM role for Bedrock Agent Runtime
# This is fully refered by https://qiita.com/inoue_d/items/e38940fff7a31b8fc7c7
# リージョンは us-east-1 を指定する。As of 2025-09-07 US East (N. Virginia), US West (Oregon), Europe (Frankfurt), Asia Pacific (Sydney) are avaiable
set -e -x
export AWS_REGION=us-east-1
# アカウントIDの取得
export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
# 信頼関係
@yokawasa
yokawasa / ai-agent-architecture.md
Last active September 6, 2025 00:49
AI Agent System Architecture Overview

アーキテクチャ概要

graph TD
  subgraph クライアント
    APP[PC/Mobileアプリ]
  end
  APP --> GW[APIゲートウェイ]
  GW --> ORCH[Agent Orchestrator]
 ORCH --&gt; POL[ポリシー/ガードレール]