Regenerate WARP.md for Warp Terminal with preserved team directives
Regenerate WARP.md for Warp Terminal with preserved team directives. Use when project structure changes or after adding new agents/commands to keep your terminal documentation current.
/plugin marketplace add jmagly/ai-writing-guide/plugin install jmagly-utils-plugins-utils@jmagly/ai-writing-guideRegenerate the WARP.md file for Warp Terminal integration, analyzing current project state while preserving team directives and organizational requirements.
| 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}
<!-- /PRESERVED SECTION -->{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-regenerate