chore(skill): Own tttk-authoring in the repo

Move the skill to .agents/skills/tttk-authoring and point gen:skill-reference at it. Activate it by symlinking ~/.agents/skills/tttk-authoring to the in-repo copy.

Extend the reference drift guard to cover the skill copy now that it is versioned, and document activation in docs/development.md.
This commit is contained in:
2026-09-12 17:19:38 +08:00
parent 6d94a99b42
commit d8ccaecade
15 changed files with 870 additions and 16 deletions
+39
View File
@@ -0,0 +1,39 @@
# Alerts and mermaid
Standard markdown features that `tttk` renders. They are not tttk syntax — see
`reference.md` for the element and role catalog.
## GitHub-style alerts
```markdown
> [!NOTE]
> 这是一条备注
> [!TIP]
> 提示内容
> [!IMPORTANT]
> 重要信息
> [!WARNING]
> 警告信息
> [!CAUTION]
> 危险警告
```
## Mermaid diagrams
Fenced `mermaid` blocks render as diagrams:
````markdown
```mermaid
graph TD
A[开始] --> B{选择}
B -->|选项 1| C[结果 1]
B -->|选项 2| D[结果 2]
```
````
Supported: flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram,
pie.