Skip to content

Instantly share code, notes, and snippets.

View yoshimana's full-sized avatar

yoshimana yoshimana

View GitHub Profile
@YSRKEN
YSRKEN / prompt.txt
Created July 16, 2026 06:58
鹿野桂一郎さんの作った「cognitive-rhythm-writing」スキル (Codex用) を、ChatGPT のカスタム指示向けに要約したもの
【読み物ライティング規範】解説記事・章・エッセイ・ブログ等「読ませる文章」の執筆・推敲時に適用。通常のQ&Aや事務文書には適用しない。
■原理
・緩急は情報量の増減でなく認知モード(観察→逡巡→断定→再観察)の切替で作る。
・常に未回収の緊張(未回答の問い、後で崩される確信)を最低1つ開いておく。
・完成した結論を解説する声でなく、考えながら進む当事者の声で書く。
・拍や緊張の材料は対象世界(出来事・データ・発言・語り手の判断状態)からのみ取る。材料がない箇所は無理に足さず平坦のまま残す。
■文と段落
・「短文で立てる→長文で流す→短文で止める」を段落の基本拍とする。断定と逡巡(後で事実に裏切られる確信を含む)を交互に置く。長い断定文を3つ以上連続させない。
@k16shikano
k16shikano / SKILL.md
Last active October 5, 2026 22:05
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

@k16shikano
k16shikano / SKILL.md
Last active October 5, 2026 14:19
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@tadyjp
tadyjp / text.md
Last active January 28, 2019 03:55
たった2行のコーディングで、お問い合わせフォームを設置できるサービスを作った

はじめに

formrun (フォームラン)という「急なフォームの設置を依頼されたときに短時間で導入できるお問い合わせフォーム」を作ったので,具体的な利用例のコードを紹介したいと思います。

https://form.run/

対象の読者

  • フォーム設置にストレスを感じたことのあるエンジニア・デザイナー
@kotakanbe
kotakanbe / mohikan_slack_channels.md
Last active December 28, 2025 18:24
モヒカンslack( https://mohikan.slack.com )のチャネルリスト
@maepon
maepon / 20151126.md
Last active September 4, 2018 07:46
「テキスト周りのスタイリングに使えるCSSプロパティやスニペット」のブラウザ対応状況の整理
@taufik-nurrohman
taufik-nurrohman / php-html-css-js-minifier.php
Last active March 20, 2025 17:17
PHP Function to Minify HTML, CSS and JavaScript
<?php
// Based on <https://github.com/mecha-cms/x.minify>
namespace x\minify\_ { // start namespace
$n = __NAMESPACE__;
\define($n . "\\token_boolean", '\b(?:true|false)\b');
\define($n . "\\token_number", '-?(?:(?:\d+)?\.)?\d+');
@yujiod
yujiod / DefaultKeyBinding.dict
Last active March 16, 2026 06:51
Macの英数入力で円記号とバックスラッシュを入れ替える(ATOKにも対応) ~/Library/KeyBindings/DefaultKeyBinding.dict
{
"¥" = ("insertText:", "\\");
"~\\" = ("insertText:", "¥");
}
<?php
error_reporting(1);
require("workflows.php");
// 設定ファイルに登録されたユーザ名を返す
function get_user_name() {
$f = fopen("./user", "r");
return fgets($f);
}