Skip to content

Add a SKILL for adding and verifying copyright headers#9779

Merged
elliette merged 4 commits intoflutter:masterfrom
elliette:copyright-skill
Apr 17, 2026
Merged

Add a SKILL for adding and verifying copyright headers#9779
elliette merged 4 commits intoflutter:masterfrom
elliette:copyright-skill

Conversation

@elliette
Copy link
Copy Markdown
Member

Adds a SKILL for copyright headers - hopefully will prevent agentic changes like the following:

Screenshot 2026-04-17 at 1 43 06 PM

@elliette elliette requested a review from a team as a code owner April 17, 2026 20:44
@elliette elliette requested review from bkonyi, jakemac53 and kenzieschmoll and removed request for a team and bkonyi April 17, 2026 20:44
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new skill for adding copyright headers to various file types, including Dart, YAML, HTML, and Markdown. The review feedback highlights two important improvements: first, the instructions need to account for files with frontmatter to prevent parsing errors by placing the header after the frontmatter block; second, the instructions should explicitly guide the user to add a missing copyright header to existing files using the current year.

Comment thread .agents/skills/adding-copyright-headers/SKILL.md Outdated
Comment thread .agents/skills/adding-copyright-headers/SKILL.md Outdated
Comment thread pubspec.lock Outdated
Comment thread .agents/skills/adding-copyright-headers/SKILL.md Outdated
@elliette elliette merged commit da50b29 into flutter:master Apr 17, 2026
45 checks passed
rishika0212 pushed a commit to rishika0212/devtools that referenced this pull request Apr 21, 2026
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