Install any skill in seconds. Free to start, no credit card required.
Get Started Free →slopus/terminal-emulator
Test interactive CLI/TUI applications using @microsoft/tui-test.
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
and 7 more in the full report
7 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
I changed the ASCII banner in my CLI tool and now my terminal snapshot tests are failing. What command line flag do I pass to the tui-test CLI runner to overwrite old snapshot files with new actual outputs?
| Checked | Without skill | With skill |
|---|---|---|
| Includes --update-snapshots when invoking the tui-test CLI runner. | Missed | Passed |
The instructions your model reads when the skill loads.
Playwright-like API for terminals. Real PTY per test. Made by Microsoft.
@microsoft/tui-testyarn add -D @microsoft/tui-test
import { test, expect } from '@microsoft/tui-test';
test.use({ program: { file: 'node', args: ['./my-cli.js'] } });
test('selects option and proceeds', async ({ terminal }) => {
await expect(terminal.getByText('Select an option')).toBeVisible();
await terminal.write('\x1B[B'); // Arrow Down
await terminal.submit(); // Enter
await expect(terminal.getByText('Option 2 selected')).toBeVisible();
});
test('matches snapshot', async ({ terminal }) => {
await expect(terminal).toMatchSnapshot();
});
// Navigation
await terminal.write('\x1B[A'); // Arrow Up
await terminal.write('\x1B[B'); // Arrow Down
await terminal.write('\x1B[C'); // Arrow Right
await terminal.write('\x1B[D'); // Arrow Left
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.