feature-init
БесплатноЗапускает вложенные скриптыНе проверенInitialize feature-workflow for a project, or refresh CI files with --update. Creates docs/features/, .feature-workflow.yml, and optional GitHub Actions…
от schuettc★ 15 звёзд на GitHubОб этом скилле
Initialize Feature Workflow
You are executing the FEATURE INIT workflow — either a one-time setup for a new project, or an update that refreshes CI files in an existing project.
Modes
- Init — first time setup. Creates
docs/features/,.feature-workflow.yml, and (if chosen) the GitHub Actions review workflow + prompts + API key secret. - Update — existing project. Refreshes
.github/workflows/feature-review.ymland.github/review-prompt-*.mdfrom the current plugin templates. Does not touch.feature-workflow.yml, the API key secret, ordocs/features/. Use this after upgrading the plugin to pull in improved workflow/prompt logic. - Workspace — scaffold a multi-repo workspace repo (manifest + members + topology) instead of a single project. See "Workspace mode" below.
If the user said /feature-init --update or asked to "update" / "refresh" the CI files, jump to Step 3: Run Init Script with --update and skip the config gathering.
Workspace mode (/feature-init --workspace)
If the user invokes /feature-init --workspace (or asks to "set up a multi-repo workspace"), scaffold a workspace repo instead of a single-project init:
Ask for the GitHub org and the member repos (each as
dir=owner/repo). If they're unsure, list the org's repos withgh repo list <org>.Run the scaffolder:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/feature-init/scripts/init.py" . --workspace \ --org <org> \ --member <dir>=<owner/repo> [--member <dir>=<owner/repo> ...]Tell the user to run
./scripts/clone-members.shto pull the members in, then launch Claude from the workspace directory — every member is then in-tree, so cross-repo edits don't prompt.
The workspace is identified by its .feature-workspace.yml manifest, not its name. Single-repo features live in each member's docs/features/; cross-repo work is an epic in the workspace docs/features/. See docs/designs/2026-06-08-multi-repo-workspace.md for the full model.
Step 1: Check for Existing Setup
Check if .feature-workflow.yml exists in the project root. If it does, read it and show the current config:
"Feature workflow is already configured:
Branch prefix: <prefix>
Target branch: <target>
Reviewer: <reviewer>
Would you like to (a) change settings, (b) refresh CI files from the latest templates (--update), or (c) do nothing?"
- (a) → continue to Step 2 to gather new config.
- (b) → run with
--update(skip Step 2). - (c) → stop.
Step 2: Gather Configuration
$ARGUMENTS
If arguments were provided, parse them as <branch-prefix> <target-branch> (e.g., /feature-init feat/ main).
If no arguments, ask the user:
Branch prefix — what prefix do feature branches use?
- Examples:
feature/,feat/,fix/,topic/ - Default:
feature/
- Examples:
Target branch — what branch do feature PRs merge into?
- Examples:
dev,develop,main,staging - Default:
dev
- Examples:
External reviewer — which AI reviewer should review PRs via GitHub Actions?
gemini— uses Google's Gemini CLI viagoogle-github-actions/run-gemini-clicodex— uses OpenAI's Codex CLI viaopenai/codex-actionoci— calls OCI Generative AI's OpenAI-compatiblechat/completionsendpoint directly (no agentic CLI). Use when the reviewer must run on an OCI-served model (e.g.openai.gpt-4.1) with an OCI GenAI API key.none— skip CI review setup (can be added later by re-running init)- Default:
none
API key (only if reviewer is gemini, codex, or oci) — the API key for the chosen reviewer.
- For Gemini: a Google API key from https://aistudio.google.com/apikey
- For Codex: an OpenAI API key from https://platform.openai.com/api-keys
- For OCI: an OCI Generative AI API key (
sk-…) from OCI Console → Analytics & AI → Generative AI → API keys. - The key is uploaded as a GitHub repo secret (
GOOGLE_API_KEY/OPENAI_API_KEY/OCI_GENAI_API_KEY) viagh secret set— it is never stored locally. - OCI also reads two optional repo variables:
OCI_GENAI_BASE_URL(default…us-ashburn-1…/openai/v1) andOCI_GENAI_MODEL(defaultopenai.gpt-4.1). Set withgh variable setif your region/model differs.
Step 3: Run Init Script
Init mode
python3 "${CLAUDE_PLUGIN_ROOT}/skills/feature-init/scripts/init.py" . \
--prefix "<prefix>" \
--target "<target>" \
--reviewer "<reviewer>" \
--api-key "<api-key>"
The script creates:
docs/features/directory with initialDASHBOARD.md.feature-workflow.ymlconfig file (includesreviewer:setting)- If reviewer configured:
.github/workflows/feature-review.yml— GitHub Actions workflow.github/review-prompt-plan.md— plan review prompt.github/review-prompt-impl.md— implementation review prompt- Uploads the API key as a GitHub repo secret
- Enables the repo-level "Allow GitHub Actio
Установить feature-init в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл feature-init?
Initialize feature-workflow for a project, or refresh CI files with --update. Creates docs/features/, .feature-workflow.yml, and optional GitHub Actions review setup.
Как установить скилл feature-init?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-init запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub