[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75B2BYPNGKZ1J7W6RS2VTCH":3,"skill-same:01M75B2BYPNGKZ1J7W6RS2VTCH":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M75B2BYPNGKZ1J7W6RS2VTCH","run-promptvault-tui",null,"Run, test, screenshot, and interact with the PromptVault Python TUI (promptvault-tui). Use when asked to run, start, drive, screenshot, smoke-test, or verify the TUI app, or to create\u002Fsearch items programmatically.","EngineerNV\u002Fpromptboy","EngineerNV","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58236636?v=4","01M75B24N9P3RKPZ7HB42VRG3F","Nick","01M75B24NT9RA8FCG39A9ZYF3H",0,"MIT","https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: run-promptvault-tui\ndescription: Run, test, screenshot, and interact with the PromptVault Python TUI (promptvault-tui). Use when asked to run, start, drive, screenshot, smoke-test, or verify the TUI app, or to create\u002Fsearch items programmatically.\n---\n\n# run-promptvault-tui\n\nPromptVault TUI is a Textual-based interactive terminal app. The driver uses Textual's `run_test()` + Pilot API to drive the app headlessly — no terminal emulator, no tmux, no display server needed. All commands run from `PromptVault.Tui\u002F` using `uv run`.\n\n## Prerequisites\n\n```\nuv pip install -e \".[dev]\"\n```\n\nAlready satisfied if `.venv\u002F` exists in `PromptVault.Tui\u002F`.\n\n## Run (agent path)\n\nThe driver lives at `.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py`, run from `PromptVault.Tui\u002F`:\n\n```powershell\ncd PromptVault.Tui\n\n# Verify app boots and items load\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py smoke\n# OK: 24 items loaded, search focused\n\n# Search items and print titles\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py search \"code review\"\n# Code Review Checklist\n\n# Take an SVG screenshot of the running app\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py screenshot out.svg\n# Screenshot saved: out.svg\n\n# Create a new item and verify it persists\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py new-item \"My Title\" \"Body text here\"\n# OK: created 'My Title' (24 -> 25 items)\n```\n\nAll four commands exit 0 on success.\n\nThe driver uses the real data file (`~\u002F.promptvault\u002Fcartridges\u002Fdefault.json`) by default — `smoke`, `search`, and `screenshot` are read-only; `new-item` does mutate it.\n\n## Run (human path)\n\n```powershell\ncd PromptVault.Tui\nuv run promptvault-tui\n```\n\nOpens the full interactive TUI in the current terminal. `q` to quit.\n\nNon-interactive CLI modes that work in any shell:\n\n```powershell\nuv run promptvault-tui --list\nuv run promptvault-tui search \"terraform\"\n```\n\n## Test suite\n\n```powershell\ncd PromptVault.Tui\nuv run python -m unittest discover -s tests\n# Ran 61 tests in ~29s OK\n```\n\n## Gotchas\n\n- **`n` key requires focus off search input.** The search `Input` consumes all printable characters, so `press(\"n\")` with search focused types \"n\" into the field — it does not open the new-item modal. The driver works around this by calling `results_list.focus()` before pressing `n`. This also means keyboard bindings (`n`, `e`, `d`, `f`, `c`, `q`) only fire when focus is on the results list or nothing.\n\n- **Modal queries need `pilot.app.screen`** not `pilot.app`. When `FieldEditorScreen` is pushed, `pilot.app.query_one(\"#w-fld-title\")` raises `NoMatches` — query from `pilot.app.screen` instead (which is the active\u002Ftop screen).\n\n- **SVG export raises `UnicodeEncodeError` with default file open.** Always open with `encoding=\"utf-8\"` — the SVG contains non-ASCII box-drawing and braille characters that CP1252 can't encode.\n\n- **Duplicate items after re-seed.** If you call `_build_repo()` on a file that already has items, seeds are not re-added. But the test data file may already contain the seed items, so `--list` output can show them twice if the file was populated from a prior version. Not a driver bug.\n\n## Troubleshooting\n\n**`ModuleNotFoundError: No module named 'promptvault_tui'`** — run `uv pip install -e \".[dev]\"` from `PromptVault.Tui\u002F`, or ensure you're running `uv run` from inside `PromptVault.Tui\u002F` (not from repo root).\n\n**`uv` recreates `.venv` on every run** — expected if the interpreter version changes. It only reinstalls packages once; subsequent runs are fast.\n\n**`pilot.pause()` not long enough for async handlers** — `_refresh_display()` is async and triggered by `Input.Changed`. Add an extra `await pilot.pause()` if assertions run before the DOM updates.\n","# run-promptvault-tui\n\nPromptVault TUI is a Textual-based interactive terminal app. The driver uses Textual's `run_test()` + Pilot API to drive the app headlessly — no terminal emulator, no tmux, no display server needed. All commands run from `PromptVault.Tui\u002F` using `uv run`.\n\n## Prerequisites\n\n```\nuv pip install -e \".[dev]\"\n```\n\nAlready satisfied if `.venv\u002F` exists in `PromptVault.Tui\u002F`.\n\n## Run (agent path)\n\nThe driver lives at `.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py`, run from `PromptVault.Tui\u002F`:\n\n```powershell\ncd PromptVault.Tui\n\n# Verify app boots and items load\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py smoke\n# OK: 24 items loaded, search focused\n\n# Search items and print titles\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py search \"code review\"\n# Code Review Checklist\n\n# Take an SVG screenshot of the running app\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py screenshot out.svg\n# Screenshot saved: out.svg\n\n# Create a new item and verify it persists\nuv run python ..\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py new-item \"My Title\" \"Body text here\"\n# OK: created 'My Title' (24 -> 25 items)\n```\n\nAll four commands exit 0 on success.\n\nThe driver uses the real data file (`~\u002F.promptvault\u002Fcartridges\u002Fdefault.json`) by default — `smoke`, `search`, and `screenshot` are read-only; `new-item` does mutate it.\n\n## Run (human path)\n\n```powershell\ncd PromptVault.Tui\nuv run promptvault-tui\n```\n\nOpens the full interactive TUI in the current terminal. `q` to quit.\n\nNon-interactive CLI modes that work in any shell:\n\n```powershell\nuv run promptvault-tui --list\nuv run promptvault-tui search \"terraform\"\n```\n\n## Test suite\n\n```powershell\ncd PromptVault.Tui\nuv run python -m unittest discover -s tests\n# Ran 61 tests in ~29s OK\n```\n\n## Gotchas\n\n- **`n` key requires focus off search input.** The search `Input` consumes all printable characters, so `press(\"n\")` with search focused types \"n\" into the field — it does not open the new-item modal. The driver works around this by calling `results_list.focus()` before pressing `n`. This also means keyboard bindings (`n`, `e`, `d`, `f`, `c`, `q`) only fire when focus is on the results list or nothing.\n\n- **Modal queries need `pilot.app.screen`** not `pilot.app`. When `FieldEditorScreen` is pushed, `pilot.app.query_one(\"#w-fld-title\")` raises `NoMatches` — query from `pilot.app.screen` instead (which is the active\u002Ftop screen).\n\n- **SVG export raises `UnicodeEncodeError` with default file open.** Always open with `encoding=\"utf-8\"` — the SVG contains non-ASCII box-drawing and braille characters that CP1252 can't encode.\n\n- **Duplicate items after re-seed.** If you call `_build_repo()` on a file that already has items, seeds are not re-added. But the test data file may already contain the seed items, so `--list` output can show them twice if the file was populated from a prior version. Not a driver bug.\n\n## Troubleshooting\n\n**`ModuleNotFoundError: No module named 'promptvault_tui'`** — run `uv pip install -e \".[dev]\"` from `PromptVault.Tui\u002F`, or ensure you're running `uv run` from inside `PromptVault.Tui\u002F` (not from repo root).\n\n**`uv` recreates `.venv` on every run** — expected if the interpreter version changes. It only reinstalls packages once; subsequent runs are fast.\n\n**`pilot.pause()` not long enough for async handlers** — `_refresh_display()` is async and triggered by `Input.Changed`. Add an extra `await pilot.pause()` if assertions run before the DOM updates.\n",{"name":5,"description":7},"main","fa416ce6b88dd4b9d6a4219ffcb4bfa79cc6bd9c",".claude\u002Fskills\u002Frun-promptvault-tui","https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy","https:\u002F\u002Fgithub.com\u002FEngineerNV","https:\u002F\u002Fwww.nickvaughn.dev","FAANG Software Engineer practicing his coding. Passionate about robotics and Machine Learning #OpenToWork","2026-07-03 10:58:24",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add EngineerNV\u002Fpromptboy --skill run-promptvault-tui",{"tool":38,"command":39},"bunx","bunx skills add EngineerNV\u002Fpromptboy --skill run-promptvault-tui",{"tool":41,"command":42},"pnpm","pnpm dlx skills add EngineerNV\u002Fpromptboy --skill run-promptvault-tui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"driver.py","SCRIPT","脚本",5063,"https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-promptvault-tui\u002Fdriver.py",[53,60,66],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M75B2FVHCZW34B1657M0XRK1","PDF Form Filler","Fill PDF form fields from structured data","https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002FCartridgeMaker\u002Ftests\u002Ffixtures\u002Fmarketplace\u002Fskills\u002Fpdf-filler\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75B2F3DM8MNBMNQ3H04RT9T","git-helper","https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002FCartridgeMaker\u002Ftests\u002Ffixtures\u002Fmarketplace\u002Fskills\u002Fgit-helper\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75B2994E10MG3EHD354T2SA","run-promptvault-app","Build, run, test, and screenshot the PromptBoy WPF app (PromptVault.App). Use when asked to run, start, build, test, screenshot, smoke-test, or verify the C# WPF desktop app.","https:\u002F\u002Fgithub.com\u002FEngineerNV\u002Fpromptboy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-promptvault-app\u002FSKILL.md",[],[]]