Move prompts and skills under .claude and adapt to Claude Code conventions - #1207
Merged
Conversation
Relocate .github/prompts and .github/skills to .claude/prompts and .claude/skills so agent assets live alongside the other Claude Code configuration. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Drop the Copilot-only `user-invokable` and `context: inline` frontmatter fields from all ten SKILL.md files; Claude Code skills only use `name` and `description`. - Relocate the issues-diagram prompt to `.claude/commands/issues-diagram.md` so it is discoverable as `/issues-diagram`, drop the unused `name` field, and use `$ARGUMENTS` for the output-path override. - Rewrite pr-comment-identity to attribute comments to Claude Code rather than GitHub Copilot. - Note the `.claude/skills` and `.claude/commands` locations in AGENTS.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Relocates agent assets from .github/ to .claude/ and updates their frontmatter/content to align with Claude Code’s skill and slash-command discovery conventions.
Changes:
- Updated
AGENTS.mdto document the new canonical locations for skills and commands. - Removed Copilot-specific frontmatter (
user-invokable,context) from all moved skill definitions. - Converted the old issues diagram prompt into a Claude Code slash command under
.claude/commands/and updated argument handling ($ARGUMENTS).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| AGENTS.md | Documents .claude/skills/ and .claude/commands/ as the locations for agent assets. |
| .claude/skills/write-tests/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/pr-comment-identity/SKILL.md | Updates attribution wording to “Claude Code” and removes Copilot-only frontmatter fields. |
| .claude/skills/openapi-sync/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/mermaid-html-diagram/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/github-issues-status/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/frontend-component/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/ef-migration/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/code-review-checklist/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/add-value-object/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/skills/add-api-endpoint/SKILL.md | Removes Copilot-only frontmatter fields; keeps Claude Code-compatible metadata. |
| .claude/commands/issues-diagram.md | Defines /issues-diagram as a Claude Code command and switches output override to $ARGUMENTS. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Resolves the conflict caused by main replacing `pr-comment-identity` with the multi-agent `agent-identity` skill: - Took main's deletion of `pr-comment-identity` (the Claude-only rewrite on this branch is superseded by `agent-identity`, which covers Copilot, Claude, and Codex). - Relocated the new `agent-identity` skill to `.claude/skills/` in line with the rest of this branch, and stripped its Copilot-only `user-invokable` / `context: inline` frontmatter. - Updated the AGENTS.md pointer to `.claude/skills/agent-identity/SKILL.md`. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The skill now lives under `.claude/skills/`, which only Claude Code reads, so the Copilot and Codex attribution lines and co-author trailers were dead weight. Narrowed the skill to Claude's own attribution block and trailer. AGENTS.md keeps its multi-agent identity section, since that file is read by every agent working in this repository. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
dgee2
enabled auto-merge (squash)
August 4, 2026 07:43
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Relocates the agent assets out of
.github/and into.claude/, then adapts them from GitHub Copilot conventions to Claude Code ones..github/skills/→.claude/skills/(10 skills, git-tracked as renames).github/prompts/issues-diagram.prompt.md→.claude/commands/issues-diagram.mdClaude Code adaptations
user-invokableandcontext: inlinefields from all tenSKILL.mdfiles. Claude Code skills usename+descriptiononly..claude/commands/, not.claude/prompts/, so the prompt landed there asissues-diagram.md(making it runnable as/issues-diagram). Dropped the unusedname:field, keptdescription:/argument-hint:, and switched the output-path override to$ARGUMENTS.pr-comment-identity— the skill mandated a> 🤖 **This comment was written by GitHub Copilot.**attribution block on PR review comments. Now attributes to Claude Code.References checked
Nothing in the repo referenced the old paths — no matches in workflows, CI path filters (
docs/ci-path-filters.md), docs, or the skills themselves..github/now contains onlyworkflows/. Added a line toAGENTS.mdrecording where skills and commands live.ghCLI usage ingithub-issues-statuswas left alone — that's the repo's actual issue tracker, not Copilot-specific syntax.🤖 Generated with Claude Code