用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill doc-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | doc-sync |
| platforms | ["all"] |
| description | Synchronize documentation and code with bounded, scope-first drift checks |
| commandHint | {"argumentHint":"<direction> [--scope \"path\" --dry-run --parallel N --incremental --guidance \"text\" --no-commit]","allowedTools":"Task, Read, Write, Bash, Glob, Grep, Edit","model":"haiku","category":"documentation","modelRole":"efficiency","modelTier":"economy"} |
Detect and resolve drift between code and documentation without front-loading a full repository audit. Treat standard Sonnet context as the baseline.
/doc-sync <direction> [options]
Directions:
code-to-docs: code is source of truthdocs-to-code: docs are source of truthfull: bidirectional reconciliation; conflicts require human reviewOptions:
--scope "path": limit the run to a subtree or file group--incremental: inspect changed files first--dry-run: report only--parallel N: cap concurrent auditors; default 2, maximum 4--guidance "text": use operator guidance for ambiguous cases--no-commit: do not commitgit status --short and git diff --name-only; do not read broad
diffs before the changed-file set is known.--scope nor --incremental is supplied, derive a candidate scope
from changed files and ask before expanding to full repo.find, rg --files, git diff --name-only) over
reading file bodies.min(--parallel, 4)
auditors, and prefer 2 for broad or release requests..aiwg/working/doc-sync/ and return only the path plus a
summary.git status --shortgit diff --name-onlygit diff --cached --name-onlyrg --files docs README.md CHANGELOG.md package.json src agentic tools
only when the changed-file set is insufficient..aiwg/working/doc-sync/.aiwg/reports/doc-sync-audit-{date}.md with:
--dry-run, apply high-confidence fixes only.npm run lint:claude-context if Claude-facing skills or agents changed.aiwg/.last-doc-sync.--no-commit; otherwise leave a concise final summary.For combined requests such as "docSync code2doc, ensure the monthly blog covers the work, then commit-and-push":
commit-and-push instead of invoking it inside
this skill.Return: