·context-fundamentals
</>

context-fundamentals

shipshitdev/library

了解代理系统中上下文的组件、机制和约束。在设计代理架构、调试与上下文相关的故障或优化上下文使用时使用。

38安装·0热度·@shipshitdev

安装

$npx skills add https://github.com/shipshitdev/library --skill context-fundamentals

SKILL.md

Context is the complete state available to a language model at inference time. It includes everything the model can attend to when generating responses: system instructions, tool definitions, retrieved documents, message history, and tool outputs. Understanding context fundamentals is prerequisite to effective context engineering.

Context comprises several distinct components, each with different characteristics and constraints. The attention mechanism creates a finite budget that constrains effective context usage. Progressive disclosure manages this constraint by loading information only as needed. The engineering discipline is curating the smallest high-signal token set that achieves desired outcomes.

System Prompts System prompts establish the agent's core identity, constraints, and behavioral guidelines. They are loaded once at session start and typically persist throughout the conversation. System prompts should be extremely clear and use simple, direct language at the right altitude for the agent.

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/shipshitdev/library --skill context-fundamentals
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 context-fundamentals?

了解代理系统中上下文的组件、机制和约束。在设计代理架构、调试与上下文相关的故障或优化上下文使用时使用。 来源:shipshitdev/library。

如何安装 context-fundamentals?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shipshitdev/library --skill context-fundamentals 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/shipshitdev/library