akg-pr

Generate AKG PR descriptions and validation artifacts from branch diffs.

258|48|Updated Jun 22, 2020
One-click install
npx skills add https://github.com/mindspore-ai/akg --skill akg-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akg-pr
Source: https://github.com/mindspore-ai/akg/tree/main/akg_agents/.opencode/skills/akg-pr
Command: npx skills add https://github.com/mindspore-ai/akg --skill akg-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the creation of AKG PR descriptions by analyzing the difference between the current branch and the target branch, ensuring consistency with the AKG PR template and saving artifacts for review.

Core Features & Use Cases

  • Generate a complete PR body and metadata from the branch diff, validating against conventional rules.
  • Produce both a Markdown description (.md) and a JSON metadata file that are stored in .tmp/pr/ for review and submission.
  • Use in workflows where AKG AGENTS PRs must adhere to a fixed template and pass automated quality checks.

Quick Start

Generate a PR description for your current branch against the target branch and save the results under .tmp/pr/.

Frequently Asked Questions about akg-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate a PR description from a branch diff?

To auto-generate a PR description from a branch diff, this Skill analyzes the difference between your current and target branches, producing Markdown and JSON artifacts in .tmp/pr/.

What validation rules does the generated PR description need to pass?

The generated PR description must pass validation rules for kind, description length, and issue linking, enforced by the included validate_pr.py script before submission.

How do I ensure my AKG PR matches the required fixed template?

Ensuring your AKG PR matches the fixed template is handled automatically by using the frontmatter in SKILL.md to generate the PR body and metadata.

Does this PR generation tool work with AKG agent development workflows?

Yes, this PR generation tool is specifically intended for AKG agent development workflows that enforce a fixed PR template and require artifact generation.

Where are the generated PR metadata files stored for review?

The generated PR metadata files are stored as Markdown (.md) and JSON (.json) artifacts under the .tmp/pr/ directory for review and submission.