跳到正文
FunCoding

wenlan-brief

Read the current Space-owned project Brief from Wenlan. With an optional topic, appends separately labeled related context from the same Space. Invoked as `/wenlan-brief [topic]` when resuming work or asking to catch up.

Star
502
许可证
Apache-2.0
最近提交
2026年12月2日

plugin-agents/skills/wenlan-brief/SKILL.md

在 GitHub 上查看

/wenlan-brief

Read one Space's current project snapshot. The daemon Brief is authoritative; ~/.wenlan/sessions/_status/*.md is only a one-way human-readable receipt and must never be read as product state.

1. Resolve the Space

Run the bundled resolver once. It prints the resolved Space line itself; an empty space means unscoped, so omit space.

raw_args="<the full argument string passed to /wenlan-brief>"
resolved="$("{{WENLAN_SKILLS_DIR}}/wenlan/scripts/resolve-space.sh" --cwd "$PWD" --args "$raw_args")"
space="$(printf '%s\n' "$resolved" | cut -f1)"
source_layer="$(printf '%s\n' "$resolved" | cut -f2)"
topic_arg="$(printf '%s\n' "$resolved" | cut -f3-)"

2. Read the Brief

Call:

brief(
  topic="<topic_arg only when the user supplied one>",
  space="<resolved only when non-empty>"
)

Do not invent or infer a topic when the argument is absent. No topic means the complete Brief alone. A topic means the same complete Brief plus a separate Related Context section scoped to that Space.

Brief reads never create state. If the state is brief_not_created, explain that the first /wenlan-handoff update will create it. If the state is space_not_resolved, ask for a Space only when the working directory and configuration cannot resolve one safely.

Render:

  1. Last-session summary.
  2. Active items.
  3. Backlog items.
  4. Related Context, only when returned.

Keep stable item IDs and versions available for later /wenlan-handoff reconciliation, but do not clutter the normal user-facing list with them.

3. Pending revisions

After the Brief, call:

list_pending_revisions(limit=10)

If empty, say nothing. If the call fails, emit one warning and keep the Brief. If non-empty, show at most the top three with target_source_id, revision_content, and source agent. Never auto-action them. Only the person accepts a revision, in the Wenlan app: say they wait there. You never accept one.

  • dismiss, when the person turns one down: dismiss_revision(target_source_id="<id>")
  • skip: no call

If more than three exist, point to /wenlan curate revisions.

Boundary

Use /wenlan-brief to resume a Space or answer "catch me up." It is not a mandatory every-session boot step. Use /wenlan-recall for a specific fact, /wenlan-capture for a durable memory, and /wenlan-handoff to close a work session.

相似的 Skill

ask-matt

MAmattpocock/skills337k近 7 天新增 4,978 个 star

chief-of-staff

MAmattpocock/skills337k近 7 天新增 4,978 个 star

setup-matt-pocock-skills

MAmattpocock/skills337k近 7 天新增 4,978 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 4,772 个 star

autonomous-loops

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

autonomous-agent-harness

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star