{"data":{"slug":"discovered-cb2c811820b9fcabca238b83cdb91a52a4b9c59f218e888f","title":"CI Pipeline Synthesizer","summary":"Generate GitHub Actions CI\/CD pipeline configurations for automated building and testing of library and package projects, including templates for npm, Python, Go, and Rust ecosystems.","url":"https:\/\/skillshunter.net\/skills\/discovered-cb2c811820b9fcabca238b83cdb91a52a4b9c59f218e888f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-cb2c811820b9fcabca238b83cdb91a52a4b9c59f218e888f","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-cb2c811820b9fcabca238b83cdb91a52a4b9c59f218e888f.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-cb2c811820b9fcabca238b83cdb91a52a4b9c59f218e888f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"This skill assumes ordinary language-toolchain dependencies (pip\/npm\/go\/cargo) and does not model the specific CI needs of this repository, such as installing a real `ffmpeg` binary per OS or handling Windows test coverage in `tests\/test_contract.py`.","instructions":"---\nname: ci-pipeline-synthesizer\ndescription: Generate GitHub Actions CI\/CD pipeline configurations for automated building and testing of library and package projects. Use when creating or updating CI workflows for npm packages, Python packages, Go modules, Rust crates, or other library projects that need automated build and test pipelines. Includes templates for common package ecosystems with best practices for dependency caching, matrix testing, and artifact publishing.\n---\n\n# CI Pipeline Synthesizer\n\n## Overview\n\nGenerate production-ready GitHub Actions workflow files for library and package projects with automated build and test stages, dependency caching, and multi-version testing matrices.\n\n## Workflow\n\n### 1. Identify Project Type\n\nDetermine the package ecosystem by examining project files:\n- **Node.js\/npm**: `package.json` present\n- **Python**: `setup.py`, `pyproject.toml`, or `requirements.txt` present\n- **Go**: `go.mod` present\n- **Rust**: `Cargo.toml` present\n\n### 2. Select Template\n\nUse the appropriate template from `assets\/` based on project type:\n- `github-actions-nodejs.yml` - Node.js\/npm packages\n- `github-actions-python.yml` - Python packages\n- `github-actions-go.yml` - Go modules\n- `github-actions-rust.yml` - Rust crates\n\n### 3. Customize Configuration\n\nAdapt the template to project-specific needs:\n\n**Test commands**: Update test scripts to match project conventions\n- Node.js: `npm test`, `npm run test:coverage`\n- Python: `pytest`, `python -m unittest`\n- Go: `go test .\/...`\n- Rust: `cargo test`\n\n**Build commands**: Adjust build steps if needed\n- Node.js: `npm run build` (if build step exists)\n- Python: `python -m build`\n- Go: `go build`\n- Rust: `cargo build --release`\n\n**Version matrix**: Modify tested versions based on support policy\n- Node.js: LTS versions (16.x, 18.x, 20.x)\n- Python: Active versions (3.9, 3.10, 3.11, 3.12)\n- Go: Recent versions (1.21, 1.22)\n- Rust: stable, beta (optional)\n\n**Trigger conditions**: Adjust when pipeline runs\n- Default: Push to main\/master, all pull requests\n- Custom: Specific branches, paths, or schedules\n\n### 4. Place Workflow File\n\nCreate the workflow file at `.github\/workflows\/ci.yml` in the project root. If `.github\/workflows\/` doesn't exist, create the directory structure first.\n\n### 5. Verify Configuration\n\nCheck that the generated workflow:\n- Uses appropriate actions versions (e.g., `actions\/checkout@v4`, `actions\/setup-node@v4`)\n- Includes dependency caching for faster builds\n- Runs on appropriate triggers (push, pull_request)\n- Tests against relevant version matrices\n- Has clear job and step names\n\n## Template Features\n\nAll templates include:\n- **Dependency caching**: Speeds up builds by caching package managers\n- **Matrix testing**: Tests across multiple language\/runtime versions\n- **Parallel execution**: Runs tests for different versions concurrently\n- **Clear naming**: Descriptive job and step names for easy debugging\n- **Best practices**: Uses recommended actions and configurations\n\n## Customization Examples\n\n**Add code coverage reporting**:\n```yaml\n- name: Upload coverage to Codecov\n  uses: codecov\/codecov-action@v3\n  with:\n    file: .\/coverage.xml\n```\n\n**Add linting step**:\n```yaml\n- name: Run linter\n  run: npm run lint  # or: pylint, golangci-lint, cargo clippy\n```\n\n**Restrict to specific branches**:\n```yaml\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    branches: [main]\n```\n\n**Add scheduled runs**:\n```yaml\non:\n  schedule:\n    - cron: '0 0 * * 0'  # Weekly on Sunday\n```\n\n## Tips\n\n- Start with the template and customize incrementally\n- Test the workflow by creating a pull request or pushing to a test branch\n- Use `actions\/cache` for dependencies to reduce build times\n- Keep matrix versions current with language support policies\n- Add status badges to README.md: `![CI](https:\/\/github.com\/user\/repo\/workflows\/CI\/badge.svg)`\n\n## Note for this repository (ffmpeg-skill)\n\nThis skill's generic templates assume ordinary language-toolchain dependencies\n(pip\/npm\/go\/cargo). They do NOT model this repo's actual CI needs \u2014 installing\na real `ffmpeg` binary per OS (apt\/brew ffmpeg-full\/choco), capturing its\n`-filters`\/`-encoders`\/`-bsfs` listings as an artifact, or the `skipIf`-based\nWindows test coverage in `tests\/test_contract.py` \u2014 all of which\n`.github\/workflows\/ci.yml` already handles and this skill's templates would\nnot reproduce. Treat this as reference\/scaffolding for a plain Python\/Node\/Go\/\nRust package elsewhere, not a drop-in replacement for this repo's own\nworkflow.\n","use_cases":["Generate GitHub Actions CI\/CD pipelines for npm packages","Create automated build and test workflows for Python projects","Set up CI\/CD for Go modules with dependency caching","Configure Rust crate testing matrices in GitHub Actions"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/kajisho5\/ffmpeg-skill\/blob\/daae28ea4fe27223932392be07206798423c0f8b\/.claude\/skills\/ci-pipeline-synthesizer\/SKILL.md","source_commit":"daae28ea4fe27223932392be07206798423c0f8b","license":null,"version":null,"listing_approved_at":"2026-11-28","created_at":"2026-11-28T08:11:03.000000Z","updated_at":"2026-11-28T18:38:03.000000Z","seo_title":"CI Pipeline Synthesizer - Generate GitHub Actions Workflows for npm,Py","seo_description":"Create production-ready GitHub Actions workflows for library and package projects with automated build and test stages, dependency caching, and multi-version testing.","seo_keywords":["GitHub Actions CI\/CD","npm CI pipeline","Python GitHub Actions","Go CI workflow","Rust GitHub Actions","automated testing workflows","dependency caching GitHub Actions"]}}