Skip to content

docs: add AGENTS.md scaffolding and cross-tool agent instructions #161

@Alberto-Codes

Description

@Alberto-Codes

Summary

Create an AGENTS.md file for the docvet repository and update docvet init (#150) to scaffold AGENTS.md alongside CLAUDE.md, .cursorrules, and .github/copilot-instructions.md.

Background

AGENTS.md is a new universal standard for project-level AI agent instructions, donated to the Agentic AI Foundation (Linux Foundation) by OpenAI. It is supported by:

  • OpenAI Codex CLI
  • Cursor
  • Windsurf
  • Kilo Code
  • GitHub Copilot (reads it alongside .github/copilot-instructions.md)

It uses plain Markdown with hierarchical placement (root + per-package). The spec lives at agents.md.

Scope

1. Create AGENTS.md for docvet itself

An AGENTS.md at the repo root documenting:

  • How to run docvet checks
  • Development conventions (Google-style docstrings, from future import annotations, etc.)
  • Test commands and patterns
  • Key architecture notes

2. Update docvet init (#150) to scaffold AGENTS.md

When docvet init runs on a user's project, it should offer to create/update:

  • AGENTS.md — universal agent instructions
  • CLAUDE.md — Claude Code specific
  • .cursorrules — Cursor specific
  • .github/copilot-instructions.md — Copilot specific
  • .windsurfrules — Windsurf specific

Each file gets a docvet-specific snippet: "After modifying Python functions, run docvet check --files <changed_files> and fix all findings before committing."

References

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions