agentleFS
DeadWaveWaveDeadWaveWave/opencove/AGENTS.md

opencove

AGENTS.md1.6k starsChanged 9 months agoMITView on GitHub

This file defines the Unified Execution Standard for all Agents (including Codex/Claude Code) working on the OpenCove repository. Your primary directive is to Read DEVELOPMENT.md first and strictly adhere to its rules. Follow the documented process before acting, and convert good engineering judgment into explicit steps, checks, and deliverables. Target: Rapid iteration of core features while ensuring regression testing, traceability, and acceptance. On every instruction, triage the request and tell the user whether it is Small or Large. Before implementation,…

Trending

Quiet since June.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 2 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the DeadWaveWave/opencove repository that our weekly crawl found: only 4 in all, so this is a hint, not a trend. There is no adoption data for this file yet.
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Top-tier Architecture Mindset: Never use a "patch" mindset.

    line 11
  2. Very specific:

    Golden Rule: ALWAYS read DEVELOPMENT.md at the start of a task.

    line 12
  3. Very specific:

    Monorepo: Always set correct CWD. Follow the file structure defined in DEVELOPMENT.md.

    line 13
  4. Very specific:

    Tooling Integrity: NEVER edit lock files or scripted generated code manually.

    line 14
  5. Distinctive:

    If the change touches runtime risk, ownership ambiguity, or cross-boundary behavior, upgrade it to Large.

    line 25
  6. Very specific:

    Action: Before coding, you MUST: Spec -> Approval -> (Feasibility Check if needed) -> Plan -> Approval.

    line 29
  7. Distinctive:

    Before implementation, do the following when the change is non-trivial:

    line 40
  8. Distinctive:

    Write 1-3 invariants before relying on scenario lists.

    line 43
  9. Distinctive:

    If ownership, authority, or semantics are ambiguous, stop and align before patching.

    line 44
  10. Distinctive:

    If the problem likely has existing industry practice, study external references before specing.

    line 45
  11. Distinctive:

    If fixing a real bug, leave behind a reusable asset such as a test, rule, assertion, or doc update.

    line 46
  12. Very specific:

    Keep detailed methods, examples, and execution playbooks in DEVELOPMENT.md and topic docs, not here.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

System Prompt: OpenCove Project AI Developer Agent

This file defines the Unified Execution Standard for all Agents (including Codex/Claude Code) working on the OpenCove repository.

Your primary directive is to Read DEVELOPMENT.md first and strictly adhere to its rules. Follow the documented process before acting, and convert good engineering judgment into explicit steps, checks, and deliverables.

Target: Rapid iteration of core features while ensuring regression testing, traceability, and acceptance.

1. Core Directives & Golden Rules

  1. Top-tier Architecture Mindset: Never use a "patch" mindset. Before coding, simulate how top-tier teams, famous open-source projects, or industry leaders would solve this problem. For mature industry problems, you MUST research them per REFERENCE_RESEARCH_METHOD.md.
  2. Golden Rule: ALWAYS read DEVELOPMENT.md at the start of a task. It is the default source of truth for architecture, workflow, commands, and detailed execution method.
  3. Monorepo: Always set correct CWD. Follow the file structure defined in DEVELOPMENT.md.
  4. Tooling Integrity: NEVER edit lock files or scripted generated code manually. Use the commands defined in the relevant module DEVELOPMENT.md (linked from root DEVELOPMENT.md).
  5. Commit Code, Not Analysis: Only code and this project's own long-lived documentation get committed. Research reports and per-PR review/acceptance write-ups are local decision artifacts — keep them out of the repo unless explicitly asked, and put review conclusions in the PR instead. If a finding has lasting value, fold the conclusion into the relevant project doc rather than committing the report.
  6. Keep AGENTS Concise: AGENTS.md should state key directives, decision gates, and non-negotiables only. Detailed methods, examples, and step-by-step execution guidance belong in DEVELOPMENT.md or topic docs.

2. Decision Framework (Small vs Large)

On every instruction, triage the request and tell the user whether it is Small or Large.

A. Small Change (Fast Feedback / 小步快反馈)

  • Scope: Localized, low-risk, non-structural work.
  • Action: Proceed directly, run targeted verification, and tell the user what risks you checked.
  • If the change touches runtime risk, ownership ambiguity, or cross-boundary behavior, upgrade it to Large.

B. Large Change (Deep Thinking / 慎重对齐)

  • Scope: New features, refactors, schema/API changes, cross-module logic, or runtime-risk work.
  • Action: Before coding, you MUST: Spec -> Approval -> (Feasibility Check if needed) -> Plan -> Approval.
    • Spec must EXPLICITLY cover:
      1. The best industry practice/reference (Simulate the top-tier mindset; explicitly research only if it's a mature industry problem per Rule 0).
      2. Business logic & acceptance criteria.
      3. State owners, invariants, and top risks.
      4. Planned verification.
    • Feasibility Check is required for new technology, high-performance work, system dependencies, or core refactors.
    • Plan must break execution into independently verifiable steps and identify the lowest meaningful regression layer for high-risk work.

3. Required Pre-Coding Checks

Before implementation, do the following when the change is non-trivial:

  • Identify mutable state, owner, allowed transitions, and what is only derived UI.
  • Write 1-3 invariants before relying on scenario lists.
  • If ownership, authority, or semantics are ambiguous, stop and align before patching.
  • If the problem likely has existing industry practice, study external references before specing.
  • If fixing a real bug, leave behind a reusable asset such as a test, rule, assertion, or doc update.

4. Risk & Compliance Checklist

For runtime-risk or Large work, explicitly check:

  • Async gaps, concurrency, and lifecycle cleanup.
  • State ownership, durable truth, and restart/recovery semantics.
  • Main/Preload/Renderer boundaries, IPC validation, and type safety.
  • Performance, resource lifecycle, and data integrity.

5. Verification & Handoff

  • Validate at the lowest meaningful layer first; use UI automation when UI regression risk warrants it.
  • Small changes may use targeted verification; final Large changes must pass the full required checks from DEVELOPMENT.md.
  • Keep detailed methods, examples, and execution playbooks in DEVELOPMENT.md and topic docs, not here.

6. Development Workflow

  1. Plan: Triage (Small/Large) -> Spec (if Large) -> Approval -> Feasibility Check (if needed) -> Plan -> Approval.
  2. Code (TDD): Red -> Green -> Refactor.
  3. Verify:
    • Small: Targeted unit/integration tests OK.
    • Final/Large: MUST run full suite (pnpm pre-commit).
  4. Commit: Gates passing is not delivery. git commit immediately after the gates pass, then prove it with git log --oneline <base>..HEAD (your commit is listed) and git status --short (empty). Never report work as complete while it exists only in the staging area or the working tree.
  5. Submit: Review self -> Update PR description -> Handover.

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.