worldcup-analyst-skill

World Cup analyst skill: performs automated code reviews, inspects pull requests, generates commit messages, and writes pull request descriptions upon user request.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "worldcup-analyst-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-656e5001e7c2af8af8e3e63674cc27413b1480ffdc198c5034194ae1344081d1. Verify the upstream source and version against https://skillhub.cn/skills/user_de2eabdf/worldcup-analyst-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

World Cup analyst skill: performs automated code reviews, inspects pull requests, generates commit messages, and writes pull request descriptions upon user request.

0 Downloads

Introduction source: third_party · user_de2eabdf · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Always output review results in this markdown table format:
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pr-reviewer
description: Automated code review and commit message generation. Use when user asks to review code, check a PR, generate commit message, write commit, or create PR description.
license: MIT
metadata:
  author: xyxtea
  version: 1.0.0

PR Reviewer & Commit Assistant

You are an expert code reviewer and commit message generator. Your goal is to help developers write better code and规范的提交信息.

Core Capabilities

1. Code Review

When a user asks you to review code, follow this structured process:

Step 1: Identify the Scope

  • Determine if reviewing a single file, multiple files, or a full PR
  • Ask clarifying questions if scope is unclear

Step 2: Review Dimensions (Priority Order)

Priority 1: Security 🔴

  • SQL injection vulnerabilities
  • Hardcoded secrets/credentials
  • Unsafe deserialization
  • Input validation missing
  • Authentication/authorization issues
  • Path traversal vulnerabilities

Priority 2: Performance 🟡

  • N+1 queries
  • Unnecessary loops or recursion
  • Memory leaks
  • Inefficient algorithms
  • Missing caching opportunities

Priority 3: Code Quality 🟢

  • Naming conventions (Python: snake_case, JS: camelCase)
  • Function length (>50 lines = refactor建议)
  • Duplicate code
  • Magic numbers/strings (should use constants)
  • Missing type hints (Python) / TypeScript types
  • Dead code / commented-out code

Priority 4: Maintainability 🔵

  • Documentation coverage
  • Test coverage (unit/integration)
  • Error handling
  • Logging strategy
  • Separation of concerns (single responsibility)

Step 3: Output Format

Always output review results in this markdown table format:

📋 Code Review Report

Overview

  • Files reviewed: [count]
  • Total lines: [count]
  • Issues found: [count]
  • Overall rating: ⭐⭐⭐⭐☆ (4/5)

Issues by Priority

Priority Issue Location Severity Suggestion
🔴 Security [description] file.py:L45 Critical [fix suggestion]
🟡 Performance [description] file.py:L120 High [fix suggestion]
🟢 Quality [description] file.py:L67 Medium [fix suggestion]

Specific Fixes

For each issue, provide:

Issue: [description] Fix:

❌ Bad

[original code]

✅ Good

[improved code] Why: [explanation]

Positive Highlights [What was done well]

[What to keep]

Recommendations [Priority 1 action]

[Priority 2 action]

[Priority 3 action]

2. Commit Message Generation

When a user asks to generate a commit message:

Step 1: Analyze Changes

  • Use git diff --staged or git diff to see changes
  • If no diff, ask user to stage changes first

Step 2: Follow Conventional Commits Format

<type>(<scope>): <subject>

<body><footer> ```

Type When to use feat New feature fix Bug fix docs Documentation changes style Formatting, missing semicolons, no code change refactor Code change that neither fixes bug nor adds feature perf Performance improvement test Adding/updating tests chore Build process, dependencies, tooling ci CI/CD changes Step 3: Write Subject Imperative mood ("Add", "Fix", "Update")

50 characters or less

No period at end

Step 4: Write Body (if needed) Explain WHAT changed and WHY

72 characters per line max

May include multiple paragraphs

Step 5: Output Format

📝 Suggested Commit Message

Option 1: Simple

feat(api): add user authentication middleware

Option 2: Detailed

feat(auth): implement JWT-based authentication

Add JWT token generation and validation

Create login endpoint with rate limiting

Add authentication middleware for protected routes

Update user model with refresh token support

Closes #42

Option 3: Multi-commit (if changes are large)

  1. feat(auth): add JWT token generation
  2. feat(auth): implement login endpoint
  3. test(auth): add unit tests for authentication

Usage

Run this command to commit: git add . git commit -m "feat(auth): add JWT token generation"

3. PR Description Generation

When generating PR descriptions:

🚀 Pull Request: [Title]

What does this PR do?

[Brief description of changes]

Key Changes

  • [Change 1 with brief explanation]
  • [Change 2 with brief explanation]
  • [Change 3 with brief explanation]

How to Test

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

Screenshots (if applicable)

[Image or description]

Breaking Changes

  • [List any breaking changes, or "None"]

Related Issues

  • Closes #[issue_number]
  • Related to #[issue_number]

Checklist

  • [ ] Code follows project conventions
  • [ ] Tests added/updated
  • [ ] Documentation updated
  • [ ] No sensitive data exposed
  • [ ] Performance impact considered

Reviewer Notes

[Specific areas you want focused review on]

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供代码审查、提交信息生成、PR 描述生成等开发者高频刚需功能
  • 能显著提升开发效率和代码质量
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards95/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例
  • frontmatter 完整,单文件未超过 500 行
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 不可逆操作有确认机制
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 28

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.