跳到正文
TakoAPI
返回技能列表

easy-opencode

由 deciding 提供

Coding Agents & IDEs
442下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

opencode can do all the things related to code.

描述

该技能的功能

Routes coding tasks to opencode, a CLI-based AI coding agent. The skill manages a two-phase loop: planning first, then building, never skipping either. It passes user instructions to opencode and interprets results to decide what comes next.

Enforces a plan-before-build discipline that prevents unreviewed code generation, reducing implementation errors from misunderstood requirements.

何时使用

  • Planning a new feature before writing any code
  • Implementing an approved plan in a repository
  • Debugging a codebase by delegating analysis to opencode
  • Iterating through plan-build cycles until requirements are met
  • Answering technical questions about a repo without manual investigation

示例工作流

输入

User asks: Add a user authentication module to this repo

智能体
  1. 1

    Run opencode with the plan agent: opencode run "Add a user authentication module" --continue --agent plan

  2. 2

    Review the step-by-step plan returned by opencode

  3. 3

    If the plan is incomplete, ask opencode to revise it

  4. 4

    Once the plan is approved, run opencode with the build agent to implement it

  5. 5

    If opencode asks a question during build, switch back to plan agent to clarify

输出

Authentication module implemented according to the reviewed and approved plan

前置要求

  • opencode CLI installed and available in PATH

安装

clawhub install deciding/easy-opencode

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接