一键导入
pr-summary
Summarize the current PR's diff and flag risks. Use when asked to review changes, summarize a PR, write a PR description, or check what changed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Summarize the current PR's diff and flag risks. Use when asked to review changes, summarize a PR, write a PR description, or check what changed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or modify a Claude Code subagent — author a new agent .md with valid frontmatter at the user-chosen path, or make targeted edits to an existing one, then lint it. Use when the user says "create an agent", "create a subagent", "scaffold an agent", "new agent definition", "modify this agent", "edit the agent", "iterate on this subagent", "change the agent's routing".
Add an MCP server to the appropriate config (.mcp.json or ~/.claude.json). Handles transport, env vars, headers, OAuth, and scope selection. Use when the user says "add MCP server", "connect to <service>", "register MCP", "set up Linear/Slack/...".
Add a Claude Code hook — scaffold the script and wire the event/matcher/command into settings.json correctly. Surfaces the exit-code contract. Use when the user says "add a hook", "create a hook", "fire X after Y", "block Z on edit".
Promote local .claude/ artifacts (skills, agents, hooks, MCP servers) into a proper plugin layout with .claude-plugin/plugin.json. Validates structure and runs 'claude plugin validate' if available. Use when the user says "make a plugin", "bundle into a plugin", "promote to plugin", "publish skill".
Read-only audit of the user's Claude Code configuration. Scans skills, agents, hooks, MCP servers, settings.json, and CLAUDE.md for documented gotchas, size warnings, deprecated patterns, and misconfigurations. Writes nothing. Use when the user says "audit my Claude Code config", "what's wrong with my setup", "doctor", "check my .claude/".
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
| name | pr-summary |
| description | Summarize the current PR's diff and flag risks. Use when asked to review changes, summarize a PR, write a PR description, or check what changed. |
| disable-model-invocation | true |
| allowed-tools | Bash(git *) |
Diff:
!git diff $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || echo HEAD~1) HEAD
Changed files:
!git diff --name-status $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || echo HEAD~1) HEAD
Commits:
!git log $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || echo HEAD~1)..HEAD --oneline
Write a concise PR summary:
If $ARGUMENTS is provided, treat it as additional context or a specific question about the diff.
Be direct. No filler.