Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

software-factory

БесплатноЗапускает вложенные скриптыНе проверен

Set up an OpenHands software factory on GitHub or GitLab: choose the code host, repositories or projects, and (for GitHub) ticket source; create…

OpenHandsот OpenHands★ 190 звёзд на GitHub

Об этом скилле

Software Factory

Build a GitHub or GitLab software factory from unmodified automation catalog bundles (automations/catalog/<id>/manifest.json). A Jira or Linear ticket station for GitHub code lives in its own skill. This skill adds no automation logic.

Two phases: Phase 1 gets a working factory after asking about the code host, projects and, for GitLab, webhook reachability. Phase 2 extends it in short rounds, only as far as the user wants. After each phase, the Checkpoint shows what exists.

GitHub code can use GitHub issues (default), Jira or Linear tickets. GitLab code uses GitLab issues; the GitLab reviewer posts notes, not approvals, and the work item refiner comments on labelled issues. Bitbucket is not part of this flow.

Stations

Code host Station Catalog id Phase Needs agent profile
GitHub Issue to PR github-issue-to-pr, or the Jira or Linear station 1 yes (GitHub issues only)
GitHub PR reviewer github-pr-reviewer 1 yes
GitHub Issue triage github-issue-triage, or linear-triage-assistant 1 yes (GitHub issues only)
GitLab Issue to MR gitlab-issue-to-mr 1 no
GitLab MR reviewer gitlab-mr-reviewer 1 no
GitLab Work item refiner gitlab-prd-refiner 1 no
GitHub AGENTS.md maintainer github-agents-md-maintainer add-on no
GitHub Auto-merge watchdog github-delivery-watchdog add-on no
GitHub Stale-CI PR closer github-stale-ci-pr-closer add-on no
GitHub QA changes qa-changes add-on no

Helper script

scripts/factory.py in this skill's directory does every catalog and API step and prints one JSON document; it exits non-zero with {"error": ...} on failure. Its usage is below: do not read its source, and do not load the openhands-automation skill for Phase 1.

Set OPENHANDS_HOST to the Ingress URL in <RUNTIME_SERVICES> on a local Agent Canvas (it serves both /api/automation and /api; the automation backend URL does not), or to <HOST> on OpenHands Cloud. Run every command with only the selected code host's token:

# GitHub
GITHUB_PERSONAL_ACCESS_TOKEN="$GITHUB_PERSONAL_ACCESS_TOKEN" \
OPENHANDS_AUTOMATION_API_KEY="$OPENHANDS_AUTOMATION_API_KEY" \
OPENHANDS_API_KEY="$OPENHANDS_API_KEY" \
python3 <this skill's directory>/scripts/factory.py <command> ...

# GitLab (instead of the GitHub command)
GITLAB_TOKEN="$GITLAB_TOKEN" \
OPENHANDS_AUTOMATION_API_KEY="$OPENHANDS_AUTOMATION_API_KEY" \
OPENHANDS_API_KEY="$OPENHANDS_API_KEY" \
python3 <this skill's directory>/scripts/factory.py <command> ...

$F below stands for the selected provider's whole command. Keep its secret name in it: the agent server passes a saved secret into a command only when the command names it. The script never prints a token. Do not put a token in --set, --gitlab-api-url, a repo URL or a tool argument. For GitLab, add --provider gitlab --gitlab-api-url <HTTPS /api/v4 root> to preflight, create and tune (URL defaults to https://gitlab.com/api/v4). Add only --provider gitlab to reset-token; verify, status and tag have no provider flag. GitHub needs neither flag.

Command Does
$F preflight --repos a/b,c/d [--provider gitlab --gitlab-api-url URL] Supported stations, provider identity and per-project access; GitLab also reports event_supported and registered event_sources. GitHub checks the agent profile.
$F create --repos a/b --ids ID,ID [--trigger event --event-source SOURCE] [--set FIELD=VALUE] [--set ID.FIELD=VALUE] Fills each station's form, uploads the bundle and creates it disabled with the software-factory tag. GitLab uses cron unless --trigger event and a registered source are explicitly supplied; GitHub remains cron. FIELD=VALUE applies to every listed station with that field. Stations that already exist are reported under existing, not recreated, and get the tag added.
$F tune --repos a/b --ids ID,ID [--trigger cron|event --event-source SOURCE] [--set FIELD=VALUE] [--set ID.FIELD=VALUE] Applies settings in place, retaining the existing trigger unless explicitly changed. Use this to change a value that is fixed at creation.
$F tag ID... Adds the software-factory tag to automations created outside the script, so the Automations list can filter to the factory. Lists any it could not tag under not_tagged, each with its reason.
$F verify ID... [--no-wait ID...] Polling stations dispatch once and enable only after COMPLETED; event stations are enabled without a synthetic dispatch and return AWAITING_EVENT. An event station is not end-to-end verified until a real signed delivery completes. --no-wait skips the wait for cron stations.
$F status ID... The latest run of each.
$F prs --repos a/b [--branch-prefix P] Open pull requests whose branch starts with P (default openhands/agents-md, the AGENTS.md m
Полный SKILL.md на GitHub

Установить software-factory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.claude-plugin.codex-plugin.plugin/plugin.jsonREADME.mdcommands/software-factory.mdscripts/factory.py

FAQ

Что делает скилл software-factory?

Set up an OpenHands software factory on GitHub or GitLab: choose the code host, repositories or projects, and (for GitHub) ticket source; create issue-to-PR/MR, review and triage/refinement stations from the automation catalog. Ask whether GitLab can reach the deployment before choosing polling or signed webhooks, guide event-source setup, and request missing tokens securely.

Как установить скилл software-factory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл software-factory запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить software-factory с