소스 정보
- 저장소
- 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-project명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
WCAG accessibility analysis for color palettes including contrast ratios, compliance checking, and remediation suggestions. Use when user needs to verify colors meet accessibility standards.
Generate, analyze, compare, export, and suggest color palettes using color theory. Use when user asks about colors, palettes, color schemes, or needs help choosing colors for a project.
Research current color trends from Pantone, architecture, film, and design. Use when user asks about trending colors, popular palettes, or wants research-backed color inspiration.
SOC 직업 분류 기준
SKILL.md 표시 중
| namespace | aiwg |
| name | aiwg-setup-project |
| platforms | ["all"] |
| description | Update project CLAUDE.md with AIWG framework context and configuration |
| commandHint | {"argumentHint":["project-directory --interactive --guidance \"text\""],"allowedTools":"Read, Write, Edit, Glob, Bash","model":"haiku","category":"sdlc-setup","modelRole":"efficiency","modelTier":"economy"} |
Skill access pattern (post-kernel-pivot, 2026.5+)
Skill names referenced in this document are AIWG skills first. Most are not kernel-listed and cannot be invoked as
/skill-nameby every platform. Reach them portably via:aiwg discover "<capability>" aiwg show skill <name>Claude Code deployments also mirror selected operator workflows into
.claude/commands/; this skill is available there as/aiwg-setup-project. See skill-discovery rule.
You are an SDLC Setup Specialist responsible for configuring existing projects to use the AIWG SDLC framework.
When invoked with /aiwg-setup-project [project-directory]:
This command is designed for existing projects that want to adopt the AIWG SDLC framework. For new projects, use aiwg -new instead.
Key differences:
aiwg -new: Creates fresh project scaffold with CLAUDE.md templateaiwg-setup-project: Updates existing CLAUDE.md while preserving user 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 CLAUDE.md and whether it contains AIWG section:
PROJECT_DIR="${1:-.}" # Default to current directory
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
Three scenarios:
Use Read tool to check file, grep to detect AIWG section.
Read the AIWG CLAUDE.md template:
TEMPLATE_PATH="$AIWG_PATH/agentic/code/frameworks/sdlc-complete/templates/project/CLAUDE.md"
Use Read tool to load template content.
Template contains:
Scenario 1: No existing CLAUDE.md
# Pseudo-code
template_content = read(TEMPLATE_PATH)
final_content = template_content.replace("{AIWG_ROOT}", AIWG_PATH)
write(CLAUDE_MD, final_content)
print("✓ Created CLAUDE.md from AIWG template")
print("⚠️ Please fill in 'Repository Purpose' section")
Scenario 2: CLAUDE.md exists, no AIWG section
# Pseudo-code
existing_content = read(CLAUDE_MD)
template_content = read(TEMPLATE_PATH)
# Extract AIWG section from template (starts at line 11: "## AIWG")
aiwg_section = extract_from_line(template_content, "## AIWG")
aiwg_section = aiwg_section.replace("{AIWG_ROOT}", AIWG_PATH)
# Append to existing CLAUDE.md
final_content = existing_content + "\n\n---\n\n" + aiwg_section
write(CLAUDE_MD, final_content)
print("✓ Appended AIWG framework section to existing CLAUDE.md")
print("✓ All existing content preserved")
Scenario 3: CLAUDE.md exists with AIWG section
# Pseudo-code
existing_content = read(CLAUDE_MD)
template_content = read(TEMPLATE_PATH)
# Find existing AIWG section boundaries
aiwg_start = find_line(existing_content, r"^## AIWG")
aiwg_end = find_next_major_section_or_eof(existing_content, aiwg_start)
# Extract new AIWG section from template
new_aiwg_section = extract_from_line(template_content, "## AIWG")
new_aiwg_section = new_aiwg_section.replace("{AIWG_ROOT}", AIWG_PATH)
# Replace old AIWG section with new
before_aiwg = existing_content[:aiwg_start]
after_aiwg = existing_content[aiwg_end:]
final_content = before_aiwg + new_aiwg_section + after_aiwg
write(CLAUDE_MD, final_content)
print("✓ Updated AIWG framework section in existing CLAUDE.md")
print("✓ All user content preserved")
CRITICAL: Use Edit tool for Scenario 3 to ensure clean replacement.
Ensure artifact directories exist:
mkdir -p "$PROJECT_DIR/.aiwg"/{intake,requirements,architecture,planning,risks,testing,security,quality,deployment,team,working,reports,handoffs,gates,decisions}
Use Bash tool to create directories.
Run validation checks:
echo ""
echo "======================================================================="
echo "AIWG 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: CLAUDE.md updated
if [ -f "$CLAUDE_MD" ]; then
if grep -q "## AIWG" "$CLAUDE_MD"; then
echo "✓ CLAUDE.md has AIWG section"
else
echo "❌ CLAUDE.md missing AIWG section"
fi
else
echo "❌ CLAUDE.md not found"
fi
# Check 3: Template accessible
if [ -d "$AIWG_PATH/agentic/code/frameworks/sdlc-complete/templates" ]; then
echo "✓ AIWG templates accessible"
else
[ -d ] && [ -d ];
[ -f ];
Use Bash tool for validation.
Check if Factory AI is also being used and update AGENTS.md accordingly:
# Detect Factory AI deployment
if [ -d "$PROJECT_DIR/.factory/droids" ]; then
echo ""
echo "======================================================================="
echo "Factory AI Detected - Updating AGENTS.md"
echo "======================================================================="
echo ""
# Check if aiwg-update-agents-md command exists
if [ -f "$AIWG_PATH/agentic/code/frameworks/sdlc-complete/commands/aiwg-update-agents-md.md" ]; then
echo "✓ Factory AI droids detected in .factory/droids/"
echo "✓ Running Factory AI configuration..."
echo ""
# This would trigger the Factory-specific configuration command
# In practice, the orchestrator would call this command directly
echo "FACTORY_AI_DETECTED=true"
else
echo "⚠️ Factory AI droids detected but aiwg-update-agents-md command not found"
echo " Skipping AGENTS.md update"
fi
echo ""
echo "======================================================================="
fi
Logic:
.factory/droids/ directory existenceaiwg-update-agents-md to update AGENTS.md with project-specific contentCross-Platform Scenario:
Use Bash tool for Factory AI detection.
After successful setup, provide clear guidance:
# AIWG Setup Complete ✓
**Project**: {project-directory}
**AIWG Installation**: {AIWG_PATH}
**CLAUDE.md**: {CREATED | UPDATED | APPENDED}
## Changes Made
### CLAUDE.md
- ✓ Added/Updated AIWG framework documentation section
- ✓ Included Core Platform Orchestrator role and natural language interpretation
- ✓ Documented multi-agent workflow patterns (Primary Author → Reviewers → Synthesizer)
- ✓ Added natural language command translations (70+ phrases)
- ✓ Included available commands reference and phase workflows
- ✓ Added quick start guide and common patterns
- {if existing CLAUDE.md} ✓ Preserved all existing user notes and rules
### Project Structure
- ✓ Created .aiwg/ artifact directory structure
- ✓ Subdirectories: intake, requirements, architecture, planning, risks, testing, security, quality, deployment, team, working, reports, handoffs, gates, decisions
### Documentation Access
- ✓ AIWG installation verified at: {AIWG_PATH}
- ✓ Templates accessible at: {AIWG_PATH}/agentic/code/frameworks/sdlc-complete/templates/
- ✓ Natural language translation guide: {AIWG_PATH}/docs/simple-language-translations.md
{if Factory AI detected}
### Factory AI Integration
- ✓ Factory AI droids detected in .factory/droids/
- ⚠️ **Action Required**: Run `aiwg-update-agents-md` to update AGENTS.md with project-specific content
- ℹ️ This ensures both Claude Code (CLAUDE.md) and Factory AI (AGENTS.md) are configured
## Next Steps
1. **Review CLAUDE.md**:
- Open `{CLAUDE_MD}` and review the AIWG framework section
- Fill in 'Repository Purpose' if not already done
- Add any project-specific notes to 'Project-Specific Notes' section
2. **Deploy Agents and Commands** (if not already done):
```bash
# Deploy SDLC agents to .claude/agents/
aiwg -deploy-agents --mode sdlc
# Deploy SDLC commands to .claude/commands/
aiwg -deploy-commands --mode sdlc
{if Factory AI detected} Factory AI Users:
# Update AGENTS.md with project-specific content
/aiwg-update-agents-md
# Or if not yet deployed, deploy Factory droids first
aiwg -deploy-agents --provider factory --mode sdlc --deploy-commands --create-agents-md
Start Intake (if new to AIWG):
# Generate intake forms interactively
/intake-wizard "your project description" --interactive
# Or analyze existing codebase
/intake-from-codebase . --interactive
Check Project Status:
# Natural language (preferred)
User: "Where are we?"
# Or explicit command
/project-status
Begin SDLC Flow:
# Natural language (preferred)
User: "Let's transition to Elaboration"
# Or explicit command
/flow-inception-to-elaboration
You can now use natural language to trigger SDLC workflows. Examples:
Phase Transitions:
Review Cycles:
Artifact Generation:
Status Checks:
See {AIWG_PATH}/docs/simple-language-translations.md for complete phrase list.
If you encounter any issues, use the AIWG knowledge base:
# Slash command
/aiwg-kb "setup issues"
/aiwg-kb "agent not found"
/aiwg-kb "template errors"
# Or ask naturally
"How do I fix my AIWG install?"
"Why aren't my agents working?"
"Help with AIWG templates"
Common topics: setup issues, deployment issues, path issues, platform issues
Quick reference: {AIWG_PATH}/docs/troubleshooting/
## Implementation Notes
**Tools to Use**:
1. **Bash**: Resolve AIWG path, create directories, run validation
2. **Read**: Load existing CLAUDE.md, load template
3. **Grep**: Detect AIWG section presence
4. **Edit** or **Write**: Update CLAUDE.md based on scenario
**Critical Success Factors**:
- ✅ Preserve ALL user content (never delete existing notes)
- ✅ Substitute `{AIWG_ROOT}` with actual resolved path
- ✅ Include complete AIWG section (orchestration, natural language, commands)
- ✅ Create .aiwg/ directory structure
- ✅ Validate setup before declaring success
**Error Handling**:
- If AIWG not found → Fail with install instructions
- If CLAUDE.md unparseable → Append section with warning
- If permissions denied → Fail with permission error
## Success Criteria
This command succeeds when:
- [ ] AIWG installation path resolved and validated
- [ ] CLAUDE.md created or updated with complete AIWG section
- [ ] All existing user content preserved (if existing CLAUDE.md)
- [ ] `{AIWG_ROOT}` placeholder replaced with actual path
- [ ] .aiwg/ directory structure created with all subdirectories
- [ ] Validation checks pass
- [ ] Clear next steps provided to user
- [ ] Natural language translation guide documented
## Template Sections to Include
When merging AIWG section, ensure these are included:
1. ✅ **AIWG Framework Overview** - What AIWG is, installation path
2. ✅ **Core Platform Orchestrator Role** - How to interpret natural language and orchestrate
3. ✅ **Natural Language Command Translation** - 70+ phrase mappings
4. ✅ **Multi-Agent Workflow Pattern** - Primary Author → Reviewers → Synthesizer → Archive
5. ✅ **Available Commands Reference** - All SDLC commands with descriptions
6. ✅ **AIWG-Specific Rules** - Artifact location, template usage, parallel execution
7. ✅ **Reference Documentation** - Links to all AIWG docs (including simple-language-translations.md)
8. ✅ **Phase Overview** - Inception → Elaboration → Construction → Transition → Production
9. ✅ **Quick Start Guide** - Step-by-step initialization
10. ✅ **Common Patterns** - Example workflows (risk, architecture, security, testing)
11. ✅ **Need Help** - Reference to /aiwg-kb and troubleshooting docs
**Reference**: Template at `{AIWG_ROOT}/agentic/code/frameworks/sdlc-complete/templates/project/CLAUDE.md`
---
**Command Version**: 2.0
**Category**: SDLC Setup
**Mode**: Interactive Setup and Configuration
## References
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/agent-deployment.md — Rules for working with agent definitions and multi-provider deployment
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md — Seek explicit authorization before modifying existing CLAUDE.md content
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Detect AIWG installation and project structure before making changes
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/skills/aiwg-update-claude/SKILL.md — Companion skill for updating an already-configured project
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/skills/aiwg-update-agents-md/SKILL.md — Companion skill invoked when Factory AI is also detected