plan

GitHub

用于在编码前明确意图、定义可测试行为及评估范围,解决不确定性并生成可执行计划。

images/gemini/skills/plan/SKILL.md boshu2/agentops

Trigger Scenarios

编码前意图或验收标准不明确 需要界定任务范围和决策影响

Install

npx skills add boshu2/agentops --skill plan -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/images/gemini/skills/plan -g -y

Use without installing

npx skills use boshu2/agentops@plan

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill plan -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "plan",
    "consumes": [],
    "metadata": {
        "tier": "execution",
        "effects": [
            "update_intent_source"
        ],
        "graph_root": true,
        "disposition": "keep",
        "capabilities": [
            "shape_intent",
            "define_acceptance",
            "bound_write_scope"
        ],
        "dependencies": [],
        "canonical_status": "canonical"
    },
    "produces": [],
    "practices": [
        "bdd-gherkin",
        "design-by-contract",
        "ddd-bounded-context"
    ],
    "context_rel": [],
    "description": "Define intended behavior, review write scope and assess reversible decisions. Use when: acceptance or approach is unclear before coding; stop once actionable.",
    "hexagonal_role": "domain",
    "user-invocable": true,
    "output_contract": "in-place caller intent update or concise proposed amendment; never an AgentOps planning artifact",
    "skill_api_version": 1
}

Plan

Shape only missing intent. Prefer the caller's tracker, if any; otherwise use the conversation or supplied text. Planning produces no AgentOps packet. A clear change can proceed directly. Use established domain names throughout intent, examples, code and validation; Domain helps when meanings or boundaries are genuinely unclear.

Workflow

  1. Read accepted intent and relevant source owners and active constraints. Resolve only consequential uncertainty; do not reopen settled decisions without new evidence. Identify the caller-visible outcome, scope and first useful check.
  2. Describe the intended observable behavior before implementation. Reuse acceptance already supplied in the conversation or bead; clarify only what prevents action or judgment. Name the actor or caller, the event and the observable result. One example often suffices; use Given/When/Then for branching behavior and consequential boundaries. Include non-goals only where they prevent a plausible scope mistake in that existing source. If the caller requests both code and a retrospective, distinguish code acceptance, delivery facts and the later analysis in that same intent. Code judgment consumes acceptance and checks; the retrospective consumes the known outcome and judgment. Keep both requested deliverables required for the overall goal without making either depend on its own conclusion. Scope includes the hand-edited owners, affected tests/live consumers and generator-owned companions as a class; it is authority, not a predicted file count. A consequential assumption deserves an early discriminating check, not a general checklist or exhaustive survey.
  3. Choose the smallest action that advances acceptance or falsifies the risky assumption. Include recapture of affected bound evidence where necessary; use ao provenance evidence-orphans when applicable, not a mandatory ledger.
  4. When evidence disproves an approach, briefly retain the failed assumption, evidence and revised check in the existing intent or handoff. Approach changes within accepted outcome and scope need no new permission; acceptance or scope expansion requires caller authority. Never relabel a failed acceptance condition as a caveat to obtain green.
  5. Give another context exact intent references and the evidence it needs to act, its write scope and who owns integration and final review. Keep approach notes separate from frozen acceptance. Pass the next decision and relevant source references, not the entire research history. A new goal does not clear an existing conversation, and a fresh context can still have large startup instructions, tool catalogs and retrieved inputs.

Stop planning once the implementer can act and the validator can judge. More research, decomposition or review must resolve a named remaining uncertainty. Specialists and ground-truth routing are optional. Memory recall is useful only when prior evidence could change the next action.

Behavior and naming

An example can be plain text; BDD does not require a .feature file or an interview. For example, in a repository that calls queued work a Job:

Given a Job has already completed, when the worker receives it again, then its completed result is returned and its side effect is not repeated.

Use the actual domain term instead of inventing a parallel label such as "task item." Identify what the caller can observe and the smallest check that distinguishes the desired behavior from the current failure. Keep the accepted example available to Implement and Validate. Tests added after coding may supplement it; they cannot redefine what was promised.

For uncertain designs, probe the assumption that could change the approach. For product planning, distinguish demonstrated behavior from aspiration and refine the existing product owner only within the request. A product document is not required for an ordinary feature.

Decision cost and stopping

Use real undo cost, affected users and existing authority when choosing who must decide. Resolve reversible implementation details within accepted scope. A material irreversible choice outside that authority needs the caller; prior authorization remains valid. Reviewer agreement is evidence, not permission to replace the caller's intent. Explain a consequential disagreement and its support rather than silently changing acceptance.

A proposed process artifact earns its cost only with a concrete consumer, subject or release decision, observed defect and retirement condition. If the next action adds only ceremony or repeats settled evidence, omit it. Stop when the implementer can act and the validator can judge, reserving capacity for implementation, integration and repair.

This guidance adapts the intent-first approach in Matt Pocock's engineering skills using AgentOps' existing intent and evidence contracts.

Identity and scope

Use runtime-derived source identity and digest. If conversation intent needs an exact snapshot, existing ao provenance snapshot-intent --source - --evidence-root <explicit-root> uses caller-selected protected external non-Git storage. Missing routing permits neither workspace fallback nor a second planning artifact. Preserve legacy proof.

Use normalized repository-relative scope patterns. An uncovered live consumer needs a concise exact-file amendment to the caller; continue independent in-scope work meanwhile. Generated companions already in scope need no extra permission. Boundaries keep work/status in the caller's tracker and delivery under repository policy.

Version History

  • 9f8a711 Current 2026-09-22 11:00

    澄清了代码与回顾性分析的时序关系,减少协调开销,优化上下文传递和集成评审职责。

  • 8061085 2026-09-09 05:17

    引入原生证据辅助工具与新鲜家族审查默认值;实施意图快照、严格证据验证及孤儿检查;强制无头执行的有限边界与修复进度关联。

  • 7b07a7d 2026-08-19 22:00

    移除 manifest-mode 触发器,明确仅塑造单一活跃行为;强化证据边界与路由决策的咨询性质,确保尊重调用者拥有的意图源。

  • 3f402e5 2026-07-24 22:07

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/crank/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/human-only-skills/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/memory/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/one-way-door/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/route/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/skill-eval/SKILL.md
images/gemini/skills/standards/SKILL.md

Metadata

Files
0
Version
9f8a711
Hash
6fea8be0
Indexed
2026-07-24 22:07

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-27 06:11
浙ICP备14020137号-1