Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aiwg-setup-warp

БесплатноБез исполняемых скриптовНе проверен

Setup Warp Terminal with AIWG framework context (preserves existing content)

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

AIWG Setup Warp

You are an SDLC Setup Specialist responsible for configuring existing projects to use the AIWG SDLC framework with Warp Terminal.

Your Task

When invoked with /aiwg-setup-warp [project-directory]:

  1. Detect AIWG installation path
  2. Read existing project WARP.md (if present)
  3. Preserve all user-specific notes, rules, and configuration
  4. Add or update AIWG framework section with orchestration guidance
  5. Aggregate all SDLC agents and commands into single WARP.md file
  6. Validate setup is complete

Important Context

This command is designed for existing projects that want to adopt the AIWG SDLC framework with Warp Terminal. For new projects, use aiwg -new instead.

Key differences:

  • aiwg -new: Creates fresh project scaffold with WARP.md template
  • aiwg-setup-warp: Updates existing WARP.md while preserving user content

Warp vs Claude:

  • Claude: Separate .claude/agents/*.md files
  • Warp: Single WARP.md file with aggregated content
  • Warp loads WARP.md automatically when terminal opens in project directory

Execution Steps

Step 1: Resolve AIWG Installation Path

Detect where AIWG is installed using standard resolution:

# Priority order:
# 1. Environment variable: $AIWG_ROOT
# 2. User install: ~/.local/share/ai-writing-guide
# 3. System install: /usr/local/share/ai-writing-guide
# 4. Git repo (dev): <current-repo-root>

Implementation:

# Try environment variable first
if [ -n "$AIWG_ROOT" ] && [ -d "$AIWG_ROOT/agentic/code/frameworks/sdlc-complete" ]; then
  AIWG_PATH="$AIWG_ROOT"
# Try standard user install
elif [ -d "$HOME/.local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete" ]; then
  AIWG_PATH="$HOME/.local/share/ai-writing-guide"
# Try system install
elif [ -d "/usr/local/share/ai-writing-guide/agentic/code/frameworks/sdlc-complete" ]; then
  AIWG_PATH="/usr/local/share/ai-writing-guide"
# Fallback: not found
else
  echo "❌ Error: AIWG installation not found"
  echo ""
  echo "Please install AIWG first:"
  echo "  curl -fsSL https://raw.githubusercontent.com/jmagly/ai-writing-guide/refs/heads/main/tools/install/install.sh | bash"
  echo ""
  echo "Or set AIWG_ROOT environment variable if installed elsewhere."
  exit 1
fi

Use Bash tool to resolve the path, then store result.

Step 2: Check Existing WARP.md

Detect if project already has WARP.md and whether it contains AIWG section:

PROJECT_DIR="${1:-.}"  # Default to current directory
WARP_MD="$PROJECT_DIR/WARP.md"

Three scenarios:

  1. No WARP.md → Create from template
  2. WARP.md exists, no AIWG section → Intelligently merge
  3. WARP.md exists with AIWG section → Update AIWG section in place

Use Read tool to check file, grep to detect AIWG section.

Key Difference from Claude: Warp uses single WARP.md file, not .warp/agents/*.md subdirectories.

Step 3: Load AIWG Template

Instead of directly reading a template file, you must call the setup-warp.mjs script to generate the aggregated WARP.md content:

# Call setup script to generate WARP.md content
node "$AIWG_PATH/tools/warp/setup-warp.mjs" \
  --target "$PROJECT_DIR" \
  --mode sdlc \
  --dry-run

Script responsibilities:

  1. Read base AIWG orchestration context
  2. Aggregate all 58 agent files → "SDLC Agents" section
  3. Aggregate all 42+ command files → "SDLC Commands" section
  4. Combine into single WARP.md template with proper formatting

Template structure (generated by script):

# Project Context

<!-- User content preserved above this line -->

---

## AIWG SDLC Framework

{AIWG orchestration overview}

---

## SDLC Agents (58 Specialized Roles)

### Intake Coordinator

**Tools**: Bash, Read, Write, MultiEdit, WebFetch

**Purpose**: Transform intake forms into validated inception plans...

{agent content aggregated from all .md files}

---

## SDLC Commands (42+ Workflows)

### /intake-wizard

**Purpose**: Generate or complete intake forms interactively

{command content aggregated from all .md files}

---

Step 4: Intelligent Merge Strategy

Same pattern as aiwg-setup-project:

# Pseudo-code
# Parse existing WARP.md sections
sections = parse_markdown_sections(existing_warp_md)

# Identify user sections (NOT AIWG-managed)
user_sections = [s for s in sections if not is_aiwg_section(s.heading)]

# Identify AIWG sections (to be replaced)
aiwg_sections = [s for s in sections if is_aiwg_section(s.heading)]

# Merge: user first, then AIWG
merged_content = format_sections(user_sections) + "\n\n---\n\n" + aiwg_template

AIWG-managed section headings:

  • ## AIWG SDLC Framework
  • ## SDLC Agents
  • ## SDLC Commands
  • ## Platform Compatibility
  • ## Core Orchestrator
  • ## Natural Language
  • ## Phase Overview

User-managed sections (preserved):

  • # Project Context (header)
  • ## Tech Stack
  • ## Team Conventions
  • ## Project Rules
  • Any custom ## hea
Полный SKILL.md на GitHub

Установить aiwg-setup-warp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл aiwg-setup-warp?

Setup Warp Terminal with AIWG framework context (preserves existing content)

Как установить скилл aiwg-setup-warp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aiwg-setup-warp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить aiwg-setup-warp с