Logo : Prompt Enhancer

Prompt Enhancer

Communauté
comol
prompt-enhancer

Turn a short, unstructured prompt or task statement into a detailed imperative spec — numbered analysis steps, edge cases, expected output format — keeping every source term and adding no requirements. Use to improve, refine or structure a prompt or spec; takes text or a .md path.

Add to TypingMind

Présentation

Éditeurcomol
Dépôtai_rules_1c
Nom de la compétenceprompt-enhancer
Étoiles
496
Forks
112
Fichiers inclus
1
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 1

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par comol sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Prompt Enhancer dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/comol/ai_rules_1c/tree/main/content/skills/prompt-enhancer
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/comol/ai_rules_1c.git /tmp/ai_rules_1c
mkdir -p .claude/skills
cp -r /tmp/ai_rules_1c/content/skills/prompt-enhancer .claude/skills/prompt-enhancer
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Prompt Enhancer dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Prompt Enhancer dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Prompt Enhancer n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

prompt-enhancer — improving prompts and task statements

Turns a short note or unstructured task into a detailed imperative specification. Suitable for 1C developers who need to formalize a quickly written thought into a clear task statement.

When to use

Trigger this skill on user phrases like:

  • "improve the prompt", "make the prompt better / more precise / more detailed"
  • "refine the task statement", "formalize this task", "polish the task"
  • "structure the spec", "prepare a spec from a note"
  • "expand the task description", "turn this into a detailed instruction"

The skill works with any subject area, but specifically accounts for 1C task specifics (terminology, attribute names, object names, form names).

Modes

ModeTriggerWhat it does
Inlineargument is arbitrary textImproved prompt is printed in chat
Fileargument is a path to an existing fileResult is saved next to the source with -enhanced.md suffix
Interactiveargument is emptyAsk the user for the prompt text or a file path

Mode detection algorithm

The mode is selected deterministically, without heuristic on the argument text:

  1. If the argument is empty — Interactive mode. Ask the user for the prompt text or a file path with a regular message.
  2. Otherwise try reading the argument via the Read tool.
    • If Read returns file content — File mode.
    • If Read returns a "file does not exist / not found" error — that is the normal path, not a failure. Switch to Inline: use the entire argument as the prompt text.
  3. Do not detect mode by the presence of .md in the text. A phrase like "prepare a spec about .md generation" must not be interpreted as a path. File existence is checked by Read, not by string parsing.

Transformation principles

The core of the skill. Re-check this list on every generation:

  1. Source as the single source of truth. All terms, attribute names, tab names, object names, form names, subsystem names, numbers, enumerations are carried over verbatim. Do not replace Айс_КодИсточника77 with "service attribute".
  2. Imperative instead of description. "needs to be displayed" becomes "Display"; "we should analyze" becomes "Analyze". The result is a plan of actions, not a story.
  3. Explicit edge cases. Exception conditions are extracted into a separate sentence in the form "if ..., then ...", not hidden inside parentheses. An edge case must stand out.
  4. Fixed expected output. Add a "For each item, specify" section with a numbered list of fields. State the result format (table, structured list, JSON) explicitly.
  5. No new requirements. Do not add requirements that were not in the source: tests, documentation, roles, rollback, logging. Improvement is form, not content.
  6. Numbering of analysis steps. Split user wishes into discrete verifiable operations 1..N. Each step — one operation.
  7. Preserve intent, not literal text. If the source says "prepare a list" but then lists analytical tasks, analysis comes first, list compilation second. Restore the correct order.
  8. Neutral business register. Remove conversational and emotional elements ("would be nice", "somehow", "we'd like"), keep neutral phrasing.
  9. Short essence in the first line. Before the step-by-step plan — one sentence stating the task goal.
  10. Formatting per repo rules. No long or short dashes (only the regular hyphen), no letter "ё" with dots, no time or ROI estimates.

Improved prompt template

Mandatory result blocks:

  1. Goal — one sentence, what to do.
  2. Analysis steps — numbered list of imperatives (Analyze, Study, Determine, Output).
  3. Edge cases — explicit "if ..., then ..." conditions with concrete names and values from the source.
  4. Output format — name of the format (table / structured list / JSON) and the list of fields the result must contain.
  5. Additional clarifications (optional) — details, if the source mentioned deadlines, owners, dependencies.

Before / after example

Source prompt (short, unstructured):

The task — display all non-typical attributes of typical objects on the "Доп. реквизиты Айс" tab. Place the tab last. If only one attribute is added, Айс_КодИсточника77, do nothing. Prepare a list of objects, analyze element forms, determine where and how to add the tab.

Improved prompt (structured, detailed):

Analyze all typical configuration objects and prepare a list of those that contain non-typical attributes. Study the element forms of these objects. Add a new "Доп. реквизиты Айс" tab last in order to each form. Move all non-typical attributes onto the tab, except when the only non-typical attribute is Айс_КодИсточника77 (then no changes are made). For each object, specify:

  1. Object name.
  2. List of non-typical attributes.
  3. Name of the element form used and current tab structure.
  4. Recommended changes to tab placement and attribute movement, taking interface logic into account.

