Imported from ZWkang/rss-desktop (
AGENTS.md). Install upstream withnpx skills add ZWkang/rss-desktop. Copyright stays with the author.
Trellis Instructions
These instructions are for AI assistants working in this project.
This project is managed by Trellis. The working knowledge you need lives under .trellis/:
.trellis/workflow.md— development phases, when to create tasks, skill routing.trellis/spec/— package- and layer-scoped coding guidelines (read before writing code in a given layer).trellis/workspace/— per-developer journals and session traces.trellis/tasks/— active and archived tasks (PRDs, research, jsonl context)
If a Trellis command is available on your platform (e.g. /trellis:finish-work, /trellis:continue), prefer it over manual steps. Not every platform exposes every command.
If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:
.agents/skills/— reusable Trellis skills.codex/agents/— optional custom subagents
Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future trellis update.
语言
默认使用简体中文交流。项目自有 Markdown、规划和用户可见文案使用简体中文;代码标识符、包名和协议字段可使用英文。
开发规则
- 开始编码前读取
.trellis/spec/shared/index.md和目标包规范。 - 失败必须显式暴露;禁止模拟成功、静默降级、吞错或仅为通过测试而放宽边界。
- 应用包之间不直接导入私有实现,跨边界数据统一由
@agent-collab/contracts定义。 - 不为路线图能力提前创建空包、占位端点、占位命令或不可用按钮。
- 任何源码、文档、Trellis 任务、提交消息和 Git 元数据都不得包含个人/企业邮箱或真实用户目录、工作区绝对路径;提交身份统一使用项目批准的 GitHub noreply,路径统一写成
<repo-root>、<ui-worktree-root>或<home>。 - 优先执行最窄的包级验证,收尾必须运行
bun run check与git diff --check。
浏览器自动化
网页或 Electron 可见性检查优先使用 agent-browser。先运行 agent-browser --help 确认本机版本支持的命令;若 Electron 连接能力不可用,必须明确暴露工具错误,再使用真实打包产物的自动化与截图验证,不得伪造页面。
