界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

context-pack

context-pack

【开发与工程】Get a first-pass briefing of a repository (instructions to follow, build/test/lint commands, entry points, key files, workspace packages, layout, active git work, repo memory) before exploring it. Use at the start of work in an unfamiliar or large repo, before reviewing a branch, or when the user asks where something lives.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: context-pack description: Get a first-pass briefing of a repository (instructions to follow, build/test/lint commands, entry points, key files, workspace packages, layout, active git work, repo memory) before exploring it. Use at the start of work in an unfamiliar or large repo, before reviewing a branch, or when the user asks where something lives. metadata: short-description: First-pass repo briefing

Context Pack

Run the briefing before a manual tree walk. With the MCP server installed, call get_context (or get_changed_context for review); otherwise run the CLI.

Workflow

  1. Brief: context-pack --cwd <repo>.
    • Reviewing or resuming work: context-pack review --cwd <repo>.
    • Tight budget: context-pack compact --cwd <repo>; more detail: context-pack deep --cwd <repo>.
    • A subsystem the ranking misses: add --include '<glob>'; noise: --exclude '<glob>'.
  2. Follow every file under Agent instructions before editing.
  3. Use Commands to verify changes; prefer the ones CI runs.
  4. Start reading at Entry points and Key files; use Layout and Workspace to find the right package.
  5. When you learn a durable, non-obvious fact about the repo (setup quirk, invariant, pitfall), record it: context-pack memory add "<fact>" or the add_memory_note tool. Never store secrets or task-specific state.

Guardrails

  • Rankings are heuristics. If the code disagrees with the briefing, trust the code and say so.
  • The briefing is a starting map; switch to targeted search and file reads once you know where to look.
我的收藏