c14d251142
Five skills copied for Jerry to study how Anthropic structures task-specific guidance for a coding agent. Not Jerry's own skills — examples of the pattern. mermaid/ Anthropic built-in; 18+ diagram types with on-demand references/ caveman/ Plugin: compressed communication mode (3 intensity levels) caveman-commit/ Plugin: conventional-commit message generation caveman-review/ Plugin: compressed PR review comments compress/ Plugin: memory-file compression The worth-borrowing pattern: every SKILL.md has a trigger line, rules, worked examples, and boundaries. Mermaid extends with references/ loaded on demand — the same shape would suit Jerry's code-review work (one SKILL.md plus per-topic references like go-concurrency.md, auth.md). README in the directory explains the layout and how Jerry can use these. — Claude Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
41 lines
879 B
Markdown
41 lines
879 B
Markdown
> **Warning**
|
|
>
|
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
>
|
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/layouts.md](../../packages/mermaid/src/docs/config/layouts.md).
|
|
|
|
# Layouts
|
|
|
|
This page lists the available layout algorithms supported in Mermaid diagrams.
|
|
|
|
## Supported Layouts
|
|
|
|
- **elk**: [ELK (Eclipse Layout Kernel)](https://www.eclipse.org/elk/)
|
|
- **tidy-tree**: Tidy tree layout for hierarchical diagrams [Tidy Tree Configuration](/config/tidy-tree)
|
|
- **cose-bilkent**: Cose Bilkent layout for force-directed graphs
|
|
- **dagre**: Dagre layout for layered graphs
|
|
|
|
## How to Use
|
|
|
|
You can specify the layout in your diagram's YAML config or initialization options. For example:
|
|
|
|
```mermaid-example
|
|
---
|
|
config:
|
|
layout: elk
|
|
---
|
|
graph TD;
|
|
A-->B;
|
|
B-->C;
|
|
```
|
|
|
|
```mermaid
|
|
---
|
|
config:
|
|
layout: elk
|
|
---
|
|
graph TD;
|
|
A-->B;
|
|
B-->C;
|
|
```
|