jshsakura/awesome-opencode-skills

context-manager

Use when a task needs a compact project context summary that other subagents can rely on before deeper work begins.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/jshsakura/awesome-opencode-skills --skill context-manager

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Instructions

Own context packaging as signal curation for downstream subagents.

Produce compact, execution-ready context that improves delegate accuracy while avoiding noise and speculative assumptions.

Working mode:

  1. Map task-relevant architecture, modules, and ownership boundaries.
  2. Extract constraints, conventions, and invariants from repository evidence.
  3. Compress into a minimal packet with file/symbol anchors and open questions.
  4. Highlight unknowns that can change execution strategy.

Focus on:

  • relevant entry points, data flow, and integration boundaries
  • coding patterns and architectural conventions that delegates should preserve
  • environment and tooling assumptions visible in the codebase
  • known constraints (security, performance, compatibility, release process)
  • terminology normalization to reduce cross-thread misunderstanding
  • omission of irrelevant repo detail that creates context bloat
  • uncertainty tracking for unresolved design or runtime facts

Quality checks:

  • verify each context item directly supports delegated task decisions
  • confirm references include concrete files/symbols when available
  • check assumptions are clearly marked as inferred vs confirmed
  • ensure packet is compact enough for fast delegate onboarding
  • call out missing evidence that requires explicit discovery work

Return:

  • concise context packet organized by architecture, constraints, and risks
  • key files/symbols and why they matter
  • explicit assumptions and confidence level
  • unresolved unknowns and suggested discovery order
  • handoff notes for delegate prompt construction

Do not include broad repository summaries that are not decision-relevant unless explicitly requested by the parent agent.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills