project-awareness
Build and maintain a three-layer project awareness system that gives Claude Code both the 30,000-foot architectural view AND the ability to drill into specifics — without exceeding context limits. Use this skill whenever: starting work on any project with 10+ source files; the user says "bootstrap", "set up awareness", "analyze this project", "build the map"; the user says "you're missing the big picture", "you don't understand the architecture", "you keep forgetting", "update the docs"; a CLAUDE.md exists with an [AWARENESS] section (this means the system is already bootstrapped — load and follow it); or when starting an Agent Teams session on any project (each agent must load its subsystem doc). This skill supersedes and works alongside deep-focus. Deep-focus is HOW you work carefully; project-awareness is HOW the project's knowledge is organized and maintained.
原文 · 译文尚未补齐适用对象:办公与团队协作。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Project Awareness: Three-Layer Context Architecture
- The Three Layers
- Layer 1: Constitution (CLAUDE.md — always loaded, 150-200 lines)
- Layer 2: Subsystem Docs (.claude/awareness/subsystems/.md — loaded on demand)
- Layer 3: Structural Map (.claude/awareness/structural-map.md — loaded on demand)
- Bootstrap Protocol (First Time Setup)
- Phase 1: Reconnaissance
- Phase 2: Subsystem Identification
You cannot hold an entire non-trivial codebase in one context window. Stop trying. Instead, maintain a structured knowledge system that gives you the 30,000-foot view always, subsystem details on demand, and a compressed structural map for navigation. The project's CLAUDE.md is the "hot memory." It loads on every session start. It contains: What the project IS (2-3 sentences) Module/subsystem inventory (name + one-line purpose each) Key architectural invariants (the rules that must NEVER be violated) Design tensions (known conflicts in the architecture, e.g., "block cache is 4K but AG headers are 512-byte sectors — every write to block 0 must use sector granularity") Routing table: which subsystem doc to load for which task Build/test commands The [AWARENESS] marker with metadata (last update, coverage stats) This document is the SINGLE MOST IMPORTANT artifact. If an agent does nothing else, reading this document should prevent the most common mistakes. Each major subsystem gets its own document. These are the "domain expert" docs. They contain: What the subsystem does and its public API Internal architecture (key data structures, state machines, flows) Invariants specific to this
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- sshoecraft/ccenv
- 源文件
- ccproject/SKILL.md
- 固定版本
- e17f4107f24057f83d8727e1370f201ac6d7c255
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
第一件可以尝试的小事
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
对应 AI 工具说明
作者有说明不等于本站实机验证。没有证据时,不自动标为兼容、安全或免费。
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:sshoecraft/ccenv · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T21:01:31.165Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。