ci-cd-workflows
FreeNo executable scriptsNot checkedGuide for GitHub Actions workflows, test orchestration, parallel testing, adapter builds, releases, and CI/CD configuration. Use when working with…
About this skill
CI/CD Workflows
Purpose: Guide development, modification, and troubleshooting of AIDB's GitHub Actions CI/CD infrastructure
This skill provides practical guidance for working with workflows and configuration. Complete documentation lives in docs/developer-guide/ci-cd.md.
Related Skills
- testing-strategy - Test architecture and patterns
- dev-cli-development - Local testing with dev-cli
- adapter-development - Adapter build processes
System Overview
For complete architecture, see docs/developer-guide/ci-cd.md and architecture.md.
Workflow Organization
Note: All workflow files are now in .github/workflows/ root directory (GitHub Actions requirement). Workflows use category prefixes for organization:
Release Workflows (release-*.yaml)
release-pr.yaml- PR-based release orchestration (validate, test, build, matrix, adapters, upload)release-publish.yaml- Publish draft release on PR merge
Testing Workflows (test-*.yaml)
test-parallel.yaml- Main test orchestrator (10-15 min, runs everything including frameworks). Called byrelease-pr.yamlor via manual dispatch. Builds adapters and Docker images as part of its flow.
Adapter Workflows (adapter-*.yaml)
adapter-build.yaml- Build debug adapters for multiple platformsadapter-build-act.yaml- ACT local testing workflow (for local development with act)
Maintenance Workflows (maintenance-*.yaml)
- (Currently none - Dependabot PRs are merged manually)
Reusable Workflows (*.yaml)
load-versions.yaml- Dynamic version loadingtest-suite.yaml- Generic test runnertest-frameworks.yaml- Framework testingbuild-adapters.yaml- Adapter build orchestrationbuild-docker.yaml- Docker image builds
Single Source of Truth
versions.json (repo root):
- Infrastructure versions (Python, Node, Java) with docker_tag fields
- Adapter versions and repositories (debugpy, vscode-js-debug, java-debug)
- Global packages (build tools: pip, setuptools, wheel, typescript, ts-node)
- Platform/architecture matrix
- GitHub Actions configuration
All workflows dynamically load versions via load-versions.yaml - zero hardcoded versions.
See docs/developer-guide/ci-cd.md for configuration overview.
Version Management Strategy
- versions.json - Infrastructure versions (Python, Node, Java) and adapter versions updated manually
- pyproject.toml - Application dependencies managed by Dependabot (creates PRs automatically)
Dependabot Integration
Dependabot creates PRs directly against main, but no workflows run on these PRs:
- Target Branch: All Dependabot PRs target
main - No CI Triggers:
release-pr.yamlskips Dependabot PRs (github.actor != 'dependabot[bot]') - Manual Management: PRs are reviewed, typically retargeted to release branches, and merged manually
- Ecosystems: pip (daily), github-actions (weekly), npm (weekly)
Configuration: .github/dependabot.yaml
Common Tasks
Running Tests
On GitHub:
- Release PRs to
main→ triggersrelease-pr.yamlwhich callstest-parallel.yaml - Manual dispatch via Actions UI (workflow_dispatch) with options:
- suite: all, cli, shared, common, logging, mcp, core, frameworks, launch, ci_cd
skip_coverage: Skip coverage reporting for faster executiondebug_logging: Enable TRACE-level logging (equivalent todev-cli -vvv)
Debug logging: Enable trace-level debugging via debug_logging input (mirrors dev-cli -vvv):
gh workflow run test-parallel.yaml -f debug_logging=true- Sets:
AIDB_LOG_LEVEL=TRACE,AIDB_ADAPTER_TRACE=1,AIDB_CONSOLE_LOGGING=1
Test artifacts: All jobs upload logs to test-logs-{suite} artifacts (7-day retention):
- Includes: pytest logs, container logs, CLI logs, full test output
- Retrieval:
gh run download {run-id} -n test-logs-{suite} - Job summaries show pytest summary (capped at 100 lines) with link to full artifact
Locally:
./dev-cli test run --suite shared
./dev-cli test run -t "path/to/test.py"
./dev-cli test run --suite shared --language python
# CI/CD workflow tests (includes act-based validation)
./dev-cli test run -s ci_cd # All tests (unit + integration)
./dev-cli test run -s ci_cd -m "not slow" # Skip slow act tests
./dev-cli test run -s ci_cd -m integration # Only integration tests
With act (local CI): See quick-reference.md and CI/CD Integration Tests below.
Troubleshooting CI Failures with GitHub CLI
GitHub CLI is the primary tool for CI observability and debugging. When tests fail in CI, use GH CLI to inspect jobs, download artifacts, and analyze logs locally.
Prerequisites:
# Verify GH CLI is installed and authenticated
gh auth status
Common workflows:
# List recent workflow runs
gh run list --status=failu
Install ci-cd-workflows in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the ci-cd-workflows skill do?
Guide for GitHub Actions workflows, test orchestration, parallel testing, adapter builds, releases, and CI/CD configuration. Use when working with .github/workflows/, versions.json, or troubleshooting CI issues.
How do I install the ci-cd-workflows skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ci-cd-workflows skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
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…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by 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…
by Anthropic