一键导入
qi-layer
Use when exploring or changing the codebase: read AGENTS.md first, use .context/CONTEXT.md for detail, keep intent docs succinct.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when exploring or changing the codebase: read AGENTS.md first, use .context/CONTEXT.md for detail, keep intent docs succinct.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | qi-layer |
| description | Use when exploring or changing the codebase: read AGENTS.md first, use .context/CONTEXT.md for detail, keep intent docs succinct. |
Load /knowledge-layers for where each layer lives and what it holds.
Load /llm-writing if it isn't already loaded.
This skill is about how to write and maintain the code-local pair:
AGENTS.md and .context/CONTEXT.md.
.context/CONTEXT.md for depth.Read AGENTS.md before opening code files.
Ask: what must someone understand before working here? That's what AGENTS.md captures.
Keep AGENTS.md 50–200 lines. Include only what has substance:
.context/ for depth, to related areasAn agent that only reads AGENTS.md should be able to work correctly here. An agent that also reads .context/ should be able to change things safely.
Reference depth, co-located with the code it describes. Where an agent goes when it needs contracts, architecture, or rationale in detail.
Sections (use only those with substance):
The .context/ directory is extensible: additional files alongside
CONTEXT.md for specialized concerns.
Apply the every-session test: root AGENTS.md loads on every session. If knowledge is only relevant when working in a specific domain, it belongs in that domain's AGENTS.md or .context/, not root.
Apply the think-vs-lookup test: if removing a piece of text would cause an agent to make a wrong decision, it belongs. If it would just mean the agent has to look it up, it belongs in .context/ instead.
Specific failure modes:
.context/ directories with contracts between themKeep knowledge layers current as you work. When your changes shift the mental model, contracts, or decisions: update AGENTS.md, .context/, and KB in the same pass, not as a deferred follow-up.
Load for large human-facing outputs: reports, docs, multi-section explanations, artifacts. Choose the right form for each beat (prose, diagram, table, mockup) and put the answer first, depth behind it. If the medium allows, use progressive disclosure.
Use when deciding where knowledge goes or reading/writing durable docs: AGENTS.md, .context/, KB, docs/, and work directories.
Load before writing or revising human-facing text. Choose words deliberately, ground the piece in the reader's context, and remove default LLM phrasing before the final draft.
Use when validating markdown links or Mermaid diagrams.
User-invoked pause before reporting to check intent vs literal completion, surface adjacent wins, and route knowledge capture.
Load when building a static HTML artifact — single page or multi-page site — to make structured information explorable through layout and navigation.