AgentSkillsCN

pr-architect

精心撰写描述性强且质量上乘的Pull Request正文,深入分析代码变更,阐明工作的“为何”、“如何”,以及“影响范围”。

SKILL.md
--- frontmatter
name: pr-architect
description: Crafts descriptive and high-quality Pull Request bodies. Analyzes code changes to explain "Why", "How", and the "Impact" of the work.
status: implemented

PR Architect

This skill automates the creation of professional and informative Pull Requests.

Capabilities

1. Git Workflow Management

  • Branch Strategy: Suggests descriptive branch names (e.g., feat/add-login-validation).
  • Autonomous Delivery: Executes or suggests git checkout -b, git add, git commit, and git push commands to prepare for a PR.

2. Narrative Generation

  • Explains the purpose of the changes (correlating with requirements).
  • Describes the implementation details in a reviewer-friendly way.

2. Impact & Verification

  • Lists affected modules and potential side effects.
  • Includes test results and verification steps automatically.

Usage

  • "Craft a perfect PR description for my staged changes."
  • "Analyze these commits and summarize the impact for my next Pull Request."

Knowledge Protocol

  • This skill adheres to the knowledge/orchestration/knowledge-protocol.md. It automatically integrates Public, Confidential (Company/Client), and Personal knowledge tiers, prioritizing the most specific secrets while ensuring no leaks to public outputs.