---
title: "sui Blog"
description: "日々の開発で得た知見や、実験的な実装、日常を記録するブログです。"
canonical: "https://suntory-n-water.com/"
last-updated: "2026-10-03"
---

# sui Blog

> 日々の開発で得た知見や、実験的な実装、日常を記録するブログです。

## 使い方

- 各ページは、同じ URL に `Accept: text/markdown` を付けて要求すると Markdown で取得できます（対象: ホーム https://suntory-n-water.com/ 、記事一覧 https://suntory-n-water.com/posts 、各記事 https://suntory-n-water.com/posts/{slug} ）
- 記事の Markdown 版は、記事の URL の末尾に `.md` を付けた https://suntory-n-water.com/posts/{slug}.md でも取得できます
- 全記事の一覧は https://suntory-n-water.com/llms.txt と https://suntory-n-water.com/sitemap.xml 、新着は https://suntory-n-water.com/rss.xml にあります
- このサイトは記事を公開するブログです。API、認証、MCP サーバーなどエージェントが操作する機能は提供していません

## 最近の記事

- 2026-10-03 [辞書にない AI 特有の癖を Cloudflare の Clef で検知できるか検証する](https://suntory-n-water.com/posts/clef-detect-unlisted-writing-habits.md): textlint の辞書は、登録した語しか検出できません。Cloudflare の判断モデル Clef に癖の種類を質問として渡し、辞書にない AI 特有の癖をどの割合で検知できるかを、このブログの添削前後の文で検証しました。結果をもとに、Claude Code の hook に Clef を組み込むかを判断します。
- 2026-09-28 [Plan Mode でしていた実装前の確認を、指示のテンプレートとテストに移した](https://suntory-n-water.com/posts/claude-code-without-plan-mode.md): Claude Code の Plan Mode の廃止案が出ましたが、私は 2026 年 9 月に Plan Mode を 1 回も使っていません。実装前の確認は、5 項目の指示のテンプレート、AI 自身のレビュー、スキルとテストで行っています。今の手順と、Plan Mode に残してほしい役割を紹介します。
- 2026-09-23 [ブログを Astro の SSG から EmDash へ移行しました](https://suntory-n-water.com/posts/blog-migrate-astro-emdash.md): Astro の静的サイト生成で運用していたこのブログを、Cloudflare 上で動く CMS の EmDash へ移行しました。移行した理由と、移行後に行ったキャッシュや読み込み量の調整を簡単にまとめています。
- 2026-09-23 [Python Workers で FastAPI を動かし、pywrangler でデプロイまで確かめる](https://suntory-n-water.com/posts/python-workers-fastapi-pywrangler.md): Cloudflare Workers の Python 対応が 2026 年 9 月に正式版になりました。pywrangler でひな形を作り、FastAPI アプリをローカルで起動してから Cloudflare へデプロイするまでの手順を実際に動かして確かめ、同梱されるパッケージの版と Python のバージョンの決まり方をまとめます。
- 2026-09-21 [EmDash の CLI と MCP の両方で記事を書かせてみる](https://suntory-n-water.com/posts/tried-emdash-cli-and-mcp.md): EmDash には CLI と MCP サーバーの両方が最初から入っています。blog-cloudflare テンプレートで作ったサイトを Cloudflare Workers と D1 と R2 で動かし、同じ「記事を作って」という指示を CLI と MCP に渡して、公開状態の違い、認証で必要になるもの、不正な入力がどこでエラーになるかの違いを確かめました。
- 2026-09-21 [GAS のロックは行単位ではない](https://suntory-n-water.com/posts/gas-lockservice-exclusive-control.md): GAS の排他制御を確かめたくて、書籍の貸出を記録するウェブアプリを Google Apps Script とスプレッドシートで作りました。LockService でロックを取得していても、その外で読んだ値を判定に使うと更新が 2 回実行されます。同じ本の貸出を 2 回実行させて確かめた結果と、判定に使う値を読む位置の決め方を書きます。

## 主なページ

- [記事一覧](https://suntory-n-water.com/posts.md): すべての記事の題名、公開日、概要
- [llms.txt](https://suntory-n-water.com/llms.txt): サイトの案内と全記事の一覧
- [RSS](https://suntory-n-water.com/rss.xml): 新着記事のフィード
- [サイトマップ](https://suntory-n-water.com/sitemap.xml)
