
Common Ground: Project Registry【免费下载链接】claude-skills67 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.项目地址: https://gitcode.com/GitHub_Trending/claud/claude-skillsLast Updated: {timestamp}Tracked ProjectsProjectIDAssumptionsLast Check{name}{project_id}{count}{date}Auto-generated by /common-ground command### 更新规则 - **新建**某项目首次创建 ground file 时将其加入注册表 - **刷新**每次运行 /common-ground含 --list/--check/--graph 等模式更新 Assumptions 计数与 Last Check 日期 - **移除**当 ground file 被删除时移除对应项目文档标注为 future 的 --reset 能力当前需手动处理。 index.md 相当于存储层的总目录让 Agent 能在不逐个扫描项目子目录的情况下快速回答我跟踪了哪些项目的共识。 ## 五、人类可读文件COMMON-GROUND.md模板详解 每个项目一份位于 ~/.claude/common-ground/{project_id}/COMMON-GROUND.md。完整模板包含五个组成部分文件头、三个置信层级区块ESTABLISHED / WORKING / OPEN、以及 History 审计表。 ### 5.1 模板全文 markdown # Project Common Ground **Project:** {project_name} **Project ID:** {project_id} **Created:** {created_timestamp} **Last Updated:** {updated_timestamp} --- ## ESTABLISHED High confidence assumptions. Treat as premises. ### {id}: {title} - **Type:** {stated|inferred|assumed} - **Assumption:** {description} - **Source:** {evidence or citation} - **Validated:** {date} - **Context:** {when this applies} --- ## WORKING Medium confidence. Use but flag if contradicted. ### {id}: {title} - **Type:** {stated|inferred|assumed} - **Assumption:** {description} - **Source:** {evidence or citation} - **Validated:** {date} - **Context:** {when this applies} --- ## OPEN Low confidence. Ask before assuming. ### {id}: {title} - **Type:** {stated|inferred|assumed|uncertain} - **Assumption:** {description} - **Source:** {evidence or citation} - **Validated:** {date} - **Context:** {when this applies} --- ## History | Date | Action | ID | Details | |------|--------|------|---------| | {date} | {Created/Promoted/Demoted/Archived} | {id} | {details} | --- *Managed by /common-ground command*5.2 三个层级的语义差异模板中每个字段都对 Agent 的后续行为有直接约束各层级字段完全一致差异在语义层级置信度Agent 行为来自 assumption-classification.mdESTABLISHED高视为前提premise直接行动不再反复确认WORKING中作为工作基础使用但一旦被矛盾证据推翻需显式标记OPEN低行动前必须先询问用户层级之间可通过 promoteOPEN→WORKING→ESTABLISHED与 demote 双向迁移迁移由用户在交互流程Phase 2中确认且每次迁移都会在 History 表中留下审计记录。5.3 假设 ID 格式A{number}项目内按A001、A002、A003顺序递增编号永不复用即使假设被归档其 ID 也不重新分配给新假设当前最大 ID 记录在ground.index.json的next_id字段作为下一次分配的起点。这一设计保证了历史记录中的引用稳定性任何对 A003 的引用在项目生命周期内都指向同一条假设配合 History 表即可完整还原其生命周期。六、机器可读文件ground.index.jsonSchema位于~/.claude/common-ground/{project_id}/ground.index.json是存储层的事实源source of truth。COMMON-GROUND.md本质上是它的视图由命令在每次更新时重新生成。6.1 完整 Schema{ version: 1.0, project_id: {project_id}, project_name: {human_readable_name}, created: {ISO_timestamp}, last_updated: {ISO_timestamp}, next_id: 4, assumptions: [ { id: A001, title: {short_title}, type: stated|inferred|assumed|uncertain, tier: ESTABLISHED|WORKING|OPEN, assumption: {full_description}, source: {evidence}, validated: {ISO_date}, context: {when_applies}, created: {ISO_timestamp}, history: [ { date: {ISO_timestamp}, action: created|promoted|demoted, from_tier: null, to_tier: WORKING, reason: {optional} } ] } ], archived: [] }【免费下载链接】claude-skills67 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.项目地址: https://gitcode.com/GitHub_Trending/claud/claude-skills创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考