Langsung ke konten
Skillpedia
Pemrograman umum58k Β· #3199

cli-anything-generator

Fungsinya

Skill ini mengemas pembangun CLI-Anything untuk Cursor. Skill ini untuk pengembang yang memakai Cursor dan ingin membuat alat baris perintah yang memungkinkan agent AI mengendalikan perangkat lunak desktop.

Kapan dipakai

  • βœ“Saat Anda ingin membuat harness baris perintah untuk aplikasi desktop dari dalam Cursor.
  • βœ“Saat Anda ingin menambahkan fitur ke harness yang sudah ada.
  • βœ“Saat Anda ingin menjalankan pengujian atau daftar periksa validasi pada harness.

Link skill

https://github.com/HKUDS/CLI-Anything/blob/main/cursor-plugin/skills/cli-anything-generator/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/HKUDS/CLI-Anything/blob/main/cursor-plugin/skills/cli-anything-generator/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

β€œBuat harness baris perintah untuk folder GIMP di repositori ini, lalu jalankan pengujiannya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini mencari file metodologi di folder plugin Cursor Anda, lalu mengikuti langkah build, refine, test, atau validate yang sesuai. Perintah garis miring adalah cara utama memakai skill ini, dan permintaan biasa juga bisa dipakai.

Konten teknis (SKILL.md asli)

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

CLI-Anything Generator (Cursor Plugin Skill)

This skill is packaged inside the Cursor plugin as a supporting entry point. The primary generator UX is the plugin slash commands.

Prefer Slash Commands

Goal Command
Full 7-phase build /cli-anything <path-or-repo>
Expand coverage /cli-anything-refine <path> [focus]
Run tests /cli-anything-test <path>
Validate checklist /cli-anything-validate <path>
List tools /cli-anything-list

If the user speaks naturally ("build a CLI for ./gimp"), run the same workflow as the matching command.

Consumer Path (Separate)

This skill is not the Hub consumer. For finding/installing published CLIs:

npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y

Per-app skills live under the repo skills/ tree and install via npx skills add.

PLUGIN_ROOT and Methodology

  1. Resolve PLUGIN_ROOT via discovery pointer then stamp:
    • ~/.cursor/cli-anything-generator.root / %USERPROFILE%\.cursor\cli-anything-generator.root
    • {install}/PLUGIN_ROOT.txt
    • default ~/.cursor/plugins/local/cli-anything if references/HARNESS.md exists there
  2. Read {PLUGIN_ROOT}/references/HARNESS.md with an absolute path.
  3. Read the matching file under {PLUGIN_ROOT}/references/commands/.
  4. Use guides under {PLUGIN_ROOT}/references/guides/ on demand.
  5. Helper scripts: {PLUGIN_ROOT}/scripts/repl_skin.py, preview_bundle.py, skill_generator.py, templates/.

Path remapping (from HARNESS / plugin docs)

Document reference Installed plugin path
guides/... references/guides/...
cli-anything-plugin/repl_skin.py scripts/repl_skin.py
cli-anything-plugin/preview_bundle.py scripts/preview_bundle.py
cli-anything-plugin/skill_generator.py scripts/skill_generator.py
templates/SKILL.md.template scripts/templates/SKILL.md.template
docs/PREVIEW_PROTOCOL.md references/docs/PREVIEW_PROTOCOL.md

Cursor Tool Bindings

Cursor tool Role
Read Methodology and source analysis
Grep / Glob API and file discovery
Shell Clone, pytest, pip, CLI invocation
Write / StrReplace Harness implementation
Task Optional parallel subtasks

Phase Gates

For build/refine/test/validate, maintain {software-root}/agent-harness/.cli-anything-progress.json. Create agent-harness/ when tracking starts. Do not advance without completing the previous phase. Resume non-terminal runs.

Quality Bar

Match Claude Code plugin / Codex skill output: same harness layout, namespace packaging, --json, tests, and skill generation. Do not invent a different harness format.

Pertanyaan umum

Apa saja perintah utamanya?

Perintah utamanya adalah build, refine, test, validate, dan list, dan permintaan biasa dicocokkan dengan perintah tersebut.

Apakah skill ini bisa menemukan alat yang sudah diterbitkan?

Tidak, mencari alat yang sudah diterbitkan ditangani oleh skill terpisah, yaitu CLI-Hub meta-skill.

Apakah skill ini membutuhkan Cursor?

Ya, skill ini dikemas sebagai skill plugin Cursor.

Detail

Deskripsi asli dari pembuat

Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands /cli-anything, /cli-anything-refine, /cli-anything-test, /cli-anything-validate, and /cli-anything-list when available. This skill supports natural-language discovery of the generator; it does not replace those commands. Discovering already-published CLIs from CLI-Hub is a separate consumer skill (cli-hub-meta-skill).

repo: HKUDS/CLI-Anything

Popularitas

Bintang GitHub
58k
Peringkat
#3199
Lisensi
Apache-2.0
Diperbarui
21/9/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa