Skip to content

Adopt AGENTS.md for agent guidance#620

Merged
MasterJH5574 merged 2 commits into
apache:mainfrom
tqchen:tvm-ffi-agents-md-migration
Jun 13, 2026
Merged

Adopt AGENTS.md for agent guidance#620
MasterJH5574 merged 2 commits into
apache:mainfrom
tqchen:tvm-ffi-agents-md-migration

Conversation

@tqchen

@tqchen tqchen commented Jun 13, 2026

Copy link
Copy Markdown
Member

Agent instructions should live in vendor-neutral locations so different coding assistants can share the same repo guidance without making Claude-specific paths canonical. The existing content already describes the right workflows, but it was rooted under CLAUDE.md and .claude/skills.

This moves the preserved instruction content to AGENTS.md, keeps CLAUDE.md as a compatibility symlink, and makes .agents/skills the canonical repo-local skill directory. The Claude skills path now points back to .agents/skills, the obsolete Claude launch config is removed, and lint configuration is updated for the new agent-skill location and compatibility symlink.

Agent instructions need a vendor-neutral entrypoint so Codex, Claude, and other tooling can share the same repository guidance without treating Claude-specific paths as canonical. The previous setup kept the primary instructions and repo-local skill under CLAUDE.md and .claude/skills, which made compatibility paths look like the source of truth.

This moves the preserved instruction content to AGENTS.md, leaves CLAUDE.md as a symlink, moves the devtools skill to .agents/skills, and keeps .claude/skills as a symlink for Claude compatibility. The obsolete Claude launch configuration is removed, and the lint configuration now recognizes the new agent-skill location plus the compatibility symlink.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames CLAUDE.md to AGENTS.md, updates markdown linting and file type checking rules to accommodate the new .agents and .claude directories, and removes the devtools SKILL.md file. The review feedback suggests adding a note in AGENTS.md to clarify that the macOS-specific sysctl command for clang-tidy should be replaced with nproc on Linux environments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread AGENTS.md
@MasterJH5574 MasterJH5574 merged commit 8a0b93f into apache:main Jun 13, 2026
9 checks passed
haok1402 pushed a commit to mlc-ai/pith-train that referenced this pull request Jun 13, 2026
Agent guidance now lives in vendor-neutral locations so Claude Code and
other assistants can share one set of repo instructions, rather than
treating Claude-specific paths as canonical. AGENTS.md holds the content
(moved from CLAUDE.md) and the skills move to .agents/skills.

Backwards compatibility is preserved with no behavior change: CLAUDE.md
is now a thin `@AGENTS.md` import and .claude/skills is a symlink to
../.agents/skills, so existing Claude Code paths and tooling keep
resolving. Mirrors the layout adopted in apache/tvm-ffi#620.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants