agent-workflow-presets: Skill for Cursor

.cursor/skills/testing/run-tests/SKILL.md

testing-run-tests is a skill for Cursor from hlalljie/agent-workflow-presets. It costs 58 tokens per session (857 once invoked), scanned A, original, MIT.

A test-running procedure for projects that use Vitest, browser checks, smoke scripts, and builds. Vitest is a JavaScript testing tool; a smoke test is a quick check that the main path still works.

In plain words
What is it for?
It helps run the project’s test plan, perform required manual browser checks, build the application, and test its preview version before handoff.
Why use it?
It provides an ordered check before work is considered finished, including production-like checks that can reveal problems hidden during development.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents.

This is hlalljie/agent-workflow-presets's own configuration. It tells Cursor how to work on agent-workflow-presets itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-workflow-presets configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hlalljie/agent-workflow-presets. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hlalljie/agent-workflow-presets/main/.cursor/skills/testing/run-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hlalljie/agent-workflow-presets

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for testing-run-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/hlalljie/agent-workflow-presets/run-tests.svg)](https://agentmods.dev/skills/hlalljie/agent-workflow-presets/run-tests)
Your own site
<a href="https://agentmods.dev/skills/hlalljie/agent-workflow-presets/run-tests"><img src="https://agentmods.dev/badge/skills/hlalljie/agent-workflow-presets/run-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.00857
Opus 5 $0.00029 $0.00428
Sonnet 5 $0.00012 $0.00171
Haiku 4.5 $0.00006 $0.00086

Measured 8d ago against content hash d5a869f11fb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

testing-run-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/testing/run-tests/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run tests

Job

Execute automated + manual steps aligned with the test plan (add tests), without ad-hoc skips unless the plan marks N/A.

Strong default: If the diff changes UI or could regress what users see on a route (shared shell, layout, widgets, styles, client navigation), treat manual browser checklists as expected, not optional—add or extend tests/manual/*.md when no checklist exists yet (write manual browser test).

Before running

  1. Open the test plan### Test plan in the task file and/or tests/plans/*.md.
  2. If missing but tests exist, run npm test and note plan gap in the report.

Dev vs preview (Next.js)

  • npm run dev — Fast iteration; Turbopack, HMR. Good while building the slice (including quick manual smoke if the checklist allows a temporary dev URL).
  • npm run build + npm run startproduction-like behavior. Anything that can differ between dev and prod (bundling, SSR, env) should be checked here before the slice is "done."

During run task loop: Vitest always; manual steps may use dev first for speed, but before handoff run the same checklist (or critical path) against preview if the doc's Start state uses start—otherwise align the doc.

During verify commit: Automated checks already run build; manual browser passes should use preview (Start state in the doc), and spot-check in dev only as extra, not instead of preview.

Order (default)

  1. Targeted Vitestnpx vitest run <paths…> for files listed in the plan (fast signal).
  2. Full Vitestnpm test when the slice can affect shared code or you need full regression.
  3. Feature smoke — project-specific regression scripts (see package.json). Run any that cover the areas you touched.
  4. Manual browser — spawn a subagent using [MODEL:browser-tester] for each tests/manual/*.md tied to the plan, following run manual browser test (Start state, then procedure). For UI- or shell-related work, skipping this step is not a default win—report BLOCKED only when the environment truly prevents it (no server, no browser tool, auth wall).
  5. Buildnpm run build when verifying types/integration.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 50 lines · 58 tokens per session scan A d5a869f11fb4

Subscribe to this mod's changes

testing-run-tests is a skill published in the GitHub repository hlalljie/agent-workflow-presets (2 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 857 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.