Agent instructions, skills, SSH host aliases and expansion triggers are worth having identical on every machine one person owns, and belong in none of the shared configuration. They live in user/ now, with a manifest saying where each piece goes and a link-user stage that puts it there. That stage does nothing unless the machine said yes. Somebody who clones Panama to try the desktop keeps their own ~/.claude/CLAUDE.md exactly where it was; the question names the destinations and defaults to no. Anything displaced goes to config/old rather than being deleted. ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md were byte-identical copies of one file, which is the drift this exists to prevent. Also adds the vitals toggles for the battery and Claude usage readouts, which had preferences and no way to reach them.
45 lines
777 B
Markdown
45 lines
777 B
Markdown
---
|
|
name: mermaid
|
|
description: Create diagrams from text descriptions
|
|
---
|
|
|
|
# Mermaid Diagrams
|
|
|
|
Create diagrams from text descriptions.
|
|
|
|
## Basic Usage
|
|
|
|
````md
|
|
```mermaid
|
|
sequenceDiagram
|
|
Alice->John: Hello John, how are you?
|
|
Note over Alice,John: A typical interaction
|
|
```
|
|
````
|
|
|
|
## With Options
|
|
|
|
````md
|
|
```mermaid {theme: 'neutral', scale: 0.8}
|
|
graph TD
|
|
B[Text] --> C{Decision}
|
|
C -->|One| D[Result 1]
|
|
C -->|Two| E[Result 2]
|
|
```
|
|
````
|
|
|
|
## Diagram Types
|
|
|
|
- `graph` / `flowchart` - Flow diagrams
|
|
- `sequenceDiagram` - Sequence diagrams
|
|
- `classDiagram` - Class diagrams
|
|
- `stateDiagram` - State diagrams
|
|
- `erDiagram` - Entity relationship
|
|
- `gantt` - Gantt charts
|
|
- `pie` - Pie charts
|
|
|
|
## Resources
|
|
|
|
- Mermaid docs: https://mermaid.js.org/
|
|
- Live editor: https://mermaid.live/
|