bkit
Commandbkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…
Run a phantom user test session against a running web application.
> /plugin marketplace add Chocolatine75/haunt> /plugin install haunt@haunt
Run a phantom user test session against a running web application.
/haunt-test <url> [--personas <list>] [--headed] [--steps N] [--verbose]
Available: confused-beginner, malicious-user, screen-reader-user
If `haunt_spawn` is not available as a tool, print:
haunt is installing Chromium (first run, ~2 min). Come back once done and run again.
Then stop. Do NOT debug.
Print exactly:
haunt v0.1.0 — phantom user testing
If credentials are present:
Print: `logging in as <email>...`
1. `haunt_spawn` at `target_url` with timeout: 5
2. `haunt_capture_state` (`include_dom: true`) — look for a login form or link
3. If not already on a login page, `haunt_navigate` to find and go to the login page (look for a "Login", "Sign in", or "Se connecter" link in the accessibility tree or DOM)
4. `haunt_navigate` — fill `<email>` in the email field
5. `haunt_navigate` — fill `<password>` in the password field
6. `haunt_navigate` — click the submit/login button
7. `haunt_capture_state` — verify auth succeeded: URL is no longer the login page, or a logged-in element (avatar, dashboard, username) is visible
8. `haunt_get_cookies` — extract the session cookies
9. `haunt_end_session`
Print: `authenticated — cookies captured`
Store the cookies. Pass them to every `haunt_spawn` call in Phase 2 via the `cookies` parameter.
If login fails (still on login page after submit, or error visible):
Print `login failed — check your credentials` and stop.
Parse arguments:
Print: `scouting...`
Spawn one browser session with the first persona and `timeout: 5`. Call `haunt_capture_state` with `include_dom: true`.
**Read real links from the DOM snapshot** — look for `href` attributes in `<a>` tags that start with `/` or the target origin. Extract distinct path segments. Do NOT guess common routes like /login or /dashboard unless you actually see them in the DOM.
Also read the accessibility tree for nav elements and any button/link text that suggests routes.
Call `haunt_end_session`. Build a page plan of up to 4 areas from the **real links you found**. If fewer than 4 real routes exist, test those — do not pad with guesses.
Print the discovered routes, e.g.: `routes: / /login /pricing /dashboard`
Compute:
Print exactly:
estimated: N routes · M steps each · ~K browser calls · [light|medium|heavy] session proceed? [y/N]
Print: `testing N areas...`
Run all sessions yourself — do NOT spawn sub-agents or agents.
**SILENCE RULE: unless `--verbose` is passed, print NOTHING between tool calls. No step labels, no "parallel" announcements, no reasoning summaries, no observations. Zero text output between the `testing N areas...` line and the final summary block. Think entirely silently.**
1. `haunt_spawn` for every area in a single message (all in parallel). If auth cookies were captured in Phase 0.5, pass them via the `cookies` parameter to every `haunt_spawn` call. 2. `haunt_capture_state` for all sessions (`include_screenshot: false`, `include_dom: false`) — all in parallel. 3. Reason as each persona with a **corner-case mindset — NOT the happy path** (silently unless `--verbose`):
Prioritize unexpected behavior over intended flows. 4. `haunt_navigate` for all sessions in a single message, with any `issues` spotted. Choose corner-case actions: submit empty forms, enter bad data, access protected URLs directly, trigger the same action twice. 5. Repeat capture → naviga
bkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`