소스 정보
- 저장소
- jmagly/aiwg
- 최근 소스 활동
- 2026년 7월 20일 16:54
- 감지된 SKILL.md 언어
- 영어
- 스타
- 178
- 포크
- 26
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jmagly/aiwg --skill aiwg-setup-warp명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| namespace | aiwg |
| name | aiwg-setup-warp |
| platforms | ["all"] |
| description | Setup Warp Terminal with AIWG framework context (preserves existing content) |
| commandHint | {"argumentHint":["project-directory --interactive --guidance \"text\""],"allowedTools":"Read, Write, Edit, Glob, Bash","model":"haiku","category":"sdlc-setup","modelRole":"efficiency","modelTier":"economy"} |
You are an SDLC Setup Specialist responsible for configuring existing projects to use the AIWG SDLC framework with Warp Terminal.
When invoked with /aiwg-setup-warp [project-directory]:
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 templateaiwg-setup-warp: Updates existing WARP.md while preserving user contentWarp vs Claude:
.claude/agents/*.md filesWARP.md file with aggregated contentDetect 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.
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:
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.
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:
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}
---
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 OverviewUser-managed sections (preserved):
# Project Context (header)## Tech Stack## Team Conventions## Project Rules## headings not matching AIWG patternsCRITICAL: Call the setup-warp.mjs script via Bash tool. This script handles all merge logic.
Scenario 1: No existing WARP.md
node "$AIWG_PATH/tools/warp/setup-warp.mjs" \
--target "$PROJECT_DIR" \
--mode sdlc
Script will:
{AIWG_ROOT} with actual pathScenario 2: WARP.md exists, no AIWG section
node "$AIWG_PATH/tools/warp/setup-warp.mjs" \
--target "$PROJECT_DIR" \
--mode sdlc
Script will:
<!-- AIWG SDLC Framework (auto-updated) -->Scenario 3: WARP.md exists with AIWG section
node "$AIWG_PATH/tools/warp/setup-warp.mjs" \
--target "$PROJECT_DIR" \
--mode sdlc
Script will:
Alternative: Dry-run first
# Preview changes without writing
node "$AIWG_PATH/tools/warp/setup-warp.mjs" \
--target "$PROJECT_DIR" \
--mode sdlc \
--dry-run
Run validation checks:
echo ""
echo "======================================================================="
echo "Warp Setup Validation"
echo "======================================================================="
echo ""
# Check 1: AIWG installation accessible
if [ -d "$AIWG_PATH/agentic/code/frameworks/sdlc-complete" ]; then
echo "✓ AIWG installation: $AIWG_PATH"
else
echo "❌ AIWG installation not accessible"
fi
# Check 2: WARP.md updated
if [ -f "$WARP_MD" ]; then
if grep -q "## AIWG" "$WARP_MD"; then
echo "✓ WARP.md has AIWG section"
else
echo "❌ WARP.md missing AIWG section"
fi
else
echo "❌ WARP.md not found"
fi
# Check 3: Agent count
agent_count=$(grep -c "^### " "$WARP_MD" || true)
if [ "$agent_count" -ge 58 ]; then
command_count=$(grep -c || )
[ -ge 40 ];
grep -q ;
Use Bash tool for validation.
After successful setup, provide clear guidance:
# Warp Setup Complete ✓
**Project**: {project-directory}
**AIWG Installation**: {AIWG_PATH}
**WARP.md**: {CREATED | UPDATED | MERGED}
## Changes Made
### WARP.md
- ✓ Added/Updated AIWG framework documentation
- ✓ Aggregated 58 SDLC agents into single file
- ✓ Aggregated 42+ SDLC commands into single file
- ✓ Included Core Platform Orchestrator guidance
- ✓ Added natural language command translations
- {if existing WARP.md} ✓ Preserved all user content
### User Content Preserved
- ✓ Project-specific rules
- ✓ Tech stack preferences
- ✓ Team conventions
- ✓ {N} custom sections preserved
## Next Steps
1. **Initialize Warp**:
```bash
# Open project in Warp Terminal
cd {project-directory}
# Warp will automatically load WARP.md
# Or manually trigger: warp /init
Test Natural Language:
Use Slash Commands:
/ in Warp input fieldCheck WARP.md:
Warp automatically loads WARP.md when you:
warp /init manuallyNatural language examples:
Setup Script Not Found:
# Verify AIWG installation
ls {AIWG_PATH}/tools/warp/setup-warp.mjs
# If missing, reinstall AIWG
aiwg -reinstall
WARP.md Not Loading in Warp:
chmod 644 WARP.mdwarp /initAgent/Command Count Too Low:
/aiwg-setup-warpNeed to Update WARP.md Again:
# Safe to run multiple times - preserves user content
/aiwg-setup-warp
# Or use update command explicitly
/aiwg-update-warp
## Implementation Notes
**Tools to Use**:
1. **Bash**: Resolve AIWG path, call setup-warp.mjs script, run validation
2. **Read**: Check existing WARP.md before merge
3. **Grep**: Detect AIWG section presence, count agents/commands
4. **Script Execution**: Call `setup-warp.mjs` for all merge operations
**Critical Success Factors**:
- ✅ Preserve ALL user content (never delete existing notes)
- ✅ Call `setup-warp.mjs` script (don't manually merge)
- ✅ Substitute `{AIWG_ROOT}` with actual resolved path
- ✅ Include complete AIWG section (orchestration, agents, commands)
- ✅ Validate setup before declaring success
**Error Handling**:
- If AIWG not found → Fail with install instructions
- If setup-warp.mjs not found → Fail with reinstall instructions
- If WARP.md unparseable → Script handles with warning
- If permissions denied → Fail with permission error
## Success Criteria
This command succeeds when:
- [ ] AIWG installation path resolved and validated
- [ ] setup-warp.mjs script executed successfully
- [ ] WARP.md created or updated with complete AIWG section
- [ ] All existing user content preserved (if existing WARP.md)
- [ ] `{AIWG_ROOT}` placeholder replaced with actual path
- [ ] Agent count ≥ 58
- [ ] Command count ≥ 42
- [ ] Validation checks pass
- [ ] Clear next steps provided to user
- [ ] Natural language translation guide documented
## Script Parameters
When calling `setup-warp.mjs`:
**Required**:
- `--target <path>`: Target project directory
**Optional**:
- `--mode <type>`: Mode: general, sdlc, or both (default: sdlc)
- `--dry-run`: Preview changes without writing
- `--force`: Overwrite WARP.md (discard user content) - USE WITH CAUTION
**Examples**:
```bash
# Standard setup (preserves user content)
node "$AIWG_PATH/tools/warp/setup-warp.mjs" --target "$PROJECT_DIR" --mode sdlc
# Preview without writing
node "$AIWG_PATH/tools/warp/setup-warp.mjs" --target "$PROJECT_DIR" --dry-run
# Force overwrite (DANGEROUS - discards user content)
node "$AIWG_PATH/tools/warp/setup-warp.mjs" --target "$PROJECT_DIR" --force
Command Version: 1.0 Category: SDLC Setup Mode: Interactive Setup and Configuration Platform: Warp Terminal