testing
A maintainer skill in the LobeHub repository for writing and fixing Vitest tests across its web app, packages and Electron desktop app.
What the skill teaches
A maintainer skill in the LobeHub repository for writing and fixing Vitest tests across its web app, packages and Electron desktop app. It prefers spies over module mocks and asks for spies to be restored, tests behaviour rather than wiring, requires a regression test that fails without each bug fix, and says to move complex component logic into hooks instead of adding component tests. For failing tests it explains which to fix and which to delete. It gives the command for running a single file, with the database package run against PGlite or a real Postgres, warns against running the full suite of over 3,000 tests, and requires tests for every new database model or repository.
Capabilities
- Write Vitest tests with spies and boundary mocks
- Decide whether to fix or delete a failing test
- Run one test file against PGlite or Postgres
- Add tests for new database models
About
- Publisher
- LobeHub
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- references/agent-runtime-e2e.md
- references/db-model-test.md
- references/desktop-controller-test.md
- references/electron-ipc-test.md
- references/zustand-store-action-test.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Testing | |
| Publisher | LobeHub | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | NOASSERTION | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202684,974 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from LobeHub
17 skills
- acceptance (Skill)
- add-model-provider (Skill)
- agent-testing-bot (Skill)
- alint-ruleset (Skill)
- deep-review (Skill)
- docs-changelog (Skill)
Also listed under: Testing
Sources
- Skill file (SKILL.md)github.com/lobehub/lobehub · Backs: Includes scriptsNov 16, 2026
- GitHub repositorygithub.com/lobehub/lobehub · Backs: Publisher, ActivityNov 11, 2026
- Skill file (SKILL.md)github.com/lobehub/lobehub · Backs: LicenceNov 10, 2026
- Folder in the repository (testing)github.com/lobehub/lobehub · Backs: Includes scriptsNov 10, 2026