Salsiのロゴ

Salsi

コミュニティ
pooooooriya
salsi

Write Persian with Persian words. Use when writing, editing, translating or reviewing Persian (Farsi) prose — articles, documentation, posts, essays, UI copy — to replace loanwords with Persian equivalents while leaving technical terminology, proper nouns and code untouched. Also use when the user asks for پارسی سره, سره‌نویسی, فارسی‌سازی, or "make this text more Persian".

概要

公開者pooooooriya
リポジトリsalsi
スキル名salsi
スター
91
フォーク
5
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

سالسی — Write Persian with Persian words

Persian prose is full of borrowed words that have perfectly good Persian equivalents. Replacing them makes writing clearer and more native. Replacing them carelessly makes writing wrong — it mangles technical terms, changes meaning, and produces words no reader recognises.

This skill is about the difference.

The one rule that matters

A loanword is only worth replacing when the replacement is at least as clear to the reader. Purity is never worth clarity. If you are unsure whether a reader would recognise the Persian equivalent, keep the original.

Workflow

  1. Scan the text to find candidates:

    bash
    salsi scan article.md --format json

    If salsi is not on PATH, this skill ships its own copy — run ./bin/salsi from this skill's directory instead. It needs nothing installed beyond Python 3.10 and carries the full 20,129-word lexicon.

    Add --domain tech (or medical, legal, science, business) so the terminology of that field is protected. Add --topic <subject> to help the scanner pick the right sense of an ambiguous word.

  2. Read each finding. Every one carries level, ambiguous, and a sense label per suggestion. Apply the judgement rules below. Most findings will be rejected in a technical document — that is the expected outcome, not a failure.

  3. Apply with your normal editing tools, one considered change at a time. For the settled subset only, salsi apply article.md does it mechanically.

  4. Show the user a diff and the reasoning before finalising. Never rewrite someone's text wholesale without showing what changed.

Only if you cannot run commands at all — no shell available — work from reference/core-words.md, which holds the settled replacements as a plain table. It is ~119 words against the lexicon's 20,129, so say plainly that you are working without the full dictionary and be correspondingly conservative.

Judgement rules

Never touch

  • Anything inside code fences, inline code, URLs, file paths, commands, identifiers, or configuration keys. (salsi already excludes these; if you are working by hand, you must too.)
  • Quoted text from another author, or a cited title. Quotations are evidence, not drafts.
  • Proper nouns: people, places, companies, products, brands, standards bodies.
  • Numbers, units, and formulas.

Technical terms — the part people get wrong

Ask what the field itself writes, not what a dictionary offers.

  • Use the Persian term when the field already uses it: کامپیوتر→رایانه, دیتابیس→پایگاه داده, دانلود→بارگیری, فایل→پرونده. These read as normal technical Persian.
  • Keep the loanword when it is the term of art: الگوریتم, پروتکل, کامپایلر, ای‌پی‌آی, توکن, کرنل. Translating these makes the text harder for its own audience.
  • Never invent a term. If the lexicon offers something you have not seen used in that field, do not be the first to use it in someone else's document.
  • In medicine, law and standards, a term can have a defined meaning. Changing it changes the content. Leave it.

Meaning first

The lexicon is keyed by spelling, not sense. Check the sense label on each suggestion before using it.

  • سرور in a systems document is server, not سُرور "joy".
  • استرس is تنش in mechanics but دلهره in psychology.
  • تست is آزمون in science, but a تُست is bread.

When ambiguous is true, either pick the sense the context demands or leave the word alone. Never take the first suggestion because it is first.

Register and audience

  • Formal, literary and cultural writing tolerates more purism.
  • Technical documentation, legal text and UI copy tolerate much less: the reader is there to accomplish something, not to admire the prose.
  • Casual and conversational text should stay casual. سلام، فایلو فرستادم should not become a treatise.

Craft

  • Be consistent. Once you choose پرونده for فایل, use it everywhere in the document, including headings.
  • Introduce once. When an unfamiliar equivalent genuinely earns its place, the first occurrence may carry the original: بارگیری (دانلود). Once.
  • Fix the grammar around the change. Persian suffixes change shape: فایل‌ها→پرونده‌ها, خانه‌ای patterns, ezafe. Re-read the sentence after each edit.
  • Do not increase word count much. A three-word phrase replacing one word is usually a bad trade.

When the user asks for سره‌نویسی

Full purism (--level pure) also targets Arabic loanwords that are ordinary modern Persian — کتاب, علم, قانون. Only do this when the user explicitly asks for it, and warn that the result reads as a deliberate literary style, not as neutral Persian.

Levels

LevelWhat it offersUse it for
safeOnly the curated, settled replacementsAutomation, first pass, anything you cannot review
standard (default)Everything except naturalised and protected wordsNormal editing with review
pureThe full lexiconسره‌نویسی, only on request

Commands

bash
salsi scan FILE [FILE...]        # --format text|json|markdown
salsi apply FILE                 # settled replacements only; --diff to preview
salsi lookup WORD                # what does the lexicon offer, and in which sense
salsi domains                    # protection profiles available
salsi info                       # lexicon size and provenance

# useful flags
--level safe|standard|pure
--domain tech|medical|legal|science|business    # repeatable
--topic "زبان‌شناسی"                            # disambiguates senses
--protect WORD / --protect-file FILE            # your own exceptions

Exit code with --strict is non-zero when anything is found, which makes salsi scan --level safe --strict usable as a CI or pre-commit check.

Reference

  • reference/judgement.md — worked examples of accepting and rejecting findings
  • reference/core-words.md — the settled replacements, usable without the CLI
  • reference/install.md — installing salsi and this skill elsewhere

Credit

The word list and every Persian equivalent come from پاسبان (Pasban) — https://pasbans.ir. This skill is a way of using their work; it is not a substitute for it. Keep the attribution when you redistribute.

同梱ファイル

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

よくある質問

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

Write Persian with Persian words. Use when writing, editing, translating or reviewing Persian (Farsi) prose — articles, documentation, posts, essays, UI copy — to replace loanwords with Persian equivalents while leaving technical terminology, proper nouns and code untouched. Also use when the user asks for پارسی سره, سره‌نویسی, فارسی‌سازی, or "make this text more Persian".

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

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

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

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

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

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

Salsiで使えるAIモデルの数に制限はありますか?

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

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

はい。pooooooriyaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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