计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
context-enhancer【效率与协作】Enhance AI context understanding for better, more accurate responses. Adds rich context layers to improve AI comprehension. Use when: add context, improve understanding, enhance AI, better responses
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: context-enhancer description: | Enhance AI context understanding for better, more accurate responses. Adds rich context layers to improve AI comprehension.
Make AI truly understand your intent with enhanced context layers.
To enhance your message context, simply run:
from scripts.context_enhancer import enhance_context
# This will:
# 1. Analyze your message
# 2. Add context enhancement layer
# 3. Apply semantic understanding
# 4. Return enhanced message
result = enhance_context("Help me with my code", level="advanced")
print(result)
That's it! The enhance_context() function handles everything automatically.
✅ Complete Solution: No need to manually add context - this skill provides a complete, tested implementation
✅ Multiple Levels: Supports basic, advanced, and maximum enhancement levels
✅ Semantic Layers: Adds deep semantic understanding
✅ Memory Optimization: Improves multi-turn conversation memory
context-enhancer/
├── SKILL.md
└── scripts/
└── context_enhancer.py # Core context enhancement implementation
enhance_context(message, level)The main function for context enhancement. This function:
Example:
from scripts.context_enhancer import enhance_context
# Enhance context for better understanding
enhanced = enhance_context("Explain this code", level="advanced")
# Returns message with enhancement layer
add_semantic_context(message)Add semantic layer to message:
from scripts.context_enhancer import add_semantic_context
result = add_semantic_context("Your message here")
| Level | Enhancement | Description |
|---|---|---|
| Basic | Context prefix | Adds helpful context |
| Advanced | Multiple layers | Deep understanding boost |
| Maximum | Full enhancement | Complete context optimization |
You don't need to manually add context - enhance_context() does all of this for you automatically.
# Import the enhancement function
from scripts.context_enhancer import enhance_context
# Enhance your message - this single function does everything
result = enhance_context("Help me debug this function", level="maximum")
# Check results
if result:
print("✅ Context enhanced successfully:")
print(result)
else:
print("❌ Failed to enhance context")
The context enhancer AI developers trust - Just call enhance_context() and you're done!