跳到正文
cccskills
免费在 GitHub 公开

context-engineering

Dynamic context injection, mode switching (dev/review/research), selective loading, and strategic compaction for token optimization.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.3 KB
  • README.md230 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

  • Load: architecture docs, active code files, test files, recent changes
  • Skip: historical discussions, completed milestones, research notes
  • Priority: implementation speed

Review Mode

  • Load: code diff, coding standards, security rules, test coverage
  • Skip: architecture docs, planning notes, research
  • Priority: thoroughness and accuracy

Research Mode

  • Load: requirements, existing patterns, external research, alternatives
  • Skip: implementation details, test files, CI configs
  • Priority: breadth of information

Dynamic Injection

  • Detect project context automatically (language, framework, tools)
  • Load relevant skills based on detected context
  • Inject domain-specific patterns and conventions
  • Adjust tool allowlists per context mode

Selective Loading

  • Load only files relevant to the current task
  • Use glob patterns to scope file reading
  • Prioritize recently modified files
  • Skip binary files and generated code

Strategic Compaction

  • Monitor context token usage
  • Suggest compression for resolved/completed items
  • Archive to memory files (activeContext, patterns, progress)
  • Pre-compaction state preservation
  • Automated compaction triggers at token thresholds

Cross-Platform Detection

  • Package manager: npm (package-lock.json), pnpm (pnpm-lock.yaml), yarn (yarn.lock), bun (bun.lockb)
  • Language: TypeScript (tsconfig.json), Go (go.mod), Python (pyproject.toml), Java (pom.xml)
  • Test runner: vitest, jest, pytest, go test
  • CI/CD: GitHub Actions, Dockerfile, docker-compose

When to Use

  • Session initialization (detect context)
  • Before each phase (inject relevant context)
  • Token budget warnings (strategic compaction)
  • Mode transitions (dev to review to research)

Agents Used

  • Used by all agents indirectly through context detection
  • context-engineering agent for explicit compaction analysis

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Provide implementations of advanced data structures

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

Generate visual representations of algorithm execution

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18602026年9月17日 更新

查看 a5c-ai 的全部技能

报告此技能的问题