agent-ide-cli-fixture-test
Manual CLI testing and fixture verification workflow.
Install
mkdir -p .claude/skills/agent-ide-cli-fixture-test && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14797" && unzip -o skill.zip -d .claude/skills/agent-ide-cli-fixture-test && rm skill.zipInstalls to .claude/skills/agent-ide-cli-fixture-test
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Manual verification workflow for the agent-ide CLI against tests/fixtures. Use when asked to manually test CLI behavior, repeatedly mutate fixture projects, inspect git diff, restore fixtures between cases, cover multiple TS/JS cases, and fix any bug found during fixture-based CLI testing.Key capabilities
- →Manually test CLI behavior against fixture projects
- →Inspect git diff after CLI mutations
- →Restore fixtures between test cases
- →Cover multiple TypeScript/JavaScript CLI cases
- →Fix bugs found during fixture-based CLI testing
- →Validate mutated fixtures with TypeScript compiler or Node.js
How it works
This skill outlines a manual workflow to test the agent-ide CLI by running commands against fixture projects, inspecting git diffs, validating mutations, and restoring the fixture state.
Inputs & outputs
When to use agent-ide-cli-fixture-test
- →Verify CLI command mutation side effects
- →Test CLI find-references on a fixture
- →Run regression tests on CLI commands
- →Check CLI output consistency
About this skill
Agent IDE CLI Fixture Test
Use this skill to manually exercise the built agent-ide CLI on fixture projects and turn any failure into a tested fix.
Workflow
-
Inspect current state:
- Run
git status --short. - Confirm
tests/fixtureshas no leftover edits before starting. - If prior work changed source/tests, keep those changes; only clean fixture mutations created by the current case.
- Run
-
Build the CLI before manual tests:
- Run
pnpm build. - Use
node bin/agent-ide.js ...for every manual CLI case.
- Run
-
For each case, run one CLI action against one fixture, then inspect exactly what changed:
- Prefer mutation commands:
rename,change-signature,move,deadcode. - Include read-only sanity cases:
find-references,impact,cycles,search, andcall-hierarchy. - Use fixtures under
tests/fixtures/*; do not create unrelated throwaway projects. - Run
git diff -- tests/fixtures/<fixture>immediately after each mutation. - Verify the final side effect, not only command success.
- Prefer mutation commands:
-
Validate the mutated fixture:
- TypeScript fixture: run
npx tsc --noEmit -p tests/fixtures/<fixture>/tsconfig.jsonwhen it has atsconfig.json. - JavaScript fixture: run
node --checkon changed files and execute a fixture entrypoint when available. - If the command is read-only, verify
git status --short -- tests/fixturesstays clean.
- TypeScript fixture: run
-
Restore before the next case:
- Run
git restore tests/fixtures/<fixture>. - Remove new files/directories from the case with scoped
git clean -fd tests/fixtures/<fixture>/<path>. - Confirm
git status --short -- tests/fixturesis clean. - Treat "reset fixture" as scoped restore/clean; do not use
git reset --hard.
- Run
-
If a bug appears:
- Keep the failing behavior concrete: command, fixture, diff, and compile/runtime error.
- Add or update an E2E/integration test that fails for the bug.
- Run the targeted test and confirm it is red.
- Fix production code, not the fixture output.
- Run the targeted test green, rebuild, then repeat the same manual CLI case.
- Restore the fixture after retest.
-
Finish with validation:
- Run
pnpm test. - Run
pnpm test:cli. - Run
pnpm test:fullwhen behavior changed or multiple CLI paths were touched. - Run
pnpm typecheck,pnpm lint,pnpm build,pnpm validate:plugin, andgit diff --check. - Report any command that was not run.
- Run
Case Coverage
Cover a mix of these cases when the user asks for "多測幾種 case":
- TS
rename --aton a local symbol; expect only the selected scope to change. - TS
change-signature --rename,--add,--remove, and--reorder; expect body references and call sites to remain valid. - TS
movefor a file, a member (src/file.ts:line), and a glob; expect imports and compilation to stay valid. - JS
rename --at; expect 1-based locations and correct import/call-site updates. - JS
move; expect ESM imports to keep required runtime extensions such as.js. - JS/TS
deadcode; expect deleted code to match unused symbols and changed files to parse/compile. - Read-only commands; expect useful output and zero fixture diff.
Reporting
Report:
- Which fixture CLI cases were manually run.
- Which diffs were expected and verified.
- Which bugs were found and fixed.
- Which automated validation commands passed.
- Whether
tests/fixturesis clean at the end.
When not to use it
- →The task does not involve manual verification of the agent-ide CLI.
- →The task does not require repeatedly mutating fixture projects.
- →The task does not involve inspecting git diff or restoring fixtures.
Limitations
- →The skill focuses on manual verification of the agent-ide CLI.
- →The skill does not automatically generate test cases.
- →The skill requires manual inspection of git diffs.
How it compares
This workflow provides a structured, manual testing approach for CLI tools using isolated fixture projects and explicit state validation, unlike ad-hoc testing that might miss side effects or fail to restore state.
Compared to similar skills
agent-ide-cli-fixture-test side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| agent-ide-cli-fixture-test (this skill) | 0 | 3mo | No flags | Intermediate |
| browser-tools | 6 | 9mo | Review | Intermediate |
| playwright-mcp-dev | 5 | 1mo | No flags | Advanced |
| migrate | 1 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
browser-tools
Whamp
Lightweight Chrome automation toolkit with shared configuration, JSON-first output, and six focused scripts for starting, navigating, inspecting, capturing, evaluating, and cleaning up browser sessions.
playwright-mcp-dev
microsoft
Explains how to add and debug playwright MCP tools and CLI commands.
migrate
alirezarezvani
Migrate from Cypress or Selenium to Playwright. Use when user mentions "cypress", "selenium", "migrate tests", "convert tests", "switch to playwright", "move from cypress", or "replace selenium".
playwright-interactive
ComeOnOliver
Use a persistent `js_repl` Playwright session to debug local web or Electron apps, keep the same handles alive across iterations, and run functional plus visual QA without restarting the whole toolchain unless the process ownership changed.
e2e
AsiaOstrich
[UDS] 從 BDD 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析
e2e-testing
IntelligentLion
Design and implement end-to-end tests that validate complete user workflows across the full stack. Use when building browser automation, testing user journeys, cross-browser validation, visual regression testing, or verifying system behavior from the user perspective.