Add update-copyright and move-files skills#645
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 921c1ab235
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR introduces two new agent skills (update-copyright and move-files) and updates repository migration automation to also sync the new .claude directory.
Changes:
- Add
update-copyrightskill, including a Python script to refresh copyright headers based on IntelliJ IDEA copyright profiles. - Add
move-filesskill documentation and agent interface configuration. - Extend
migrateto copy.claudeinto the parent repository and bumpValidationdependency version/copyright year.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
migrate |
Adds sync logic for the .claude directory during migration runs. |
buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt |
Updates copyright year and bumps the Validation snapshot version. |
.agents/skills/update-copyright/scripts/update_copyright.py |
Implements the header update tool (parsing IDEA profile + applying headers). |
.agents/skills/update-copyright/agents/openai.yaml |
Declares the agent-facing interface metadata for the skill. |
.agents/skills/update-copyright/SKILL.md |
Documents the workflow/constraints for using the skill. |
.agents/skills/move-files/agents/openai.yaml |
Declares the agent-facing interface metadata for the skill. |
.agents/skills/move-files/SKILL.md |
Documents the workflow for safe file/directory moves. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Make copying `.claude` directory retaining symlinks Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SpineEventEngine/config/sessions/0fed50d9-8116-4a24-adc8-0bfe90e122ee Co-authored-by: alexander-yevsyukov <3116444+alexander-yevsyukov@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SpineEventEngine/config/sessions/0fed50d9-8116-4a24-adc8-0bfe90e122ee Co-authored-by: alexander-yevsyukov <3116444+alexander-yevsyukov@users.noreply.github.com>
This PR adds the aforementioned skills. The PR also adds a
.claudedirectory with theskillssymlink to.agents/skills. The.claudedirectory is going to be updated when themigratescript is executed.