plan

GitHub

将用户意图转化为单一、可测试的行为规范,更新或创建对应的任务追踪器。通过路由和验证确保需求边界清晰,避免不必要的规划工件,专注于 caller 可见的最终结果。

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

Trigger Scenarios

plan discover and plan shape this goal

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": "Shape or refine the existing bead or caller intent without a second planning artifact. Triggers: \"plan\", \"discover and plan\", \"shape this goal\".",
    "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

Turn the caller's intent into one bounded, testable behavior in the place that already owns the work. Prefer the caller's tracker, if any. When no durable tracker or issue reference is available, use the caller's conversation or supplied text; the runtime snapshots those resolved intent bytes so later contexts can read and hash the same source. Do not make the model restate those facts in a packet.

Workflow

  1. Resolve the intent source and choose one active behavior. When that source is not already durable, have the runtime pass its exact bytes to the validate skill's scripts/validate.py snapshot-intent --source -, resolved relative to wherever that skill package is installed (a repo checkout: skills/validate/scripts/validate.py; an installed skill package: .agents/skills/validate/scripts/validate.py), and use the returned intent_ref for later phases.
  2. Route the work by type (see Ground-truth routing) and name its ground truth first. Then inspect only enough real context to make paths, interfaces, and evidence concrete: hydrate only the context sources this decision needs and carry their citations forward. Existing research and specialist skills are advisory inputs, never a merged context store.
  3. Ensure the source contains acceptance examples, important non-goals, and the allowed write scope. Use lightweight prose or Given/When/Then only where it removes ambiguity; do not require both normal and edge ceremony for every change.
  4. Name the first useful acceptance check.
  5. If authorized and the source is writable, update that bead or issue in place. Otherwise return a concise proposed amendment to the caller.

Planning produces no AgentOps packet. A durable caller-owned source stays in place; the runtime carries its reference and the digest of its exact resolved bytes to detect later acceptance drift. Only when no durable source exists does the runtime store those bytes under their digest as a content-addressed snapshot. That fallback is derived automatically and is not another model-authored planning artifact.

Bound the work around the caller-visible outcome, not individual files, gates, or reviewer comments. Decomposition is useful only when it reduces reasoning cost; it must not multiply invocations or proof artifacts.

Scope admission

In a repository with generated projections, write scope names generator-owned outputs as a class — the hand-edited sources plus all outputs of the owning regen commands — never as a hand-enumerated path list. Hand enumeration is falsified the first time a regen command rewrites a companion the author did not list: the 2026-07-15 heal-skill fold burned two implement lanes and three intent revisions (.agents/ao/intents/sha256/d1db59d4...2b81 superseded by f5fd7c3c...af75 superseded by 26a4f2be...eb48) before scope was restated as a class.

Before freezing acceptance, run a complexity admission: enumerate the generated companions, parity twins (for example a skills-codex/ mirror), and test files that assert on the paths being changed. Anything this pass finds that the scope does not admit will surface later as an out-of-scope diff or a broken gate.

Ground-truth routing

Every plan needs a ground truth outside the planner's own reasoning. Before freezing acceptance, classify the work and name its ground truth, its control experiment, and its deviation ledger from the row below.

Work type Ground truth Control experiment Deviation ledger
Integrate an external substrate, runtime, tracker, or service the vendor's own docs plus stock behavior run their vanilla quickstart on pinned versions with zero local code, before designing each deviation from the documented flow, each justified; and every component you write that has a native counterpart in the substrate
Extend this project the repo's existing patterns and behavior spec the simplest version that satisfies acceptance, and why it is insufficient each novelty introduced — new abstraction, dependency, or pattern
Greenfield reference experience and domain prior art a walking skeleton each deviation from the boring default, ~one novelty per change

The Extend row is already the repo's default discipline: behavior-first acceptance, RED -> GREEN, the smallest real change. The Integrate row is the one that is cheap to skip and expensive to have skipped — run the stock control experiment before you design, or you will re-plumb what the substrate already documents and inherit bugs you built yourself.

Trigger: the Integrate-row mechanics — the stock-quickstart control run and the deviation ledger from the documented flow — apply only to integration-class work (adopting or wiring in an external substrate, runtime, tracker, or service). Routine feature work on this project uses the Extend row and does not incur them.

A plan is done only when it passes the fresh-context test: a cold context, given the intent source alone, could execute it without the author's conversation. If execution needs facts that live only in the planning conversation, move them into the source before freezing.

Version History

  • 7b07a7d Current 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/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/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/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/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/standards/SKILL.md
images/gemini/skills/status/SKILL.md
images/gemini/skills/swarm/SKILL.md
images/gemini/skills/test/SKILL.md
images/gemini/skills/toil-mining/SKILL.md
images/gemini/skills/using-flywheel/SKILL.md
images/gemini/skills/using-gc/SKILL.md

Metadata

Files
0
Version
7b07a7d
Hash
8582f5e2
Indexed
2026-07-24 22:07

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 01:20
浙ICP备14020137号-1 $mapa de visitantes$