From backflow
기존 프로젝트의 서비스, 리포지토리, 미들웨어를 스캔하여 레지스트리를 생성합니다. "코드베이스 스캔", "기존 코드 파악" 요청 시 사용.
npx claudepluginhub hbs9312/hbs9312-plugins --plugin backflowThis skill is limited to using the following tools:
기존 프로젝트에서 재사용 가능한 서비스, 리포지토리, 미들웨어, 유틸리티를 파악합니다.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
기존 프로젝트에서 재사용 가능한 서비스, 리포지토리, 미들웨어, 유틸리티를 파악합니다. B1~B6에서 "이미 있는 것을 새로 만들지 않도록" 방지하는 핵심 스킬입니다.
backend.md에서 경로를 읽어 스캔:
엔티티 / 스키마 (entity_dir, schema_path)
리포지토리 (repository_dir)
서비스 (service_dir)
컨트롤러 (controller_dir)
미들웨어 / 가드 (middleware_dir)
공유 유틸리티 (util_dir)
# service-registry.md
existing_entities:
- name: "User"
table: "users"
fields: ["id", "email", "name", "role", "created_at"]
relations:
- type: "1:N"
target: "Workspace"
field: "workspaces"
existing_repositories:
- name: "UserRepository"
path: "src/repositories/user.repository.ts"
entity: "User"
methods:
- "findByEmail(email: string): Promise<User | null>"
- "findByWorkspace(workspaceId: string): Promise<User[]>"
existing_services:
- name: "AuthService"
path: "src/services/auth.service.ts"
dependencies: ["UserRepository", "JwtService"]
methods:
- "validateUser(email, password): Promise<User>"
- "generateToken(user): Promise<string>"
existing_controllers:
- name: "AuthController"
path: "src/controllers/auth.controller.ts"
endpoints:
- "POST /api/v1/auth/login"
- "POST /api/v1/auth/register"
guards: ["LocalAuthGuard"]
existing_middleware:
- name: "JwtAuthGuard"
path: "src/guards/jwt-auth.guard.ts"
applies_to: "글로벌 (제외: /auth/*)"
existing_utils:
- name: "hashPassword"
path: "src/common/crypto.ts"
- name: "generateId"
path: "src/common/id.ts"
existing_error_codes:
- path: "src/common/error-codes.ts"
codes: ["UNAUTHORIZED", "NOT_FOUND", "VALIDATION_ERROR"]
scan_summary:
entities: {N}
repositories: {N}
services: {N}
controllers: {N}
endpoints: {N}
scanned_at: "{timestamp}"
.backflow/service-registry.md