write-vibe-tests
Skill5k starsChanged 4 months agoApache-2.0View on GitHub
Write or refactor Mistral Vibe tests with proper decoupling. Use when adding behavior coverage, testing ports/adapters, replacing brittle mocks, creating fakes, adding characterization tests before refactors, or changing tests under tests/ for vibe/core, vibe/cli, vibe/acp, tools, config, sessions, skills, hooks, MCP, or setup.
Trending
Quiet since October.about the whole repository
Who's talking about mistralai/mistral-vibe
- agentskills/agentskills“Proposal: include a standard folder where agent skills should be”GitHub · Dec 19, 2025 · 268 reactions
- github/spec-kit“Add support for Mistral Vibe CLI”GitHub · Dec 9, 2025 · 14 reactions
- @nidouille.bsky.social“Mistral vient d'annoncer Devstral 2 orienté vibecoding via une CLI. Il y a un gros modèle (licence MIT) …”Bluesky · Dec 9, 2025 · 12 likes
- aaif/project-proposals“[Project Proposal] Agent Skills”GitHub · Sep 24, 2026 · 8 reactions
- rtk-ai/rtk“feat: add transparent hook support for Mistral Vibe (BeforeTool)”GitHub · Mar 24, 2026 · 7 reactions
The biggest 5 of 47 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 47
Talked about on GitHub, Bluesky and Hacker News (47 times).
On GitHub · 40
- Dec 19, 2025Proposal: include a standard folder where agent skills should be — agentskills/agentskills268 reactions · 130 comments
- Dec 9, 2025Add support for Mistral Vibe CLI — github/spec-kit14 reactions · 2 comments
- Sep 24, 2026[Project Proposal] Agent Skills — aaif/project-proposals8 reactions · 2 comments
- Mar 24, 2026feat: add transparent hook support for Mistral Vibe (BeforeTool) — rtk-ai/rtk7 reactions · 8 comments
- Mar 2, 2026Feature Request: Add Support for Mistral Vibe Agent — laravel/boost7 reactions · 3 comments
35 more on GitHub
- Mar 12, 2026[Feature Request] programs.mistral-vibe.enableMcpIntegration — nix-community/home-manager2 reactions
- Sep 14, 2026Update Request: mistral-vibe 2.25.0 → 2.25.4 — NixOS/nixpkgs1 reaction
- Sep 10, 2026mistral-vibe: 2.25.0 -> 2.25.2 — NixOS/nixpkgs1 reaction · 2 comments
- Aug 4, 2026mistral-vibe: 2.23.1 -> 2.23.3 — NixOS/nixpkgs1 reaction · 1 comment
- Jun 12, 2026mistral-vibe: 2.14.1 -> 2.15.0 — NixOS/nixpkgs1 reaction · 1 comment
- May 13, 2026`ExitPlanMode` `QuestionRequest` is not rendered and instead shows empty panel, user "dismissed without choosing" via ACP — zed-industries/zed1 reaction · 2 comments
- May 7, 2026Update mistral-vibe to v2.9.5 — zed-industries/extensions1 reaction
- May 5, 2026Update mistral-vibe to v2.9.4 — zed-industries/extensions1 reaction
- Apr 11, 2026chore(deps): update dependency mistral-vibe to >=2.7.3 — shunkakinoki/dotfiles1 reaction · 3 comments
- Apr 10, 2026mistral-vibe: 2.7.3 -> 2.9.2 — NixOS/nixpkgs1 reaction · 6 comments
- Mar 8, 2026feat: add Mistral Vibe and Qwen Code support — gsd-build/get-shit-done1 reaction · 1 comment
- Mar 3, 2026Add Mistral Vibe as a supported agent harness — vercel-labs/agent-eval1 reaction · 1 comment
- Feb 27, 2026mistral-vibe: 2.2.1 -> 2.3.0 — NixOS/nixpkgs1 reaction · 1 comment
- Feb 19, 2026mistral-vibe: 2.2.0 -> 2.2.1 — NixOS/nixpkgs1 reaction · 2 comments
- Feb 17, 2026Update mistral-vibe to v2.2.0 — zed-industries/extensions1 reaction · 2 comments
- Jan 31, 2026[FEATURE]: Mistral Provider: Support x-affinity header for session continuation — anomalyco/opencode1 reaction · 8 comments
- Jan 28, 2026mistral-vibe: 2.0.0 -> 2.0.1 — NixOS/nixpkgs1 reaction · 1 comment
- Jan 27, 2026mistral-vibe: 1.3.5 -> 2.0.0 — NixOS/nixpkgs1 reaction · 6 comments
- Jan 20, 2026[UPDATE] Mistral Vibe CLI — PackmindHub/coding-agents-matrix1 reaction
- Dec 13, 2025Feature Request: Implement OpenTelemetry-based Observability — charmbracelet/crush1 reaction · 1 comment
- Oct 4, 2026[Client Request] Mistral Vibe (Vibe Code CLI / Vibe Work) — mcp360/mTarsier0 reactions
- Oct 4, 2026agent-plugins.github.mistralai.mistral-vibe: init at 2.25.8 — sudosubin/agents.nix0 reactions
- Sep 30, 2026[Coding Agent] Support Mistral Vibe — UI5/plugins-coding-agents0 reactions
- Sep 27, 2026spike: minimum viable Mistral Vibe integration — hugimuni-labs/brnrd0 reactions
- Sep 26, 2026Add support for Mistral Vibe in Traycer Desktop — traycerai/traycer0 reactions
- Sep 24, 2026chore(deps): bump the python-dependencies group across 1 directory with 5 updates — medmcp/medmcp0 reactions
- Sep 21, 2026Mistral Vibe before 2.25.5 Remote Code Execution via git post-checkout — NixOS/nixpkgs0 reactions
- Sep 3, 2026[HP-VIBE][Wave 3] Implement the Mistral Vibe Harness Pack and native environment contract — RepairYourTech/SymbioteIDE0 reactions
- Jul 31, 2026fix: use Vibe ACP tar archives on non-Windows — agentclientprotocol/registry0 reactions
- Jul 6, 2026[Feature Request] Add MistralVibe & KiloCode to default agents — formulahendry/vscode-acp0 reactions · 1 comment
- Jun 23, 2026R3 - The Amsterdam-Paris Summit — attogram/academic-vibing0 reactions · 3 comments
- Jun 3, 2026[Add] Mistral-Vibe (mistralai/mistral-vibe) — PyTorchKR/landscape0 reactions
- May 19, 2026feat(vibe): add Mistral Vibe adapter — cflack/Irrlicht0 reactions
- Apr 6, 2026Doc: add mistral vibe settings — mgaitan/telegram-acp-bot0 reactions
- Feb 20, 2026Рассмотреть создание своего REPL — ITMO-NSS-team/FEDOT.MAS0 reactions
On Bluesky · 5
- Dec 9, 2025Mistral vient d'annoncer Devstral 2 orienté vibecoding via une CLI. Il y a un gros modèle (licence MIT) demandant 4 cartes H100 et un… — @nidouille.bsky.social12 likes and reposts
- Feb 3, 2026I love mistral-vipe for beeing #OpenSource and trying not to steal data from their customers #vipe-coding #programming You can find it… — @kimkulling.bsky.social3 likes and reposts
- Aug 16, 2026There is github.com/aaif-goose/g... in Rust, but the dependency tree is gigantic, so I’m hesitant. Some people like it idk. Also… — @janvhs.com2 likes and reposts
- Dec 11, 2025Mistral vibe - yet another CLI ? Yes, but can call local Devstral 2 model (24B params, can run on a Mac Mx with 32+GB RAM)… — @fred.camblor.fr2 likes and reposts
- Dec 11, 2025Mistral AI is a French AI startup founded in 2023 by former researchers from Google DeepMind and Meta. The founders include Arthur Mensch,… — @nuthatch.infosec.exchange.ap.brid.gy0 likes and reposts · 1 reply
On Hacker News · 2
- Jan 15, 2026Mistral Vibe – Minimal CLI Coding Agent3 points
- Dec 14, 2025Code for mistral vibe – Mistral's open-source CLI coding assistant2 points
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- client-e2e/AGENTS.mdAGENTS.md
- vibe/cli-rust/AGENTS.mdAGENTS.md
- vibe-asyncSkill
- vibe-ci-supply-chainSkill
- vibe-cross-platformSkill
- vibe-python-styleSkill
- vibe-textual-uiSkill
- promptsSkill
- create-pluginSkill
- skill-creatorSkill
- vibeSkill
- worktreeSkill
- create-vibe-featureSkill
- instrument-feature-analyticsSkill
- write-vibe-adrSkill
- write-vibe-design-docSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
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 12
Use this skill to make Vibe architecture testable, not just well-shaped.
- Distinctive: line 16
Test behavior through stable boundaries.
- Distinctive: line 18
If a refactor changes no observable behavior but breaks many tests, the tests are probably coupled to implementation details.
- Distinctive: line 34
Prefer in-memory implementations and fake adapters that implement real contracts.
- Very specific: line 36
Put reusable test doubles in tests/stubs/ and name them Fake*.
- Distinctive: line 39
Avoid assertions like "method X was called with Y" unless the call itself is the observable contract.
- Distinctive: line 43
When code is hard to test:
- Distinctive: line 46
Add characterization tests through the nearest public entry point.
- Distinctive: line 51
Prefer "make it testable" refactors first: isolate I/O, extract pure functions, introduce ports/adapters where useful, or move construction …
- Distinctive: line 56
Use descriptive test names.
- Distinctive: line 58
Keep tests deterministic, fast, and explicit about failure.
- Very specific: line 59
Use autouse fixtures from tests/conftest.py (config_dir, tmp_working_directory) for config/home/working-directory isolation.
- Distinctive: line 62
Use the narrowest relevant test first, then broaden when shared contracts are touched.
- Distinctive: line 65
After app-server session behavior, backend adapters, or shared contract-fixture changes, run both backend contract commands.
- Distinctive: line 77
After Python test/code changes, run:
- Very specific: line 90
Run uv run pyright when signatures, models, protocols, or shared contracts changed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write Vibe Tests
Use this skill to make Vibe architecture testable, not just well-shaped. Tests should protect observable behavior while allowing internals to move.
Core Principle
Test behavior through stable boundaries. Do not couple tests to private methods, internal call choreography, or temporary structure.
If a refactor changes no observable behavior but breaks many tests, the tests are probably coupled to implementation details.
Vibe Test Boundaries
| Code area | Preferred test boundary |
| Core use cases and services | Public function/class API, typed events, model outputs, persisted state |
| Tools | BaseTool.invoke/run, typed args/results, permission behavior, user-facing errors |
| LLM/backend orchestration | AgentLoop events and fake backend outputs |
| Config | Pydantic model validation, layer merge outputs, migration results |
| Sessions | Saved JSONL/metadata shape, resume/loader behavior, migration behavior |
| CLI widgets | Textual snapshots, posted messages, rendered user-visible state |
| ACP | ACP session updates and protocol-facing content, not core internals |
Prefer Fakes Over Mocks
Prefer in-memory implementations and fake adapters that implement real contracts.
- Put reusable test doubles in
tests/stubs/and name themFake*. - Make fakes small and behavior-oriented.
- Mock only at hard process, network, time, or third-party boundaries when a fake would be more complex than the behavior under test.
- Avoid assertions like "method X was called with Y" unless the call itself is the observable contract.
Legacy Or Refactor Workflow
When code is hard to test:
- Find the smallest seam: function boundary, constructor dependency, protocol/port, wrapper, composition root, feature flag, or module boundary.
- Add characterization tests through the nearest public entry point.
- Capture current observable behavior, even if awkward.
- Refactor behind the seam in small steps.
- Replace broad characterization checks with clearer behavior/spec tests as the design improves.
Prefer "make it testable" refactors first: isolate I/O, extract pure functions, introduce ports/adapters where useful, or move construction out of business logic.
Test Shape
- Stack:
pytest+pytest-asyncio+pytest-textual-snapshot+respx. - Use descriptive test names; do not add test docstrings. Pytest displays docstrings instead of node IDs when present, which hurts.
- Arrange, act, and assert clearly, but optimize for readability over ceremony.
- Keep tests deterministic, fast, and explicit about failure.
- Use autouse fixtures from
tests/conftest.py(config_dir,tmp_working_directory) for config/home/working-directory isolation. - Mark async tests with
@pytest.mark.asyncio. - Mock outbound HTTP with
respx. - Use the narrowest relevant test first, then broaden when shared contracts are touched.
- Tests are exempt from the
ANNandPLRruff rules (seeper-file-ignores). - Changes to managed shell tools, managed shell backends, shell prompts, or shell dependencies require focused POSIX/common validation and passing Windows shell CI. If Windows shell CI is unavailable, the PR notes must include manual native Windows commands and results.
- After app-server session behavior, backend adapters, or shared contract-fixture changes, run both backend contract commands. A failing Unified frontier is expected before parity; include its complete pytest summary in parity-related PRs.
Avoid
- Testing private methods as the primary coverage for behavior.
- Asserting intermediate internal state when user-visible output, emitted events, files, or return values can be asserted.
- Building mocks that mirror the implementation.
- Adding abstractions only to satisfy a test.
- Writing tests that require a specific internal file split or call order when the domain behavior is unchanged.
Verification
After Python test/code changes, run:
uv run ruff format .
uv run ruff check --fix .Then run the targeted tests:
uv run pytest <test-path-or-node-id>Run uv run pyright when signatures, models, protocols, or shared contracts changed.
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.

