Preserve architecture
Tell the agent what to reuse, what not to rewrite, and how far a change should travel.
Choose Codex, Claude Code, Cursor, Copilot, Gemini CLI, or Devin Desktop (formerly Windsurf). Get the smallest documented file set without copying the same rules across every tool.
The recommendation updates immediately.
Nothing is uploaded. The planner uses only your tool selections.
4 files for 6 tools
# AI coding agent instruction file plan Selected tools: OpenAI Codex, Claude Code, Cursor, GitHub Copilot, Gemini CLI, Devin Desktop (formerly Windsurf) ## 1. AGENTS.md — canonical shared instructions Keep repository-wide commands, architecture boundaries, safety rules, and the definition of done here. Treat this file as the source of truth. ## 2. CLAUDE.md — Claude Code bridge ```md @AGENTS.md ``` Add Claude-only guidance below the import only when it genuinely differs from the shared rules. ## 3. .github/copilot-instructions.md — Copilot surface bridge ```md # Copilot compatibility Follow the repository-wide rules in the root AGENTS.md. ``` Keep this bridge only for Copilot surfaces that do not load AGENTS.md. Copilot CLI can replace the pointer above with a real relative include: ```md @../AGENTS.md ``` Do not assume that @ file references expand outside Copilot CLI. If a surface neither loads AGENTS.md nor expands the reference, keep the minimum essential repository rules self-contained here and verify the active instructions in that surface. ## 4. GEMINI.md — Gemini CLI bridge ```md @./AGENTS.md ``` Add Gemini-only context below the import only when needed. ## Tool-specific notes - Codex: AGENTS.md is the repository instruction file; no bridge is needed. - Cursor: AGENTS.md currently applies at the project root. Use .cursor/rules/*.mdc when a rule needs directory or file-pattern scope, globs, or another activation mode. - Devin Desktop (formerly Windsurf): AGENTS.md works directly. Use .devin/rules/*.md for cross-cutting rules that need explicit activation behavior; .windsurf/rules/*.md remains a legacy path. - Claude Code: verify the import with /memory after adding CLAUDE.md. - GitHub Copilot: cloud agent, code review, VS Code, and CLI can load AGENTS.md. Keep the .github bridge for surfaces that require repository-wide custom instructions; @ file references are explicitly documented for Copilot CLI only. - Gemini CLI: verify loaded context with /memory show. ## Drift-prevention checklist - Edit shared rules in AGENTS.md first. - Keep bridge files short and tool-specific. - Use scoped native rules only when the scope cannot be expressed by file location. - Re-check loaded instructions after changing filenames, imports, or repository layout.
Next step
Create a browser-local first draft, then use the plan above to connect it to the rest of your coding tools.
Live preview
# Acme dashboard An internal analytics dashboard for operations teams. ## Start here - Read the files nearest to the requested change before editing. - Follow the existing Next.js, TypeScript, and Tailwind CSS patterns and preserve the current architecture. - Use npm; do not introduce a second package manager or lockfile. - Treat existing user changes as intentional. Never discard or overwrite them. ## Working rules - Keep changes tightly scoped to the request. Avoid speculative refactors. - Run `npm test` after changes and fix failures caused by your work. - For UI work, preserve keyboard access, visible focus, semantic markup, and responsive behavior. - Never expose secrets, credentials, private data, or local environment values. - Explain non-obvious tradeoffs in the final handoff. ## Project-specific constraints Do not change database migrations without explicit approval. ## Definition of done - The requested behavior works end to end. - Relevant checks pass and no new warnings are introduced. - Changed code follows existing naming, formatting, and module boundaries. - The handoff states what changed, what was verified, and any remaining risk.
Generated locally in your browser. Your project details are not uploaded.
Drop in one manifest and get a local, copy-ready AGENTS.md with detected commands—no CLI, upload, or API key.
Why it works
Coding agents are better when the repository defines the boundaries. Repo Agent Kit turns vague preferences into instructions an agent can actually follow.
Tell the agent what to reuse, what not to rewrite, and how far a change should travel.
Make tests, checks, accessibility, and the final handoff part of the task—not an afterthought.
Keep user changes, credentials, lockfiles, and migrations away from accidental damage.
One source, six agents
Choose Codex, Claude Code, Cursor, Copilot, Gemini CLI, or Devin Desktop (formerly Windsurf) and get the smallest documented file set with AGENTS.md as the shared source.
Check readiness in a shareable report, then create an evidence-backed instruction file without an AI key.
See the 10-repository benchmarkAGENTS.md is a repository instruction file that tells compatible coding agents how to work in a project: commands, conventions, guardrails, and the definition of done.
Place it at the repository root for project-wide guidance. Larger repositories can add more specific files inside subdirectories when local rules need to override the root guidance.
Yes. Choose your agent and Repo Agent Kit changes the filename and, where needed, the file structure or frontmatter.
Yes. The repository audit checks public files without GitHub sign-in and creates a shareable readiness report. Private repositories are never requested.
No. The current generator builds and downloads the file entirely in your browser.