# OpenClaw Skill Adaptation

This project borrows ideas from selected skills in the [OpenClaw skills repo](https://github.com/openclaw/skills) and adapts them to DesignerCEP's Photoshop-first workflow.

## Upstream skills used

- `photoshop-automator`
  - Source: `skills/abdul-karim-mia/photoshop-automator`
  - URL: https://github.com/openclaw/skills/tree/main/skills/abdul-karim-mia/photoshop-automator
  - What we adopted:
    - Treat the active document as the primary execution context
    - Warn about modal dialogs blocking Photoshop automation
    - Require exact layer targeting instead of guessing
    - Prefer short, reversible automation chains

- `ui-ux-pro-max-0-1-0`
  - Source: `skills/15349185792/ui-ux-pro-max-0-1-0`
  - URL: https://github.com/openclaw/skills/tree/main/skills/15349185792/ui-ux-pro-max-0-1-0
  - What we adopted:
    - Triage before execution
    - Structured deliverables instead of vague design advice
    - A design-system style way of thinking about layout, hierarchy, spacing, and goals

- `ui-designer-skill`
  - Source: `skills/1999azzar/ui-designer-skill`
  - URL: https://github.com/openclaw/skills/tree/main/skills/1999azzar/ui-designer-skill
  - What we adopted:
    - Stronger visual-language analysis
    - Style and palette vocabulary
    - Better phrasing for aesthetic direction and accessibility-minded critique

## Internal mapping in DesignerCEP

- `ps-generalist`
  - Strengthened with Photoshop automation guardrails from `photoshop-automator`

- `ps-layout-designer`
  - Strengthened with triage and deliverables from `ui-ux-pro-max`
  - Enhanced with visual-language cues from `ui-designer-skill`

- `creative-direction-strategist`
  - New internal skill
  - Uses image-aware design-direction analysis when the user provides a reference image
  - Bridges "design thinking" into concrete Photoshop actions

- `visual-analysis-advisor`
  - Enriched with more designer-facing visual analysis language

## Notes

- We intentionally did not copy upstream skills verbatim into the product.
- The goal is to preserve DesignerCEP's current Vue + FastAPI + Photoshop-tool architecture while borrowing useful planning and safety patterns.
- Upstream skills are references; the runtime behavior is driven by `Server/app/api/v1/ai_skills.py` and `Server/app/api/v1/ai_llm.py`.
