Skip to content

v2.2.0 - Scenario-Based Comments & Token Optimization

Choose a tag to compare

@notlate-cn notlate-cn released this 04 Feb 05:05
· 20 commits to main since this release

🎉 New Features

📝 Scenario-Based Comment Style

  • Use 场景 N / Scenario N for conditional branches
  • Use 步骤 N / Step N for sequential execution flow
  • Language-specific comment symbols (Python #, C++/Java //)
  • Execution flow tracking with concrete variable values

⚡ Token Optimization

  • Direct file writing instead of conversation output
  • Save ~50% tokens by avoiding duplicate output
  • Progressive generation for Deep Mode (≥ 5000 words)

🔧 Structure Optimization

  • File size: 1500 → 1342 lines (-10.5%)
  • Removed duplicate content
  • Removed Sub-Agent usage guidelines

📊 Documentation Updates

  • Unified mode selection table
  • Simplified progressive generation documentation
  • Enhanced execution flow examples
  • Updated README to v2.2.0

🔄 Full Changelog

  • feat: add scenario-based comment style guide
  • feat: add markdown document generation requirement
  • fix: distinguish between 'Scenario' and 'Step' in comment style
  • fix: use language-specific comment symbols in examples
  • fix: unify execution flow example format
  • feat: add token optimization strategy
  • feat: add progressive generation for Deep Mode
  • refactor: optimize SKILL.md structure and remove duplicates
  • docs: update README with v2.2.0 changelog