AgentSkillsCN

vault-write-plans-decisions

在“04-计划”与“06-决策”中,采用规范化的笔记结构,创建并维护各类规划与决策记录。当用户需要起草计划、记录决策、梳理决策依据,或同步更新计划与决策笔记时,此工具便是不二之选。

SKILL.md
--- frontmatter
name: vault-write-plans-decisions
description: Create and maintain planning and decision records in 04-Plans and 06-Decisions using canonical note structures. Use when asked to draft plans, record decisions, capture rationale, or keep plan/decision notes in sync.

Vault Write Plans Decisions

Produce high-signal planning and decision notes with validated frontmatter and clear linkage.

Workflow

  1. Determine whether request is a plan, a decision, or both.
  2. Create note(s) in canonical location.
  3. Fill required sections with concise content.
  4. Validate and report created/updated paths.

Plan Workflow (04-Plans)

  • Create with create_note using note_type=plan.
  • Include required frontmatter field goal.
  • Fill sections:
  • ## Objective
  • ## Context
  • ## Strategy
  • ## Related Goals

Decision Workflow (06-Decisions)

  • Create with create_note using note_type=decision.
  • Include required frontmatter field context.
  • Fill sections:
  • ## Context
  • ## Options
  • ## Decision
  • ## Consequences

Update Behavior

  • Use update to rewrite note bodies when refinement is requested.
  • Check agent_policies via get_vault_manifest before mutating.
  • Treat read_only or immutable as hard stop.

Validation

  • Run validate_note on all changed files.
  • Return validation failures with specific fields.

Output Format

  • Return:
  • Paths written in 04-Plans and/or 06-Decisions.
  • Summary of objective, chosen strategy, and decision result.
  • Open follow-ups as a short checklist.