@duckcoding-dev/duckcoding

by duckcoding-dev · v1.0.0 · prompt

0. fork项目:在 github 找到本项目的上游仓库: <https://github.com/DuckCoding-dev/DuckCoding> 并 fork 最新的 main 分支(后续开发前需确保sync fork以避免冲突),clone 到本地。

Install

Add @duckcoding-dev/duckcoding to Claude Code with the PolySkill CLI: polyskill add @duckcoding-dev/duckcoding

Instructions

# DuckCoding 开发协作规范 > 本文档为指导 AI AGENT 的开发协作规范,同时也作为 AI AGENT 开发指南和持久化项目记忆存在。 > 本文档作为项目记忆文档,需要及时更新。**请务必在开发完成后根据代码的实际情况更新本文档需要修改的地方以反映真实代码情况!!!** ## 核心命令一览 - `npm install`:安装前后端依赖(Node 18+ / npm 9+)。 - `npm run check`:开发工具链主入口,统一调度 AI Agent 配置检查 → ESLint → Clippy → Prettier → cargo fmt,并输出中文摘要。若缺少 `dist/`,会自动尝试 `npm run build` 供 Tauri Clippy 使用。 - `npm run check:fix`:修复版入口,顺序同上,遇可修复项会自动 `--fix`。 - `npm run tauri dev`:本地启动 Tauri 应用进行端到端手动验证。 - `npm run tauri build`: 本地构建 Tauri 应用安装包。 - `npm run test` / `npm run test:rs`:后端 Rust 单测(当前无前端测试,test 等同 test:rs)。 - `cargo test --locked`:Rust 单测执行器;缺乏覆…

Keywords: github, forking-repositories, git-cloning, version-control, repository-management, collaboration-tools, open-source-development, code-syncing, software-development