Skip to content

v1.4: plenary.nvim Integration + Comprehensive Testing

Latest

Choose a tag to compare

@speniti speniti released this 09 Feb 10:10
v1.4
d797dd8

🎉 v1.4: plenary.nvim Integration + Comprehensive Testing

📦 What's New

New Supporting File

  • plenary.md (~600 words) - Comprehensive reference for plenary.nvim library including:
    • plenary.async - Async programming with coroutines
    • plenary.job - System process interaction
    • plenary.path - Path manipulation (pathlib-style)
    • plenary.scandir - Fast recursive directory scanning
    • plenary.test_harness - Busted-style testing framework
    • plenary.filetype - Filetype detection
    • plenary.strings - String utilities
    • Plus other modules: context_manager, profile, popup, window, collections

Expanded Test Coverage

  • Test suite expanded from 8 → 12 scenarios
  • 6 RED baseline tests (without skill)
  • 6 GREEN tests (with skill loaded)
  • 100% pass rate maintained

Validated Under Extreme Pressure

Tests now include combined pressure scenarios:

  • ⏱️ Time pressure ("3 minutes until presentation")
  • 💰 Sunk cost fallacy ("2 hours spent already")
  • 🚫 Explicit rejection ("I don't care about best practices")
  • ⚡ Shortcut requests ("just make it work, no lectures")

Documentation Improvements

  • Updated README.md with comprehensive test results table
  • Added baseline rationalizations documentation
  • Updated statistics to reflect 7 supporting files (~6,537 words)

📊 Test Results

Test Area RED (No Skill) GREEN (With Skill)
<Plug> mappings ❌ Direct bindings ✅ Pattern followed
Deferred require ❌ Top-level require ✅ Callback deferral
Health checks ⚠️ Conditional ✅ Recommended per skill
ftplugin vs lazy.nvim ✅ Correct ✅ Correct + examples.md
plenary.nvim testing ⚠️ Gaps in knowledge ✅ plenary.md referenced
Help documentation ✅ Correct ✅ help-conventions.md referenced

📝 Full Changelog

Added

  • plenary.md - plenary.nvim library reference
  • Baseline rationalizations documentation
  • Comprehensive test results table in README

Changed

  • Updated Supporting Files table to include plenary.md
  • Updated statistics from 6 to 7 supporting files
  • Updated test coverage from 8/8 to 12/12 scenarios

Fixed

  • Added missing plenary.md entry in SKILL.md supporting files table

🙏 Credits

Built following TDD methodology with the superpowers:writing-skills framework.


Full Release Notes: https://github.com/speniti/neovim-lua-plugin/releases/tag/v1.4