opencode

Delegate coding, refactoring, and PR review tasks to the OpenCode CLI agent.

190|27|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/linxuan-sys/opencode-skills-chinese --skill opencode-linxuan-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/linxuan-sys/opencode-skills-chinese/tree/main/opencode
Command: npx skills add https://github.com/linxuan-sys/opencode-skills-chinese --skill opencode-linxuan-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you offload coding work—implementation, refactoring, and PR review—to the OpenCode CLI agent so you can complete changes faster and iterate with less manual effort.

Core Features & Use Cases

  • One-shot coding tasks: Run bounded, non-interactive instructions for clear objectives like adding retries, refactoring modules, or updating tests.
  • Interactive long sessions (TUI): Start and manage a persistent background coding session with progress polling and log inspection.
  • PR review workflows: Use OpenCode’s PR command or isolate review in a temporary clone to produce focused risk and test gap feedback.
  • Parallel isolation: Run tasks in separate working directories/worktrees to prevent conflicts and enable concurrent issue handling.

Quick Start

In your project directory, run opencode run '实现OAuth刷新流程并添加测试' to have OpenCode propose code changes and execute the work in one bounded step.

Frequently Asked Questions about opencode

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

FAQPage Schema
How do I delegate coding tasks to a CLI agent for automated refactoring?

You can delegate coding tasks using OpenCode to run bounded, non-interactive instructions for clear objectives like refactoring modules or adding retries. This allows the CLI agent to propose code changes and execute work in a single step.

Can I run PR review workflows in an isolated environment to check for risk and test gaps?

Yes, you can run PR review workflows by using the PR command or isolating the review in a temporary clone. This produces focused feedback regarding potential risks and identifies gaps in test coverage.

What is the best way to manage long-lived interactive coding sessions with progress polling?

The best way to manage long-lived interactive coding sessions is through a persistent background TUI session. This provides secure session recovery, progress polling, and log inspection for continuous engineering iteration.

How do I handle parallel coding tasks in separate worktrees to prevent conflicts?

You can handle parallel coding tasks by running instructions in separate working directories or worktrees. This parallel isolation prevents conflicts and enables concurrent issue handling across multiple development branches.

Do I need terminal orchestration to control processes for non-interactive code generation?

Yes, controlling processes for non-interactive code generation requires terminal orchestration via Hermes. It manages deterministic command scoping, session control, and secure recovery for both one-shot runs and long-lived sessions.