Mode d’emploi
- Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
- Consultez le document original pour les outils, identifiants et environnements requis.
- Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/egorfedorov/claude-context-optimizer --skill sharpen-promptAvant de commencer
- L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
- Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original
Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.
Sharpen a prompt
A precise prompt saves the back-and-forth, and the tokens, that a vague one costs. Rewrite the user's prompt so another assistant could do the task right on the first try.
Check what the prompt is missing
- Goal: what should exist or be true at the end.
- Context: who it's for, what it builds on, what was tried.
- Scope: exactly which files, sections, data or part of the problem. Name
them.
- Constraints: must keep, must avoid, length, tone, tools, deadline.
- Done looks like: how to tell it worked: tests pass, a sample output, a
checklist.
- Output format: a list, a table, a diff, a file, a one-paragraph answer.
Then
- If you can fill the gaps from the conversation, write the improved prompt in
a code block in the user's language. Keep it as short as the task allows, and list in one line what you added and why.
- If one gap is essential and unknowable, ask that one question instead of
guessing. Never ask more than one.
- Don't do the task itself unless the user asks you to.