flow icon indicating copy to clipboard operation
flow copied to clipboard

Add GitHub Copilot instructions file

Open Copilot opened this issue 4 months ago β€’ 2 comments

Configures repository-specific instructions for GitHub Copilot coding agent per best practices.

Changes

  • Added .github/copilot-instructions.md with repository context:
    • Multi-module Maven project structure (flow-server, flow-client, flow-data, etc.)
    • Build/test/lint commands for Java 21+ with Jakarta EE 11
    • Core architecture: StateNode/StateTree state management, JacksonCodec serialization bridge, Element DOM abstraction
    • Key patterns: always pass executeJs parameters via $0/$1 (never concatenate), test-first development, run spotless before committing
    • Frontend tooling: Vite dev mode, TypeScript/React/Lit support
    • Task guidance: suitable for incremental work, extra caution on core state management changes

The instructions mirror the existing CLAUDE.md structure, adapted for GitHub Copilot's coding agent workflow.

Original prompt

This section details on the original issue you should resolve

<issue_title>✨Set up Copilot instructions</issue_title> <issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository

<Onboard this repo></issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes vaadin/flow#22632

πŸ’‘ You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Oct 30 '25 12:10 Copilot

Test Results

1β€ˆ281 files  ± 0  1β€ˆ281 suites  Β±0   1h 14m 54s ⏱️ -6s 8β€ˆ889 tests ± 0  8β€ˆ822 βœ… ± 0  67 πŸ’€ Β±0  0 ❌ Β±0  9β€ˆ347 runsβ€Š +32  9β€ˆ269 βœ… +31  78 πŸ’€ +1  0 ❌ Β±0 

Results for commit 54ab404e. ± Comparison against base commit d5205d36.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Oct 30 '25 12:10 github-actions[bot]