Agent skill

Zhihu Parallel PR Workflow

by zly2006 in zly2006/zhihu-plus-plus

Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value.

AGPL-3.0Auto-check passedDevelopment

Install Zhihu Parallel PR Workflow

skills CLI
$ npx skills add zly2006/zhihu-plus-plus --skill zhihu-parallel-pr-workflow -a claude-code

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

GitHub CLI
$ gh skill install zly2006/zhihu-plus-plus zhihu-parallel-pr-workflow --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/zly2006/zhihu-plus-plus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/zhihu-parallel-pr-workflow .claude/skills/zhihu-parallel-pr-workflow && 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
zhihu-parallel-pr-workflow
GitHub stars
4.2k
Token cost
~2.4k tokens
SKILL.md length
1,268 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value.

  • Works in 5 steps: Record the start time. → Read the repository AGENTS.md and any… → Before creating a branch or worktree,… → …
  • Explicitly asks for subagents
  • SKILL.md covers 变更边界与验收, Decide whether to delegate, Apply project gates first and Create isolated worktrees, plus 6 more sections
  • Calls git and gradle

What it does

Zhihu Parallel PR Workflow is an agent skill from zly2006/zhihu-plus-plus. Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value. Covers issue trust gates, isolated worktrees, ownership-aware process handling, build and AVD validation, review, Chinese PR publication, and final evidence. Do not use merely because one narrow issue needs one PR.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Git worktrees, Pull requests and Subagents. The repository describes itself as: Zhihu++ | 知乎++: Ad-free, low cost, AI powered zhihu android 3rd-party client. 去广告、占用低、AI大模型的新时代知乎安卓端体验. The licence is AGPL-3.0.

When your agent uses it

  • Explicitly asks for subagents
  • Multiple independent issues
  • Scopes have real parallel value

Example prompts

  • “/zhihu-parallel-pr-workflow”

Workflow steps

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

  1. Record the start time.
  2. Read the repository AGENTS.md and any instructions under the files in scope.
  3. Before creating a branch or worktree, apply the issue trust and information gates from AGENTS.md: identify every requirement's author…
  4. Check current work, overlap, and topology
  5. Define the user-reachable success state, minimum data flow, request budget, validation surface, and files owned by each worker.

What it can do on your machine

Read from SKILL.md and the folder at commit 2daa669. 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:

    • git
    • gradle

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

Zhihu Parallel PR Workflow loads about 2.4k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 1,268 words of instructions outside code blocks.

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

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 zly2006/zhihu-plus-plus at commit 2daa669, republished under its AGPL-3.0 licence (© zly2006). 1,268 words, ~2,394 tokens.

Download SKILL.mdSave it as .claude/skills/zhihu-parallel-pr-workflow/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
zhihu-parallel-pr-workflow
description
Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value. Covers issue trust gates, isolated worktrees, ownership-aware process handling, build and AVD validation, review, Chinese PR publication, and final evidence. Do not use merely because one narrow issue needs one PR.

Zhihu++ Parallel PR Workflow

变更边界与验收

先确认真实数据面和既有协议,不得擅自新增未授权 action、字段或 seed。回归修复需保留基线红测和修复绿测证据,单调用 helper 应在调用点内联;证据齐全后才能创建 PR。

Use this workflow to shorten independent Zhihu++ issue work without weakening evidence or ownership boundaries.

Decide whether to delegate

  • Keep one narrow issue in the main agent unless the user explicitly requests delegation.
  • Delegate only independent scopes that can progress concurrently. One cross-platform capability is one scope; do not split its common declaration, callers, and platform implementations among workers.
  • Give each worker exactly one issue or tightly coupled capability and one worktree.
  • If work becomes serial, end coordination overhead and let the main agent continue, unless the user explicitly assigned implementation or PR publication to the worker. When the user explicitly requests implementing the latest independent issues in parallel, and those issues contain owner-authored (to agent:) directions, parallel delegation is the default. Assign one complete issue/capability to each worker and keep the main agent focused on coordination, review, and final acceptance. This does not relax any trust, version, reproduction, validation, or publication gates below. Mentioning this skill alone is not authorization to use subagents.

