
Flaggems PR review flagos
Reviews FlagGems operator pull requests against structural and naming rules
Flaggems PR review flagos is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 22
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Flaggems PR review flagos
This skill checks pull requests to the FlagGems operator library for formatting and structural conventions. It covers kernel file layout, operator registration across the config files, test and benchmark file pairing, and repository hygiene such as dtype hardcoding and line length. Checks are run by bundled Python scripts that fetch the diff, evaluate 31 structured rules, and produce a findings report.
The workflow verifies GitHub CLI authentication and the local FlagGems checkout before starting, then fetches the PR diff or the local branch diff against upstream master. Findings are graded as error, warning or suggestion, and the reviewer can preview them before anything is posted. Confirmed findings are published as a single GitHub review with inline comments, requesting changes when an error is present.
The skill is scoped to format and convention review and does not judge operator correctness, which is left to CI tests. It needs a GitHub personal access token, Python 3.10 or newer, the gh CLI and the pyyaml package, plus a local clone of the FlagGems repository.
When your agent uses it
This skill should be used when reviewing FlagGems operator PRs, performing code review, self-reviewing before submission, or when the user mentions "review PR", "审PR", "代码review", "code review", "review #123", "self-review", "自审", "检查PR", "审查算子", "review operator". It fetches PR diffs, applies FlagGems domain-specific review rules (structural checks, naming, registration, tests, benchmarks), and posts inline review comments directly on GitHub.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 12 files (132 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the flagos-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add flagos-ai/skills
/plugin install flagos-skills@flagos-skillsOr copy only this skill to ~/.claude/skills/flaggems-pr-review-flagos:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/flaggems-pr-review-flagos &&
cp -R "$tmp/skills/flaggems-pr-review-flagos" ~/.claude/skills/flaggems-pr-review-flagos &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/flaggems-pr-review-flagos inside it instead.
Copy the skill folder to ~/.agents/skills/flaggems-pr-review-flagos to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/flaggems-pr-review-flagos &&
cp -R "$tmp/skills/flaggems-pr-review-flagos" ~/.agents/skills/flaggems-pr-review-flagos &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/flaggems-pr-review-flagos inside it instead.
Copy the skill folder to ~/.cursor/skills/flaggems-pr-review-flagos to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/flaggems-pr-review-flagos &&
cp -R "$tmp/skills/flaggems-pr-review-flagos" ~/.cursor/skills/flaggems-pr-review-flagos &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/flaggems-pr-review-flagos inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/flagos-ai/skills.git --path skills/flaggems-pr-review-flagosOr copy the folder to ~/.gemini/skills/flaggems-pr-review-flagos yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/flaggems-pr-review-flagos:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/flaggems-pr-review-flagos &&
cp -R "$tmp/skills/flaggems-pr-review-flagos" ~/.copilot/skills/flaggems-pr-review-flagos &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/flaggems-pr-review-flagos inside it instead.
Get the folder:
git clone --depth 1 https://github.com/flagos-ai/skills.gitThen copy skills/skills/flaggems-pr-review-flagos into your agent's skills folder as flaggems-pr-review-flagos. Agents that support SKILL.md read one folder per skill.
What it does
- Structural rule checks
- Runs 31 automated checks across kernel, registration, test, benchmark and cross-file conventions.
- Operator registration validation
- Confirms new operators are registered in the init file and the YAML and full-config records agree.
- Naming and logger format
- Checks kernel naming, logger format and benchmark operator names against the YAML identifiers.
- Test and benchmark presence
- Flags registered operators that lack a matching test file or benchmark file.
- Inline GitHub review posting
- Turns findings into one GitHub review with inline comments, after an optional preview.
- Self-review mode
- Reviews the local branch against upstream master and prints findings without posting.
Good for
- Review a FlagGems operator pull request before merging
- Check my operator branch for registration errors before I submit it
- Find missing test or benchmark files for a new operator
- Post review comments on a contributor's FlagGems PR
Flaggems PR review flagos FAQ
What does the skill need to run?
A GitHub token set as GH_TOKEN, Python 3.10 or newer, the gh CLI, the pyyaml package, and a local FlagGems repository checkout.
Does Flaggems PR review flagos check whether the operator computes correct results?
No. It only checks formatting, naming, registration and file structure; operator correctness is covered by CI tests.
Will Flaggems PR review flagos post comments to GitHub without asking?
By default it previews findings and asks for confirmation. Users can choose to publish directly or keep results local with a dry run.
Which agents does Flaggems PR review flagos work with?
The content describes it as a Claude Code skill installed through a Claude Code plugin marketplace.
How do I install Flaggems PR review flagos in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/flaggems-pr-review-flagos to use it in all your projects, or to .claude/skills/flaggems-pr-review-flagos in one project. Or install the flagos-skills plugin, which includes it: /plugin marketplace add flagos-ai/skills, then /plugin install flagos-skills@flagos-skills.
Does Flaggems PR review flagos run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Flaggems PR review flagos?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Flaggems PR review flagos?
The closest alternatives to Flaggems PR review flagos are Flaggems PR submit flagos, Code review, Code review, PR review and Code review edho ferdian.
Where this comes from
- Description: from the skill's own SKILL.md.
More from flagos-ai/skills

Starter template for writing new agent skills in the flagos-ai skills repository
- Open source
- 22 GitHub stars
- Developer tools

Walks an agent through submitting FlagGems operator PRs with automated checks and tests
- Open source
- 22 GitHub stars
- Developer tools

Runs a full LLM deploy, verify and benchmark pipeline on multi-chip GPU backends
- Open source
- 22 GitHub stars
- Cloud and infrastructure

Detects your GPU vendor and launches a validated PyTorch container with its devices
- Open source
- 22 GitHub stars
- Developer tools

Installs a five-package multi-chip AI software stack inside a running GPU container
- Open source
- 22 GitHub stars
- Developer tools

Routes GPU kernel generation, optimization and platform migration to MCP-backed workflows
- Open source
- 22 GitHub stars
- Developer tools




