원클릭으로
codebase-brain
Codebase second brain workflow for AI agents — use repo maps and capability maps before deep code reads
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Codebase second brain workflow for AI agents — use repo maps and capability maps before deep code reads
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Backend testing guide — unit, integration, API contract, database, load testing
Backend development guide — API design, data modeling, business logic, security, performance
Multi-agent coordination skill — task decomposition, dependency tracking, handoff protocol, conflict resolution
Frontend development guide — UI implementation, component architecture, state management, performance
Frontend testing guide — unit, integration, visual regression, accessibility, E2E for UI
Project management skill — sprint planning, backlog grooming, risk management, reporting, stakeholder communication
| name | codebase-brain |
| version | 1.0.0 |
| description | Codebase second brain workflow for AI agents — use repo maps and capability maps before deep code reads |
| requires | [] |
| task_types | ["feature-implementation","bug-fix","refactoring","api-design"] |
| applies_to_tags | ["codebase-brain","backend","frontend","api"] |
Giúp agent giảm thời gian re-discovery trong codebase bằng cách dùng codebase brain docs trước khi đọc sâu vào code.
Ngay khi nhận task:
POST /api/agent/search-docs với projectId của task.types: repo-map, capability-map, runbook, adr.Ví dụ payload:
{
"query": "approval flow",
"projectId": "project-relayhq-aa6d7e",
"types": ["repo-map", "capability-map", "runbook", "adr"],
"agent_id": "agent-claude-code"
}
repo-map: hiểu cấu trúc thư mục, entrypoints, source of truth.capability-map: hiểu một luồng tính năng đi qua những route, service, store, component hoặc test nào.runbook: hiểu các bước thao tác hoặc debug flow.adr: hiểu vì sao kiến trúc hiện tại được chọn.capability-map trước.repo-map trước.runbook.adr trước khi sửa.Khi thay đổi làm dịch chuyển hiểu biết về codebase, agent phải cập nhật hoặc tạo docs liên quan.
Nên update docs khi: