1k-create-pr

Automate PR creation with branch, lint, commit, and push steps.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/wanghaisheng/web3-scaffold-app-monorepo --skill 1k-create-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1k-create-pr
Source: https://github.com/wanghaisheng/web3-scaffold-app-monorepo/tree/main/.claude/skills/1k-create-pr
Command: npx skills add https://github.com/wanghaisheng/web3-scaffold-app-monorepo --skill 1k-create-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end PR creation workflow for changes in the OneKey app-monorepo, reducing manual steps and potential human error.

Core Features & Use Cases

  • End-to-end PR creation: detects the correct base branch, creates feature branches, runs lint fixes, stages and commits with conventional messages, pushes to remote, and opens a PR.
  • Context-aware PRs: extracts conversation context to enrich PR titles and body, aligning with project standards and OK-{number} references.
  • Use Case: A developer finishes a feature on a local branch and wants to open a high-quality PR with a single command, ensuring correct base selection and a descriptive PR body.

Quick Start

Run the PR creation workflow on your current branch to automatically generate, push, and open a PR in the OneKey app-monorepo.

Frequently Asked Questions about 1k-create-pr

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

FAQPage Schema
How do I automate pull request creation for a monorepo with conventional commits?

Automating pull request creation for a monorepo involves detecting the correct base branch, running lint fixes, staging commits with conventional messages, and pushing to remote to open a PR. The workflow enforces PR titling with OK- IDs and an English body template for project compliance.

How do I auto-detect the base branch when opening a PR in a git workflow?

Auto-detecting the base branch in a git workflow requires analyzing the repository structure to determine the correct integration target. The automation then creates feature branches, stages commits, and pushes to remote to ensure PRs target the correct base.

What is the best way to generate a PR body with context from a feature branch?

Generating a PR body with context involves extracting conversation history to enrich the title and body, aligning with project standards and OK-{number} references. This ensures high-quality PRs with descriptive English body templates generated from contextual summaries.

Can I run lint fixes and commit changes in a single automated git workflow?

Running lint fixes and committing changes in a single automated git workflow is possible by staging files, applying lint corrections, and creating conventional commit messages sequentially. This end-to-end process prevents human error and ensures code style compliance before pushing to remote.

Does this PR automation workflow enforce conventional commit messages?

Yes, this PR automation workflow enforces conventional commit messages by automatically staging changes and committing them with standardized formats. It also enforces PR titling with OK- IDs and an English PR body template to maintain monorepo project standards.

Why do I need an automated workflow for OneKey app-monorepo pull requests?

You need an automated workflow for OneKey app-monorepo pull requests to reduce manual steps and potential human error. It ensures correct base selection, applies lint fixes, and generates high-quality PRs with contextual summaries and OK-{number} references via a single command.