Logo de Salsi

Salsi

Comunidade
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".

Visão geral

Publicado porpooooooriya
Repositóriosalsi
Nome da habilidadesalsi
Estrelas
91
Forks
5
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por pooooooriya no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Salsi no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/pooooooriya/salsi/tree/main/skills/salsi
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Salsi em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Salsi automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Salsi não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

سالسی — 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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Salsi faz?

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".

Por que usar Salsi no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Salsi é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Salsi no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/pooooooriya/salsi/tree/main/skills/salsi. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Salsi?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Salsi?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Salsi com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Salsi é gratuita?

Sim. A habilidade é publicada no GitHub por pooooooriya sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