Skip to content

Surface copyright header rule in skills and clarify format#2985

Merged
afranken merged 2 commits intomainfrom
copilot/add-linting-skill-and-refactor
Mar 17, 2026
Merged

Surface copyright header rule in skills and clarify format#2985
afranken merged 2 commits intomainfrom
copilot/add-linting-skill-and-refactor

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 27, 2026

Skills had no mention of the copyright header update requirement, so agents following skill workflows would silently skip it. The AGENTS.md rule also lacked the exact format, leaving the 2017- start year implicit.

Changes

AGENTS.md

  • Sharpens the DO rule to specify the exact format: 2017-<current year> (e.g., 2017-2026)

implement, refactor, test skills

  • Each checklist gains: Update copyright year to \2017-` in the header of every file you modify`

review skill

  • Adds copyright header staleness as the first item in Convention Violations so reviewers catch it proactively

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add linting skill and refactor existing skills and documentation Add lint skill and wire it into the agent skill workflow Feb 27, 2026
@afranken afranken marked this pull request as ready for review February 27, 2026 11:42
@afranken afranken self-requested a review as a code owner February 27, 2026 11:42
Copilot AI review requested due to automatic review settings February 27, 2026 11:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a dedicated lint skill for the S3Mock agent skill workflow, consolidating scattered references to make format and providing comprehensive guidance on both ktlint and Checkstyle linting tools.

Changes:

  • Added new .claude/skills/lint/SKILL.md documenting ktlint (auto-fix) and Checkstyle (manual fix) workflows
  • Integrated lint skill as step 3 in the implement skill workflow (between coding and testing)
  • Updated implement, refactor, test, and review skills to reference the lint skill instead of bare make format commands
  • Enhanced AGENTS.md to clarify that make format is ktlint-specific and point to the lint skill

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.claude/skills/lint/SKILL.md New skill documenting ktlint and Checkstyle linting tools, workflow, and common violations
.claude/skills/implement/SKILL.md Added lint skill as step 3 in workflow; replaced make format references with lint skill invocations
.claude/skills/refactor/SKILL.md Updated checklist to invoke lint skill instead of running make format
.claude/skills/test/SKILL.md Updated checklist to invoke lint skill instead of running make format
.claude/skills/review/SKILL.md Extended CI gates checklist to suggest lint skill when style violations found
AGENTS.md Annotated make format as ktlint-specific; added pointer to lint skill for complete linting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .claude/skills/lint/SKILL.md Outdated
Comment thread .claude/skills/lint/SKILL.md Outdated
Comment thread .claude/skills/lint/SKILL.md Outdated
Copy link
Copy Markdown
Member

@afranken afranken left a comment

Choose a reason for hiding this comment

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

👍

Copilot AI changed the title Add lint skill and wire it into the agent skill workflow Surface copyright header rule in skills and clarify format Mar 17, 2026
Copilot AI requested a review from afranken March 17, 2026 21:03
@afranken
Copy link
Copy Markdown
Member

@copilot rebase against main

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 17, 2026

@copilot rebase against main

Rebased onto main — pushed at 125a4c2a.

Copilot AI and others added 2 commits March 17, 2026 22:23
Co-authored-by: afranken <763000+afranken@users.noreply.github.com>
…TS.md

Co-authored-by: afranken <763000+afranken@users.noreply.github.com>
@afranken afranken force-pushed the copilot/add-linting-skill-and-refactor branch from 125a4c2 to 491abfe Compare March 17, 2026 21:23
Copy link
Copy Markdown
Member

@afranken afranken left a comment

Choose a reason for hiding this comment

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

👍

@afranken afranken merged commit df25b3f into main Mar 17, 2026
7 checks passed
@afranken afranken deleted the copilot/add-linting-skill-and-refactor branch March 17, 2026 21:34
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