Skip to content

feat(skills): Refactor tmux-testing to claude-isolated-test with progressive disclosure - #458

Merged
baleen37 merged 1 commit into
mainfrom
feat/tmux-claude-test
Feb 9, 2026
Merged

feat(skills): Refactor tmux-testing to claude-isolated-test with progressive disclosure#458
baleen37 merged 1 commit into
mainfrom
feat/tmux-claude-test

Conversation

@baleen37

@baleen37 baleen37 commented Feb 9, 2026

Copy link
Copy Markdown
Owner

Summary

Refactor tmux-testing skill into claude-isolated-test with comprehensive progressive disclosure structure and focus on fresh instance testing methods.

Key Changes

  • Renamed skill: tmux-testingclaude-isolated-test for broader scope
  • Reduced SKILL.md: From 961 lines (~7,000 words) to ~370 lines (1,321 words)
  • Progressive disclosure: Separated content into core patterns, detailed references, and working examples
  • Four fresh instance methods: tmux sessions, Docker/packnplay, git worktrees, environment variables
  • Improved description: Third-person format with specific trigger phrases (284 chars vs 374 chars)
  • Standardized writing: Consistent imperative/infinitive form throughout

Structure

claude-code-testing/
├── SKILL.md                          # Core patterns, quick reference (1,321 words)
├── examples/                         # Production-ready bash scripts
│   ├── tmux-fresh-instance.sh       # Basic tmux testing
│   ├── sessionstart-test.sh         # SessionStart/Stop hook testing
│   └── parallel-testing.sh          # Parallel configuration testing
├── references/                       # Detailed documentation
│   └── advanced-testing.md          # Hook patterns, debugging workflows
└── scripts/                          # Reusable utilities
    └── wait-for-output.sh           # Polling helper function

Quality Improvements

  • ✅ All bash scripts use proper traps and error handling
  • ✅ Executable permissions set correctly
  • ✅ Reduced duplication with shared utilities
  • ✅ Skill-reviewer validated: Pass with minor polish applied
  • ✅ Follows plugin-dev best practices exactly

Testing

Validated with skill-reviewer agent:

  • Description quality: ✅ Specific trigger phrases, third-person format
  • Content organization: ✅ Progressive disclosure implemented
  • Writing style: ✅ Imperative form standardized
  • Working examples: ✅ All scripts production-ready

Test plan

  • Skill loads correctly with updated name
  • Trigger phrases work as expected
  • Example scripts execute without errors
  • Progressive disclosure flows naturally

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added testing examples and reusable automation scripts for isolated test environments.
    • Enabled parallel testing capabilities with automated startup handling and real-time output monitoring.
  • Documentation

    • Added comprehensive testing patterns, hook configurations, debugging workflows, and best practices.
    • Consolidated testing skill documentation into unified guidance for developers.

…ressive disclosure

- Rename skill to claude-isolated-test for broader scope
- Reduce SKILL.md from 961 lines to ~370 lines (1,321 words)
- Focus on fresh instance testing methods (tmux, Docker, worktrees, env vars)
- Add progressive disclosure structure:
  - SKILL.md: Core patterns and quick reference
  - references/advanced-testing.md: Detailed hook testing patterns
  - examples/: 3 complete, production-ready bash scripts
  - scripts/: Reusable wait-for-output.sh utility
- Improve description with specific trigger phrases (third-person format)
- Standardize writing style to imperative/infinitive form
- All bash scripts include proper traps and error handling

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Feb 9, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

The changes introduce a new comprehensive "Claude Code Isolated Testing" skill containing documentation, example scripts, and reusable utilities for testing Claude Code using tmux, Docker, Git worktrees, and environment-variable-based isolation methods. The previous tmux-testing skill documentation is replaced with expanded content.

Changes

Cohort / File(s) Summary
Claude Code Testing Skill Documentation
plugins/me/skills/claude-code-testing/SKILL.md, plugins/me/skills/claude-code-testing/references/advanced-testing.md
Added comprehensive documentation defining the Claude Code Isolated Testing skill with multiple isolation methods, testing patterns, debugging workflows, hook types, MCP integration guidance, and known issues. Includes feature coverage for Claude Code 2.1.0+ (hot reload, frontmatter hooks, scoped hooks, forked sub-agent context).
Testing Example Scripts
plugins/me/skills/claude-code-testing/examples/parallel-testing.sh, plugins/me/skills/claude-code-testing/examples/sessionstart-test.sh, plugins/me/skills/claude-code-testing/examples/tmux-fresh-instance.sh
Added three Bash scripts orchestrating isolated Claude Code testing via tmux: parallel testing across multiple instances with trust-prompt handling, SessionStart/SessionStop hook verification, and fresh single-instance testing workflows.
Testing Utilities
plugins/me/skills/claude-code-testing/scripts/wait-for-output.sh
Added reusable polling helper function for tmux session output verification with configurable timeout and error reporting.
Removed Documentation
plugins/me/skills/tmux-testing/SKILL.md
Deleted obsolete tmux-testing skill documentation, subsumed by the broader claude-code-testing skill.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Possibly related PRs

Poem

🐰 Hops through tmux with glee,
Testing Claude in harmony,
Sessions bloom, hooks align,
Parallel tests run so fine,
Better docs to guide the way,
Skill complete—hip-hip-hooray! 🎉

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/tmux-claude-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@baleen37
baleen37 merged commit bfaad00 into main Feb 9, 2026
4 of 5 checks passed
@baleen37
baleen37 deleted the feat/tmux-claude-test branch February 9, 2026 05:31
baleen-release-app Bot pushed a commit that referenced this pull request Feb 9, 2026
# [5.15.0](v5.14.2...v5.15.0) (2026-02-09)

### Features

* **skills:** Refactor tmux-testing to claude-isolated-test with progressive disclosure ([#458](#458)) ([bfaad00](bfaad00))
baleen37 pushed a commit to baleen37/memmem that referenced this pull request Feb 15, 2026
# [5.15.0](baleen37/bstack@v5.14.2...v5.15.0) (2026-02-09)

### Features

* **skills:** Refactor tmux-testing to claude-isolated-test with progressive disclosure ([#458](baleen37/bstack#458)) ([bfaad00](baleen37/bstack@bfaad00))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant