japanese-writing-drafter
Skill3.1k starsChanged 4 months agoMITView on GitHub
Detect when the operator corrects the agent's Japanese phrasing mid-conversation (rewrites a sentence, calls out a style problem, says 'this wording is bad, say it like X instead') and draft a pending writing-rule proposal into ~/.claude/writing-lint/proposals.jsonl for later human review. This skill is the ONLY writer of proposals.jsonl — it never edits rules.jsonl and never sets status to anything but pending. Promotion to rules.jsonl only happens via the human-run scripts/writing-rule-approve.sh. Use when user mentions writing-rule proposal, 表現を直して, 文体を直して, その言い方はNG, writing lint 提案, 指摘をルール化して. Do NOT load for: approving or rejecting proposals (use scripts/writing-rule-approve.sh), listing pending proposals (use scripts/writing-rule-list.sh), or scanning text against the existing dictionary (the writinglint engine / PostToolUse hook does that).
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about Chachamaru127/claude-code-harness
- @yug1224.com“Claude Codeの自動開発プロセスに計画・実行・レビューの厳格なサイクルを追加するツールらしい AIによる開発をより計画的で手戻りの少ないものにしたい場合に試したい yug1224 starred …”Bluesky · May 29, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.chachamaru127.claude-code-harness: v5.15.0 → refs/tags/v5.15.0”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Sep 26, 2026
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub and Bluesky (13 times).
On GitHub · 12
- Oct 4, 2026claude-code-plugins.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.chachamaru127.claude-code-harness: v5.15.0 → refs/tags/v5.15.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Aug 3, 2026Add resource: Claude Code Harness — hesreallyhim/awesome-claude-code0 reactions
7 more on GitHub
- Aug 3, 2026[Resource]: Claude Code Harness — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Jun 18, 2026docs: integrate claude-code-harness for disciplined delivery loop — strikersam/autonomous-ai-agency0 reactions · 1 comment
- Jun 18, 2026quick-note:https://github.com/Chachamaru127/claude-code-harness — strikersam/autonomous-ai-agency0 reactions · 9 comments
- Apr 27, 2026[BUG] Permission bubble: cannot select options or reach submit when MCP elicitation has multiple selection groups — rullerzhou-afk/clawd-on-desk0 reactions · 2 comments
- Apr 2, 2026feat: 5観点コードレビューとレビュールール配布を既存コマンドに統合 — keito4/config0 reactions · 5 comments
- Jan 10, 2026New plugins: 56 skills from skills (low risk) — aiskillstore/marketplace0 reactions
- Dec 17, 2025feat: add claude-code-harness plugin — anthropics/claude-plugins-official0 reactions · 1 comment
On Bluesky · 1
- May 29, 2026Claude Codeの自動開発プロセスに計画・実行・レビューの厳格なサイクルを追加するツールらしい AIによる開発をより計画的で手戻りの少ないものにしたい場合に試したい yug1224 starred Chachamaru127/claude-code-harness… — @yug1224.com1 likes and repost
In this repository28 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- .grok/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/skill-subagent-usage.mdcCursor rule
- agent-browserSkill
- breezingSkill
- cc-update-reviewSkill
- ciSkill
- cursor-askSkill
- cursor-doSkill
- cursor-reviewSkill
- cursor-setupSkill
- failure-codifierSkill
- harness-acceptSkill
- harness-loopSkill
- harness-plan-briefSkill
- harness-planSkill
- harness-progressSkill
- harness-releaseSkill
- harness-reviewSkill
- harness-setupSkill
- harness-syncSkill
- harness-workSkill
- maintenanceSkill
- memorySkill
- session-sendSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
pattern を作る: before の該当フラグメントを Go 正規表現 (RE2) として書く。特殊文字はエスケープする。ヒット範囲を広げすぎない(writing-rule.v1 の pattern は文全体ではなく該当箇所のみでよい)。
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
japanese-writing-drafter
会話内で operator が agent の日本語表現を直したときだけ、その指摘を pending の writing-rule 提案として ~/.claude/writing-lint/proposals.jsonl に追記する。提案の追記のみを行い、承認・却下・rules.jsonl への昇格は一切行わない。
核心契約
- 書き込みはこの skill 経由のみ:
proposals.jsonlに status: pending の行を追記できるのはこの skill だけ。他のどのスクリプト・hook もこのファイルに書き込まない。 - 自動昇格経路は存在しない:
rules.jsonlを更新できるのは人間が手で実行するscripts/writing-rule-approve.sh --id <id>だけ。この skill からも、他のどの hook からもwriting-rule-approve.shを自動起動しない。 - 1 回の検知につき 1 提案。status は常に
"pending"で書く。
トリガー条件
会話の中で、次のいずれかが起きたときだけ発動する(雑談・通常の作業指示では発動しない)。
- operator が直前の agent 発言・生成物の日本語表現をそのまま書き直した
- operator が「その言い方はNG」「〜じゃなくて…と書いて」のように文体・言い回しを名指しで指摘した
- operator が明示的に「これルール化して」「writing-lint に登録して」と言った
手順
- before / after を確定する: 直された元の表現 (before) と、operator が示した / 暗に求めた書き直し後の表現 (after) を会話から抽出する。before が具体的な語句・言い回しに絞れないほど曖昧なら、提案せずに終える(無理に一般化しない)。
- pattern を作る: before の該当フラグメントを Go 正規表現 (RE2) として書く。特殊文字はエスケープする。ヒット範囲を広げすぎない(
writing-rule.v1のpatternは文全体ではなく該当箇所のみでよい)。 - good を作る: after をそのまま、または要点を保った短い言い換えとして書く。
- scenes を決める: 会話の文脈から分かるときだけ
["external"]/["chat"]/["docs"]等を付ける。不明なら省略する(省略は「全シーン適用」の意味になる。無理に推測しない)。 - id を作る: 内容が分かる kebab-case スラッグに 8 桁の一意サフィックスを付ける(例:
no-meta-narration-a1b2c3d4)。 - 追記する: 以下のコマンドで
templates/schemas/writing-rule-proposal.v1.jsonに対する手書きバリデーション(必須キー +additionalProperties: false)を通してから 1 行追記する。CLAUDE_WRITING_LINT_PROPOSALSが設定されていればそのパスを、無ければ~/.claude/writing-lint/proposals.jsonlを使う。
python3 - <<'PY'
import json, os, sys, uuid
from datetime import datetime, timezone
repo_root = "REPO_ROOT" # 呼び出し時に実際のリポジトリルートへ置き換える
schema_path = os.path.join(repo_root, "templates/schemas/writing-rule-proposal.v1.json")
proposals_path = os.environ.get("CLAUDE_WRITING_LINT_PROPOSALS") or os.path.join(
os.path.expanduser("~"), ".claude/writing-lint/proposals.jsonl"
)
with open(schema_path, encoding="utf-8") as f:
schema = json.load(f)
record = {
"id": "SLUG-" + uuid.uuid4().hex[:8],
"pattern": "PATTERN_HERE",
"good": "GOOD_HERE",
"status": "pending",
"evidence": "EVIDENCE_HERE",
"created_at": datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
}
# scenes / severity は分かるときだけ足す:
# record["scenes"] = ["external"]
# record["severity"] = "warning"
def validate(data, sch):
required = set(sch.get("required", []))
props = sch.get("properties", {})
if sch.get("additionalProperties") is False:
extra = set(data.keys()) - set(props.keys())
if extra:
raise ValueError(f"additional properties not allowed: {sorted(extra)}")
for key in required:
if key not in data:
raise ValueError(f"missing required property: {key}")
validate(record, schema)
os.makedirs(os.path.dirname(proposals_path) or ".", exist_ok=True)
with open(proposals_path, "a", encoding="utf-8") as f:
f.write(json.dumps(record, ensure_ascii=False) + "\n")
print(f"drafted pending proposal: {record['id']}")
PY- operator に伝える: 追記した
idと、確認・承認コマンド (scripts/writing-rule-list.sh/scripts/writing-rule-approve.sh --id <id>) を短く伝える。承認するかどうかは operator の判断であり、この skill は待たない。
関連
- 承認 / 却下:
scripts/writing-rule-approve.sh --id <id>(--rejectで却下) - pending 一覧:
scripts/writing-rule-list.sh - スキーマ:
templates/schemas/writing-rule-proposal.v1.json(提案) /templates/schemas/writing-rule.v1.json(承認後のルール) - スキャンエンジン:
go/internal/writinglint/(Phase 135.1)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

