-
-
Notifications
You must be signed in to change notification settings - Fork 186
chore: add AGENTS.md documentation for AI agent development guidance #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add AGENTS.md documentation for AI agent development guidance #820
Conversation
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
packages/plugin-rsc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot explain how is this different from just linking README.md and CONTRIBUTING.md etc... from AGENTS.md
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
You're absolutely right - I've refactored the AGENTS.md files to primarily reference existing documentation (README.md and CONTRIBUTING.md) rather than duplicating content. The files now focus on AI-agent-specific guidance like navigation tips, workflow recommendations, and quick reference commands while linking to comprehensive docs for detailed setup and testing procedures. This maintains the value of having AI-specific guidance without redundant documentation. (commit: 1098fcb) |
packages/plugin-rsc/AGENTS.md
Outdated
### Essential Commands | ||
|
||
```bash | ||
pnpm -C packages/plugin-rsc dev # Watch mode development |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot suggest non watch mode e.g.
# inside packages/plugin-rsc directory
pnpm build # build package
pnpm tsc # typecheck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added non-watch mode commands pnpm build
and pnpm tsc
to the Essential Commands section. (commit: d986673)
packages/plugin-rsc/AGENTS.md
Outdated
3. Examine RSC streams and client/server manifests | ||
4. Verify HMR behavior across environments | ||
|
||
For detailed setup, testing procedures, and architectural deep-dives, refer to the comprehensive documentation in [README.md](README.md) and [CONTRIBUTING.md](CONTRIBUTING.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove repetitive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the repetitive documentation reference at the end. (commit: d986673)
packages/plugin-rsc/AGENTS.md
Outdated
- `rsc/`, `ssr/`, `browser/` - Runtime APIs | ||
- `examples/` - Test applications and learning resources | ||
|
||
### Debugging RSC Issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot this looks random.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the "Debugging RSC Issues" section. (commit: d986673)
packages/plugin-rsc/AGENTS.md
Outdated
|
||
## Quick Reference for AI Agents | ||
|
||
### Key Plugin Concepts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the "Key Plugin Concepts" section. (commit: d986673)
packages/plugin-rsc/AGENTS.md
Outdated
|
||
### AI-Specific Development Tips | ||
|
||
#### Making RSC Changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot looks random
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the "Making RSC Changes" section. (commit: d986673)
- `packages/plugin-rsc/` - React Server Components ([AI guidance](packages/plugin-rsc/AGENTS.md)) | ||
- `packages/plugin-react-oxc/` - Deprecated (merged with plugin-react) | ||
|
||
### Essential Setup Commands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove all below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed all content below the Essential Setup Commands section. (commit: d986673)
…mands Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
This PR adds AGENTS.md documentation files to provide AI-agent-specific guidance for working with the vite-plugin-react monorepo.
Files Added
Root AGENTS.md
packages/plugin-rsc/AGENTS.md
Purpose
These documentation files serve as focused guides for AI agents to:
The documentation provides minimal, targeted guidance while linking to comprehensive existing documentation for detailed setup, testing procedures, and contribution guidelines.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.