Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fast-anything

БесплатноЗапускает вложенные скриптыНе проверен

Speed up a slow Python, Node.js/TypeScript, Ruby, Java, Go, PHP, C, C++ or C# app by porting its hottest pure functions to Rust and proving each port gives…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

fast-anything

The fast-anything CLI measures, records, builds, checks and swaps. You write the Rust. (The same steps are MCP tools: fast_scan, fast_port, fast_verify, fast_enable, fast_bench, fast_report.)

Loop

  1. Scan: fast-anything scan -- python app.py, using the command the user runs their app with (a representative workload, not the test suite). Pick the top function marked "port it". Skip anything under 2% of the run: porting it can't make a visible difference.
  2. Port: fast-anything port <id>. It re-runs the app, records up to 500 real calls, and creates .fast/ports/<id>/ with a stub src/lib.rs and a TASK.md. Read TASK.md fully.
  3. Write the Rust in src/lib.rs (Ruby, Java, Go, PHP, C, C++, C#: src/port.rs; src/lib.rs there is generated glue):
    • Same semantics: Unicode code points (.chars(); JavaScript compares UTF-16 units), integer ranges, float operation order, error cases.
    • Fast: borrow, no needless allocation, ASCII fast paths, with_capacity.
    • Keep the function and module names. Run cargo check in the crate.
  4. Verify: fast-anything verify <id> builds in release mode and replays every recorded call. On mismatch, read the failing call, fix, verify again. Never edit the recordings.
  5. Enable: fast-anything enable <id>, then fast-anything bench and fast-anything report.
  6. Tell the user the end-to-end speedup, the per-call speedup, and how to undo (fast-anything disable <id>, or FAST_ANYTHING_DISABLE=1 for a single run).

Don't

  • Don't edit the original Python function: the block appended to its module does the swap.
  • Don't enable a port that hasn't passed verify.
  • If a function shows ✗ (I/O, randomness, globals, lives in the entry script), say why it can't be ported yet. Suggest moving pure logic into its own module when that's the blocker.

Установить fast-anything в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep

Вложенные файлы

.claude-plugin/icon.png.claude-plugin/marketplace.json.claude-plugin/plugin.json.mcp.jsonCHANGELOG.mdCargo.lockCargo.tomlLICENSEREADME.mdcommands/fast.mddocs/assets/logo-256.pngdocs/assets/logo.pngdocs/assets/mark.pngdocs/assets/post-card.pngdocs/assets/social.pngdocs/assets/wordmark.pngexamples/fuzzy-dedupe-cpp/fuzzy.cppexamples/fuzzy-dedupe-cpp/main.cppexamples/fuzzy-dedupe-cpp/reference/port.rsexamples/fuzzy-dedupe-cs/Fuzzy.csexamples/fuzzy-dedupe-cs/FuzzyDedupe.csprojexamples/fuzzy-dedupe-cs/Program.csexamples/fuzzy-dedupe-cs/reference/port.rsexamples/fuzzy-dedupe-go/fuzzy.goexamples/fuzzy-dedupe-go/go.modexamples/fuzzy-dedupe-go/main.goexamples/fuzzy-dedupe-go/reference/port.rsexamples/fuzzy-dedupe-java-build/build.gradle.ktsexamples/fuzzy-dedupe-java-build/pom.xmlexamples/fuzzy-dedupe-java-build/reference/port.rsexamples/fuzzy-dedupe-java-build/settings.gradle.ktsexamples/fuzzy-dedupe-java-build/src/main/java/demo/App.javaexamples/fuzzy-dedupe-java-build/src/main/java/demo/Fuzzy.javaexamples/fuzzy-dedupe-java/App.javaexamples/fuzzy-dedupe-java/Fuzzy.javaexamples/fuzzy-dedupe-java/reference/port.rsexamples/fuzzy-dedupe-php/app.phpexamples/fuzzy-dedupe-php/fuzzy.phpexamples/fuzzy-dedupe-php/reference/port.rsexamples/fuzzy-dedupe-rb/app.rb

FAQ

Что делает скилл fast-anything?

Speed up a slow Python, Node.js/TypeScript, Ruby, Java, Go, PHP, C, C++ or C# app by porting its hottest pure functions to Rust and proving each port gives the same results on real recorded calls using EL4CTEO/fast-anything. Measures, records, builds, verifies with cargo, and safely hot-swaps.

Как установить скилл fast-anything?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fast-anything запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить fast-anything с