liyouran1109/Code-Project-Brain

一个面向代码仓库的项目级第二大脑:把代码事实、项目上下文规则、项目经验三重知识分域存储、保持同步、按需召回,通过 MCP 协议供任意 AI Agent 使用。

1Stars on the repository
18Mods indexed here, across every type
11d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

project-context

01

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Compile a v3.0 ContextPlan (Development Guide → Project KB → CodeGraph) for the current work. The Guide is loaded FIRST to build the project mental model. Use this BEFORE writing code or editing anything.

1 11d ago A 47 tokens

project-feature

02

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Plan and implement a new feature guided by the brain. Loads context, checks the governing constraints and requirements, scopes the blast radius, and drafts the knowledge updates the feature will need. Use when adding new capability.

1 11d ago A 45 tokens

project-impact

03

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Analyze the blast radius of a code change — reachable symbols/files, docs that go stale, and the constraints/decisions/requirements/bugs affected. Use BEFORE modifying shared or central code, or after a change to see what knowledge it invalidated.

1 11d ago A 53 tokens

project-init

04

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Initialize or re-index the Code Project Brain for a project. Use when starting work on a project that has no .project-brain/ yet, or after large changes to rebuild the index (CodeGraph / Development Guide / Project KB).

1 11d ago A 50 tokens

project-knowledge

05

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Ingest external material and evolve it into project knowledge — ExternalSource → KnowledgeClaim → Decision → Constraint, each step traceable via provenance. Use when bringing in outside references (docs, tutorials, issues) and promoting them into the brain.

1 11d ago A 52 tokens

project-review

06

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Review a code change for constraint violations and knowledge drift. Loads the change's impact, checks it against governing constraints, and shepherds the resulting UpdateProposal through validate → approve → apply. Use for change review and proposal disposition.

1 11d ago A 48 tokens

project-sync

07

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Detect changed source files and run the change→proposal loop — Semantic Diff → Impact → draft UpdateProposals. Use after git pull/commit or manual edits to generate pending knowledge-update proposals for review.

1 11d ago A 43 tokens

project-update-docs

08

liyouran1109/Code-Project-Brain

Skill Claude CodeCodex

Reconcile a STALE Project KB doc with current code as a reviewable, localized patch. Validates drift, produces a diff, and applies only after review. Use when a doc is flagged stale or related-code-changed.

1 11d ago A 51 tokens