/utils:aiwg-regenerate-warpfrom utils
Regenerates WARP.md for Warp Terminal, preserving team directives and organizational requirements. Useful for maintaining consistent AI assistance configuration.
Ships in utils. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Regenerate the WARP.md file for Warp Terminal integration, analyzing current project state while preserving team directives and organizational requirements.
Hook file approach (default): Generates AIWG-warp.md and adds a section or @AIWG-warp.md directive to WARP.md. Note: Warp's @-link support is unverified — defaults to section-style toggle until confirmed (see #444).
Full inject (--full-inject): Embeds AIWG content inline in WARP.md with AIWG markers.
| Flag | Description |
|---|---|
--no-backup | Skip creating backup file |
--dry-run | Preview changes without writing |
--show-preserved | List all detected preserved content and exit |
--full | Full regeneration, preserve nothing (destructive) |
WARP.md follows Warp Terminal formatting conventions:
### headings for agents and commands (not ##)Unless --no-backup specified:
WARP.md existsWARP.md.backup-{YYYYMMDD-HHMMSS}Same preservation patterns as CLAUDE.md:
<!-- PRESERVE --> ... <!-- /PRESERVE -->Same project analysis as CLAUDE.md:
Check installed frameworks and deployed assets:
Document Structure (Warp Format):
# WARP.md
Project guidance for Warp Terminal AI assistance.
## Project Overview
{Brief project description from README.md}
**Tech Stack**: {languages} | **Package Manager**: {npm/pip/etc} | **Test Framework**: {framework}
## Quick Commands
Copy-paste ready commands for common tasks:
```bash
# Install dependencies
{install command}
# Run development server
{dev command}
# Run tests
{test command}
# Build for production
{build command}
# Lint code
{lint command}
{directory tree with descriptions}
{ALL PRESERVED CONTENT}
{If .aiwg/ exists, list available project docs:}
| Category | Location |
|---|---|
| Requirements | @.aiwg/requirements/ |
| Architecture | @.aiwg/architecture/ |
| Planning | @.aiwg/planning/ |
{Only include rows for directories that exist}
{List deployed agents with brief descriptions}
{List deployed commands organized by category}
| You Say | Executes |
|---|---|
| "transition to elaboration" | flow-inception-to-elaboration |
| "run security review" | flow-security-review-cycle |
| "check status" | project-status |
| Topic | Reference |
|---|---|
| Orchestration | @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/core/orchestrator.md |
| Agent Design | @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/agents/design-rules.md |
| Error Recovery | @~/.local/share/ai-writing-guide/agentic/code/addons/aiwg-utils/prompts/reliability/resilience.md |
{If SDLC framework installed:}
| Topic | Reference |
|---|---|
| Natural Language | @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/docs/simple-language-translations.md |
| Orchestration | @~/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete/docs/orchestrator-architecture.md |
### Step 6: Write Output
**If `--dry-run`:** Display content, do not write.
**Otherwise:**
1. Write to `WARP.md`
2. Report summary
Backup: WARP.md.backup-20251206-153045
Preserved: 3 sections, 34 lines Regenerated: Project info, commands, AIWG integration
Output: WARP.md (312 lines)
## Warp-Specific Formatting Notes
### Agent Format
```markdown
### Agent Name
Brief description of what the agent does.
**Tools**: Tool1, Tool2, Tool3
- `/command-name` - Brief description
Formatted for easy terminal copy-paste:
# Description of command
actual_command --with-flags
# Regenerate WARP.md
/aiwg-regenerate-warp
# Preview changes
/aiwg-regenerate-warp --dry-run
# Check preserved content
/aiwg-regenerate-warp --show-preserved
# Full regeneration
/aiwg-regenerate-warp --full
/aiwg-regenerate-claude/aiwg-regenerate-factory/aiwg-regenerateWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jmagly/aiwg --plugin utils133 skills in this plugin
/activity-logQuery and manage the unified .aiwg/activity.log chronological record of AIWG-managed workflow operations/add-agentScaffold a new agent definition file inside an existing addon or framework/add-behaviorScaffold a new behavior definition with BEHAVIOR.md and optional scripts inside an existing addon or framework/add-commandScaffold a new command definition inside an existing addon or frameworkOther plugins' skills for the same job