work-packages

djgrant 的头像作者 djgrant

当需要创建工作包(即WP)或使用依赖工作包的技能,或被分配完成工作包时,使用此技能理解正确的方法论。

📖 中文导读:当需要创建工作包(即WP)或使用依赖工作包的技能,或被分配完成工作包时,使用此技能理解正确的方法论。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: work-packages description: When creating or working on a work package (WP), load this skill to get templates and understand the WP lifecycle.

Work packages persist project/task state between agent sessions.

Work packages can either by for the entire project (#master-work-package-template), or a scoped task (#scoped-work-package-template).

Work Package Lifecycle

  1. create in .opencode/work/drafts/wp-{name}.md
  2. move to /in-progress when starting
  3. record results
  4. iterate until
  5. move to /completed when done

Master Work Package Template

# {Title}

## Goal
{What needs to be solved}

## Hypothesis
{Why you think this will work (or not work)}

## Validation
{How you will measure and test the results}

## Results
To be filled out upon completion. Can contain multiple iterations.

## Evaluation
What did your learn from the results? Was the hypothesis proved correct?

Scoped Work Package Template

# {Title}

## Goal
{What needs to be solved}

## Scope
{What is in or out of scope; what will be affected}

## Hypothesis
{Why you think this will work (or not work)}

## Approach
{How you intend to achieve the goal}

## Validation 
{How you will measure and test the results}

## Results
To be filled out upon completion. Can contain multiple iterations.

## Evaluation
What did your learn from the results? Was the hypothesis proved correct?