akg-review

Run deterministic pre-submit checks on AKG code changes and generate Markdown reports.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the pre-submit review process for AKG projects by performing deterministic checks on code changes, reducing manual review time and ensuring consistency.

Core Features & Use Cases

  • Pre-submit checks including rebase conflict detection, code style verification (ruff/bandit), and SPEC.md compliance.
  • Generates a standardized review report and summary stored under .tmp/review for easy sharing in PRs.
  • Use Case: A developer submits a patch; the tool analyzes diffs, reports issues, and guides remediation before merge.

Quick Start

Run /akg-review in your repository to perform a pre-submit review and generate a detailed report.

Frequently Asked Questions about akg-review

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

FAQPage Schema
How do I automate pre-submit code reviews for AKG projects?

Automate pre-submit code reviews by running the akg-review script to perform deterministic checks on Git diffs, detecting rebase conflicts, style violations, and SPEC.md compliance before generating a Markdown report.

What deterministic checks are included in an AKG pre-submit review?

An AKG pre-submit review includes rebase conflict detection, code style verification using ruff, security issue scanning using bandit, and SPEC.md compliance validation to ensure patch consistency before merging.

Do I need to install ruff and bandit locally to run akg-review?

Yes, you need ruff, bandit, and git installed locally to execute the akg-review scripts, which rely on these external tools to analyze code changes and output standardized review reports.

How do I generate a standardized code review report for a pull request?

Generate a standardized code review report by running the akg-review command in your repository, which analyzes diffs and stores the detailed Markdown summary and JSON metadata under the .tmp/review directory.

What is the best way to detect rebase conflicts before merging a Git patch?

Detect rebase conflicts before merging by applying automated pre-submit scripts like akg-review to your Git-based development workflow, which identifies conflicts and code style violations automatically.