aiwg-regenerate
Select and execute the canonical refresh, existing-project extraction, or legacy AIWG context regeneration branch
от jmagly★ 233 звезды на GitHub
Установить aiwg-regenerate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Regenerate Context — Branch Selector
The CLI is the deterministic source of truth for context regeneration. An
unqualified invocation previews transactional adoption for an established,
not-yet-extracted repository; fresh or already-adopted projects route to the
canonical refresh. Mutation of an inferred adoption always requires an explicit
--apply. Do not make users choose a branch unless they want to override the
selection.
Select and load exactly one linked branch before execution:
- Canonical workspace graph — default refresh for new and already-migrated projects.
- Existing-project extraction —
transactional adoption of stable project metadata and provider context into
the canonical graph; preview is the default and
--applyis required. - Legacy full injection — compatibility branch; embeds normalized AIWG context inside the provider startup file.
Commands
# Intelligent default (recommended user surface)
aiwg run skill aiwg-regenerate
# Canonical default
aiwg regenerate --workspace [--provider <name>] [--dry-run] [--force]
# Existing-project transactional adoption
aiwg regenerate --existing-project [--provider <name>] [--dry-run|--apply]
# Legacy compatibility
aiwg regenerate --full-inject [--provider <name>] [--dry-run]
--legacy aliases --full-inject. The CLI rejects conflicting branches,
unknown options, and missing provider values with usage status.
--existing-project rejects --force and all --no-*-md partial-write flags.
It refuses possible credentials and ambiguous directive conflicts, previews the
exact extracted block and transaction targets, and prints the rollback command
after apply.
Explicit branch flags always win. Without one, the executable selector checks
the canonical extractor's complete stable-source inventory and managed markers.
A first-time established project is previewed; rerun with --apply to adopt it.
An already-extracted or genuinely signal-free project uses --workspace.
Supported shared controls are --dry-run, --provider <name>, --force,
--no-aiwg-md, --no-agents-md, and --no-workspace-md. The last option is
implicit in legacy mode.
Execution Contract
- For an established project, preview the selected branch first.
- Preserve operator-authored content outside managed regions.
- Never copy possible credentials into generated context.
- Execute with
aiwg run skill aiwg-regenerate -- <flags>when the provider supports executable skills, or run the equivalentaiwg regeneratecommand. - Report the selected branch, provider, changed targets, backups, warnings, validation result, and rollback path.
Use aiwg refresh instead when frameworks, agents, skills, rules, commands, or
provider deployments also need to be updated.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- run.sh
FAQ
Что делает скилл aiwg-regenerate?
Select and execute the canonical refresh, existing-project extraction, or legacy AIWG context regeneration branch
Как установить скилл aiwg-regenerate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aiwg-regenerate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…