Agent Skills › mvschwarz/openrig › context-builder

context-builder

GitHub

辅助产品经理收集并提炼会议、竞品、法规等背景信息,生成feature专用的background.md及更新共享上下文文档。

skills/_canonical/pm/context-builder/SKILL.md mvschwarz/openrig

Trigger Scenarios

需要为特定功能或项目整理背景资料 发现新的跨功能通用知识需更新共享文档

Install

npx skills add mvschwarz/openrig --skill context-builder -g -y
More Options

Non-standard path

npx skills add https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/pm/context-builder -g -y

Use without installing

npx skills use mvschwarz/openrig@context-builder

指定 Agent (Claude Code)

npx skills add mvschwarz/openrig --skill context-builder -a claude-code -g -y

安装 repo 全部 skill

npx skills add mvschwarz/openrig --all -g -y

预览 repo 内 skill

npx skills add mvschwarz/openrig --list

SKILL.md

Frontmatter
{
    "name": "context-builder",
    "description": "Gather and distill context from meetings, competitors, regulatory sources, and internal discussions. Produces background.md for a feature and updates shared context docs when new knowledge is discovered."
}

You are a context research assistant helping a product manager gather and distill all relevant background material for a feature or initiative.

What You Produce

  1. background.md — Feature-specific context summary. Goes in the feature folder. References shared context sources.
  2. Shared context updates — When you discover new synthesized knowledge useful across features (e.g., a customer requirements summary, a competitive analysis), write or update the appropriate shared context doc.

Three-Layer Context Model

reference/              Layer 3 — Raw sources (meetings, PDFs, documents)
    |  distill
context/                Layer 2 — Synthesized markdown (shared across features)
    |  pull relevant
background.md           Layer 1 — Feature-specific context

Process

Step 1: Understand the Feature

Ask the PM:

  • What feature or initiative is this context for?
  • What aspects are most important? (customer needs, competitive, regulatory, technical)
  • Any specific meetings, customers, or competitors to focus on?

Step 2: Search and Gather

Search across all layers. Be thorough but focused:

  • Validation first: Check the feature folder for validation.md (office hours output). If it exists, it has demand evidence, named customers, competitive status quo, and the narrowest wedge.
  • Shared context first: Check if synthesized context already exists.
  • Meetings: Search by topic keywords, customer names. Check last 3-6 months.
  • Competitors: Check competitor research for existing analysis.
  • Regulatory: Find applicable regulations.
  • Customers: Look for customer requests and pain points.
  • Existing specs: Check for related work and shipped features.

Step 3: Update Shared Context (if new knowledge found)

If your research produces synthesized knowledge useful beyond this one feature, write or update the appropriate shared context doc.

Step 4: Write background.md

---
title: "Background: [Feature Name]"
feature: [feature folder name]
updated: [today's date]
sources:
  meetings: [list of meeting file paths]
  competitive: [list of context/reference paths]
  regulatory: [list of relevant regulatory sources]
  customers: [list of customer context paths]
---

# Background: [Feature Name]

## Customer Drivers
[Who's asking and why. Key quotes and pain points.]

## Competitive Landscape
[How competitors handle this. Where we differentiate.]

## Regulatory Considerations
[Applicable regulations and compliance requirements.]

## Persona Context
[Which personas use this. Day-in-the-life context.]

## Internal Context
[Strategic alignment, stakeholder decisions, related initiatives.]

Guidelines

  • Reference, don't duplicate. Point to source files rather than copying content.
  • Distill, don't dump. background.md should be under 500 lines.
  • Include sources for everything. Every claim traces back to a meeting, report, or decision.
  • Highlight what's surprising or non-obvious.
  • Flag contradictions. If customers want different things, or data conflicts, call it out.
  • Date your sources. Context decays.

Version History

  • dc2221e Current 2026-10-18 15:36

Same Skill Collection

.agents/skills/developing-openrig/SKILL.md
.claude/skills/developing-openrig/SKILL.md
skills/_canonical/core/agent-starters/SKILL.md
skills/_canonical/core/agent-startup-and-context-ingestion/SKILL.md
skills/_canonical/core/cross-host-rig-commands/SKILL.md
skills/_canonical/core/human-in-the-loop/SKILL.md
skills/_canonical/core/messaging-the-human/SKILL.md
skills/_canonical/core/openrig-architect/SKILL.md
skills/_canonical/core/openrig-cmux/SKILL.md
skills/_canonical/core/openrig-software-factory/SKILL.md
skills/_canonical/core/openrig-upgrade/SKILL.md
skills/_canonical/core/rig-bundles-and-shareable-artifacts/SKILL.md
skills/_canonical/core/session-source-fork/SKILL.md
skills/_canonical/core/specification-system/SKILL.md
skills/_canonical/core/topology-mutation-and-seat-management/SKILL.md
skills/_canonical/core/watchdog/SKILL.md
skills/_canonical/pm/backlog-capture/SKILL.md
skills/_canonical/pm/exec-summary/SKILL.md
skills/_canonical/pm/office-hours/SKILL.md
skills/_canonical/pm/plan-review/SKILL.md
skills/_canonical/pm/requirements-writer/SKILL.md
skills/_canonical/pm/ui-mockup/SKILL.md
skills/_canonical/pods/development-team/SKILL.md
skills/_canonical/pods/orchestration-team/SKILL.md
skills/_canonical/pods/review-team/SKILL.md
skills/_canonical/process/agent-browser/SKILL.md
skills/_canonical/process/dogfood/SKILL.md
skills/_canonical/process/frontend-design/SKILL.md
skills/_canonical/process/systematic-debugging/SKILL.md
skills/_canonical/process/test-driven-development/SKILL.md
skills/_canonical/process/verification-before-completion/SKILL.md
packages/daemon/assets/skills/rigs/SKILL.md
skills/_canonical/core/openrig-herdr/SKILL.md
skills/_canonical/core/openrig-skills/SKILL.md
skills/_canonical/core/rig-lifecycle/SKILL.md
skills/_canonical/pods/oversight-team/SKILL.md
skills/_canonical/process/context-engineering/SKILL.md
skills/rigs/SKILL.md

Metadata

Files
0
Version
dc2221e
Hash
0134c9b0
Indexed
2026-10-18 15:36

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 14:57
浙ICP备14020137号-1