AGENT SKILL

write-vibe-adr

Create or update Architecture Decision Records for the Mistral Vibe Python CLI. Use when a design discussion creates a new architectural constraint, when an undocumented convention causes confusion or review feedback, or when architecture guidance in docs/adr or AGENTS.md must be changed.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 5.4k
Forks
794

01 前言 Front Matter

name
write-vibe-adr
metadata
{ "display-name": "Write Vibe ADR", "default-prompt": "Use $write-vibe-adr to document a Vibe architecture decision and register it for agents.", "short-description": "Create architecture ADRs for Vibe" }
description
Create or update Architecture Decision Records for the Mistral Vibe Python CLI. Use when a design discussion creates a new architectural constraint, when an undocumented convention causes confusion or review feedback, or when architecture guidance in docs/adr or AGENTS.md must be changed.

03 SKILL.md 正文

Write Vibe ADR

Vibe ADRs are concise, agent-facing architecture rules in docs/adr/. Writing an ADR is a two-step process: write the document, then register it in the Architecture Decisions table in AGENTS.md.

When To Create An ADR

  • A design discussion creates a new architecture rule, constraint, or direction.
  • An existing convention is undocumented and caused a bug, review comment, or repeated confusion.
  • A pattern applies across a Vibe area or boundary, not just one file.
  • Future work should follow a direction that may differ from the current architecture.

Do not create ADRs for one-off implementation choices, formatting rules, or behavior already enforced by linting.

Steps

1. Confirm the scope

Use one ADR when the decision is cohesive. Split ADRs when separate agents would need to read them for unrelated change areas.

Use the Architecture Decisions table in AGENTS.md as the current topic index. Ownership lives in 0002, feature-module rules in 0018, and the client protocol boundary in 0009. Keep implementation walkthroughs in docs/reference/ and link them from the concise decision.

2. Determine the next number

ls docs/adr/

Use the next sequential number, zero-padded to 4 digits: NNNN-my-decision.md. Do not reuse a number or rename an existing ADR solely to change its title.

3. Write the ADR

Use this format:

# 0009 Decision Title

## Decision

What we decided. Include concrete rules and current-vs-aspirational direction when relevant.

## Rationale

Why this decision exists. Name the tradeoff and any non-obvious consequences.
Mention a rejected alternative only when it helps explain the decision.

## Agent Guidance

- Concrete instructions an agent should follow while changing code.
- Keep guidance task-oriented and easy to scan.

## Flag To User When

- Situations where an agent must stop and ask because current code or user request conflicts with the ADR direction.

Keep ADRs concise. Match the existing 20-50 line style. Do not add a status field. Give each rule one authoritative ADR; link to it rather than restating it. Decision states constraints, Agent Guidance gives their concrete application, and Flag To User When lists only topic-specific exceptions. Keep detailed implementation mechanics in reference pages. When merging decisions, preserve the old path with a short supersession notice and update the task index.

4. Register in AGENTS.md

Add or update a row in the Architecture Decisions table:

| <task trigger> | [0009 Decision Title](docs/adr/0009-my-decision.md) |

The trigger text must describe what the agent is changing, not vague architecture language.

Good triggers:

  • "Adding a new delivery surface, protocol bridge, or UI-owned behavior"
  • "Changing tool args/results, permissions, output limits, or adapters"
  • "Changing session transcript shape, metadata, resume, rewind, or migrations"

Bad triggers:

  • "Working on architecture"
  • "When relevant"
  • "Making decisions"

If the ADR is not registered in AGENTS.md, agents will not reliably discover it.

Common Mistakes

Mistake Fix
Writing the ADR but not updating AGENTS.md Always do both.
Using vague trigger text Name concrete code-change scenarios.
Duplicating another ADR Reference or update the existing ADR instead.
Writing a human essay Keep it short, directive, and agent-facing.
Copying an implementation plan into the ADR Keep only the durable rule and its consequences.
Adding status fields Vibe ADRs intentionally mix current and aspirational decisions without status.

04 同仓库更多 Skills

mistralai
mistralai/mistral-vibe

import

Import the user's setup from other coding CLIs (Claude Code, Codex, OpenCode) into Vibe — instructions, skills, subagents, commands, hooks, MCP servers, permissions, and plugins. Load when the user wants to switch to Vibe, import or reuse another CLI's configuration, or asks whether a file from another CLI works in Vibe.

Skill与智能体开发
★ 5.4k
mistralai
mistralai/mistral-vibe

worktree

Create, reuse, and clean up git worktrees under $VIBE_HOME/worktrees. Use when the user wants to work in an isolated git worktree, create a worktree for a task, or list/remove existing worktrees.

★ 5.4k
mistralai
mistralai/mistral-vibe

vibe

Authoritative reference for Mistral Vibe — the CLI agent you (the model) are running inside. LOAD when the user: - asks anything about Vibe itself, even by indirect name ("this CLI", "this tool", "you"); - wants to change, inspect, or reset their setup; - asks why the agent did or did not act; - asks how to make the CLI do X, where X lives, or what a flag/command/setting does; - asks any meta question about your own behavior; - is unsure whether a command, flag, env var, or file is in scope — this skill is the source of truth. SCOPE: config under `~/.vibe/` and project-local `.vibe/`; `VIBE_*` and `LOG_*` env vars; models and providers; agents and subagents; skills; tools and their permission model; every slash command and CLI flag; hooks; MCP servers; connectors; plugins; trusted folders; `@`-file mentions; logs; themes; voice.

Skill与智能体开发
★ 5.4k
mistralai
mistralai/mistral-vibe

skill-creator

Load this skill before creating, updating, or deleting a Vibe skill, or whenever you plan to add or modify SKILL.md files under a skills directory. It explains Vibe's SKILL.md frontmatter, discovery order, support files, and the permission flow.

Skill与智能体开发
★ 5.4k
mistralai
mistralai/mistral-vibe

create-plugin

Create a Vibe plugin package — the Agent Plugins 1.0 format with optional Vibe extensions for skills, MCP servers, hooks, knowledge, agents, libraries, and connectors. Use when the user wants to create, scaffold, or author a plugin for Mistral Vibe.

Skill与智能体开发
★ 5.4k
mistralai
mistralai/mistral-vibe

prompts

暂无简介

★ 5.4k