Skip to content
btr-curate logo

BTR Curate

btr-curate

Add context to LOCAL BTR tree (NOT ByteRover/brv). Use `btr` CLI or `mcp__btr__*` MCP tools. Add or update context in the BTR tree with AI-powered metadata extraction. Use when the user wants to "add to context tree", "store this in BTR", "curate to BTR", or needs to organize knowledge with intel...

SKILL.md

Full skill instructions

BTR Curate

⚠️ CRITICAL: BTR ≠ ByteRover

This skill uses btr (local context tree), NOT brv (ByteRover CLI).

CommandToolSyntax
✓ CORRECTbtrbtr curate <domain> <topic> --content "..."
✗ WRONGbrvDifferent tool, different syntax, requires auth

PREFER MCP tools when available:

  • mcp__btr__curate_context - Structured, type-safe
  • mcp__btr__query_context - Validated search

Only use Bash btr commands if MCP tools are unavailable.

Add or update context with intelligent metadata extraction.

Preferred Method

  1. FIRST: Use MCP tools if available

    mcp__btr__curate_context(domain="auth", topic="jwt-flow", content="...", tags=["security"])
    
  2. FALLBACK: Use btr CLI via Bash

    btr curate auth jwt-flow --content "..." --tags security
    
  3. NEVER: Use brv (different product entirely)

Quick Start

btr curate <domain> <topic> --content "<content>" [--tags tag1,tag2]

Instructions

  1. Analyze the content to curate
  2. Suggest appropriate domain and topic
  3. Auto-extract relevant tags from content
  4. Generate a brief summary
  5. Run the CLI command
  6. Confirm successful curation

Auto-Tagging Guidelines

Extract tags based on:

  • Technology names (react, typescript, postgresql)
  • Patterns (singleton, middleware, decorator)
  • Concepts (authentication, caching, validation)
  • Categories (security, performance, best-practice)

Interactive Mode

For complex content, use interactive mode:

btr curate --interactive

This walks through domain selection, topic naming, and tag extraction step by step.

Domain Selection Guide

Content TypeSuggested Domain
Login, tokens, sessionsauth
REST endpoints, GraphQLapi
SQL, ORM, migrationsdatabase
Components, hooks, CSSfrontend
Unit tests, integration teststesting
CI/​CD, containers, monitoringdevops
Design decisions, patternsarchitecture
Security rules, validationsecurity
Performance tuningperformance

Topic Naming Conventions

Use kebab-case with descriptive names:

Good:

  • jwt-refresh-token-flow
  • postgres-connection-pool-config
  • react-form-validation-hook

Avoid:

  • jwt (too generic)
  • myStuff (not descriptive)
  • temp_notes (not permanent-sounding)

Updating Existing Context

To update an existing topic:

btr curate auth jwt-validation --content "..." --update

The --update flag merges new content with existing content.

Content Guidelines

When curating content, include:

  1. The What: Actual code or configuration
  2. The Why: Reason for this approach
  3. The When: When to use this pattern
  4. Usage Examples: How to apply it
  5. Caveats: Any gotchas or limitations

Example Curation Flow

User provides a code snippet for database connection pooling.

  1. Analyze content: PostgreSQL connection pool configuration
  2. Suggest domain: database
  3. Suggest topic: postgres-connection-pooling
  4. Extract tags: postgresql, connection-pool, performance, configuration
  5. Execute:
    btr curate database postgres-connection-pooling \
      --content "..." \
      --tags postgresql,connection-pool,performance,configuration
    
  6. Confirm: "Curated to database/​postgres-connection-pooling with 4 tags"

For metadata extraction scripts, see scripts/​extract-metadata.py.

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View