Format the output as a convenient table or structured list ready for implementation.

Additional cases — see examples/.

DO / DON'T

DO:

  • Preserve names of objects, attributes, tabs, constants, enumerations verbatim.
  • Turn requests into imperatives, add structure and numbering.
  • Extract exceptions and edge cases into separate sentences.
  • Specify the expected result format explicitly.
  • Add a short essence on the first line before the step-by-step plan.

DON'T:

  • Invent new requirements that were not in the source (roles, tests, rollback, printing, logging).
  • Replace concrete terms with generalizations.
  • Add technical solutions ("use БСП", "do this via HTTP service") unless mentioned in the source.
  • Use long dash, en dash, double hyphen, or letter "ё" with dots.
  • Estimate effort in hours, days, weeks, or money.

Saving the file (file mode)

  • Result name: <source filename without extension>-enhanced.md. If the original is postanovka.md, the result is postanovka-enhanced.md in the same folder.
  • Encoding: UTF-8.
  • Do not overwrite, delete, or rename the original.
  • If the result file already exists — overwrite without asking (this is a rerun of the skill).

Encoding handling

Source files are read as UTF-8. If Read returns obvious mojibake (unreadable Cyrillic like "ж©", "­", squares), inform the user that the file is likely in cp1251 or another encoding and ask to save it as UTF-8. Auto-detection of encoding is intentionally not implemented in the skill — a deliberate simplification of the first version.

Trigger phrases (for reliable detection)

The skill should recognize these user phrasings as triggers, even when the /prompt-enhancer command is not specified explicitly:

  • improve / make the prompt better
  • expand / refine / formalize the task statement (task, spec)
  • structure the spec / task
  • make the prompt more detailed / more precise / better
  • prepare a detailed spec from a note / draft
  • polish the task / statement
  • turn this into a clear spec / detailed instruction

Limitations

  • The skill rewrites form, not content. If the source prompt is logically contradictory or incomplete, the result will also be incomplete (see principle 5 — no new requirements).
  • For very long source texts (2000+ words), processing may miss details. In that case, split the text into logical blocks and process them in parts.
  • The skill assumes no domain knowledge beyond the source. If 1C-specifics need clarification, consult the relevant on-demand rules in this repo (e.g. content/rules/coding-standards.md, standards(name="dev-standards-architecture")) and the 1c-metadata-manage skill (docs/query-writing.md, docs/query-optimization.md) for query and metadata details.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Prompt Enhancer ?

Turn a short, unstructured prompt or task statement into a detailed imperative spec — numbered analysis steps, edge cases, expected output format — keeping every source term and adding no requirements. Use to improve, refine or structure a prompt or spec; takes text or a .md path.

Pourquoi utiliser Prompt Enhancer sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Prompt Enhancer se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Prompt Enhancer dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/comol/ai_rules_1c/tree/main/content/skills/prompt-enhancer. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Prompt Enhancer ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Prompt Enhancer ?

Autant que vous le souhaitez. Vous pouvez utiliser Prompt Enhancer avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Prompt Enhancer est-elle gratuite ?

Cette compétence est publiée sur GitHub par comol. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir
Logo de CherryHQ

Cherry Skill Marketplace

CherryHQ
OrganisationPopulaire

当用户明确要求搜索、安装、查看、卸载或创建 Skill,或内置 Skill / 工具出现能力缺口、无法完成当前任务时触发。通过 `mcp__skills__search_skills` 搜索并用 `mcp__skills__install_skill` 安装;已安装 Skill 的查看和删除通过产品清单导航到 Skills UI;没有合适结果时调用内置 `skill-creator`…

5.1K
52.5K
Instructions
Afficher
Logo de CherryHQ

Faq Collector

CherryHQ
OrganisationPopulaire

将成功解决的用户问题收录到 FAQ 知识库。问题解决后自动判断是否收录。也可以在用户说"收录到 FAQ"、"记录这个问题"、"add to FAQ"时手动触发。

5.1K
52.5K
Instructions
Afficher
Logo de CherryHQ

Issue Reporter

CherryHQ
OrganisationPopulaire

只在用户明确要求提交 GitHub Issue、GitHub Bug Report 或 GitHub Feature Request 时使用。用户只说“提交问题”“提交反馈”“上报 bug”“这是个 bug”或描述功能建议但未点名 GitHub 时不得触发,必须改用 cherry-studio-feedback 并默认提交飞书。

5.1K
52.5K
Instructions
Afficher
Logo de CherryHQ

Skills Manager

CherryHQ
OrganisationPopulaire

搜索、安装和协调创建 Claude Code Agent Skills。当用户想要搜索技能、安装工具、创建自定义 Skill,或者说"find a skill"、"搜索技能"、"帮我做个 skill"、"create a skill"时触发。也适用于用户说"有没有做 X 的工具"、"我想扩展 Agent 能力",或当前能力不足需要先查找可复用方案的场景。

5.1K
52.5K
Instructions
Afficher

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