跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
浏览器与自动化

using-plan

Use when an Agent needs to create, resume, advance, block, revise, complete, or abandon a durable current execution plan in LWC.

JanYork · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add JanYork/llm-wiki-cli --skill using-plan

技能说明


name: using-plan description: Use when an Agent needs to create, resume, advance, block, revise, complete, or abandon a durable current execution plan in LWC.

Using LWC Plan

First run lwc config show. Continue only when plan.setting is enabled. A Skill trigger is not consent to enable Plan: when disabled, do not run Plan commands; explain that the user can opt in with lwc config set --plan enabled. A lifecycle Hook with a resolved agent_context includes only Plans explicitly tracked by that Agent context. Treat any Plan progress reminder for another context as unrelated and ignore it.

Use Plan only for the current coarse execution plan. It is independent from Todo and must never be converted to or from a Todo automatically.

  • Create one objective, explicit done criteria, constraints, and ordered coarse steps.
  • After creating or explicitly claiming a Plan, bind it with lwc --scope project|global plan track PLAN_ID --context CONTEXT_ID, using only the opaque ID from the current Hook's LWC_READINESS.agent_context. Never infer or copy another Agent's context.
  • Resume with lwc plan brief PLAN_ID; it is bounded and contains no hidden reasoning.
  • Treat Hook plan.tracking and plan.additional_trackings as continuity cues for this context only. Follow the current step and planned next step, but call brief before any mutation.
  • Use exact, idempotent plan untrack PLAN_ID --context CONTEXT_ID before deliberately switching a context to another Plan; a conflicting track never replaces the current association.
  • Before mutation, inspect the current revision and pass --if-revision.
  • advance completes the focal step with a result and explicitly selects the next pending step.
  • block records a concrete blocker. revise requires a reason and replaces only unfinished work.
  • Complete only after all steps are terminal, evidence is supplied, and done criteria were checked.
  • Use project/global for exact reads and writes. Use --scope all only for current/list/search.
  • On a revision or request conflict, reload and reconcile; never overwrite blindly.
  • Do not use --changeset with Plan commands.