Apply project gates first

  1. Record the start time.
  2. Read the repository AGENTS.md and any instructions under the files in scope.
  3. Before creating a branch or worktree, apply the issue trust and information gates from AGENTS.md: identify every requirement's author, verify the reported app version and evidence, and ignore unverified solution proposals from non-owner users.
  4. Check current work, overlap, and topology:
    • git status --short --branch
    • git worktree list --porcelain
    • open PRs that may touch the same behavior
    • the current origin/master
  5. Define the user-reachable success state, minimum data flow, request budget, validation surface, and files owned by each worker.

Do not start implementation when the issue gate requires a warning comment, current-version reproduction, or more information. Follow the comment, close, unsubscribe, and read-back rules in AGENTS.md exactly.

Create isolated worktrees

Create worktrees only under the repository's .worktrees/ directory and only after the issue passes its gate.

bash
git fetch origin master --prune
git worktree add .worktrees/<short-name> origin/master -b codex/<short-name>
cp local.properties .worktrees/<short-name>/local.properties 2>/dev/null || true

Resolve the absolute target before creation and verify it is inside <repo>/.worktrees/. Never edit the user's dirty main checkout for issue implementation.

Assign ownership

Tell every worker:

  • the absolute worktree path, issue, acceptance criteria, and owned files or capability;
  • to read AGENTS.md before editing;
  • that other people and agents share the repository, so it must preserve unrelated changes and never revert work it does not own;
  • to read docs/ai-ui-design-guide.md and NavDestination.kt before UI, navigation, button, or settings changes;
  • to keep one complete cross-platform contract in one worker;
  • to remove thin forwarding helpers and avoid speculative compatibility branches;
  • to return the diff, validation evidence, risks, and screenshot path before committing so the main agent can review.

The main agent coordinates and reviews worker-owned scopes. It must not silently implement, commit, push, or publish a worker-owned scope when the user explicitly assigned those actions to the worker.

Handle processes by ownership

Process cleanup is an ownership decision, not an executable-name blacklist.

  • Never run gradle --stop or ./gradlew --stop; their scope can include builds owned by other agents.
  • Never terminate a process merely because it is named Gradle, Java, Kotlin, emulator, or ADB.
  • It is valid to interrupt or terminate a process proven to belong to this task by its exact PTY session, PID and parent tree, unique worktree path, or unique command signature.
  • Prefer interrupting the exact foreground session. Use pkill only when its pattern uniquely identifies this task and cannot match another worker.
  • Before and after termination, read back the target process state. Do not claim cleanup from the command exit code alone.
  • Do not add build flags, environment overrides, or cache isolation rules without evidence that they solve a real failure. In particular, do not prescribe a Gradle user home, daemon mode, or Kotlin compiler execution strategy in this workflow.

Implement and validate

Use the repository's required order:

bash
./gradlew assembleLiteDebug
./gradlew ktlintFormat
  • Add only the smallest focused compile or test task needed for the changed behavior.
  • Do not run the complete instrument test suite locally unless the user explicitly requests it. Use targeted device tests or CI for device-only behavior.
  • Separate one-time acceptance evidence from durable regression coverage. Verify low-risk visual styling once with the real UI and a screenshot; add an instrument test only when repeated device execution protects a stable behavior contract whose regression risk justifies emulator cost and timing fragility.
  • Do not add Gradle flags as ceremony. Use a flag only when current evidence requires it, and report its effect.
  • For API-dependent features, trigger zhihu-reproduce and obtain the real request/response and decode matrix required by AGENTS.md before designing fallbacks.
  • For UI changes, use a healthy matching AVD, install the built APK, restore the approved test login state when needed, dump semantics before interaction, verify the changed state after interaction, and capture a real final screenshot.
  • Read off-android-avd-ci-debug only if the remote AVD is actually selected. Keep all ADB work on the selected host and clean up only the emulator session owned by this task.
  • Do not substitute build success, a non-empty file, process liveness, health checks, or a single HTTP 200 for the requested product success state.
