Skip to content

Conversation

@dokterbob
Copy link
Contributor

@dokterbob dokterbob commented Dec 3, 2025

Trying OpenCode

Summary

  • Add AGENTS.md file to provide comprehensive guidance for AI coding agents working in this repository
  • Include essential moon commands for development, testing, linting, and building workflows
  • Document code style guidelines for both frontend (SvelteKit/TypeScript) and backend (Python) development
  • Outline architecture patterns including monorepo structure, tech stack, and AI integration approaches
  • Provide development workflow instructions covering environment setup, git hooks, and testing strategies

Details

This file enables AI agents (like OpenCode, Cursor, Copilot, etc.) to understand the project structure, use the correct moonrepo commands, follow established code patterns, and work efficiently within this SvelteKit/LangGraph monorepo. It consolidates information from existing documentation and codebase analysis into a concise, actionable format.

Testing

  • Verified moon commands work correctly
  • Confirmed code style guidelines match existing prettier/eslint configurations
  • Tested that agents can follow the documented patterns and conventions

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Run report for 80eaa3f9 (0)

Total time: 42.6s | Comparison time: 37.9s | Estimated loss: 4.7s (11.0% slower)

Action Time Status Info
⬛️ SetupProto(0.53.2) 0ms Skipped
🟩 SyncWorkspace 7.9ms Passed
🟩 SyncProject(backend) 0.4ms Passed
🟩 SetupToolchain(python:~3.12) 8.1s Passed
🟩 InstallProjectDeps(python:~3.12, backend) 2.8s Passed 2 attempts
🟩 RunTask(backend:format) 32.5ms Passed
🟩 RunTask(backend:lint) 33.1ms Passed
🟩 RunTask(backend:typecheck) 2.9s Passed
🟩 RunTask(backend:build) 28.7s Passed
Environment

OS: Linux
Matrix:

index = 0
Touched files
AGENTS.md
apps/backend/pyproject.toml
apps/backend/uv.lock
opencode.json

@dokterbob dokterbob force-pushed the feature/add-agents-md branch from 966c60d to ff238d2 Compare December 3, 2025 19:23
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Run report for 80eaa3f9 (1)

Total time: 39.5s | Comparison time: 35.1s | Estimated loss: 4.4s (11.1% slower)

Action Time Status Info
⬛️ SetupProto(0.53.2) 0.1ms Skipped
🟩 SyncWorkspace 8.5ms Passed
🟩 SyncProject(backend) 0.3ms Passed
🟩 SetupToolchain(python:~3.12) 7.4s Passed
🟩 InstallProjectDeps(python:~3.12, backend) 2.7s Passed 2 attempts
🟩 RunTask(backend:lint) 34.2ms Passed
🟩 RunTask(backend:typecheck) 2.8s Passed
🟩 RunTask(backend:build) 26.7s Passed
Environment

OS: Linux
Matrix:

index = 1
Touched files
AGENTS.md
apps/backend/pyproject.toml
apps/backend/uv.lock
opencode.json

@dokterbob dokterbob closed this Dec 3, 2025
@dokterbob dokterbob force-pushed the feature/add-agents-md branch from ff238d2 to 779740e Compare December 3, 2025 19:26
- Add essential moon commands for development, testing, and quality checks
- Include code style guidelines for frontend (SvelteKit/TypeScript) and backend (Python)
- Document architecture patterns and monorepo structure
- Provide development workflow instructions and environment setup guidance
- Enable AI agents to work effectively with moonrepo and project conventions
- Configure Ruff LSP in opencode.json with proper uv workspace setup
- Add ruff-lsp dependency to backend dev dependencies
- Update AGENTS.md with LSP configuration documentation
- Enables fast Python linting alongside existing Pyright type checking
@dokterbob dokterbob reopened this Dec 3, 2025
@dokterbob dokterbob marked this pull request as draft December 3, 2025 20:49
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