基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill aiwg-regenerate-codex命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | aiwg-regenerate-codex |
| platforms | ["all"] |
| description | Regenerate Codex context file (CODEX.md or ~/.codex/instructions.md) with AIWG framework content |
| commandHint | {"argumentHint":"[--no-backup] [--dry-run] [--user-level] [--migrate]","allowedTools":"Read, Write, Edit, Bash, Glob","model":"sonnet","category":"context-regeneration","modelRole":"coding","modelTier":"standard"} |
Regenerate the Codex context file (CODEX.md or ~/.codex/instructions.md) for OpenAI Codex integration. Performs an intelligent merge — preserving team-written content while updating AIWG context.
Team content is preserved. AIWG content is updated. Full injection used (Codex does not support @-link directives).
Codex context files do not support @filename style includes. AIWG content is embedded directly using injection markers:
<!-- BEGIN AIWG -->
[AIWG content]
<!-- END AIWG -->
This is different from other providers that use the hook file approach.
| Flag | Description |
|---|---|
--no-backup | Skip creating backup file |
--dry-run | Preview changes without writing |
--user-level | Update ~/.codex/instructions.md instead of project-level CODEX.md |
--migrate | Extract injection to AIWG-codex.md and reference from CODEX.md (future-proofing) |
| Scope | Path | Use case |
|---|---|---|
| Project-level | CODEX.md | Project-specific AIWG context |
| User-level | ~/.codex/instructions.md | User-wide context across all projects |
Default: project-level CODEX.md. Use --user-level for user-wide context.
Unless --no-backup specified, create CODEX.md.backup-{YYYYMMDD-HHMMSS}.
Read CODEX.md if it exists and categorize:
<!-- BEGIN AIWG --> and <!-- END AIWG -->Generate AIWG content from installed framework manifests. Same content as other providers' hook files, but embedded inline.
Also write AIWG-codex.md as a side file for reference and for potential future migration if Codex adds @-link support.
If AIWG markers found: Replace content between markers with freshly generated content.
If no markers found: Append AIWG block to end of file (before <!-- TEAM DIRECTIVES --> marker if present).
[team content preserved above]
<!-- BEGIN AIWG -->
<!-- Managed by aiwg — regenerate with: aiwg-regenerate-codex -->
[AIWG content]
<!-- END AIWG -->
<!-- TEAM DIRECTIVES: Add project-specific guidance below -->
Codex Context Regenerated
==========================
Backup: CODEX.md.backup-20260322-190000
AIWG content: 312 lines (injected between markers)
Side file: AIWG-codex.md (312 lines, written for reference)
Team content preserved: 22 lines
Note: Codex does not support @-link directives.
Content embedded directly with <!-- BEGIN/END AIWG --> markers.
To update: aiwg-regenerate-codex
# Default (project-level CODEX.md)
/aiwg-regenerate-codex
# Update user-level instructions
/aiwg-regenerate-codex --user-level
# Preview without writing
/aiwg-regenerate-codex --dry-run
# Skip backup
/aiwg-regenerate-codex --no-backup
| Command | Regenerates |
|---|---|
/aiwg-regenerate | Auto-detect and delegate |
/hook-status | Check hook state (shows "full inject" for Codex) |
/hook-regenerate --provider codex | Rebuild AIWG-codex.md side file |