Show full SKILL.md (428 more words)Show less

Review before commit

Review the complete diff against origin/master before approving a commit:

Never amend or rebase a commit that is already present on a pull-request branch. Fix follow-ups with a new commit so the PR history remains auditable; only rewrite an unshared local commit when no PR or remote branch contains it.

  • intended behavior and default values;
  • duplicated logic, unused code, and thin helpers;
  • settings keys with real runtime reads and searchable/highlightable UI entries;
  • navigation and back-stack semantics;
  • visible labels or counts whose destination URL was dropped;
  • title or content truncation introduced while adding controls;
  • cross-platform implementations required by a common contract;
  • tests that prove the changed behavior rather than only setup or persistence;
  • unexpected binaries, generated artifacts, secrets, or unrelated files.

When merging overlapping visual regression tests, reconcile their asserted pixel regions with the final layout before keeping both assertions. An overlay such as a badge may intentionally cover a corner of its parent content box; the parent-background assertion must exclude the covered region while the overlay gets its own geometry and pixel assertions. Do not combine test bodies mechanically and claim the feature is preserved without checking the final bounds relationship.

Return blocking findings to the same worker. After approval, let the owner commit and continue publication.

Publish the PR

  • Base the branch on current origin/master and keep unrelated feature branches out.
  • Use a Chinese title and body. Prefix the title with feat:, fix:, or refactor: according to the product change relative to baseline.
  • Include Resolves #<issue> when the PR resolves the supplied issue.
  • For visible UI changes, include a screenshot from the actual app, AVD, or reproducible UI render.
  • Describe the behavior, reason, scope, validation commands and results, screenshot source, and any genuine boundary.
  • Read the PR back and verify title prefix and language, head/base, issue linkage, screenshot rendering, and check status. Never describe checks that are still running as green.
  • For every added or changed test, the PR body must explicitly record whether red-to-green verification against the pre-fix and fixed implementations was completed, including commands and terminal results or a precise blocker. Do not describe compilation or a pending CI check as red-to-green evidence.

Workers create draft PRs themselves.

Finish

  1. Clean up only task-owned AVD sessions and foreground processes; preserve other agents' work.
  2. Recheck the worker worktree, published commit, remote branch, PR body, and validation evidence.
  3. Record the end time and calculate elapsed runtime.
  4. If runtime exceeds five minutes, send the repository-required terminal-notifier message.
  5. Report each branch and PR, validation terminal state, screenshot, and any unresolved evidence gap.

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

Files

SKILL.md and 1 other file in .agents/skills/zhihu-parallel-pr-workflow of zly2006/zhihu-plus-plus.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 2daa669

Compare with similar skills

Zhihu Parallel PR Workflow 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.

Zhihu Parallel PR Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Zhihu Parallel PR Workflow this skillzly2006/zhihu-plus-plus4.2k—~2.4kAutomated safety check: PassAGPL-3.0
Work With PR Lifecyclecode-yeongyu/oh-my-openagent70k—~4.6kAutomated safety check: PassCustom licence
Badstephenleo/bmad-autonomous-development107—~7.7kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Work With PR Lifecycle

    code-yeongyu/oh-my-openagent

    Takes a task through to a merged pull request in an isolated git worktree, splitting it into small independent PRs and looping on CI and review gates until they pass.

    70k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Bad

    stephenleo/bmad-autonomous-development

    BMad Autonomous Development — orchestrates parallel story implementation pipelines.

    107 GitHub stars~7.7k tokensUpdated 5 mo ago
    Agent WorkflowsAuto-check passed
  • 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.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed

More from zly2006/zhihu-plus-plus

