Style Checkのロゴ

Style Check

コミュニティ
Mikefluff
style-check

Read-only pre-commit lint over writer/prose-edit/essay-write. Takes a staged diff (or a specified file / commit range) and flags neuro-slop, synthetic structures, voice drift in prose. Read-only — never edits. Use before `git commit`, as a post-commit check, or as a pre-commit hook.

概要

公開者Mikefluff
リポジトリskills
スキル名style-check
スター
26
フォーク
2
同梱ファイル
8
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    MikefluffがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルStyle CheckをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Mikefluff/skills/tree/main/skills/style-check
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/style-check .claude/skills/style-check
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでStyle Checkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にStyle Checkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Style Checkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Use cases:

  • before git commit — check staged changes for neuro-slop
  • post-commit — check the last commit
  • manual run on a file / line range
  • pre-commit hook (if the user wires it into .git/hooks/pre-commit)

The skill picks which rule layer to apply (writer / prose-edit / essay-write) based on file path. Default routing is illustrative; configure your own path patterns — see references/routing.md:

  • fiction project files (e.g. fiction/*.md, novels/**/*.tex) → fiction layer (prose-edit)
  • non-fiction project files (e.g. essays/*.md, longreads/*.md) → non-fiction layer (essay-write)
  • generic prose / notes → base writer
  • code files (.py, .js, .ts, …) → skipped silently

DEPENDENCY

This skill applies rules from:

  • writer/SKILL.md — baseline anti-neuro-slop (25 categories) + structural synthetic markers
  • prose-edit/SKILL.md — fiction layer
  • essay-write/SKILL.md — non-fiction layer

The skill DOES NOT write or edit. It reads files, runs rules, returns a structured report.

FILE-FORMAT AGNOSTIC

Accepts any text format: .md, .tex, .txt, .rst, plain text. Auto-skips binary files and known source-code extensions.

ROUTING

The skill picks a rule set by file path (fiction → writer+prose-edit, non-fiction → writer+essay-write, anything else → writer only; code is skipped). The default routing table is illustrative — adapt the patterns to your project's directory layout. Full routing table, edge cases, extension-skip list, and a "configuring your own routing" note — see references/routing.md.

MODES

staged (default) — check staged changes

bash
git diff --cached --name-only

For each staged file:

  1. If binary or a code extension — skip
  2. Pull added/changed lines: git diff --cached -U0 <file>
  3. Apply the matching rule set (per routing)
  4. Emit a report

last — check the last commit

bash
git diff HEAD~1 HEAD --name-only

Same pipeline, scoped to the last commit.

range <from>..<to> — check a commit range

bash
git diff <from>..<to> --name-only

file <path> — check the whole file

Not a diff; a full pass over the file. Useful for older files.

file <path> <line1>:<line2> — check a line range

Full pass on the indicated fragment.

detect — "was this written by AI?"

Not a lint pass but an audit with a verdict. Triggers: «проверь на ИИ», «палится ли текст», «это нейросеть писала?», "is this AI-written".

Run the linter, then score findings by family (лексика / структура / коммуникация), not by raw count — hits from a single family are the author's style, not a model. Any class A copy-paste artifact (turn0search3, oaicite, utm_source=chatgpt.com) settles it on its own without a cluster.

Returns a table of quotes with a verdict. Does not rewrite. Full scale, family taxonomy, output shape and the limits of what soft signals can prove — references/detect-mode.md.

OUTPUT FORMAT

Structured report grouped by file, then by violations (L CATEGORY «quote» → rule/advice), plus a === SUMMARY === block with counters by layer and severity breakdown. Full reference template — in references/output-format.md; a separate calibration sample — in examples/sample-report.md.

SEVERITY LEVELS

Three levels: BLOCKING (canon drift, uncited claim, fabricated source, broken markup), WARNING (neuro-slop ≥2 matches, staccato/inversion/double-neg, tautology/meta-ref/anglicism, academic pathos, viral format), INFO (single-match L1, metaphor overload, style drift). Full category-by-level breakdown — in references/severity.md.

EXIT CODE (if invoked as a pre-commit hook)

When wired as a git hook:

  • 0 — only INFO, commit allowed
  • 1 — WARNING present, ask the author (or show-and-continue, depending on configuration)
  • 2 — BLOCKING present, abort the commit

In a normal (non-hook) call, exit code is not used — just the report.

INTEGRATION

The skill does not install the hook itself. If the user asks — emit installation instructions for a .git/hooks/pre-commit wrapper. Ready-made bash snippet and installation steps — in references/pre-commit-hook.md.

WHAT NOT TO DO

  • Does not edit files. Reads and reports only. For editing — use writer/prose-edit/essay-write.
  • Does not spawn sub-agents. Lightweight read-only skill, everything goes through Read+Grep+Bash directly.
  • Does not fabricate sources to check fabrication. It only marks suspicious citations as UNVERIFIED_SOURCE — verification is the author's job.
  • Does not assert authorship from soft signals. In detect mode, flawless grammar, dryness and a wide vocabulary prove nothing. Report the markers with quotes; let the reader conclude. Missing a machine-written text is cheaper than accusing a living author.
  • Does not block commits automatically without exit code. When run as a normal skill — report only. Blocking happens only via an installed hook.
  • Does not touch code. .py, .js, .ts, .go and similar — silently skipped.

REFERENCES (load on demand)

FileWhen to load
references/detect-mode.mdThe user asks whether a text was written by AI — verdict scale, family taxonomy, class A artifacts, and where to stop.
references/routing.mdDeciding which rule set applies to a given path / extension; need edge cases or want to configure your own routing patterns.
references/severity.mdNeed to classify a violation as BLOCKING / WARNING / INFO or want the full category list.
references/output-format.mdProducing the final report — need the full template with the SUMMARY block.
references/pre-commit-hook.mdThe user asks to install style-check as a git pre-commit hook — need the bash snippet and steps.
references/validation-taxonomy.mdProducing structured JSON validation output for CI/CD or tooling — hookAnalysis, contentAnalysis, scoreReasons enum, metrics, formattingRecommended.
examples/sample-report.mdNeed tone/detail calibration — reference sample.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Style Check」では何ができますか?

Read-only pre-commit lint over writer/prose-edit/essay-write. Takes a staged diff (or a specified file / commit range) and flags neuro-slop, synthetic structures, voice drift in prose. Read-only — never edits. Use before `git commit`, as a post-commit check, or as a pre-commit hook.

TypingMindでStyle Checkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Style Checkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにStyle Checkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Mikefluff/skills/tree/main/skills/style-checkを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Style Checkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Style Checkは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStyle Checkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Style Check」は無料ですか?

はい。MikefluffがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