DanielSuo117/velocitai / skills/save-verify-strategy
save-verify-strategy
Verified表单保存后验证(Toast / 重定向 / 数据对比 / 富文本清空)。触发:保存验证、toast、重定向检测、Meta+A、保存成功判断。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.2 KB |
| references/data-comparison.md | markdown | 1.2 KB |
| references/macos-select-all.md | markdown | 1.1 KB |
| references/multi-tab-reentry.md | markdown | 1004 B |
references/macos-select-all.md
View on GitHub# macOS 富文本编辑器全选必须用 Meta+A
> 由 [save-verify-strategy](../SKILL.md) 按需加载。在 macOS 上操作富文本编辑器时才读。
macOS Chromium 中 `Control+A` 是 Emacs 快捷键(光标移到行首),**不是**"全选"。在 CKEditor / TinyMCE / Quill 等富文本编辑器中,`Control+A` 无法选中全部内容,导致旧内容残留。
❌ 反例:
```python
def fill_rich_text(self, text: str):
self.click(self.EDITOR)
self.page.keyboard.press("Control+A") # macOS 上只移动光标到行首
self.page.keyboard.press("Backspace") # 只删一个字符,旧内容残留
self.page.keyboard.type(text) # 新内容追加在旧内容后面
```
✅ 正例:
```python
def fill_rich_text(self, text: str):
self.click(self.EDITOR)
self.page.keyboard.press("Meta+A") # macOS Command+A = 全选
self.page.keyboard.press("Backspace") # 清空全部内容
self.page.keyboard.type(text) # 写入纯新内容
```
**排查信号**:填入的数据末尾多了旧内容残片(如 `"2026-05-06 10:30:00123"` 尾部多了 `123`)→ 全选快捷键无效。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |