원클릭으로
aafe-self-update
BKLog Web 项目知识自更新协议。新增模块、更新模块、调整路由/组件/API/Hook/规则时,必须同步更新 .ai-agent 中对应的项目知识文件,保持 AI 入口可定位、可复用、不过期。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
BKLog Web 项目知识自更新协议。新增模块、更新模块、调整路由/组件/API/Hook/规则时,必须同步更新 .ai-agent 中对应的项目知识文件,保持 AI 入口可定位、可复用、不过期。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
MagicBox UI 地图(可用性/边界/改动半径)。
API/Services 地图(入口/落点/改动半径)。
BKLog Web 架构地图(分层/边界/模块映射)。
编码约定地图(命名/落点/边界)。
Components 地图(目录/全局注册/改动半径)。
Hooks 地图(目录/命名/改动半径)。
| name | aafe-self-update |
| description | BKLog Web 项目知识自更新协议。新增模块、更新模块、调整路由/组件/API/Hook/规则时,必须同步更新 .ai-agent 中对应的项目知识文件,保持 AI 入口可定位、可复用、不过期。 |
.ai-agent is the single AI runtime and project knowledge root. Any code change that creates, removes, moves, or meaningfully changes a BKLog Web module must update the corresponding project knowledge file in the same task.
This keeps project skills accurate and prevents future agents from relying on stale .ai-agent/project-skills maps.
Run this self-update protocol when any of these changes happen:
Do not update project knowledge for purely local typo/style changes that do not affect navigation, contracts, or conventions.
| Change Type | Required Knowledge File |
|---|---|
| Route/page/module entry changed | .ai-agent/project-skills/bklog-architecture/SKILL.md |
| Reusable component or component directory changed | .ai-agent/project-skills/bklog-components/SKILL.md and maybe components-reference.md |
| API service added/changed | .ai-agent/project-skills/bklog-api-services/SKILL.md and maybe api-reference.md |
| Hook/composable added/changed | .ai-agent/project-skills/bklog-hooks/SKILL.md and maybe hooks-reference.md |
| Utility/formatter/parser convention changed | .ai-agent/project-skills/bklog-utils/SKILL.md |
| Coding/location/naming convention changed | .ai-agent/project-skills/bklog-coding-patterns/SKILL.md |
| retrieve-v2/log-result UI/performance invariant changed | .ai-agent/rules/retrieve-v2-ui.mdc |
| Vue development style or workspace rule changed | .ai-agent/rules/vue-development-mode.mdc / .ai-agent/rules/workspace-boundary.mdc |
| Reusable debugging/fix decision learned | .ai-agent/memory/decisions.md or .ai-agent/memory/experience.md |
| New project skill category introduced | .ai-agent/project-skills/README.md and .ai-agent/project.md |
Knowledge updates must be small and searchable. Prefer adding one of these sections:
Avoid dumping long implementation details. Keep entries as navigation hints and stable constraints.
Do not recreate the legacy shared AI directory. Do not point .cursor or .codebuddy to project knowledge outside .ai-agent. Do not duplicate the same knowledge across editor-specific files; editor entries should only point to .ai-agent.