.agents/skills/bknd-repo-search-with-opencode/SKILL.md
Use when querying the bknd source repository with btca CLI. Covers setup, configuration, and query patterns for learning bknd internals including data module, authentication, media handling, and adapter configuration.
npx skillsauth add cameronapak/freedom-stack-v3 bknd-repo-search-with-opencodeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
btca is a CLI tool for asking questions about git repos. It clones repositories, indexes them, and answers queries using AI.
# Install btca and OpenCode
bun add -g btca opencode-ai
# Configure model (Big Pickle: free, fast, surprisingly good)
btca config model --provider opencode --model big-pickle
# Add bknd as a resource
btca config resources add --name bknd --type git --url https://github.com/bknd-io/bknd --branch main
Or create btca.config.jsonc:
{
"$schema": "https://btca.dev/btca.schema.json",
"model": "big-pickle",
"provider": "opencode",
"providerTimeoutMs": 300000,
"resources": [
{
"type": "git",
"name": "bknd",
"url": "https://github.com/bknd-io/bknd",
"branch": "main"
}
]
}
btca ask --resource bknd --question "How do I define a schema?"
btca chat --resource bknd
btca
For detailed information, see:
btca chat --resource bknd to focus on one moduledevelopment
Use btca (Better Context App) to efficiently query and learn from the bknd backend framework. Use when working with bknd for (1) Understanding data module and schema definitions, (2) Implementing authentication and authorization, (3) Setting up media file handling, (4) Configuring adapters (Node, Cloudflare, etc.), (5) Learning from bknd source code and examples, (6) Debugging bknd-specific issues
development
Use when configuring webhook integrations in Bknd. Covers receiving incoming webhooks via HTTP triggers, sending outgoing webhooks with FetchTask, event-triggered webhooks on data changes, signature verification, retry patterns, and async processing.
development
Use when encountering Bknd errors, getting error messages, something not working, or needing quick fixes. Covers error code reference, quick solutions, and common mistake patterns.
tools
Use when writing tests for Bknd applications, setting up test infrastructure, creating unit/integration tests, or testing API endpoints. Covers in-memory database setup, test helpers, mocking, and test patterns.