Conda-Forge Expert

Generate and lint Conda-Forge feedstock recipes in modern or legacy formats.

Updated Apr 13, 2025
One-click install
npx skills add https://github.com/rxm7706/local-recipes --skill conda-forge-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Conda-Forge Expert
Source: https://github.com/rxm7706/local-recipes/tree/main/.claude/skills/conda-forge-expert
Command: npx skills add https://github.com/rxm7706/local-recipes --skill conda-forge-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity and manual effort involved in creating, maintaining, and troubleshooting conda-forge recipes. It centralizes best practices and tooling knowledge, saving users significant time and reducing errors in the package development lifecycle.

Core Features & Use Cases

  • Recipe Generation & Migration: Bootstrap new recipes for PyPI/CRAN packages or manually craft them for other languages (Rust, Go, C++), supporting both legacy (meta.yaml) and modern (recipe.yaml) formats.
  • Automated Linting & Validation: Apply strict conda-forge linting rules and perform mandatory local build tests to catch errors early, ensuring compliance before submission.
  • CI Troubleshooting & Feedstock Maintenance: Diagnose and resolve common CI failures (Azure Pipelines, GitHub Actions) and guide through feedstock updates, rerendering, and bot commands.
  • Use Case: A developer needs to package a new Rust application for conda-forge. Instead of navigating disparate documentation, they use this Skill to generate a recipe.yaml template, get guidance on adding dependencies and tests, lint it locally, and perform a mandatory local build test, all within a single, guided interaction.

Quick Start

Help me create a new conda-forge recipe for my Python package 'my-awesome-lib' from PyPI, ensuring it's CFEP-25 compliant and linted.

Frequently Asked Questions about Conda-Forge Expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a conda-forge recipe for my Python package?

Generate a recipe by providing your PyPI package name. This Skill bootstraps a `recipe.yaml` or `meta.yaml` template with dependencies, build requirements, and test configuration, then lints it against conda-forge standards and runs local validation to catch errors before submission.

What's the difference between recipe.yaml and meta.yaml formats?

Recipe.yaml is the modern conda-forge format (CFEP-25 compliant); meta.yaml is the legacy format. This Skill handles both, automatically migrating recipes between formats and applying the appropriate linting rules for each, supporting Python, Rust, Go, and C/C++ projects.

How do I troubleshoot conda-forge CI failures on Azure Pipelines or GitHub Actions?

Diagnose CI errors by examining build logs and feedstock configuration. This Skill identifies common Azure Pipelines and GitHub Actions failures, recommends fixes, and guides you through rerendering and bot commands to resolve them without manual intervention.

Can I use this for offline or private conda-forge channels?

Yes. This Skill supports enterprise offline workflows and private registries, handling recipe generation, linting, and CI integration for isolated conda-forge deployments alongside standard public channel packaging.

Do I need to know conda-smithy, rattler-build, or pixi to use this?

No prior knowledge required. This Skill integrates with conda-smithy, rattler-build, and pixi, guiding you through build tool selection and configuration. It handles recipe generation, validation, and toolchain setup end-to-end.

How do I ensure my recipe meets CFEP-25 compliance?

This Skill enforces CFEP-25 compliance during recipe generation and linting, covering noarch Python packaging, mandatory linting rules, and cross-format standards. Local build tests verify compliance before feedstock submission.