
Workflow Setup
Bootstrap or extend GitHub Actions for test, lint, and deploy on Python, Rust, or TypeScript repos without hand-writing every workflow from scratch.
Install
npx skills add https://github.com/athola/claude-night-market --skill workflow-setupWhat is this skill?
- Four-step flow: audit existing workflows, gap missing jobs, render stack-specific templates, validate YAML
- Dedicated workflow sections for Python, Rust, and TypeScript with matrix testing and dependency caching guidance
- Targets **/.github/workflows/*.yml** globs and documents latest action versions and update practices
- Intermediate setup oriented to new repos, partial automation, and workflow refreshes
- Related-skills handoff for broader infra work in the same night-market bundle
Adoption & trust: 1 installs on skills.sh; 304 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Continuous integration belongs on the Ship shelf because it gates quality and release readiness before production traffic. Testing subphase is the canonical home for CI workflows that run unit tests, linters, and matrix jobs on every push.
Common Questions / FAQ
Is Workflow Setup safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Workflow Setup
## Table of Contents - [When To Use](#when-to-use) - [Standard Workflows](#standard-workflows) - [Python Workflows](#python-workflows) - [Rust Workflows](#rust-workflows) - [TypeScript Workflows](#typescript-workflows) - [Workflow](#workflow) - [1. Check Existing Workflows](#1-check-existing-workflows) - [2. Identify Missing Workflows](#2-identify-missing-workflows) - [3. Render Workflow Templates](#3-render-workflow-templates) - [4. Validate Workflows](#4-validate-workflows) - [Workflow Best Practices](#workflow-best-practices) - [Use Latest Action Versions](#use-latest-action-versions) - [Matrix Testing (Python)](#matrix-testing-python) - [Caching Dependencies](#caching-dependencies) - [Updating Workflows](#updating-workflows) - [Related Skills](#related-skills) # Workflow Setup Skill Set up GitHub Actions workflows for continuous integration and deployment. ## When To Use - Need CI/CD for a new project - Adding missing workflows to existing project - Updating workflow versions to latest - Automating testing and quality checks - Setting up deployment pipelines ## When NOT To Use - GitHub Actions workflows already configured and current - Project uses different CI platform (GitLab CI, CircleCI, etc.) - Not hosted on GitHub - Use `/attune:upgrade-project` instead for updating existing workflows ## Standard Workflows ### Python Workflows 1. **test.yml** - Run pytest on push/PR 2. **lint.yml** - Run ruff linting 3. **typecheck.yml** - Run mypy type checking 4. **publish.yml** - Publish to PyPI on release ### Rust Workflows 1. **ci.yml** - Combined test/lint/check workflow 2. **release.yml** - Build and publish releases ### TypeScript Workflows 1. **test.yml** - Run Jest tests 2. **lint.yml** - Run ESLint 3. **build.yml** - Build for production 4. **deploy.yml** - Deploy to hosting (Vercel, Netlify, etc.) ## Workflow ### 1. Check Existing Workflows ```bash ls -la .github/workflows/ ``` **Verification:** Run the command with `--help` flag to verify availability. ### 2. Identify Missing Workflows ```python from project_detector import ProjectDetector detector = ProjectDetector(Path.cwd()) language = detector.detect_language() required_workflows = { "python": ["test.yml", "lint.yml", "typecheck.yml"], "rust": ["ci.yml"], "typescript": ["test.yml", "lint.yml", "build.yml"], } missing = detector.get_missing_configurations(language) ``` **Verification:** Run `pytest -v` to verify tests pass. ### 3. Render Workflow Templates ```python workflows_dir = Path(".github/workflows") workflows_dir.mkdir(parents=True, exist_ok=True) for workflow in required_workflows[language]: template = templates_dir / language / "workflows" / f"{workflow}.template" output = workflows_dir / workflow engine.render_file(template, output) print(f"✓ Created: {output}") ``` **Verification:** Run the command with `--help` flag to verify availability. ### 4. Validate Workflows ```bash # Syntax check (requires act or gh CLI) gh workflow list # Or manually check YAML syntax python3 -c "import yaml; yaml.safe_load(open('.github/workflows/test.yml'))" ``` **Verification:** Run `pytest -v` to verify tests pass. ## Workflow Best Practices ### Use Latest Action Versions ```yaml # Good - pinned to major version - uses: actions/checkout@v4 - uses: actions/setup-python@v5 # Avoid - unpinned or outdated - uses: actions/checkout@v2 - uses: actions/setup-python@latest ``` **Verification:** Run `pytest -v` to verify tes