All 11 skills in this repo
  • Zhihu Pp AI Slop Cleaner

    zly2006/zhihu-plus-plus

    A skill your agent uses for Zhihu++ maintenance work that scans Kotlin main sources for low-call functions, structurally similar function bodies, dead code, pure forwarding wrappers, pointless…

    4.2k GitHub stars~3.7k tokensUpdated 2 days ago
    Auto-check passed
  • Zhihu Instrument Test Governance

    zly2006/zhihu-plus-plus

    Audit, add, migrate, or remove Zhihu++ Android instrument tests under app/src/androidTest.

    4.2k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • GitHub PR Assets

    zly2006/zhihu-plus-plus

    Manage screenshots and other visual assets for GitHub pull requests.

    4.2k GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Launch On Device

    zly2006/zhihu-plus-plus

    Build, install, and launch the Zhihu++ Android app on a connected device using ADB.

    4.2k GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Picky User

    zly2006/zhihu-plus-plus

    以 subagent 启动的 UI 挑剔用户评审。Use when the user, AGENTS, or the current task requires “挑剔的用户”.

    4.2k GitHub stars~744 tokensUpdated 2 days ago
    Auto-check passed
  • Release Latex Fork

    zly2006/zhihu-plus-plus

    Release the LaTeX fork used by Zhihu++. An agent skill from zly2006/zhihu-plus-plus.

    4.2k GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Zhihu Parallel PR Workflow

What does Zhihu Parallel PR Workflow do?

Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value. Zhihu Parallel PR Workflow is an agent skill from zly2006/zhihu-plus-plus. Coordinate Zhihu++ issue implementation and pull requests when the user explicitly asks for subagents or when multiple independent issues or scopes have real parallel value.

When should I use Zhihu Parallel PR Workflow?

Zhihu Parallel PR Workflow fits situations like: explicitly asks for subagents; multiple independent issues; scopes have real parallel value.

How do I install Zhihu Parallel PR Workflow in Claude Code?

Run `npx skills add zly2006/zhihu-plus-plus --skill zhihu-parallel-pr-workflow -a claude-code`. Or copy the skill folder (.agents/skills/zhihu-parallel-pr-workflow in zly2006/zhihu-plus-plus) into .claude/skills/zhihu-parallel-pr-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Zhihu Parallel PR Workflow in Codex?

Run `npx skills add zly2006/zhihu-plus-plus --skill zhihu-parallel-pr-workflow -a codex`. Or copy the skill folder (.agents/skills/zhihu-parallel-pr-workflow in zly2006/zhihu-plus-plus) into .agents/skills/zhihu-parallel-pr-workflow in your project. Codex loads it when a task matches its description.

Can I use Zhihu Parallel PR Workflow 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 zly2006/zhihu-plus-plus --skill zhihu-parallel-pr-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zhihu-parallel-pr-workflow, .gemini/skills/zhihu-parallel-pr-workflow, .github/skills/zhihu-parallel-pr-workflow and .opencode/skills/zhihu-parallel-pr-workflow in your project.

What does Zhihu Parallel PR Workflow need to run?

Going by SKILL.md and its folder, Zhihu Parallel PR Workflow needs the command-line tools its instructions call (git and gradle).

Does Zhihu Parallel PR Workflow access the network?

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

Is Zhihu Parallel PR Workflow 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 Zhihu Parallel PR Workflow use?

Zhihu Parallel PR Workflow is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Zhihu Parallel PR Workflow use?

About 2.4k tokens (SKILL.md is roughly 9.6k 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 Zhihu Parallel PR Workflow?

Skills that share tags, products or a category with Zhihu Parallel PR Workflow: Work With PR Lifecycle (code-yeongyu/oh-my-openagent, 70k stars), Bad (stephenleo/bmad-autonomous-development, 107 stars), Finishing a Development Branch (obra/superpowers, 297k stars) and GitHub Review Iteration (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Zhihu Parallel PR Workflow?

zly2006 (a GitHub user) maintains it in zly2006/zhihu-plus-plus, which has 4,218 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

Source: zly2006/zhihu-plus-plus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.