[PR #5942] docs: add AGENTS.md guide for AI agents #20587

Closed
opened 2026-04-14 21:40:53 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5942

State: closed
Merged: Yes


This PR adds a comprehensive AGENTS.md file to help AI agents (like Cursor) work effectively with the Actual Budget codebase.

What's included:

  • Project Overview: Description of Actual Budget, repository structure, and links
  • Quick Start Commands: Essential commands for development, testing, and linting
  • Architecture & Package Structure: Detailed breakdown of all 9 packages in the monorepo
  • Development Workflow: Best practices for making changes, testing, and type checking
  • Code Style & Conventions: TypeScript/React patterns, naming conventions, and forbidden patterns
  • File Structure Patterns: Example component and test file structures
  • Important Directories & Files: Where to find key files and what to avoid editing
  • Common Development Tasks: Recipes for frequent operations
  • Troubleshooting: Solutions to common issues (type errors, linter errors, test failures, etc.)
  • Testing Patterns: Unit, E2E, and visual regression testing guidelines
  • Code Quality Checklist: What to verify before committing
  • Pull Request Guidelines: Notes about labeling AI-generated PRs

This guide will be particularly useful for AI coding assistants to understand the project structure, conventions, and best practices without needing to explore the codebase extensively.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5942 **State:** closed **Merged:** Yes --- This PR adds a comprehensive AGENTS.md file to help AI agents (like Cursor) work effectively with the Actual Budget codebase. ## What's included: - **Project Overview**: Description of Actual Budget, repository structure, and links - **Quick Start Commands**: Essential commands for development, testing, and linting - **Architecture & Package Structure**: Detailed breakdown of all 9 packages in the monorepo - **Development Workflow**: Best practices for making changes, testing, and type checking - **Code Style & Conventions**: TypeScript/React patterns, naming conventions, and forbidden patterns - **File Structure Patterns**: Example component and test file structures - **Important Directories & Files**: Where to find key files and what to avoid editing - **Common Development Tasks**: Recipes for frequent operations - **Troubleshooting**: Solutions to common issues (type errors, linter errors, test failures, etc.) - **Testing Patterns**: Unit, E2E, and visual regression testing guidelines - **Code Quality Checklist**: What to verify before committing - **Pull Request Guidelines**: Notes about labeling AI-generated PRs This guide will be particularly useful for AI coding assistants to understand the project structure, conventions, and best practices without needing to explore the codebase extensively.
GiteaMirror added the pull-request label 2026-04-14 21:40:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20587