Agent Skillsiflytek/skillhub › pr-submission

pr-submission

GitHub

提供PR提交规范,涵盖Conventional Commits格式、Pre-PR检查清单及PR正文结构,用于指导代码提交与审查流程。

.agents/skills/pr-submission/SKILL.md iflytek/skillhub

Trigger Scenarios

准备提交Pull Request 审查代码变更 格式化Commit Message

Install

npx skills add iflytek/skillhub --skill pr-submission -g -y
More Options

Non-standard path

npx skills add https://github.com/iflytek/skillhub/tree/main/.agents/skills/pr-submission -g -y

Use without installing

npx skills use iflytek/skillhub@pr-submission

指定 Agent (Claude Code)

npx skills add iflytek/skillhub --skill pr-submission -a claude-code -g -y

安装 repo 全部 skill

npx skills add iflytek/skillhub --all -g -y

预览 repo 内 skill

npx skills add iflytek/skillhub --list

SKILL.md

Frontmatter
{
    "name": "pr-submission",
    "license": "Apache-2.0",
    "description": "PR title format, commit conventions, and pre-PR checklist for SkillHub. Use when preparing or reviewing pull requests."
}

PR Submission Skill

Workflow

  1. Identify the scope of your change (feature, bug fix, docs, test, refactor, chore)
  2. Format PR title and commits using the conventions below
  3. Run the pre-PR checklist commands
  4. Open the PR with a descriptive body

PR Title Format

Use conventional commit style:

<type>(<scope>): <description>

Types:

Type When to Use
feat New feature or capability
fix Bug fix
docs Documentation changes only
test Adding or updating tests
refactor Code restructuring with no behavior change
chore Build, CI, tooling, or maintenance tasks

Scopes: Use module or domain names: auth, search, publish, review, namespace, governance, deploy, ci, frontend, scanner

Examples:

feat(auth): add local account login with password reset
fix(publish): resolve null pointer when skill metadata is missing name
docs(deploy): clarify runtime image usage
test(namespace): add membership service edge case tests
refactor(review): extract query repository for governance list
chore(ci): add parallel workflow scripts for multi-agent development

Commit Message Format

Same convention as PR titles. One logical change per commit.

Types:

  • feat: A new feature for the user
  • fix: A bug fix for the user
  • docs: Documentation changes only
  • test: Adding or updating tests
  • refactor: Code change that neither fixes a bug nor adds a feature
  • chore: Changes to build process, CI, or maintenance tasks

Examples:

fix(auth): resolve session cookie conflict in device flow
feat(publish): support security scan before review submission
docs(skill-protocol): add nested SKILL.md discovery rules
test(search): verify jieba analysis with Chinese skill descriptions
refactor(storage): simplify LocalFile path normalization

Pre-PR Checklist

  • Backend tests pass: make test-backend-app
  • Frontend typecheck passes: make typecheck-web
  • If API changed: make generate-api was run and web/src/api/generated/schema.d.ts is committed
  • Smoke test passes: make staging
  • Follow existing module boundaries and dependency direction
  • Add/update tests for new behavior
  • Update design docs when APIs, auth flows, deployment, or operator workflows change

PR Body Structure

When creating a PR, include:

  1. What — Summary of the change
  2. Why — Motivation (link to issue if applicable)
  3. How — Key implementation details (especially for non-obvious decisions)
  4. Testing — How to verify the change works
  5. Impact — Breaking changes, migration notes, or rollout considerations

Review Conventions

  • When reviewing, cite the specific AGENTS.md rule that applies if suggesting a convention change
  • For backend code, check dependency direction does not violate clean architecture rules
  • For frontend code, check OpenAPI types are regenerated if API changed

Version History

  • ac46ad5 Current 2026-07-25 07:08

Same Skill Collection

.agents/skills/api-and-namespace-design/SKILL.md
.agents/skills/backend-module-structure/SKILL.md
.agents/skills/code-conventions/SKILL.md
.agents/skills/dev-workflow/SKILL.md
.agents/skills/frontend-conventions/SKILL.md
.agents/skills/skill-lifecycle/SKILL.md
.agents/skills/testing-and-ci/SKILL.md
builtin-skills/skills/ai-claim-checker/SKILL.md
builtin-skills/skills/daily-standup-journal/SKILL.md
builtin-skills/skills/decision-matrix/SKILL.md
builtin-skills/skills/diagram-maker/SKILL.md
builtin-skills/skills/documentation-writer/SKILL.md
builtin-skills/skills/exam-ready/SKILL.md
builtin-skills/skills/frontend-design/SKILL.md
builtin-skills/skills/linkedin-post-formatter/SKILL.md
builtin-skills/skills/meeting-note-summarizer/SKILL.md
builtin-skills/skills/retrieval-practice-generator/SKILL.md
builtin-skills/skills/storytelling-advisor/SKILL.md
builtin-skills/skills/study-strategy-selector/SKILL.md
builtin-skills/skills/time-blocking-scheduler/SKILL.md
builtin-skills/skills/video-frames/SKILL.md
builtin-skills/skills/weather/SKILL.md

Metadata

Files
0
Version
d2403bb
Hash
b163c20b
Indexed
2026-07-25 07:08

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 06:14
浙ICP备14020137号-1 $mapa de visitantes$