agentleFS
weininghuiweininghui/skills/byterover/SKILL.md

byterover

Skill1 starsChanged 13 days agoMITView on GitHub

Manages project knowledge using ByteRover context tree. Provides two operations: query (retrieve knowledge) and curate (store knowledge). Invoke when user requests information lookup, pattern discovery, or knowledge persistence. Developed by ByteRover Inc. (https://byterover.dev/)

5 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 3 are common, 0 are distinctive, and 3 are very specific to this project.

  • 3

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Query: when you need to understand something:

    line 25
  2. Common:

    Curate: when you learned or created something valuable:

    line 30
  3. Very specific:

    Break down large contexts: - Run multiple brv curate commands for complex topics rather than one massive context.

    line 51
  4. Very specific:

    Let ByteRover read files: - Don't read files yourself before curating.

    line 53
  5. Common:

    Signal outdated context: - When curating updates that replace existing knowledge, explicitly tell ByteRover to clean up:

    line 71
  6. Very specific:

    Run brv status first. If errors occur, the agent cannot fix them—instruct the user to take action in their brv terminal.

    line 87

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ByteRover Context Tree

A project-level knowledge repository that persists across sessions. Use it to avoid re-discovering patterns, conventions, and decisions.

Why Use ByteRover

  • Query before working: Get existing knowledge about patterns, conventions, and past decisions before implementing
  • Curate after learning: Capture insights, decisions, and bug fixes so future sessions start informed

Quick Reference

CommandWhenExample
brv query "question"Before starting workbrv query "How is auth implemented?"
brv curate "context" -f fileAfter completing workbrv curate "JWT 24h expiry" -f auth.ts
brv statusTo check prerequisitesbrv status

When to Use

Query when you need to understand something:

  • "How does X work in this codebase?"
  • "What patterns exist for Y?"
  • "Are there conventions for Z?"

Curate when you learned or created something valuable:

  • Implemented a feature using specific patterns
  • Fixed a bug and found root cause
  • Made an architecture decision

Curate Quality

Context must be specific and actionable:

# Good - specific, explains where and why
brv curate "Auth uses JWT 24h expiry, tokens in httpOnly cookies" -f src/auth.ts

# Bad - too vague
brv curate "Fixed auth"

Note: Context argument must come before -f flags. Max 5 files.

Best Practices

  1. Break down large contexts - Run multiple brv curate commands for complex topics rather than one massive context. Smaller chunks are easier to retrieve and update.
  2. Let ByteRover read files - Don't read files yourself before curating. Use -f flags to let ByteRover read them directly:
    # Good - ByteRover reads the files
    brv curate "Auth implementation details" -f src/auth.ts -f src/middleware/jwt.ts
    
    # Wasteful - reading files twice
    # [agent reads files] then brv curate "..." -f same-files
  3. Be specific in queries - Queries block your workflow. Use precise questions to get faster, more relevant results:
    # Good - specific
    brv query "What validation library is used for API request schemas?"
    
    # Bad - vague, slow
    brv query "How is validation done?"
  4. Signal outdated context - When curating updates that replace existing knowledge, explicitly tell ByteRover to clean up:
    brv curate "OUTDATED: Previous auth used sessions. NEW: Now uses JWT with refresh tokens. Clean up old session-based auth context." -f src/auth.ts
  5. Specify structure expectations - Guide ByteRover on how to organize the knowledge:
    # Specify topics/domains
    brv curate "Create separate topics for: 1) JWT validation, 2) refresh token flow, 3) logout handling" -f src/auth.ts
    
    # Specify detail level
    brv curate "Document the error handling patterns in detail (at least 30 lines covering all error types)" -f src/errors/

Prerequisites

Run brv status first. If errors occur, the agent cannot fix them—instruct the user to take action in their brv terminal. See TROUBLESHOOTING.md for details.


See also: WORKFLOWS.md for detailed patterns and examples, TROUBLESHOOTING.md for error handling

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.