/aiwg-regenerate-existing-project
Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-existing-project --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/aiwg-regenerate-existing-project
Context preview
The summary Claude sees to decide when to auto-load this skill.
Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
SKILL.md
aiwg-regenerate-existing-project.SKILL.mdnamespace: aiwg
name: aiwg-regenerate-existing-project
platforms: [all]
kernel: true
description: Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
commandHint:
argumentHint: "[--provider <name>] [--dry-run|--apply]"
allowedTools: Bash, Read
model: haiku
category: maintenance
modelRole: efficiency
modelTier: economy
Regenerate an Existing Project
Use this opt-in branch when adopting the canonical context graph in an established repository. It extracts bounded, deterministic facts from package metadata, README purpose, stack/tooling files, standard commands, test and architecture paths, and CI workflow names. The generated snapshot lives in its own replaceable block inside the protected `WORKSPACE.md` operator region.
aiwg regenerate --existing-project --provider <name> --dry-run
aiwg regenerate --existing-project --provider <name> --apply
aiwg workspace-context doctor
Preview is the default when neither `--dry-run` nor `--apply` is supplied. The transaction migrates provider-only roots to attributed files under `.aiwg/context/providers/`, preserves manual context outside managed blocks, excludes generated AIWG and spillover content, and refuses possible credential values or unresolved directive conflicts. Apply prints a transaction id and an exact `aiwg workspace-context rollback <id>` command.
Use [aiwg-regenerate-workspace](../aiwg-regenerate-workspace/SKILL.md) for fresh projects or ordinary refreshes, and [aiwg-regenerate-legacy](../aiwg-regenerate-legacy/SKILL.md) only for inline compatibility.
Read more
namespace: aiwg name: aiwg-regenerate-existing-project platforms: [all] kernel: true description: Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md commandHint: argumentHint: "[--provider <name>] [--dry-run|--apply]" allowedTools: Bash, Read model: haiku category: maintenance modelRole: efficiency modelTier: economy
Regenerate an Existing Project
Use this opt-in branch when adopting the canonical context graph in an established repository. It extracts bounded, deterministic facts from package metadata, README purpose, stack/tooling files, standard commands, test and architecture paths, and CI workflow names. The generated snapshot lives in its own replaceable block inside the protected `WORKSPACE.md` operator region.
aiwg regenerate --existing-project --provider <name> --dry-run aiwg regenerate --existing-project --provider <name> --apply aiwg workspace-context doctor
Preview is the default when neither `--dry-run` nor `--apply` is supplied. The transaction migrates provider-only roots to attributed files under `.aiwg/context/providers/`, preserves manual context outside managed blocks, excludes generated AIWG and spillover content, and refuses possible credential values or unresolved directive conflicts. Apply prints a transaction id and an exact `aiwg workspace-context rollback <id>` command.
Use [aiwg-regenerate-workspace](../aiwg-regenerate-workspace/SKILL.md) for fresh projects or ordinary refreshes, and [aiwg-regenerate-legacy](../aiwg-regenerate-legacy/SKILL.md) only for inline compatibility.
Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.
Repo: jmagly/aiwg
Other skills on aiwg.
- /agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Open skill - /agent-loop
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Open skill - /auto-test-execution
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Open skill - /cross-task-learner
Enable agent loops to learn from similar past tasks and share patterns across loops
Open skill - /debug-memory
Query and manage the executable feedback debug memory
Open skill - /execute-feedback
Execute tests on generated code and iterate until passing
Open skill

