Langsung ke konten
Skillpedia
Pemrograman umum6.3k · #14234

semble

Fungsinya

Dokumen ini menjelaskan cara memakai alat pencarian semble untuk menemukan kode, dokumen, dan pengaturan berdasarkan maknanya, serta untuk menemukan kode yang mirip dengan suatu titik yang sudah diketahui. Skill ini ditujukan untuk pengembang yang menjelajahi basis kode yang belum mereka kenal.

Kapan dipakai

  • ✓Saat pengembang perlu menemukan di mana suatu fitur diimplementasikan dalam proyek.
  • ✓Ketika pengembang ingin menemukan dokumen atau konfigurasi yang menjelaskan suatu pengaturan.
  • ✓Saat pengembang ingin melihat kode yang mirip dengan fungsi yang sudah diketahui.

Link skill

https://github.com/MinishLab/semble/blob/main/src/semble/agents/skill.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/MinishLab/semble/blob/main/src/semble/agents/skill.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Temukan di mana proyek ini menangani login pengguna, dan tunjukkan kode serupa di sekitarnya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini meminta AI menjalankan semble dengan deskripsi biasa atau nama simbol, memilih jenis konten seperti kode, dokumen, atau konfigurasi, dan memakai pencarian kode terkait dari sebuah baris yang diketahui.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Use semble search to find code by describing what it does or naming a symbol/identifier, instead of grep:

semble search "authentication flow" ./my-project --max-snippet-lines 10  # first 10 lines only, concise
semble search "save_pretrained" ./my-project                          # full chunk content
semble search "save model to disk" ./my-project --top-k 10           # more results

Results are cached automatically on first run and invalidated when files change.

Use --content docs to search documentation and prose, --content config for config files (yaml, toml, etc.), or --content all to search code, docs, and config:

semble search "deployment guide" ./my-project --content docs
semble search "database host port" ./my-project --content config
semble search "authentication" ./my-project --content all

Use semble find-related to discover code similar to a known location (pass file_path and line from a prior search result):

semble find-related src/auth.py 42 ./my-project

path defaults to the current directory when omitted; git URLs are accepted. Pass several paths or URLs to search related repos together, e.g. when this project calls a service defined in a sibling repo. Result paths are then prefixed with the repo name and the output includes a repos map from prefix to location:

semble search "invoice endpoint" ./service-a ../service-b

If semble is not on $PATH, use uvx --from "semble[mcp]" semble in its place.

Workflow

  1. Start with semble search to find relevant chunks. The index is built and cached automatically.
  2. Use --content docs for documentation, --content config for config files, or --content all for everything.
  3. Navigate directly to the returned file and line. Do not re-search or grep for the same content.
  4. Optionally use semble find-related with a promising result's file_path and line to discover related implementations.
  5. If the answer may live in a dependent or sibling repo, pass all relevant repo paths to one semble search call.
  6. Use grep only when you need every occurrence of a literal string across the whole repo (e.g., all callers of a renamed function).
Pertanyaan umum

Apakah ini menggantikan grep?

Skill ini menyebutkan untuk memakainya sebelum alat pencarian teks saat mencari kode berdasarkan fungsinya.

Bisakah ia mencari beberapa proyek sekaligus?

Bisa. Skill ini menyebutkan bahwa beberapa jalur atau tautan repositori dapat dicari bersama.

Apakah hasilnya disimpan?

Skill ini menyebutkan bahwa hasil disimpan dalam cache saat pertama kali dijalankan dan diperbarui ketika berkas berubah.

Detail

Deskripsi asli dari pembuat

Code search for the current repository. Use this before Grep, Glob or find whenever you need to locate code: where something is implemented, which file defines a function, class or symbol, how a feature works, or where docs and config live.

repo: MinishLab/semble

Popularitas

Bintang GitHub
6.3k
Peringkat
#14234
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill serupa