Content Preview
--- model: claude-sonnet-4-0 --- # AI Prompt Optimization Optimize the following prompt for better AI model performance: $ARGUMENTS Analyze and improve the prompt by: 1. **Prompt Engineering**: - Apply chain-of-thought reasoning - Add few-shot examples - Implement role-based instructions - Use clear delimiters and formatting - Add output format specifications 2. **Context Optimization**: - Minimize token usage - Structure information hierarchically - Remove redundant
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/prompt-optimize.md \
https://raw.githubusercontent.com/wshobson/commands/main/tools/prompt-optimize.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/wshobson/commandsThen reference at tools/prompt-optimize.md
Related Skills
prompt-optimizer
分析原始提示,识别意图和差距,匹配ECC组件(技能/命令/代理/钩子),并输出一个可直接粘贴的优化提示。仅提供咨询角色——绝不自行执行任务。触发时机:当用户说“优化提示”、“改进我的提示”、“如何编写提示”、“帮我优化这个指令”或明确要求提高提示质量时。中文等效表达同样触发:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发时机:当用户希望直接执行任务,或说“直接做”时。不触发时机:当用户说“优化代码”、“优化性能”、“optimize performance”、“optimize this code”时——这些是重构/性能优化任务,而非提示优化。origin: community
prompt-optimizerpromptoptimizer
by affaan-m · everything-claude-code
all-tools
Display All Available Development Tools
commandsalltools
by qdhenry · claude-command-suite
all_tools
List all available tools detailed in your system prompt. Display them in bullet points. Display them in typescript function signature format and suffix the purpose of the tool. Double line break between each tool for readability.
commandsalltools
by disler · disler-hooks-mastery
golang-pro
Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.
golang-progolangprogo
by Jeffallan · jeffallan-claude-skills