testing
Skill428 starsChanged 10 days agoMITView on GitHub
Design and run focused regression tests and delivery checks for TeyvatGuide. Use when changing observable behavior, reproducing a bug, reviewing test coverage, or choosing validation before delivery or a commit. Documentation and styling changes need only the checks relevant to their scope.
- Reads credentials
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use the smallest sufficient set from the matrix below.
- Very specific: line 37
Only use the desktop connector when the user explicitly requests tauri-connector screenshot recognition.
- Distinctive: line 50
Test public inputs, outputs, and meaningful state transitions.
- Very specific: line 57
Follow ../../rules/typescript-rules.md for test code, including typed fixtures and .js import extensions.
- Very specific: line 73
Keep maintained regression tests and their required fixtures/helpers under test/, organized by behavior and matching the discovery pattern …
- Distinctive: line 86
If a check fails, retain the command and first actionable diagnostic.
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TeyvatGuide Testing
Select the evidence
Inspect the affected implementation, nearby tests, package.json, vitest.config.ts, tsconfig.json, and relevant configuration.
Identify the observable behavior and likely regression before selecting checks. A formatting check, type check,
unit test, Rust compile, and desktop interaction establish different things; report only what each actually proves.
Use the smallest sufficient set from the matrix below. Expand after a relevant failure, a shared dependency change, or an unresolved concern; do not repeat passing checks without a reason. Use non-fix commands for verification.
| Change or concern | Validation |
| TypeScript/Vue types, including tests | pnpm lint-vue |
| TypeScript/Vue/JS/configuration code | pnpm lint:code |
| Vue/SCSS/CSS styles | pnpm lint:style |
| Business logic, calculations, state | pnpm exec vitest run <test-path>; pnpm test when multiple suites are affected |
| Rust formatting | cargo fmt --check from src-tauri |
| Rust behavior or command contracts | cargo check and relevant cargo test <filter> from src-tauri, as applicable |
| Markdown or skill documentation | Review content/links; pnpm exec prettier --check <paths>; skill validation |
| Broad frontend changes | pnpm lint, plus pnpm lint-vue and relevant tests |
For narrow changes, use pnpm exec eslint <paths> or pnpm exec stylelint <paths> where sufficient. At final
acceptance, choose either the relevant test files or the full suite; a full run already covers those files.
A focused run during reproduction followed by a full run after a shared-logic fix serves different purposes.
For new or changed skills, locate scripts/quick_validate.py inside the installed skill-creator skill directory
and run python <skill-creator-dir>/scripts/quick_validate.py <skill-dir>. If the skill, validator, or its
dependencies are unavailable, report the missing structural check; do not guess its location or install tools
solely for documentation validation.
Only use the desktop connector when the user explicitly requests tauri-connector screenshot recognition; follow
../tauri-connector/SKILL.md and reuse the running debug instance. Otherwise report any desktop/manual acceptance
still needed without starting the app solely for validation.
pnpm lint currently runs the non-fix lint:* scripts (code and style). It does not include lint-vue, Vitest,
Rust formatting, Rust compilation, or desktop behavior. pnpm test:watch is for interactive development; delivery
checks must terminate. Re-read the scripts when they change.
Add a regression test when it protects behavior
- For a bug fix, reproduce the failure with a focused case when feasible, then verify the corrected result. Keep relevant boundary and failure cases, especially shared inventory, rollback, user/project isolation, and persisted state when those are affected. Do not mechanically require all of these for every change.
- Test public inputs, outputs, and meaningful state transitions. Do not mirror the implementation, assert source text, or add tests solely for reversible copy, styling, or formatting changes.
- Extend the nearest suite rather than introducing a parallel framework. Implementation and its regression case normally belong to the same behavioral change and commit.
- Mock external boundaries such as Tauri IPC, HTTP, clock, and storage only where needed. Exercise the real business function or store; do not mock away the behavior under test. Use memory storage or temporary files/databases, never the user's live accounts, app database, or persisted settings. Clean up shared state after each case.
- Follow
../../rules/typescript-rules.mdfor test code, including typed fixtures and.jsimport extensions.
Current test boundaries
Vitest runs in the Node environment and discovers only test/**/*.test.ts. Import test APIs explicitly from
vitest. Its config defines only @ and @utils aliases; aliases and Vue/Vuetify plugins from vite.config.ts
are not automatically available in this separate config.
The existing calculation suites exercise real utility functions and local Wiki data. The conversion-state suite
uses real Pinia and its persistence plugin with memory storage and createSSRApp, then disposes Pinia. These are
useful starting points for similar behavior. The repository has no configured browser/DOM component test harness;
do not claim Node tests validate rendering, WebView IPC, or OS integration. Add infrastructure only when the task
requires it and explain that scope.
Verification artifacts
Keep maintained regression tests and their required fixtures/helpers under test/, organized by behavior and
matching the discovery pattern above. Retain them with the implementation. Put one-off scripts, harnesses,
fixtures, and outputs together in a purpose-named subdirectory of the OS temporary directory, rather than
scattering them into source or permanent test directories. Remove only temporary files created by this task
after verification; do not delete or unstage pre-existing user files. Exclude throwaway artifacts from commits
unless the user explicitly asks to keep them.
Builds, failures, and delivery
- Choose build checks only when compilation, packaging, or asset integration needs verification. Inspect the build
scripts and plugins first:
pnpm buildrewrites.env.productionand can create/upload Sentry releases and artifacts;pnpm debugalso rewrites that file. These are not default read-only acceptance checks, and local validation does not authorize publishing. Account for these side effects before running either command. - If a check fails, retain the command and first actionable diagnostic. Distinguish a task regression from an existing failure or missing dependency/toolchain. Fix within scope; do not disable assertions or lint rules to obtain a pass. Report unavailable validation and its impact rather than silently substituting a weaker check.
- Inspect
git diff --check,git diff --cached --checkwhen staged content is involved, the actual diff, andgit status --shortafter verification. Preserve unrelated changes and generated files already owned by the user. - Report the changed behavior, exact checks and outcomes, and any remaining gap. Testing or delivery does not
authorize staging or committing; use
../git-workflow/SKILL.mdonly for an explicitly requested Git workflow.
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- modelcontextprotocol/servers★ 92ksame name
- lobehub/lobe-chat★ 84ksame name
- lobehub/lobehub★ 84ksame name
- penpot/penpot★ 62ksame name
- meteor/meteor★ 45ksame name
- iOfficeAI/AionUi★ 34ksame name
- garrytan/gbrain★ 31ksame name
- OpenZeppelin/openzeppelin-contracts★ 27ksame name
- tursodatabase/turso★ 25ksame name
- redis/go-redis★ 22ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use bundle-dependency-prs, update-library-template and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillbundle-dependency-prs
Fix broken dependency update PRs and aggregate the ones that work into one PR.
Also in 6 projects that use this
MicrosoftSkillupdate-library-template
Merges the latest Library.Template into this repo (at position of HEAD) and resolves conflicts.
Also in 6 projects that use this
zetaloopSkillassign-copilot
Assigns a GitHub issue to the Copilot coding agent, optionally specifying a custom agent. Use this when asked to assign an issue to Copilot or delegate an issue to CCA.
Also in 3 projects that use this
timmo001Skillchangeset-scope
Keep all scoped code work contained to the user-defined changeset. Use for implementation, fixes, diagnosis, refactoring, cleanup, and review when explicit instructions, named files, diffs, branches, pull requests, or injected work scopes define the boundary.
Also in 3 projects that use this
JetBrainsSkillmodule-dependencies
Add or modify IntelliJ module dependencies in `.iml` files.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- fluent2-designSkill
- frontend-designSkill
- git-workflowSkill
- sentry-mcpSkill
- tauri-connectorSkill
- teyvat-guideSkill
- typescript-standardsSkill
- vue3-standardsSkill
- web-design-guidelinesSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

