♻️ (agent-files) [NO-ISSUE]: Unified agent files#1493
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
There was a problem hiding this comment.
Pull request overview
Consolidates Claude Code and Cursor agent configuration under a single agent-files/ directory, eliminating duplication by sharing commands, skills, and release scripts via symlinks. .claude/ and .cursor/ at the repo root become symlinks to agent-files/{claude,cursor}/, keeping both tools working without consumer-side changes.
Changes:
- Move shared commands, skills, and release
.cjsscripts intoagent-files/{commands,skills,scripts/release} - Add tool-specific entry points:
agent-files/claude/(settings) andagent-files/cursor/(hooks, rules, hook scripts) - Update path references in skill docs and hooks from
.cursor/...toagent-files/...
Reviewed changes
Copilot reviewed 25 out of 40 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| agent-files/skills/{release,backmerge,commit,changeset}/SKILL.md | Add YAML frontmatter (name/description) and rewrite script paths to agent-files/scripts/release/ |
| agent-files/scripts/release/*.cjs (preflight, discover, set-private, pin-deps, bump, changelog, cleanup, create-pr, revert-private, unpin-deps, config) | New canonical location for release automation scripts (moved from .cursor/scripts/release/) |
| agent-files/cursor/scripts/hooks/{format,post-task-checks}.cjs | New canonical location for Cursor-only hook scripts |
| agent-files/cursor/hooks.json | Update hook command paths to agent-files/cursor/scripts/hooks/... |
| agent-files/commands/{create-pr,trigger-snapshot-release}.md | Move shared slash-command docs into the unified directory |
| agent-files/claude/settings.local.json | Add Claude Code permission allow-list |
| .cursor/commands/{commit,changeset}.md | Delete stubs (replaced by skills under agent-files/skills/) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0db5e0f to
1feae6a
Compare
|




📝 Description
This PR unifies all agent-related configuration (Claude Code and Cursor) under a single
agent-files/directory, eliminating the previous duplication between.claude/and.cursor/.Layout
.claudeand.cursorat the repo root are now symlinks toagent-files/claudeandagent-files/cursor, so both tools keep working with zero config changes on the consumer side.Why
agent-files/{commands,skills}/and symlinking from each agent folderrules/,hooks.json; Claudesettings.local.json) co-located with the tool they belong to❓ Context
✅ Checklist
.claude/and.cursor/are now symlinks → repo must be cloned on a filesystem that supports symlinks (any non-Windows-default checkout, or Windows withcore.symlinks=true).cursor/moved toagent-files/(renames only, no content changes for.cjsand shared files)