基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill setup-generate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
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.
| namespace | aiwg |
| name | setup-generate |
| platforms | ["all"] |
| description | Generate a `setup.manifest.yaml` file for a project using the `setup.aiwg.io/v1` |
Generate a setup.manifest.yaml file for a project using the setup.aiwg.io/v1 SetupManifest language.
Path to the project root. Defaults to ..
Manifest path to create. Default: ./setup.manifest.yaml.
Manifest metadata.name. Default: package name or project directory name.
Install type: user, developer, or ci. Default: developer.
Target platform: linux, macos, windows, or docker.
Overwrite existing generated manifest/script files.
Install type to generate: user, developer, or ci.
Default: user.
user — production/end-user deployment (default, behavior unchanged from previous versions)developer — local development environment standup with OS configurationci — headless pipeline setupWhen --type developer, output filename is setup.dev.manifest.yaml. When --type user, output is setup.user.manifest.yaml (or setup.manifest.yaml if no type is specified for backwards compatibility).
Ask clarifying questions before generating.
package.json, requirements.txt, Cargo.toml, go.mod, Makefile, etc.README.md, INSTALL.md, docs/install.mdsetup.manifest.yaml--interactive, ask:
--type developer)Additional discovery steps for developer manifests:
.nvmrc, .tool-versions, mise.toml, pyproject.toml [dev], Brewfile, .devcontainer/--watch flags)--interactive or key information is absent, ask mandatory interactive questions:
Build the manifest YAML following this priority order:
install_type matching --type flag (default: developer)--platform or detected by project typeINSTALL_DIR, BRANCH (default: main); add CONFIG_DIR if a config step is needednode for npm projects, python3 for Python)clone or verify-existing detect stepinstall-deps-* steps for each target platformconfigure step if config files are neededverify stepfull-reset fallback--type developer)When assembling developer manifests, apply these additional rules:
os_config block — emit entries based on detection:
| Condition | Entry |
|---|---|
| Linux + Docker in project | docker-group (requires_relogin: true) |
| Linux + file watchers detected (webpack/jest/vite/nodemon) | inotify-watches |
| Linux + Elasticsearch/Weaviate/OpenSearch detected | vm-mapcount |
| macOS | xcode-cli-tools (interactive: true) |
| HTTPS dev + local domain | mkcert install step (not os_config, but a script step) |
| GPU dev | nvidia-container-toolkit os_config entry |
params — emit with interactive_required: true for:
LOCAL_DOMAIN — when HTTPS dev or local domain detectedSSH_EMAIL — when SSH key setup is requiredGIT_USER_NAME, GIT_USER_EMAIL — when git config step is includedGIT_GPG_KEY_ID — when GPG signing is requestedIDE — when IDE-specific extension installation is includedsteps — emit os-config steps for each os_config entry:
- id: apply-docker-group
type: os-config
config_id: docker-group
depends_on: [install-docker]
platform: linux
dev-specific prerequisites — add as detected:
nvm or mise — when .nvmrc or .tool-versions foundmkcert — when HTTPS dev requestedact — when GitHub Actions local testing detectedWhen docker-compose.yml or compose.yaml is found during Phase 1 discovery, apply these additional behaviors:
Platform (#676):
macos in the platform block alongside linux — Docker Desktop covers both.when: "$(uname -s) = Linux" so they are skipped on macOS.install_hint for docker prereqs to include macOS install links.Prerequisites (#672, #674):
command -v docker with docker version --format '{{.Server.Version}}' 2>/dev/null to catch both "not installed" and "installed but no permission" cases.install_hint to mention sudo usermod -aG docker $USER.- name: disk-space
detect: "df --output=avail -BG / | tail -1 | tr -d ' G'"
version_min: "20"
install_hint: "At least 20GB free disk space required for Docker images."
- name: ram
detect: "awk '/MemTotal/ {printf \"%.0f\", $2/1024/1024}' /proc/meminfo"
version_min: "8"
install_hint: "At least 8GB RAM recommended. 16GB+ for GPU profiles."
Params (#671, #675):
DOMAIN or ISSUER_URL param is emitted, also emit a PROTOCOL param with a smart default:
- name: PROTOCOL
type: choice
choices: [http, https]
default: "$(echo ${DOMAIN} | grep -qE '^(localhost|127\\.0\\.0\\.1)' && echo http || echo https)"
description: "Protocol for OAuth/API URLs. Defaults to http for localhost."
Then reference ${PROTOCOL}://${DOMAIN} in configure.sh instead of hardcoding https://.DATA_DIR to ${INSTALL_DIR}/data (project-local, user-writable) rather than any system path like /var/lib/<project>. If the project explicitly requires a system path, emit a check-data-dir step (see steps below).Steps (#673, #675, #677):
check-ports step before deploy that validates all ports declared in the compose file are free:
- id: check-ports
type: script
script: installer/scripts/check-ports.sh
depends_on: [configure]
DATA_DIR is a system path, emit a check-data-dir step before configure:
- id: check-data-dir
type: script
script: installer/scripts/check-data-dir.sh
depends_on: [clone]
.env template, emit a pull-models step after deploy:
- id: pull-models
type: script
description: Pull Ollama models (may take several minutes)
script: installer/scripts/pull-models.sh
depends_on: [deploy]
verify: "docker exec $(docker compose ps -q ollama) ollama list | grep -q ${OLLAMA_GEN_MODEL%%:*}"
Script templates used for Docker projects:
installer/scripts/check-ports.sh — port availability check before deployinstaller/scripts/pull-models.sh — Ollama model pull after deploy (when applicable)For each script step:
agentic/code/addons/agentic-installer/scripts/templates/scripts/templates/dev/<project>/installer/scripts/ (user install) or <project>/installer/scripts/dev/ (developer install)script: fieldWrite the manifest to the appropriate path:
installer/setup.user.manifest.yaml — user install (when installer/ dir exists)installer/setup.dev.manifest.yaml — developer install (when installer/ dir exists)setup.manifest.yaml — backwards-compatible default (no --type flag, no installer/ dir)Report:
Generated: setup.manifest.yaml
Install type: developer
Platform: linux
Steps: setup
Scripts: scripts/setup.sh
Validate with: aiwg setup-validate --manifest setup.manifest.yaml
Run with: aiwg setup-run --manifest setup.manifest.yaml --dry-run
A full-suite project (both user and developer install) ships these files:
installer/
├── setup.user.manifest.yaml # end-user deploy
├── setup.dev.manifest.yaml # developer standup
├── docs/
│ ├── install-user-linux.md
│ ├── install-user-macos.md
│ ├── install-user-windows.md
│ ├── install-dev-linux.md
│ ├── install-dev-macos.md
│ ├── install-dev-windows.md
│ └── install-dev-wsl2.md
└── scripts/
├── clone.sh
├── configure.sh
├── verify.sh
├── dev/
│ ├── configure-dev.sh
│ ├── install-mkcert.sh
│ ├── apply-docker-group.sh
│ ├── apply-inotify.sh
│ ├── apply-vm-mapcount.sh
│ ├── install-ide-extensions.sh
│ ├── setup-git-config.sh
│ ├── setup-ssh-key.sh
│ └── verify-dev.sh
└── user/
├── install-deps-ubuntu.sh
├── install-deps-macos.sh
└── install-deps-windows.ps1
Every step that can be scripted MUST be a script step. Only use type: agentic for:
apiVersion: setup.aiwg.io/v1
kind: SetupManifest
metadata:
name: myapp-dev
version: 1.0.0
description: Developer environment setup for myapp
install_type: developer
spec:
platforms:
- os: linux
distros: [ubuntu, debian, fedora]
arch: [x86_64, arm64]
shell: bash
- os: macos
arch: [x86_64, arm64]
shell: zsh
params:
- name: INSTALL_DIR
type: path
required: true
description: Directory to clone the project into
- name: LOCAL_DOMAIN
[, , ]
[]
[]
[]
[, ]
[]
[]
[]
[]
[]
[]
[]
[]
[, ]
[]
[]
[]
[]
[, , ]
agentic/code/addons/agentic-installer/schemas/v1/setup-manifest.schema.jsonagentic/code/addons/agentic-installer/scripts/templates/agentic/code/addons/agentic-installer/scripts/templates/dev/agentic/code/addons/agentic-installer/skills/setup-run/SKILL.mdagentic/code/addons/agentic-installer/skills/setup-validate/SKILL.md