agentleFS
fancy1108fancy1108/Clutch/AGENTS.md

Clutch

AGENTS.md90 starsChanged 5 months agoMITView on GitHub

跨 AI 工具的统一入口。不要在本文件维护实质规则——规则只写在权威源里,本文件只做指针。 For Claude Code users: see CLAUDE.md. For Cursor Agent users: .cursor/rules/base.mdc applies automatically; canonical rules remain in CLAUDE.md. For GitHub Copilot users: see .github/copilot-instructions.md. For frontend UI work: see docs/UI_UX_GUIDELINES.md. Durable notes for cloud agents (the startup update script already runs pnpm install + uv sync --extra dev for the orchestrator). Standard commands live in CLAUDE.md §核心命令 and docs/BUILD_FROM_SOURCE.md; this section only captures non-obvious cloud gotchas. - uv is not in the base image. It is installed…

  • Sends data out

The file

Files
AGENTS.md

Clutch — Agent Instructions Index

跨 AI 工具的统一入口。不要在本文件维护实质规则——规则只写在权威源里,本文件只做指针。

文档读者用途
CLAUDE.mdClaude Code、全体开发者唯一权威:铁律、命令、Check-in、日志规范
memory/PROGRESS.md所有 Agent跨会话进度接力棒
memory/DELIVERABLES.md所有 AgentTask 交付索引(Commit / Verification / 证据)
memory/DECISIONS.md所有 Agent最新决策与开放问题(唯一汇总地)
memory/FILEMAP.md所有 Agent文件路径速查(Check-in 用)
specs/core/proposal.md产品追溯历史快照,非权威
specs/core/tasks.md全体开发者M0–M4 开发任务清单
specs/core/clutch-agent-capability-plan.mdChat Agent 开发者Chat 自研 Clutch Agent 能力交付表 D0–D53(D44)
specs/core/prd-one-click-interactive-prototype.md全体开发者一键原型生成与交互契约规格 (PRD)
specs/core/hybrid-runtime-plan.mdHybrid 开发者D25 HRT Task 与验收(权威)
specs/core/d34-terminal-orchestra-plan.mdTerminal Orchestra 开发者D34 多 Lane / Handoff Task 定义
specs/core/frontend-modules-plan.md全体开发者前端可点验模块 FM-01…FM-22(D56)
docs/FRONTEND_MODULES_ACCEPTANCE.mdPM / 验收FM-01…22 桌面点验剧本(入口、步骤、期望)
specs/core/design.md前端开发者视觉设计快照 → docs/UI_UX_GUIDELINES.md
docs/UI_UX_GUIDELINES.md前端开发者React + Tailwind UI/UX 规范
docs/DESIGN_WORKSPACE_GUIDE.md产品与业务人员Design 模式产品功能与业务逻辑分析指南
docs/DESIGN_PRODUCT_INTRO.md产品与业务人员Design 模式 WHAT/WHY(不写 HOW)
.cursor/rules/base.mdcCursor Agent精简指针(alwaysApply)→ CLAUDE.md
.github/copilot-instructions.mdGitHub Copilot精简指针 → CLAUDE.md
docs/document-governance.md架构评审五层架构、权威真相、文档生命周期
docs/agents/issue-tracker.mdAgent skills问题追踪器配置(GitHub)
docs/agents/triage-labels.mdAgent skills标签词表映射
docs/agents/domain.mdAgent skills领域文档消费规则
docs/ARCHITECTURE.md架构评审系统设计详述(叙事 + ADR)

For Claude Code users: see CLAUDE.md.

For Cursor Agent users: .cursor/rules/base.mdc applies automatically; canonical rules remain in CLAUDE.md.

For GitHub Copilot users: see .github/copilot-instructions.md.

For frontend UI work: see docs/UI_UX_GUIDELINES.md.


Cursor Cloud specific instructions

Durable notes for cloud agents (the startup update script already runs pnpm install + uv sync --extra dev for the orchestrator). Standard commands live in CLAUDE.md §核心命令 and docs/BUILD_FROM_SOURCE.md; this section only captures non-obvious cloud gotchas.

  • uv is not in the base image. It is installed to ~/.local/bin (added to ~/.bashrc). If uv is missing from PATH, invoke it as ~/.local/bin/uv.
  • Run in web dev mode, not Tauri, on the Linux cloud VM. pnpm tauri:dev targets macOS/Windows and needs the Rust WebKitGTK desktop toolchain, so it is not runnable headless here. Instead run the two services separately:
    • Sidecar: cd services/orchestrator && ~/.local/bin/uv run uvicorn src.main:app --reload --host 127.0.0.1 --port 8124
    • Frontend: pnpm dev (Vite on :3000, proxies /api, /ws, /health → 8124). Health check: curl -s http://127.0.0.1:8124/health → {"status":"ok",...}.
  • Web mode has no folder picker. Workspace/folder selection needs Tauri desktop APIs, so onboarding blocks core features (chat, workflows). To unblock in the browser, authorize a workspace directly against the sidecar: curl -X POST http://127.0.0.1:8124/api/workspaces -H 'Content-Type: application/json' -d '{"path":"/abs/path"}' (auto-activates). Mark onboarding done via curl -X POST http://127.0.0.1:8124/api/preferences/onboarding-complete, then reload the page.
  • Agent/chat runs need credentials. Without a connected CLI or a cloud LLM API key (Settings → Models), sending a chat returns a clear "No API key configured for provider …" error — this is expected, not a bug. Workflow (SOP) editing on the canvas works without any keys.
  • pnpm lint (tsc --noEmit) is not part of the CI gate and currently has pre-existing type errors in some *.test.ts files. The authoritative verification is ./scripts/verify.sh (build + vitest + pytest + doc-drift); vitest transpiles via esbuild so tests pass regardless.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.