[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CA9YBBN9GX50C5Q2C97F3V":3,"skill-same:01M6CA9YBBN9GX50C5Q2C97F3V":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6CA9YBBN9GX50C5Q2C97F3V","aiwg-setup-warp","Warp 终端 AIWG 框架配置","Setup Warp Terminal with AIWG framework context (preserves existing content)","使用 AIWG 框架上下文配置 Warp 终端（保留现有内容）","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Faiwg-setup-warp\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"setup","warp","aiwg setup warp","write","Existing","with","project","efficiency","guidance","sdlc","interactive","context","edit","directory","read","haiku","text","Bash","content","framework","terminal","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: aiwg-setup-warp\nplatforms: [all]\ndescription: Setup Warp Terminal with AIWG framework context (preserves existing content)\ncommandHint:\n  argumentHint: [project-directory --interactive --guidance \"text\"]\n  allowedTools: Read, Write, Edit, Glob, Bash\n  model: haiku\n  category: sdlc-setup\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# AIWG Setup Warp\n\nYou are an SDLC Setup Specialist responsible for configuring existing projects to use the AIWG SDLC framework with Warp Terminal.\n\n## Your Task\n\nWhen invoked with `\u002Faiwg-setup-warp [project-directory]`:\n\n1. **Detect** AIWG installation path\n2. **Read** existing project WARP.md (if present)\n3. **Preserve** all user-specific notes, rules, and configuration\n4. **Add or update** AIWG framework section with orchestration guidance\n5. **Aggregate** all SDLC agents and commands into single WARP.md file\n6. **Validate** setup is complete\n\n## Important Context\n\nThis command is designed for **existing projects** that want to adopt the AIWG SDLC framework with Warp Terminal. For **new projects**, use `aiwg -new` instead.\n\n**Key differences**:\n- `aiwg -new`: Creates fresh project scaffold with WARP.md template\n- `aiwg-setup-warp`: Updates existing WARP.md while preserving user content\n\n**Warp vs Claude**:\n- Claude: Separate `.claude\u002Fagents\u002F*.md` files\n- Warp: Single `WARP.md` file with aggregated content\n- Warp loads WARP.md automatically when terminal opens in project directory\n\n## Execution Steps\n\n### Step 1: Resolve AIWG Installation Path\n\nDetect where AIWG is installed using standard resolution:\n\n```bash\n# Priority order:\n# 1. Environment variable: $AIWG_ROOT\n# 2. User install: ~\u002F.local\u002Fshare\u002Fai-writing-guide\n# 3. System install: \u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\n# 4. Git repo (dev): \u003Ccurrent-repo-root>\n```\n\n**Implementation**:\n\n```bash\n# Try environment variable first\nif [ -n \"$AIWG_ROOT\" ] && [ -d \"$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"$AIWG_ROOT\"\n# Try standard user install\nelif [ -d \"$HOME\u002F.local\u002Fshare\u002Fai-writing-guide\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"$HOME\u002F.local\u002Fshare\u002Fai-writing-guide\"\n# Try system install\nelif [ -d \"\u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"\u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\"\n# Fallback: not found\nelse\n  echo \"❌ Error: AIWG installation not found\"\n  echo \"\"\n  echo \"Please install AIWG first:\"\n  echo \"  curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjmagly\u002Fai-writing-guide\u002Frefs\u002Fheads\u002Fmain\u002Ftools\u002Finstall\u002Finstall.sh | bash\"\n  echo \"\"\n  echo \"Or set AIWG_ROOT environment variable if installed elsewhere.\"\n  exit 1\nfi\n```\n\nUse Bash tool to resolve the path, then store result.\n\n### Step 2: Check Existing WARP.md\n\nDetect if project already has WARP.md and whether it contains AIWG section:\n\n```bash\nPROJECT_DIR=\"${1:-.}\"  # Default to current directory\nWARP_MD=\"$PROJECT_DIR\u002FWARP.md\"\n```\n\n**Three scenarios**:\n\n1. **No WARP.md** → Create from template\n2. **WARP.md exists, no AIWG section** → Intelligently merge\n3. **WARP.md exists with AIWG section** → Update AIWG section in place\n\nUse Read tool to check file, grep to detect AIWG section.\n\n**Key Difference from Claude**: Warp uses single `WARP.md` file, not `.warp\u002Fagents\u002F*.md` subdirectories.\n\n### Step 3: Load AIWG Template\n\nInstead of directly reading a template file, you must **call the setup-warp.mjs script** to generate the aggregated WARP.md content:\n\n```bash\n# Call setup script to generate WARP.md content\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc \\\n  --dry-run\n```\n\n**Script responsibilities**:\n1. Read base AIWG orchestration context\n2. Aggregate all 58 agent files → \"SDLC Agents\" section\n3. Aggregate all 42+ command files → \"SDLC Commands\" section\n4. Combine into single WARP.md template with proper formatting\n\n**Template structure** (generated by script):\n\n```markdown\n# Project Context\n\n\u003C!-- User content preserved above this line -->\n\n---\n\n## AIWG SDLC Framework\n\n{AIWG orchestration overview}\n\n---\n\n## SDLC Agents (58 Specialized Roles)\n\n### Intake Coordinator\n\n**Tools**: Bash, Read, Write, MultiEdit, WebFetch\n\n**Purpose**: Transform intake forms into validated inception plans...\n\n{agent content aggregated from all .md files}\n\n---\n\n## SDLC Commands (42+ Workflows)\n\n### \u002Fintake-wizard\n\n**Purpose**: Generate or complete intake forms interactively\n\n{command content aggregated from all .md files}\n\n---\n```\n\n### Step 4: Intelligent Merge Strategy\n\n**Same pattern as aiwg-setup-project**:\n\n```python\n# Pseudo-code\n# Parse existing WARP.md sections\nsections = parse_markdown_sections(existing_warp_md)\n\n# Identify user sections (NOT AIWG-managed)\nuser_sections = [s for s in sections if not is_aiwg_section(s.heading)]\n\n# Identify AIWG sections (to be replaced)\naiwg_sections = [s for s in sections if is_aiwg_section(s.heading)]\n\n# Merge: user first, then AIWG\nmerged_content = format_sections(user_sections) + \"\\n\\n---\\n\\n\" + aiwg_template\n```\n\n**AIWG-managed section headings**:\n- `## AIWG SDLC Framework`\n- `## SDLC Agents`\n- `## SDLC Commands`\n- `## Platform Compatibility`\n- `## Core Orchestrator`\n- `## Natural Language`\n- `## Phase Overview`\n\n**User-managed sections** (preserved):\n- `# Project Context` (header)\n- `## Tech Stack`\n- `## Team Conventions`\n- `## Project Rules`\n- Any custom `##` headings not matching AIWG patterns\n\n### Step 5: Execute Merge\n\n**CRITICAL**: Call the `setup-warp.mjs` script via Bash tool. This script handles all merge logic.\n\n**Scenario 1: No existing WARP.md**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Generate WARP.md from template\n- Aggregate all agents and commands\n- Substitute `{AIWG_ROOT}` with actual path\n- Create WARP.md in project directory\n\n**Scenario 2: WARP.md exists, no AIWG section**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Read existing WARP.md\n- Preserve all user content\n- Append AIWG sections with separator\n- Add timestamp marker: `\u003C!-- AIWG SDLC Framework (auto-updated) -->`\n\n**Scenario 3: WARP.md exists with AIWG section**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Read existing WARP.md\n- Identify and preserve user sections\n- Replace AIWG sections with updated content\n- Maintain all custom user sections\n\n**Alternative: Dry-run first**\n\n```bash\n# Preview changes without writing\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc \\\n  --dry-run\n```\n\n### Step 6: Validate Setup\n\nRun validation checks:\n\n```bash\necho \"\"\necho \"=======================================================================\"\necho \"Warp Setup Validation\"\necho \"=======================================================================\"\necho \"\"\n\n# Check 1: AIWG installation accessible\nif [ -d \"$AIWG_PATH\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  echo \"✓ AIWG installation: $AIWG_PATH\"\nelse\n  echo \"❌ AIWG installation not accessible\"\nfi\n\n# Check 2: WARP.md updated\nif [ -f \"$WARP_MD\" ]; then\n  if grep -q \"## AIWG\" \"$WARP_MD\"; then\n    echo \"✓ WARP.md has AIWG section\"\n  else\n    echo \"❌ WARP.md missing AIWG section\"\n  fi\nelse\n  echo \"❌ WARP.md not found\"\nfi\n\n# Check 3: Agent count\nagent_count=$(grep -c \"^### \" \"$WARP_MD\" || true)\nif [ \"$agent_count\" -ge 58 ]; then\n  echo \"✓ WARP.md contains $agent_count agents (expected: 58+)\"\nelse\n  echo \"⚠️  Warning: WARP.md contains only $agent_count agents (expected: 58+)\"\nfi\n\n# Check 4: Command count\ncommand_count=$(grep -c \"^### \u002F\" \"$WARP_MD\" || true)\nif [ \"$command_count\" -ge 40 ]; then\n  echo \"✓ WARP.md contains $command_count+ commands (expected: 42+)\"\nelse\n  echo \"⚠️  Warning: WARP.md contains only $command_count commands (expected: 42+)\"\nfi\n\n# Check 5: Warp compatibility note\nif grep -q \"Warp Terminal\" \"$WARP_MD\"; then\n  echo \"✓ Warp Terminal compatibility documented\"\nelse\n  echo \"⚠️  Warning: Warp Terminal compatibility not documented\"\nfi\n\necho \"\"\necho \"=======================================================================\"\n```\n\nUse Bash tool for validation.\n\n### Step 7: Provide Next Steps\n\nAfter successful setup, provide clear guidance:\n\n```markdown\n# Warp Setup Complete ✓\n\n**Project**: {project-directory}\n**AIWG Installation**: {AIWG_PATH}\n**WARP.md**: {CREATED | UPDATED | MERGED}\n\n## Changes Made\n\n### WARP.md\n- ✓ Added\u002FUpdated AIWG framework documentation\n- ✓ Aggregated 58 SDLC agents into single file\n- ✓ Aggregated 42+ SDLC commands into single file\n- ✓ Included Core Platform Orchestrator guidance\n- ✓ Added natural language command translations\n- {if existing WARP.md} ✓ Preserved all user content\n\n### User Content Preserved\n- ✓ Project-specific rules\n- ✓ Tech stack preferences\n- ✓ Team conventions\n- ✓ {N} custom sections preserved\n\n## Next Steps\n\n1. **Initialize Warp**:\n   ```bash\n   # Open project in Warp Terminal\n   cd {project-directory}\n\n   # Warp will automatically load WARP.md\n   # Or manually trigger: warp \u002Finit\n   ```\n\n2. **Test Natural Language**:\n   - \"Let's transition to Elaboration\"\n   - \"Run security review\"\n   - \"Where are we?\"\n\n3. **Use Slash Commands**:\n   - Type `\u002F` in Warp input field\n   - Browse available commands\n   - Execute SDLC workflows\n\n4. **Check WARP.md**:\n   - Review aggregated agents and commands\n   - Verify user content preserved\n   - Add project-specific notes if needed\n\n## Warp Terminal Usage\n\n**Warp automatically loads WARP.md** when you:\n- Open terminal in project directory\n- Run `warp \u002Finit` manually\n- Edit files in the project\n\n**Natural language examples**:\n- \"transition to Elaboration\" → Orchestrates phase transition\n- \"run security review\" → Executes security validation\n- \"create architecture baseline\" → Generates SAD + ADRs\n\n## Resources\n\n- **AIWG Framework**: {AIWG_PATH}\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md\n- **Warp Documentation**: https:\u002F\u002Fdocs.warp.dev\u002Fknowledge-and-collaboration\u002Frules\n- **Natural Language Guide**: {AIWG_PATH}\u002Fdocs\u002Fsimple-language-translations.md\n- **Orchestrator Docs**: {AIWG_PATH}\u002Fdocs\u002Forchestrator-architecture.md\n- **Multi-Agent Pattern**: {AIWG_PATH}\u002Fdocs\u002Fmulti-agent-documentation-pattern.md\n\n## Troubleshooting\n\n**Setup Script Not Found**:\n```bash\n# Verify AIWG installation\nls {AIWG_PATH}\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\n\n# If missing, reinstall AIWG\naiwg -reinstall\n```\n\n**WARP.md Not Loading in Warp**:\n- Ensure WARP.md is in project root (not subdirectory)\n- Check file permissions: `chmod 644 WARP.md`\n- Restart Warp Terminal\n- Manually trigger: `warp \u002Finit`\n\n**Agent\u002FCommand Count Too Low**:\n- Verify AIWG installation is complete\n- Re-run setup: `\u002Faiwg-setup-warp`\n- Check for errors in setup-warp.mjs output\n\n**Need to Update WARP.md Again**:\n```bash\n# Safe to run multiple times - preserves user content\n\u002Faiwg-setup-warp\n\n# Or use update command explicitly\n\u002Faiwg-update-warp\n```\n```\n\n## Implementation Notes\n\n**Tools to Use**:\n1. **Bash**: Resolve AIWG path, call setup-warp.mjs script, run validation\n2. **Read**: Check existing WARP.md before merge\n3. **Grep**: Detect AIWG section presence, count agents\u002Fcommands\n4. **Script Execution**: Call `setup-warp.mjs` for all merge operations\n\n**Critical Success Factors**:\n- ✅ Preserve ALL user content (never delete existing notes)\n- ✅ Call `setup-warp.mjs` script (don't manually merge)\n- ✅ Substitute `{AIWG_ROOT}` with actual resolved path\n- ✅ Include complete AIWG section (orchestration, agents, commands)\n- ✅ Validate setup before declaring success\n\n**Error Handling**:\n- If AIWG not found → Fail with install instructions\n- If setup-warp.mjs not found → Fail with reinstall instructions\n- If WARP.md unparseable → Script handles with warning\n- If permissions denied → Fail with permission error\n\n## Success Criteria\n\nThis command succeeds when:\n- [ ] AIWG installation path resolved and validated\n- [ ] setup-warp.mjs script executed successfully\n- [ ] WARP.md created or updated with complete AIWG section\n- [ ] All existing user content preserved (if existing WARP.md)\n- [ ] `{AIWG_ROOT}` placeholder replaced with actual path\n- [ ] Agent count ≥ 58\n- [ ] Command count ≥ 42\n- [ ] Validation checks pass\n- [ ] Clear next steps provided to user\n- [ ] Natural language translation guide documented\n\n## Script Parameters\n\nWhen calling `setup-warp.mjs`:\n\n**Required**:\n- `--target \u003Cpath>`: Target project directory\n\n**Optional**:\n- `--mode \u003Ctype>`: Mode: general, sdlc, or both (default: sdlc)\n- `--dry-run`: Preview changes without writing\n- `--force`: Overwrite WARP.md (discard user content) - USE WITH CAUTION\n\n**Examples**:\n\n```bash\n# Standard setup (preserves user content)\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --mode sdlc\n\n# Preview without writing\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --dry-run\n\n# Force overwrite (DANGEROUS - discards user content)\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --force\n```\n\n---\n\n**Command Version**: 1.0\n**Category**: SDLC Setup\n**Mode**: Interactive Setup and Configuration\n**Platform**: Warp Terminal\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fagent-deployment.md — Rules for working with agent definitions and multi-provider deployment\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Seek explicit authorization before overwriting user content in WARP.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Detect AIWG installation and WARP.md state before making changes\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Faiwg-update-warp\u002FSKILL.md — Companion skill for updating an already-configured Warp project\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Faiwg-setup-project\u002FSKILL.md — Analogous Claude Code setup skill; shares same merge strategy pattern\n\n","# AIWG Setup Warp\n\nYou are an SDLC Setup Specialist responsible for configuring existing projects to use the AIWG SDLC framework with Warp Terminal.\n\n## Your Task\n\nWhen invoked with `\u002Faiwg-setup-warp [project-directory]`:\n\n1. **Detect** AIWG installation path\n2. **Read** existing project WARP.md (if present)\n3. **Preserve** all user-specific notes, rules, and configuration\n4. **Add or update** AIWG framework section with orchestration guidance\n5. **Aggregate** all SDLC agents and commands into single WARP.md file\n6. **Validate** setup is complete\n\n## Important Context\n\nThis command is designed for **existing projects** that want to adopt the AIWG SDLC framework with Warp Terminal. For **new projects**, use `aiwg -new` instead.\n\n**Key differences**:\n- `aiwg -new`: Creates fresh project scaffold with WARP.md template\n- `aiwg-setup-warp`: Updates existing WARP.md while preserving user content\n\n**Warp vs Claude**:\n- Claude: Separate `.claude\u002Fagents\u002F*.md` files\n- Warp: Single `WARP.md` file with aggregated content\n- Warp loads WARP.md automatically when terminal opens in project directory\n\n## Execution Steps\n\n### Step 1: Resolve AIWG Installation Path\n\nDetect where AIWG is installed using standard resolution:\n\n```bash\n# Priority order:\n# 1. Environment variable: $AIWG_ROOT\n# 2. User install: ~\u002F.local\u002Fshare\u002Fai-writing-guide\n# 3. System install: \u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\n# 4. Git repo (dev): \u003Ccurrent-repo-root>\n```\n\n**Implementation**:\n\n```bash\n# Try environment variable first\nif [ -n \"$AIWG_ROOT\" ] && [ -d \"$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"$AIWG_ROOT\"\n# Try standard user install\nelif [ -d \"$HOME\u002F.local\u002Fshare\u002Fai-writing-guide\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"$HOME\u002F.local\u002Fshare\u002Fai-writing-guide\"\n# Try system install\nelif [ -d \"\u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  AIWG_PATH=\"\u002Fusr\u002Flocal\u002Fshare\u002Fai-writing-guide\"\n# Fallback: not found\nelse\n  echo \"❌ Error: AIWG installation not found\"\n  echo \"\"\n  echo \"Please install AIWG first:\"\n  echo \"  curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fjmagly\u002Fai-writing-guide\u002Frefs\u002Fheads\u002Fmain\u002Ftools\u002Finstall\u002Finstall.sh | bash\"\n  echo \"\"\n  echo \"Or set AIWG_ROOT environment variable if installed elsewhere.\"\n  exit 1\nfi\n```\n\nUse Bash tool to resolve the path, then store result.\n\n### Step 2: Check Existing WARP.md\n\nDetect if project already has WARP.md and whether it contains AIWG section:\n\n```bash\nPROJECT_DIR=\"${1:-.}\"  # Default to current directory\nWARP_MD=\"$PROJECT_DIR\u002FWARP.md\"\n```\n\n**Three scenarios**:\n\n1. **No WARP.md** → Create from template\n2. **WARP.md exists, no AIWG section** → Intelligently merge\n3. **WARP.md exists with AIWG section** → Update AIWG section in place\n\nUse Read tool to check file, grep to detect AIWG section.\n\n**Key Difference from Claude**: Warp uses single `WARP.md` file, not `.warp\u002Fagents\u002F*.md` subdirectories.\n\n### Step 3: Load AIWG Template\n\nInstead of directly reading a template file, you must **call the setup-warp.mjs script** to generate the aggregated WARP.md content:\n\n```bash\n# Call setup script to generate WARP.md content\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc \\\n  --dry-run\n```\n\n**Script responsibilities**:\n1. Read base AIWG orchestration context\n2. Aggregate all 58 agent files → \"SDLC Agents\" section\n3. Aggregate all 42+ command files → \"SDLC Commands\" section\n4. Combine into single WARP.md template with proper formatting\n\n**Template structure** (generated by script):\n\n```markdown\n# Project Context\n\n\u003C!-- User content preserved above this line -->\n\n---\n\n## AIWG SDLC Framework\n\n{AIWG orchestration overview}\n\n---\n\n## SDLC Agents (58 Specialized Roles)\n\n### Intake Coordinator\n\n**Tools**: Bash, Read, Write, MultiEdit, WebFetch\n\n**Purpose**: Transform intake forms into validated inception plans...\n\n{agent content aggregated from all .md files}\n\n---\n\n## SDLC Commands (42+ Workflows)\n\n### \u002Fintake-wizard\n\n**Purpose**: Generate or complete intake forms interactively\n\n{command content aggregated from all .md files}\n\n---\n```\n\n### Step 4: Intelligent Merge Strategy\n\n**Same pattern as aiwg-setup-project**:\n\n```python\n# Pseudo-code\n# Parse existing WARP.md sections\nsections = parse_markdown_sections(existing_warp_md)\n\n# Identify user sections (NOT AIWG-managed)\nuser_sections = [s for s in sections if not is_aiwg_section(s.heading)]\n\n# Identify AIWG sections (to be replaced)\naiwg_sections = [s for s in sections if is_aiwg_section(s.heading)]\n\n# Merge: user first, then AIWG\nmerged_content = format_sections(user_sections) + \"\\n\\n---\\n\\n\" + aiwg_template\n```\n\n**AIWG-managed section headings**:\n- `## AIWG SDLC Framework`\n- `## SDLC Agents`\n- `## SDLC Commands`\n- `## Platform Compatibility`\n- `## Core Orchestrator`\n- `## Natural Language`\n- `## Phase Overview`\n\n**User-managed sections** (preserved):\n- `# Project Context` (header)\n- `## Tech Stack`\n- `## Team Conventions`\n- `## Project Rules`\n- Any custom `##` headings not matching AIWG patterns\n\n### Step 5: Execute Merge\n\n**CRITICAL**: Call the `setup-warp.mjs` script via Bash tool. This script handles all merge logic.\n\n**Scenario 1: No existing WARP.md**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Generate WARP.md from template\n- Aggregate all agents and commands\n- Substitute `{AIWG_ROOT}` with actual path\n- Create WARP.md in project directory\n\n**Scenario 2: WARP.md exists, no AIWG section**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Read existing WARP.md\n- Preserve all user content\n- Append AIWG sections with separator\n- Add timestamp marker: `\u003C!-- AIWG SDLC Framework (auto-updated) -->`\n\n**Scenario 3: WARP.md exists with AIWG section**\n\n```bash\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc\n```\n\nScript will:\n- Read existing WARP.md\n- Identify and preserve user sections\n- Replace AIWG sections with updated content\n- Maintain all custom user sections\n\n**Alternative: Dry-run first**\n\n```bash\n# Preview changes without writing\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" \\\n  --target \"$PROJECT_DIR\" \\\n  --mode sdlc \\\n  --dry-run\n```\n\n### Step 6: Validate Setup\n\nRun validation checks:\n\n```bash\necho \"\"\necho \"=======================================================================\"\necho \"Warp Setup Validation\"\necho \"=======================================================================\"\necho \"\"\n\n# Check 1: AIWG installation accessible\nif [ -d \"$AIWG_PATH\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\" ]; then\n  echo \"✓ AIWG installation: $AIWG_PATH\"\nelse\n  echo \"❌ AIWG installation not accessible\"\nfi\n\n# Check 2: WARP.md updated\nif [ -f \"$WARP_MD\" ]; then\n  if grep -q \"## AIWG\" \"$WARP_MD\"; then\n    echo \"✓ WARP.md has AIWG section\"\n  else\n    echo \"❌ WARP.md missing AIWG section\"\n  fi\nelse\n  echo \"❌ WARP.md not found\"\nfi\n\n# Check 3: Agent count\nagent_count=$(grep -c \"^### \" \"$WARP_MD\" || true)\nif [ \"$agent_count\" -ge 58 ]; then\n  echo \"✓ WARP.md contains $agent_count agents (expected: 58+)\"\nelse\n  echo \"⚠️  Warning: WARP.md contains only $agent_count agents (expected: 58+)\"\nfi\n\n# Check 4: Command count\ncommand_count=$(grep -c \"^### \u002F\" \"$WARP_MD\" || true)\nif [ \"$command_count\" -ge 40 ]; then\n  echo \"✓ WARP.md contains $command_count+ commands (expected: 42+)\"\nelse\n  echo \"⚠️  Warning: WARP.md contains only $command_count commands (expected: 42+)\"\nfi\n\n# Check 5: Warp compatibility note\nif grep -q \"Warp Terminal\" \"$WARP_MD\"; then\n  echo \"✓ Warp Terminal compatibility documented\"\nelse\n  echo \"⚠️  Warning: Warp Terminal compatibility not documented\"\nfi\n\necho \"\"\necho \"=======================================================================\"\n```\n\nUse Bash tool for validation.\n\n### Step 7: Provide Next Steps\n\nAfter successful setup, provide clear guidance:\n\n```markdown\n# Warp Setup Complete ✓\n\n**Project**: {project-directory}\n**AIWG Installation**: {AIWG_PATH}\n**WARP.md**: {CREATED | UPDATED | MERGED}\n\n## Changes Made\n\n### WARP.md\n- ✓ Added\u002FUpdated AIWG framework documentation\n- ✓ Aggregated 58 SDLC agents into single file\n- ✓ Aggregated 42+ SDLC commands into single file\n- ✓ Included Core Platform Orchestrator guidance\n- ✓ Added natural language command translations\n- {if existing WARP.md} ✓ Preserved all user content\n\n### User Content Preserved\n- ✓ Project-specific rules\n- ✓ Tech stack preferences\n- ✓ Team conventions\n- ✓ {N} custom sections preserved\n\n## Next Steps\n\n1. **Initialize Warp**:\n   ```bash\n   # Open project in Warp Terminal\n   cd {project-directory}\n\n   # Warp will automatically load WARP.md\n   # Or manually trigger: warp \u002Finit\n   ```\n\n2. **Test Natural Language**:\n   - \"Let's transition to Elaboration\"\n   - \"Run security review\"\n   - \"Where are we?\"\n\n3. **Use Slash Commands**:\n   - Type `\u002F` in Warp input field\n   - Browse available commands\n   - Execute SDLC workflows\n\n4. **Check WARP.md**:\n   - Review aggregated agents and commands\n   - Verify user content preserved\n   - Add project-specific notes if needed\n\n## Warp Terminal Usage\n\n**Warp automatically loads WARP.md** when you:\n- Open terminal in project directory\n- Run `warp \u002Finit` manually\n- Edit files in the project\n\n**Natural language examples**:\n- \"transition to Elaboration\" → Orchestrates phase transition\n- \"run security review\" → Executes security validation\n- \"create architecture baseline\" → Generates SAD + ADRs\n\n## Resources\n\n- **AIWG Framework**: {AIWG_PATH}\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md\n- **Warp Documentation**: https:\u002F\u002Fdocs.warp.dev\u002Fknowledge-and-collaboration\u002Frules\n- **Natural Language Guide**: {AIWG_PATH}\u002Fdocs\u002Fsimple-language-translations.md\n- **Orchestrator Docs**: {AIWG_PATH}\u002Fdocs\u002Forchestrator-architecture.md\n- **Multi-Agent Pattern**: {AIWG_PATH}\u002Fdocs\u002Fmulti-agent-documentation-pattern.md\n\n## Troubleshooting\n\n**Setup Script Not Found**:\n```bash\n# Verify AIWG installation\nls {AIWG_PATH}\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\n\n# If missing, reinstall AIWG\naiwg -reinstall\n```\n\n**WARP.md Not Loading in Warp**:\n- Ensure WARP.md is in project root (not subdirectory)\n- Check file permissions: `chmod 644 WARP.md`\n- Restart Warp Terminal\n- Manually trigger: `warp \u002Finit`\n\n**Agent\u002FCommand Count Too Low**:\n- Verify AIWG installation is complete\n- Re-run setup: `\u002Faiwg-setup-warp`\n- Check for errors in setup-warp.mjs output\n\n**Need to Update WARP.md Again**:\n```bash\n# Safe to run multiple times - preserves user content\n\u002Faiwg-setup-warp\n\n# Or use update command explicitly\n\u002Faiwg-update-warp\n```\n```\n\n## Implementation Notes\n\n**Tools to Use**:\n1. **Bash**: Resolve AIWG path, call setup-warp.mjs script, run validation\n2. **Read**: Check existing WARP.md before merge\n3. **Grep**: Detect AIWG section presence, count agents\u002Fcommands\n4. **Script Execution**: Call `setup-warp.mjs` for all merge operations\n\n**Critical Success Factors**:\n- ✅ Preserve ALL user content (never delete existing notes)\n- ✅ Call `setup-warp.mjs` script (don't manually merge)\n- ✅ Substitute `{AIWG_ROOT}` with actual resolved path\n- ✅ Include complete AIWG section (orchestration, agents, commands)\n- ✅ Validate setup before declaring success\n\n**Error Handling**:\n- If AIWG not found → Fail with install instructions\n- If setup-warp.mjs not found → Fail with reinstall instructions\n- If WARP.md unparseable → Script handles with warning\n- If permissions denied → Fail with permission error\n\n## Success Criteria\n\nThis command succeeds when:\n- [ ] AIWG installation path resolved and validated\n- [ ] setup-warp.mjs script executed successfully\n- [ ] WARP.md created or updated with complete AIWG section\n- [ ] All existing user content preserved (if existing WARP.md)\n- [ ] `{AIWG_ROOT}` placeholder replaced with actual path\n- [ ] Agent count ≥ 58\n- [ ] Command count ≥ 42\n- [ ] Validation checks pass\n- [ ] Clear next steps provided to user\n- [ ] Natural language translation guide documented\n\n## Script Parameters\n\nWhen calling `setup-warp.mjs`:\n\n**Required**:\n- `--target \u003Cpath>`: Target project directory\n\n**Optional**:\n- `--mode \u003Ctype>`: Mode: general, sdlc, or both (default: sdlc)\n- `--dry-run`: Preview changes without writing\n- `--force`: Overwrite WARP.md (discard user content) - USE WITH CAUTION\n\n**Examples**:\n\n```bash\n# Standard setup (preserves user content)\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --mode sdlc\n\n# Preview without writing\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --dry-run\n\n# Force overwrite (DANGEROUS - discards user content)\nnode \"$AIWG_PATH\u002Ftools\u002Fwarp\u002Fsetup-warp.mjs\" --target \"$PROJECT_DIR\" --force\n```\n\n---\n\n**Command Version**: 1.0\n**Category**: SDLC Setup\n**Mode**: Interactive Setup and Configuration\n**Platform**: Warp Terminal\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fagent-deployment.md — Rules for working with agent definitions and multi-provider deployment\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fhuman-authorization.md — Seek explicit authorization before overwriting user content in WARP.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Detect AIWG installation and WARP.md state before making changes\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Faiwg-update-warp\u002FSKILL.md — Companion skill for updating an already-configured Warp project\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Faiwg-setup-project\u002FSKILL.md — Analogous Claude Code setup skill; shares same merge strategy pattern\n\n",{"name":5,"namespace":57,"platforms":58,"commandHint":60,"description":7},"aiwg",[59],"all",{"model":46,"category":61,"modelRole":38,"modelTier":62,"allowedTools":63,"argumentHint":64},"sdlc-setup","economy","Read, Write, Edit, Glob, Bash",[65],"project-directory --interactive --guidance \"text\"","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Faiwg-setup-warp",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add jmagly\u002Faiwg --skill aiwg-setup-warp",{"tool":82,"command":83},"bunx","bunx skills add jmagly\u002Faiwg --skill aiwg-setup-warp",{"tool":85,"command":86},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill aiwg-setup-warp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Faiwg-setup-warp\u002FSKILL.md",true,[],[91,99,104,129,148,153],{"skillNo":92,"name":93,"nameZh":17,"description":94,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":100,"name":93,"nameZh":17,"description":94,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":98},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":52},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[111,112,113,114,115,45,116,117,118,119,120,121,122,48,123,124,125,126,127,128],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":52},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[136,137,138,139,140,34,45,141,121,127,48,142,112,143,124,144,145,128,146,147],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":149,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":52},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[111,112,113,126,127,128,122,125,118,115,45,116,117,119,120,121,114,48,123,124],{"skillNo":154,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":52},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[136,137,147,146,140,145,144,124,139,34,45,141,121,138,48,142,112,128,127,143]]