agentleFS
yoshi47yoshi47/ai-conversation-search/CLAUDE.md

ai-conversation-search

CLAUDE.md1 starsChanged 9 months agoMITView on GitHub

Cargo.toml is the single source of truth for the package version. This updates all version locations: - Cargo.toml (Rust package) - .claude-plugin/plugin.json (plugin metadata) - .claude-plugin/marketplace.json (marketplace metadata) - skills/index.json (OpenCode skill catalog) - bin/ai-conversation-search (wrapper script version) CI (scripts/check-versions.sh) fails when any of these differs from Cargo.toml, and the release workflow also fails when they differ from the pushed tag. OpenCode loads the skill from skills/index.json on main. Existing OpenCode users keep their cached copy until version changes; new…

  • Commits and pushes

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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. Very specific:

    When you edit SKILL.md, mirror the change into conversation-search.md (keeping its REFERENCE.md pointer) and bump the version, or OpenCode …

    line 32
  2. Very specific:

    Only bump minor version (0.6 → 0.7) for breaking changes.

    line 42
  3. Distinctive:

    Run it against the build you are about to release, not the cached one:

    line 60
  4. Very specific:

    Before pushing a release tag, run at least one scenario from tests/skill-discovery/scenarios.md in a fresh Claude Code session to verify …

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “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
CLAUDE.md

Version Management

Single Source of Truth

Cargo.toml is the single source of truth for the package version.

  • Plugin JSON files (.claude-plugin/*.json) must be updated when bumping

Bumping Version

./scripts/bump-version.sh <new-version>

This updates all version locations:

  • Cargo.toml (Rust package)
  • .claude-plugin/plugin.json (plugin metadata)
  • .claude-plugin/marketplace.json (marketplace metadata)
  • skills/index.json (OpenCode skill catalog)
  • bin/ai-conversation-search (wrapper script version)

CI (scripts/check-versions.sh) fails when any of these differs from Cargo.toml, and the release workflow also fails when they differ from the pushed tag.

OpenCode loads the skill from skills/index.json on main. Existing OpenCode users keep their cached copy until version changes; new installs fetch main HEAD immediately, so keep SKILL.md on main compatible with the latest released binary. Its files list is hand-maintained: add any new file under skills/conversation-search/ there, or OpenCode never downloads it.

skills/conversation-search/conversation-search.md is the HTTP-catalog copy of SKILL.md in named-Markdown form, so its skill ID is conversation-search instead of the literal SKILL. When you edit SKILL.md, mirror the change into conversation-search.md (keeping its REFERENCE.md pointer) and bump the version, or OpenCode users keep serving the stale copy.

Pre-push Hook

A git pre-push hook validates that the version tag doesn't already exist on the remote. This prevents CI failures from trying to create duplicate releases.

Breaking Changes

Only bump minor version (0.6 → 0.7) for breaking changes. Update SKILL.md minimum version if needed.

Release

Push a version tag to trigger GitHub Actions release:

git tag v<version>
git push origin v<version>

This builds binaries for macOS (arm64/x86_64) and Linux (x86_64) and uploads them to GitHub Releases.

Pre-release manual check (wrapper tests)

tests/test_pick.sh covers the wrapper: the pick picker, the fzf preview command, and the tree flags that preview depends on. It is not in CI — several assertions need a populated index, which a CI runner does not have.

Run it against the build you are about to release, not the cached one:

cargo build --release
ACS_TEST_BINARY="$PWD/target/release/ai-conversation-search" sh tests/test_pick.sh

Without ACS_TEST_BINARY the script resolves the binary the wrapper would download for its version, which does not exist until the release is published — so it would skip everything.

Pre-release manual check (skill discoverability)

Before pushing a release tag, run at least one scenario from tests/skill-discovery/scenarios.md in a fresh Claude Code session to verify that the conversation-search skill is selected for those prompts. See tests/skill-discovery/README.md for the full procedure.

Testing

cargo test

cargo test <test_name> # run specific test

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.