Skip to content

Add Copilot instructions#2286

Merged
lahma merged 2 commits intosebastienros:mainfrom
lahma:copilot-instructions
Feb 15, 2026
Merged

Add Copilot instructions#2286
lahma merged 2 commits intosebastienros:mainfrom
lahma:copilot-instructions

Conversation

@lahma
Copy link
Collaborator

@lahma lahma commented Feb 15, 2026

No description provided.

@lahma lahma enabled auto-merge (squash) February 15, 2026 18:08
@lahma lahma force-pushed the copilot-instructions branch from ee21028 to 8176c88 Compare February 15, 2026 18:08
Copy link
Owner

@sebastienros sebastienros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally there should be a section on his to run the benchmarks and add new ones, so it can also irritate iterate on these. Preferably with short jobs.

@sebastienros
Copy link
Owner

Also maybe just use an AGENTS.md since that will be useful for any agent. Not just Copilot

@lahma lahma assigned lahma and Copilot and unassigned lahma and Copilot Feb 15, 2026
@lahma lahma disabled auto-merge February 15, 2026 18:24
lahma and others added 2 commits February 15, 2026 20:29
… section

- Rename .github/copilot-instructions.md to AGENTS.md (agent-agnostic)
- Fix parser library name: Esprima -> Acornima
- Add Benchmarks section with run commands, adding new benchmarks, and quick validation (--job short)
- Update code patterns to reflect current main branch:
  - Lazy init applies to JintStatement only (not JintExpression)
  - Document Engine.PrepareScript()/PrepareModule() pattern
  - Interpreter classes use EvaluationContext instead of _engine reference
  - SingleScriptBenchmark uses FileName (not Script/N)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lahma lahma force-pushed the copilot-instructions branch from 8176c88 to ce60383 Compare February 15, 2026 18:30
@lahma lahma merged commit db0d116 into sebastienros:main Feb 15, 2026
4 checks passed
@lahma lahma deleted the copilot-instructions branch February 15, 2026 18:37
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.

3 participants