perfecthash-conda-packaging
БесплатноЗапускает вложенные скриптыНе проверенBuild, smoke-test, upload, and debug PerfectHash conda packages and release automation. Use when working on `conda/recipe/**`…
от tpn★ 97 звёзд на GitHubОб этом скилле
PerfectHash Conda Packaging
Overview
Use this skill for the full PerfectHash conda lifecycle:
- local multi-output builds from
conda/recipe/ - local
file://smoke tests - upload to
anaconda.org/perfecthash - remote smoke-test installs from the org channel
- conda-forge bootstrap and feedstock automation changes
Current repository assumptions:
- packaging is Linux-first
perfecthashis a meta package that depends onperfecthash-fullandperfecthash-python- upload credentials come from
ANACONDA_API_TOKEN - default upload target comes from
ANACONDA_UPLOAD_USERand currently defaults toperfecthash
Primary repo files:
conda/recipe/meta.yamlconda/recipe/build.sh.github/workflows/conda-package.ymldocs/packaging.md
Preferred Workflow
- Inspect the current recipe and workflow before editing.
- Use the helper script for the normal local cycle:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh
- If packaging files change, validate both:
conda build conda/recipe --output- workflow YAML parse
- If upload is part of the task, verify the remote install path from
-c perfecthash -c conda-forge. - If the task is conda-forge-related, keep upstream/local recipe logic aligned with
docs/packaging.md.
Local Cycle
Default local build plus local smoke test:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh --version X.Y.Z
Build, local smoke test, upload, and remote smoke test:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh \
--version X.Y.Z \
--upload \
--remote-test
Preview commands without executing:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh \
--version X.Y.Z \
--upload \
--remote-test \
--dry-run
What the script does:
- resolves version from
--version,PERFECTHASH_CONDA_VERSION, or latestv*tag - runs
conda build ... --output - builds artifacts into
conda/outby default - runs
conda indexand installsperfecthashfrom the localfile://channel - uploads artifacts with
anaconda ... upload --user "$ANACONDA_UPLOAD_USER" --label main --skip-existing - optionally installs
perfecthashback from the remote org channel
Editing Rules
When changing conda/recipe/meta.yaml:
- keep the multi-output package names stable unless the user explicitly wants a package rename
- keep
perfecthashas the meta package andperfecthash-full+perfecthash-pythonas the default dependency set unless the user explicitly changes policy - keep LLVM requirements restricted to LLVM-backed outputs
- keep the Python output unbundled for conda and let it depend on the matching native package output
- remember that local tree builds may use
source.path, while tag-triggered CI builds use release tarball URL + SHA256
When changing .github/workflows/conda-package.yml:
- keep tag-triggered builds aligned with release tags (
v*) - do not treat Anaconda.org upload as conda-forge publication
- keep upload target configurable via
ANACONDA_UPLOAD_USER
When changing .envrc or auth flow:
- prefer
direnvplusgpg-decrypted token files over hardcoded plaintext tokens - avoid printing secrets in command output
- if a token is exposed in output, tell the user to rotate it
Conda-forge Notes
Use docs/packaging.md as the source of truth for current bootstrap status.
Important constraints:
- conda-forge publication does not use this repo's
ANACONDA_API_TOKEN - staged-recipes bootstrap is a one-time maintainer step
- recurring updates happen in feedstock CI and usually via bot PRs
- new output package names added later may require extra conda-forge admin handling, so preserve package names unless there is a deliberate migration
Validation
Minimum validation after packaging edits:
conda build conda/recipe --output
ruby -ryaml -e 'YAML.load_file(".github/workflows/conda-package.yml") && puts("ok")'
Preferred validation after meaningful recipe/workflow changes:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh --version X.Y.Z
If upload or channel behavior changed:
skills/perfecthash-conda-packaging/scripts/conda-cycle.sh \
--version X.Y.Z \
--upload \
--remote-test
Установить perfecthash-conda-packaging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл perfecthash-conda-packaging?
Build, smoke-test, upload, and debug PerfectHash conda packages and release automation. Use when working on `conda/recipe/**`, `.github/workflows/conda-package.yml`, Anaconda.org uploads for `anaconda.org/perfecthash`, or conda-forge bootstrap/feedstock planning.
Как установить скилл perfecthash-conda-packaging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл perfecthash-conda-packaging запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic