-
Notifications
You must be signed in to change notification settings - Fork 3
AI Agent Documentation Optimizations #1104
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
Conversation
🤖 Augment PR SummarySummary: Streamlines the AI agent documentation by replacing a large, detailed guidance doc with shorter, task-focused instructions and linking out to dedicated AI docs. Changes:
Technical Notes: The intent appears to be reducing “context pollution” while keeping key conventions discoverable via smaller, targeted docs. 🤖 Was this summary useful? React with 👍 or 👎 |
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.
AGENTS.md
Outdated
| 1. Run `npm run typecheck` and fix any issues | ||
| 2. Run `npx lint-staged` to lint and auto-fix staged files (preferred), or `npm run lint` to lint all files | ||
| 3. Instruct the user on specific manual tests to perform | ||
| - **Styling:** `docs/ai/styling.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.
AGENTS.md links to docs/ai/styling.md and docs/ai/api-layer.md, but in this PR the added files are docs/ai/api.md/docs/ai/state-management.md and the old docs/styling.md is removed; this will leave broken references for readers (also applies to the other items in this list).
🤖 Was this useful? React with 👍 or 👎
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.
thanks!
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.
5 files reviewed, 2 comments
Description
Update AI agent docs, optimizing for concise, clear instructions with minimal unnecessary context pollution
Note
Refactors and consolidates AI agent documentation for clarity and brevity.
AGENTS.mdwith concise agent workflow, codebase conventions, component/style guidance, and references to new docsdocs/ai/api.mdcovering curried API usage and Effect-based schema enforcement patternsdocs/ai/state-management.mdsummarizing SWR/Zustand/Context patterns and cache invalidation approachdocs/schema-enforcement-from-backend.mdanddocs/styling.mdWritten by Cursor Bugbot for commit b374ccf. This will update automatically on new commits. Configure here.
Greptile Summary
Consolidates verbose AI agent documentation into concise reference files, moving detailed architecture patterns from
AGENTS.mdinto separatedocs/ai/api.mdanddocs/ai/state-management.mdfiles. Removes legacydocs/schema-enforcement-from-backend.md(406 lines) anddocs/styling.md(8 lines) in favor of streamlined guidance integrated directly intoAGENTS.md.