-
Notifications
You must be signed in to change notification settings - Fork 66
docs: add AGENTS.md guide #2997
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
docs: add AGENTS.md guide #2997
Conversation
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.
1 file reviewed, no comments
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changesNo lines with coverage information in this diff. |
|
Have you made a quick test from a fresh repo with this agents.md which covers a task that relate to the instructions? |
i've been using variations of this file for a while :D i think it works well, but definitely makes sense to interate a bit. we should also just keep the instructions updated if anything doesnt seem to work well |
827d66e to
f73075d
Compare
f73075d to
49eb604
Compare
|
ok i think this is pretty safe to merge, we'll need to iterate on the instructions anyways if something feels off |
|
@daquinteroflex i also snuck in an update to the readme badges |
Greptile Overview
Greptile Summary
This PR adds a new
AGENTS.mddocumentation file that provides comprehensive guidelines for AI agents and human contributors working with the tidy3d repository. The guide covers:The document serves as a centralized reference to help maintain consistency and quality across contributions.
Confidence Score: 5/5
Important Files Changed
File Analysis
Sequence Diagram
sequenceDiagram participant Dev as Developer/Agent participant Repo as Repository participant Poetry as Poetry (Dependency Mgmt) participant PreCommit as Pre-commit Hooks participant CI as CI/CD System Note over Dev,CI: Initial Setup Dev->>Repo: Clone repository Dev->>Poetry: poetry install --with dev Poetry-->>Dev: Install dependencies Dev->>PreCommit: poetry run pre-commit install PreCommit-->>Dev: Enable hooks Dev->>PreCommit: poetry run pre-commit run --all-files PreCommit-->>Dev: Sync with hook set Dev->>Poetry: poetry run pytest Poetry-->>Dev: Validate environment Note over Dev,CI: Development Workflow Dev->>Repo: Read AGENTS.md guidelines Dev->>Repo: Make code changes Dev->>PreCommit: Commit (auto-run hooks) PreCommit->>PreCommit: Run ruff format, ruff check, doc hooks PreCommit-->>Dev: Validation result Dev->>Poetry: poetry run pytest Poetry-->>Dev: Test results Dev->>PreCommit: poetry run pre-commit run --all-files PreCommit-->>Dev: Final validation Note over Dev,CI: Schema Updates (if needed) Dev->>Poetry: poetry run python scripts/regenerate_schema.py Poetry-->>Dev: Generate schema artifacts Dev->>Repo: Commit schema changes Note over Dev,CI: Pull Request Dev->>Repo: Create PR (Conventional Commit + Jira key) Repo->>CI: Trigger CI checks CI->>CI: Run pytest, pre-commit, schema validation CI-->>Repo: CI status Repo-->>Dev: PR ready for review