Agent skill

Source Command PR

by enuno in enuno/unifi-mcp-server

Create a pull request with AI-generated description. An agent skill from enuno/unifi-mcp-server.

Apache-2.0Auto-check passedDevelopment

Install Source Command PR

skills CLI
$ npx skills add enuno/unifi-mcp-server --skill source-command-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install enuno/unifi-mcp-server source-command-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/enuno/unifi-mcp-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/source-command-pr .claude/skills/source-command-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
source-command-pr
GitHub stars
282
Token cost
~315 tokens
SKILL.md length
150 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create a pull request with AI-generated description. An agent skill from enuno/unifi-mcp-server.

  • Works in 5 steps: Check current git status and branch name → Review all commits since branching from… → Analyze all code changes → …
  • Tasks that involve Pull requests
  • SKILL.md covers Command Template, Description, Type of Change and Testing, plus 2 more sections
  • Calls gh

What it does

Source Command PR is an agent skill from enuno/unifi-mcp-server. Create a pull request with AI-generated description

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. The repository describes itself as: An MCP server that leverages official UniFi API. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/source-command-pr”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Check current git status and branch name
  2. Review all commits since branching from main
  3. Analyze all code changes
  4. Generate a comprehensive PR description including
  5. Create the PR using: gh pr create --title "" --body ""

What it can do on your machine

Read from SKILL.md and the folder at commit f0801c7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Source Command PR loads about 315 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 150 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~315

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from enuno/unifi-mcp-server at commit f0801c7, republished under its Apache-2.0 licence (© enuno). 150 words, ~315 tokens.

Download SKILL.mdSave it as .claude/skills/source-command-pr/SKILL.md (or your agent's skills folder).
name
source-command-pr
description
Create a pull request with AI-generated description

source-command-pr

Use this skill when the user asks to run the migrated source command pr.

Command Template

Create a comprehensive pull request for the current branch.

Steps to execute:

  1. Check current git status and branch name

  2. Review all commits since branching from main

  3. Analyze all code changes

  4. Generate a comprehensive PR description including:

    • Summary of changes
    • Type of change (feature/bugfix/refactor/docs)
    • Testing performed
    • Checklist of completed items
    • Note about AI assistance
  5. Create the PR using: gh pr create --title "<title>" --body "<description>"

The PR description should follow this format:

Description

[Brief description of changes]

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

[Describe testing performed]

Checklist

  • Code follows style guidelines
  • Self-review completed
  • Commented complex code
  • Updated documentation
  • Added tests
  • Tests pass
  • No new warnings

AI Assistance

This PR was created with assistance from Codex.

Report back with the PR URL once created.

© enuno, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/source-command-pr of enuno/unifi-mcp-server.

Open the folder on GitHubat commit f0801c7

Compare with similar skills

Source Command PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Source Command PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Source Command PR this skillenuno/unifi-mcp-server282—~315Automated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from enuno/unifi-mcp-server

All 12 skills in this repo
  • Unifi

    enuno/unifi-mcp-server

    Manage UniFi network infrastructure via the UniFi MCP Server.

    282 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Unifi MCP Tool Builder

    enuno/unifi-mcp-server

    Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices.

    282 GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Source Command Unifi MCP Add Tool

    enuno/unifi-mcp-server

    Scaffold a new UniFi MCP tool with model, function, tests, and docs

    282 GitHub stars~748 tokensUpdated today
    Auto-check passed
  • Prepare a new release with version bump, changelog, and quality checks

    282 GitHub stars~939 tokensUpdated today
    Auto-check passed

Categories

Questions about Source Command PR

What does Source Command PR do?

Create a pull request with AI-generated description. An agent skill from enuno/unifi-mcp-server. Source Command PR is an agent skill from enuno/unifi-mcp-server.

When should I use Source Command PR?

Source Command PR fits situations like: tasks that involve Pull requests.

How do I install Source Command PR in Claude Code?

Run `npx skills add enuno/unifi-mcp-server --skill source-command-pr -a claude-code`. Or copy the skill folder (.agents/skills/source-command-pr in enuno/unifi-mcp-server) into .claude/skills/source-command-pr in your project. Claude Code loads it when a task matches its description.

How do I install Source Command PR in Codex?

Run `npx skills add enuno/unifi-mcp-server --skill source-command-pr -a codex`. Or copy the skill folder (.agents/skills/source-command-pr in enuno/unifi-mcp-server) into .agents/skills/source-command-pr in your project. Codex loads it when a task matches its description.

Can I use Source Command PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add enuno/unifi-mcp-server --skill source-command-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/source-command-pr, .gemini/skills/source-command-pr, .github/skills/source-command-pr and .opencode/skills/source-command-pr in your project.

What does Source Command PR need to run?

Going by SKILL.md and its folder, Source Command PR needs the command-line tools its instructions call (gh).

Does Source Command PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Source Command PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Source Command PR use?

Source Command PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Source Command PR use?

About 315 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Source Command PR?

Skills that share tags, products or a category with Source Command PR: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Source Command PR?

enuno (a GitHub user) maintains it in enuno/unifi-mcp-server, which has 282 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

Source: enuno/unifi-mcp-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.