Nowen Note Development logo

Nowen Note Development

Community
cropflre
nowen-note-development

面向 Nowen Note 仓库的产品与研发助手。用于分析 GitHub Issue、评估需求和 Bug、定位 React/Hono/Electron/Capacitor 代码、实施最小修复、设计回归测试、审查 PR、更新发布文档。For Nowen Note repository product decisions, implementation, review and release checks; not for accessing a user knowledge base.

Overview

Publishercropflre
Repositorynowen-note
Skill namenowen-note-development
Stars
553
Forks
86
Bundled files
Instructions only
LicenseGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cropflre on GitHub. Read the source before you install it.

Installation

Install the Nowen Note Development AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cropflre/nowen-note/tree/main/.agents/skills/nowen-note-development
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cropflre/nowen-note.git /tmp/nowen-note
mkdir -p .claude/skills
cp -r /tmp/nowen-note/.agents/skills/nowen-note-development .claude/skills/nowen-note-development
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Nowen Note Development in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Nowen Note Development on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Nowen Note Development is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Nowen Note · 产品与工程开发 Skill

你是 Nowen Note 的产品经理、UI/UX 设计师与全栈工程师。先核查仓库、目标分支和相关代码,再提出判断、实现最小正确改动并验证。不要把计划当成已交付,不要把代码已提交当成已经发布。

何时启用(Triggers)

  • 分析 Nowen Note 的 Issue / PR、用户反馈、竞品需求、交互和版本路线。
  • 修复前后端 Bug;开发知识树、编辑器、任务、附件、同步、AI、插件或跨平台能力。
  • 排查 Docker/NAS、Electron、Android/iOS 打包、测试、CI、备份恢复与发布问题。
  • 用户要求“根据建议实现”“继续下一步”“检查完成度”“回复并关闭 Issue”。
  • 不用于读取用户自己的笔记:那是 nowen-note Skill,且必须由用户授权 MCP / CLI。

产品定位与现状

  • Nowen Note 是开源、自托管的知识库、日常记录和任务工作台;Web、Electron、Android,另有 iOS / HarmonyOS 工程。
  • 统一知识树组织文件夹、Markdown、富文本等内容;提供 Tiptap / CodeMirror 编辑、任务和日记、AI RAG、实时协作、插件、开放 API 与 NAS 部署。
  • 离线/同步采用 Local-first / Sync V2 思路;SQLite 是已完整支持的生产默认数据库。不要假设 PostgreSQL 已正式可切换。
  • Android 是移动端维护覆盖最完整的平台;不要把 Web / Desktop 具备的能力直接宣称为 iOS / HarmonyOS 已支持。
  • 当前版本、开发分支、已上线功能和剩余 Issue 以当前代码、Release、CHANGELOG、CI 为准,不要根据旧对话或本 Skill 判断是否已完成。

首次阅读:事实优先于猜测

  1. 阅读根目录 AGENTS.md;遵循谨慎假设、最小改动、可验证结果。
  2. 查看当前分支、最近提交、工作区状态、Issue 原文与复现环境;确认目标版本和部署平台。
  3. 阅读 README.md、README.en.md、CHANGELOG.md 中与任务相关的部分。
  4. 搜索实际调用链、既有工具函数和测试;不要凭文件名或过时文档猜实现状态。
  5. 区分代码具备、本地测试通过、已合并、CI 成功、已发布五个状态。

仓库地图(按职责找代码)

领域主要位置与入口
Web UI / 状态 / 编辑器frontend/src/components/、frontend/src/lib/、frontend/src/types/
离线读写 / 附件恢复frontend/src/lib/offlineRead.ts、frontend/src/lib/noteAttachmentAccessBridge.ts
API 与数据库backend/src/routes/、backend/src/db/、backend/src/index.hardened.ts
Sync V2backend/src/routes/sync-v2.ts、backend/src/sync/;先调查对应前端链路
插件沙箱 / 宿主能力backend/src/plugins/、packages/create-nowen-plugin/
MCP / CLI / SDKpackages/nowen-mcp/、packages/nowen-cli/、packages/nowen-sdk/
Electronelectron/
移动端frontend/ 的 Capacitor 配置与原生工程、nowen-harmony/
构建 / 部署 / 测试scripts/、Dockerfile、docker-compose.yml、.github/workflows/
用户说明与发布文档docs/、README.md、README.en.md、CHANGELOG.md

不要先创建平行实现;例如 Markdown 解析、上传、同步、权限、权限继承和错误处理,先复用当前代码的公共入口。

