flowix-note
Featured在 Flowix 默认笔记本 (nb_default) 写一条「本次修复问题」笔记。标题 `N<月日>-<标题>`,正文按问题描述/环境/复现/原因/建议方法/修复方法 六段。
Data & Documents 409 stars
52 forks Updated today MIT
Install
Quality Score: 90/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Flowix Note
把一次修复沉淀到 Flowix 默认笔记本 (`nb_default`, `~/Documents/flowix/`)。
**走项目自带 CLI** 写盘,不要直接编辑 .md ── 绕开 CLI 会让 `index.json` 漏同步。
## CLI
```
FLOWIX_CLI="/Users/rop/Desktop/flowix-main/app/flowix-desktop/binaries/flowix-cli-aarch64-apple-darwin"
```
> macOS arm64 默认路径。换 host 后跑 `bash scripts/build-cli.sh` 重编,
> 用 `FLOWIX_CLI` 环境变量覆盖。
## 触发
用户说"记录一下 / 写个 fix 笔记 / 存到 Flowix / 写一条修复记录",或执行 `$flowix-note`。
## 工作流
1. **收集六要素**(缺则追问一次):
- `title` 一句话问题描述
- `env` 日期(本地 `YYYY-MM-DD`)、产品模块、版本(无则 `N/A`)
- `repro` 复现步骤或现象
- `root` 根因,带 `path:file:line` 引用
- `suggest` 建议方法(可与 fix 合并)
- `fix` 修复方法,带 `path:file:line` 引用
2. **构造标题** ── `N<月日>-<title>`,本地时区,月日两位补零:
- `printf '%02d%02d' $(date +%-m) $(date +%-d)`
- >60 字截断 + `…`
3. **拼 body**(markdown,H1 在最前),然后 stdin 写盘:
```bash
body="$(cat <<EOF
# N\${MMDD}-\${slug}
## 问题描述
...
## 环境信息
- 日期: \${DATE}
- 产品模块: ...
- 版本: ...
## 问题复现
...
## 问题原因
...
## 建议方法
...
## 修复方法
...
EOF
)"
"$FLOWIX_CLI" new nb_default - <<< "$body"
```
4. **回报** ── 把 CLI 的 `id` / `title` / `file` + body 六要素给用户。
## 行为约束
- 默认笔记本 `nb_default`。用户说"写到工作笔记"等改用对应 id/name。
- 重复检测:`flowix-cli list nb_default | grep '<title>'` 命中则提示并跳过。
- 不加版权/license header,不附 emoji。
- 日期用本地时区(Asia/Shanghai),不用 UTC。
- 缺要素写 `N/A` 而不是省略小节。
## 自检
- [ ] 标题 `N<月日>-<title>`,月日两位
- [ ] 六要素全有
- [ ] 环境信息含本地日期
- [ ] 根因/修复带 `path:file:line`
- [ ] CLI 走 stdin(`new nb_default -`),不用 `$EDITOR`
- [ ] 退...
Details
- Author
- text2future
- Repository
- text2future/flowix
- Created
- 3 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Data & Documents Listed
readme-writing
写 README / 用户指南、重写旧文档,或软件改了 UI/流程/文案后回来同步时使用。一套面向非技术用户的写作范式:读者画像��行、结论先行、可扫读、措辞统一、界面文案「」引用,附章节骨架与自检清单。中文优先,可迁移;CLI / 库 / 开发者文档按「变体」调整。
0 Updated today
KuroNya39 AI & Automation Listed
postmortem-note
After a non-trivial bug fix, debugging session, or config issue, generates a structured postmortem note in the user's knowledge base for future reference ("以史为鉴"). Use when the user says "沉淀文档", "记录这次修复", "写个复盘", "/postmortem", or after a multi-step debugging session wraps up.
1 Updated 2 weeks ago
f22363712-dotcom AI & Automation Listed
finish
完成当前开发项:撰写 SUMMARY.md,反思跨项目可沉淀流程并可向 claude-code-global 提 issue,关联并关闭 issue(GitHub / GitLab,如有),提交代码
0 Updated yesterday
pkulijing