---
name: store-lifecycle
description: Create, index, and manage BK stores
---

# Store Lifecycle Management

## Source Types

| Type | Command | Best For |
|------|---------|----------|
| Git repo | `/add-repo <url>` | Public libraries, trackable code |
| Local folder | `/add-folder <path>` | Private code, subdirectories |
| Web docs | `/crawl <url>` | Documentation sites, API refs |

## Naming Conventions

- **Library source**: package name (`vue`, `fastapi`, `pydantic`)
- **Documentation**: append `-docs` (`vue-docs`, `fastapi-docs`)
- **Org/project**: `org-project` (`microsoft-typescript`)
- **Versioned**: `name-version` (`react-18`, `python-3.11`)

## Quick Reference

```
# Create
/bluera-knowledge:add-repo <url> --name=<name>
/bluera-knowledge:add-folder <path> --name=<name>
/bluera-knowledge:crawl <url> --name=<name>

# Monitor
/bluera-knowledge:check-status <job-id>

# Maintain
/bluera-knowledge:index <name>
/bluera-knowledge:stores

# Remove
/bluera-knowledge:remove-store <name>
```

## Detailed Guides

- Source type details and examples: [references/source-types.md](references/source-types.md)
- Indexing, storage, and job monitoring: [references/operations.md](references/operations.md)