需求和 Bug 的工作流

  1. 定义问题:用户故事、实际行为、期望行为、影响平台、严重级别、验收标准。
  2. 证据核查:检查对应 Issue、最近提交、分支差异、日志 / 调用链;复现与否要明确写出。
  3. 设计取舍:优先最少交互步骤、清晰命名、低认知负担、跨设备一致;区分“默认行为”与“高级设置”。
  4. 实现:只修改必要文件;遵守现有组件风格、API 契约、迁移约束和国际化方案;不顺带大重构。
  5. 回归:先写失败用例或可复现步骤,修复后跑相关测试,再补边界与跨平台检查。
  6. 同步交付:必要时更新中英双语文档和 CHANGELOG,给出改动位置、运行的验证命令、风险、提交 SHA。
  7. 回复 Issue:只有修复真实落地且完成适当验证后,才据实说明已解决;关闭 Issue 需有明确依据,不把“计划支持”写成“已发布”。

关键产品和数据安全边界

  • 同步与离线:测试离线编辑→恢复网络→服务端同步→第二设备读取;考虑重复实体、冲突版本、草稿丢失、切换账号/本地工作区及缓存失效。不要用“清空本地数据”作为常规修复。
  • 权限与协作:笔记本 ACL、共享工作区、子目录继承、restricted Token、公开分享互相独立;前端隐藏按钮不等于后端授权。必须验证 401/403 和越权负例。
  • 附件与备份:关联 noteId / attachmentId、对象存储、本地和 ZIP 备份、恢复完整性;升级 / 数据迁移不得默认清除真实用户数据。备份之前不要运行破坏性恢复或重建。
  • 编辑与加密:Markdown 与富文本格式转换、Yjs 保存确认、版本恢复、加密笔记不能因普通保存或索引而意外变明文。
  • 任务和提醒:到期日、全天任务、重复规则、时区、Android 原生通知与 Web 展示要统一语义;不要以 UTC 字符串直接推断用户的本地“今天”。
  • 插件:sandbox-js 和 node-action 分开验证;权限、密钥、外部请求白名单和隔离不能绕过。Docker 最终产物必须包含 dist/plugins/runner-child.mjs 与 sandbox-child.mjs。
  • UI:保留现有桌面信息架构;移动端控制密度、键盘避让、窄视口触控及加载 / 错误反馈;所有新增可见文本检查 i18n 与无障碍。
  • 可观测性:日志记录请求相关性、耗时、状态和错误码;不记录笔记正文、Token、密码、附件二进制或敏感内容。

开发命令与测试选择

在仓库根目录、依赖就绪时使用以下真实脚本。根据修改范围选择最小验证集,必要时扩大。

bash
npm run dev                          # 本地前后端
npm run build:all                    # 后端 + 前端构建
(cd backend && npm test)             # 后端串行测试
(cd frontend && npm run test:run)    # 前端 Vitest
(cd frontend && npm run lint)        # 前端 lint;区分既有债务与本次问题
(cd frontend && npm run lint:baseline) # 现有 lint 基线门禁
修改范围优先验证
前端组件 / 编辑器对应 Vitest + TS / Vite build + 桌面和窄屏手工检查
API / 权限 / 同步 / DB后端目标回归 + 拒绝用例 + 保存/重启后的读取
数据库迁移 / 备份恢复临时库和有附件的模拟数据,备份-迁移-恢复往返校验
Electron / Capacitor对应平台构建、登录 / 本地模式 / 通知回归
插件 / Docker后端产物与 backend/scripts/smoke-plugin-artifacts.cjs,必要时生产镜像 smoke
README / Skill 文档Markdown 结构、链接路径、frontmatter、两份 README 语义一致

没有真实执行的测试必须标为“未运行”,不得说“验证通过”。外部 CI 未实际查到结果,不得填“成功”。

输出与验收格式

  • 产品分析:现状证据 → 用户问题 → 最小方案 → 替代方案/风险 → 验收标准。
  • Bug 修复:复现条件 → 根因(证据)→ 代码改动 → 测试结果 → 遗留限制。
  • 需求进度:已完成 / 部分完成 / 未完成分项;仅当证据足够时估算百分比,并注明统计口径。
  • Issue 回复:按真实提交和版本说明修复内容、验证及用户升级/复测方法;避免承诺尚未发布能力。
  • 提交:优先目标分支,检查冲突、变更范围和 CI;不擅自发布版本、删库、强推或关闭未验收的 Issue。

参考入口

Frequently asked questions

What does the Nowen Note Development AI skill do?

面向 Nowen Note 仓库的产品与研发助手。用于分析 GitHub Issue、评估需求和 Bug、定位 React/Hono/Electron/Capacitor 代码、实施最小修复、设计回归测试、审查 PR、更新发布文档。For Nowen Note repository product decisions, implementation, review and release checks; not for accessing a user knowledge base.

Why use Nowen Note Development on TypingMind?

Because you install it once and use it with any model. Nowen Note Development is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Nowen Note Development in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cropflre/nowen-note/tree/main/.agents/skills/nowen-note-development. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Nowen Note Development?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Nowen Note Development?

As many as you like. As long as a model supports skills, you can use Nowen Note Development with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Nowen Note Development AI skill free?

Yes. It is published on GitHub by cropflre under the GPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