agentic/code/addons/aiwg-utils/skills/aiwg-regenerate-warp/SKILL.md
Regenerate WARP.md for Warp Terminal with preserved team directives
npx skillsauth add jmagly/aiwg aiwg-regenerate-warpInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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}
<!-- /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-regeneratedata-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.